update dependencies

Signed-off-by: hongming <talonwan@yunify.com>
This commit is contained in:
hongming
2020-12-22 16:48:26 +08:00
parent 4a11a50544
commit fe6c5de00f
2857 changed files with 252134 additions and 115656 deletions

View File

@@ -19,6 +19,7 @@ limitations under the License.
package v1alpha1
import (
"context"
time "time"
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
@@ -60,13 +61,13 @@ func NewFilteredIPAMBlockInformer(client versioned.Interface, resyncPeriod time.
if tweakListOptions != nil {
tweakListOptions(&options)
}
return client.NetworkV1alpha1().IPAMBlocks().List(options)
return client.NetworkV1alpha1().IPAMBlocks().List(context.TODO(), options)
},
WatchFunc: func(options v1.ListOptions) (watch.Interface, error) {
if tweakListOptions != nil {
tweakListOptions(&options)
}
return client.NetworkV1alpha1().IPAMBlocks().Watch(options)
return client.NetworkV1alpha1().IPAMBlocks().Watch(context.TODO(), options)
},
},
&networkv1alpha1.IPAMBlock{},

View File

@@ -19,6 +19,7 @@ limitations under the License.
package v1alpha1
import (
"context"
time "time"
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
@@ -60,13 +61,13 @@ func NewFilteredIPAMHandleInformer(client versioned.Interface, resyncPeriod time
if tweakListOptions != nil {
tweakListOptions(&options)
}
return client.NetworkV1alpha1().IPAMHandles().List(options)
return client.NetworkV1alpha1().IPAMHandles().List(context.TODO(), options)
},
WatchFunc: func(options v1.ListOptions) (watch.Interface, error) {
if tweakListOptions != nil {
tweakListOptions(&options)
}
return client.NetworkV1alpha1().IPAMHandles().Watch(options)
return client.NetworkV1alpha1().IPAMHandles().Watch(context.TODO(), options)
},
},
&networkv1alpha1.IPAMHandle{},

View File

@@ -19,6 +19,7 @@ limitations under the License.
package v1alpha1
import (
"context"
time "time"
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
@@ -60,13 +61,13 @@ func NewFilteredIPPoolInformer(client versioned.Interface, resyncPeriod time.Dur
if tweakListOptions != nil {
tweakListOptions(&options)
}
return client.NetworkV1alpha1().IPPools().List(options)
return client.NetworkV1alpha1().IPPools().List(context.TODO(), options)
},
WatchFunc: func(options v1.ListOptions) (watch.Interface, error) {
if tweakListOptions != nil {
tweakListOptions(&options)
}
return client.NetworkV1alpha1().IPPools().Watch(options)
return client.NetworkV1alpha1().IPPools().Watch(context.TODO(), options)
},
},
&networkv1alpha1.IPPool{},

View File

@@ -19,6 +19,7 @@ limitations under the License.
package v1alpha1
import (
"context"
time "time"
v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
@@ -61,13 +62,13 @@ func NewFilteredNamespaceNetworkPolicyInformer(client versioned.Interface, names
if tweakListOptions != nil {
tweakListOptions(&options)
}
return client.NetworkV1alpha1().NamespaceNetworkPolicies(namespace).List(options)
return client.NetworkV1alpha1().NamespaceNetworkPolicies(namespace).List(context.TODO(), options)
},
WatchFunc: func(options v1.ListOptions) (watch.Interface, error) {
if tweakListOptions != nil {
tweakListOptions(&options)
}
return client.NetworkV1alpha1().NamespaceNetworkPolicies(namespace).Watch(options)
return client.NetworkV1alpha1().NamespaceNetworkPolicies(namespace).Watch(context.TODO(), options)
},
},
&networkv1alpha1.NamespaceNetworkPolicy{},