1
0
Fork 0

Upgrade Client-go to 0.18.2

This commit is contained in:
Daniel Tomcej 2020-05-14 09:36:06 -07:00 committed by GitHub
parent 6b1158235e
commit 5f0b6fde92
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
25 changed files with 382 additions and 408 deletions

View file

@ -27,6 +27,7 @@ THE SOFTWARE.
package v1alpha1
import (
"context"
time "time"
versioned "github.com/containous/traefik/v2/pkg/provider/kubernetes/crd/generated/clientset/versioned"
@ -69,13 +70,13 @@ func NewFilteredIngressRouteInformer(client versioned.Interface, namespace strin
if tweakListOptions != nil {
tweakListOptions(&options)
}
return client.TraefikV1alpha1().IngressRoutes(namespace).List(options)
return client.TraefikV1alpha1().IngressRoutes(namespace).List(context.TODO(), options)
},
WatchFunc: func(options v1.ListOptions) (watch.Interface, error) {
if tweakListOptions != nil {
tweakListOptions(&options)
}
return client.TraefikV1alpha1().IngressRoutes(namespace).Watch(options)
return client.TraefikV1alpha1().IngressRoutes(namespace).Watch(context.TODO(), options)
},
},
&traefikv1alpha1.IngressRoute{},

View file

@ -27,6 +27,7 @@ THE SOFTWARE.
package v1alpha1
import (
"context"
time "time"
versioned "github.com/containous/traefik/v2/pkg/provider/kubernetes/crd/generated/clientset/versioned"
@ -69,13 +70,13 @@ func NewFilteredIngressRouteTCPInformer(client versioned.Interface, namespace st
if tweakListOptions != nil {
tweakListOptions(&options)
}
return client.TraefikV1alpha1().IngressRouteTCPs(namespace).List(options)
return client.TraefikV1alpha1().IngressRouteTCPs(namespace).List(context.TODO(), options)
},
WatchFunc: func(options v1.ListOptions) (watch.Interface, error) {
if tweakListOptions != nil {
tweakListOptions(&options)
}
return client.TraefikV1alpha1().IngressRouteTCPs(namespace).Watch(options)
return client.TraefikV1alpha1().IngressRouteTCPs(namespace).Watch(context.TODO(), options)
},
},
&traefikv1alpha1.IngressRouteTCP{},

View file

@ -27,6 +27,7 @@ THE SOFTWARE.
package v1alpha1
import (
"context"
time "time"
versioned "github.com/containous/traefik/v2/pkg/provider/kubernetes/crd/generated/clientset/versioned"
@ -69,13 +70,13 @@ func NewFilteredIngressRouteUDPInformer(client versioned.Interface, namespace st
if tweakListOptions != nil {
tweakListOptions(&options)
}
return client.TraefikV1alpha1().IngressRouteUDPs(namespace).List(options)
return client.TraefikV1alpha1().IngressRouteUDPs(namespace).List(context.TODO(), options)
},
WatchFunc: func(options v1.ListOptions) (watch.Interface, error) {
if tweakListOptions != nil {
tweakListOptions(&options)
}
return client.TraefikV1alpha1().IngressRouteUDPs(namespace).Watch(options)
return client.TraefikV1alpha1().IngressRouteUDPs(namespace).Watch(context.TODO(), options)
},
},
&traefikv1alpha1.IngressRouteUDP{},

View file

@ -27,6 +27,7 @@ THE SOFTWARE.
package v1alpha1
import (
"context"
time "time"
versioned "github.com/containous/traefik/v2/pkg/provider/kubernetes/crd/generated/clientset/versioned"
@ -69,13 +70,13 @@ func NewFilteredMiddlewareInformer(client versioned.Interface, namespace string,
if tweakListOptions != nil {
tweakListOptions(&options)
}
return client.TraefikV1alpha1().Middlewares(namespace).List(options)
return client.TraefikV1alpha1().Middlewares(namespace).List(context.TODO(), options)
},
WatchFunc: func(options v1.ListOptions) (watch.Interface, error) {
if tweakListOptions != nil {
tweakListOptions(&options)
}
return client.TraefikV1alpha1().Middlewares(namespace).Watch(options)
return client.TraefikV1alpha1().Middlewares(namespace).Watch(context.TODO(), options)
},
},
&traefikv1alpha1.Middleware{},

View file

@ -27,6 +27,7 @@ THE SOFTWARE.
package v1alpha1
import (
"context"
time "time"
versioned "github.com/containous/traefik/v2/pkg/provider/kubernetes/crd/generated/clientset/versioned"
@ -69,13 +70,13 @@ func NewFilteredTLSOptionInformer(client versioned.Interface, namespace string,
if tweakListOptions != nil {
tweakListOptions(&options)
}
return client.TraefikV1alpha1().TLSOptions(namespace).List(options)
return client.TraefikV1alpha1().TLSOptions(namespace).List(context.TODO(), options)
},
WatchFunc: func(options v1.ListOptions) (watch.Interface, error) {
if tweakListOptions != nil {
tweakListOptions(&options)
}
return client.TraefikV1alpha1().TLSOptions(namespace).Watch(options)
return client.TraefikV1alpha1().TLSOptions(namespace).Watch(context.TODO(), options)
},
},
&traefikv1alpha1.TLSOption{},

View file

@ -27,6 +27,7 @@ THE SOFTWARE.
package v1alpha1
import (
"context"
time "time"
versioned "github.com/containous/traefik/v2/pkg/provider/kubernetes/crd/generated/clientset/versioned"
@ -69,13 +70,13 @@ func NewFilteredTLSStoreInformer(client versioned.Interface, namespace string, r
if tweakListOptions != nil {
tweakListOptions(&options)
}
return client.TraefikV1alpha1().TLSStores(namespace).List(options)
return client.TraefikV1alpha1().TLSStores(namespace).List(context.TODO(), options)
},
WatchFunc: func(options v1.ListOptions) (watch.Interface, error) {
if tweakListOptions != nil {
tweakListOptions(&options)
}
return client.TraefikV1alpha1().TLSStores(namespace).Watch(options)
return client.TraefikV1alpha1().TLSStores(namespace).Watch(context.TODO(), options)
},
},
&traefikv1alpha1.TLSStore{},

View file

@ -27,6 +27,7 @@ THE SOFTWARE.
package v1alpha1
import (
"context"
time "time"
versioned "github.com/containous/traefik/v2/pkg/provider/kubernetes/crd/generated/clientset/versioned"
@ -69,13 +70,13 @@ func NewFilteredTraefikServiceInformer(client versioned.Interface, namespace str
if tweakListOptions != nil {
tweakListOptions(&options)
}
return client.TraefikV1alpha1().TraefikServices(namespace).List(options)
return client.TraefikV1alpha1().TraefikServices(namespace).List(context.TODO(), options)
},
WatchFunc: func(options v1.ListOptions) (watch.Interface, error) {
if tweakListOptions != nil {
tweakListOptions(&options)
}
return client.TraefikV1alpha1().TraefikServices(namespace).Watch(options)
return client.TraefikV1alpha1().TraefikServices(namespace).Watch(context.TODO(), options)
},
},
&traefikv1alpha1.TraefikService{},