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 v1beta1
import (
"context"
time "time"
storagev1beta1 "k8s.io/api/storage/v1beta1"
@@ -60,13 +61,13 @@ func NewFilteredCSIDriverInformer(client kubernetes.Interface, resyncPeriod time
if tweakListOptions != nil {
tweakListOptions(&options)
}
return client.StorageV1beta1().CSIDrivers().List(options)
return client.StorageV1beta1().CSIDrivers().List(context.TODO(), options)
},
WatchFunc: func(options v1.ListOptions) (watch.Interface, error) {
if tweakListOptions != nil {
tweakListOptions(&options)
}
return client.StorageV1beta1().CSIDrivers().Watch(options)
return client.StorageV1beta1().CSIDrivers().Watch(context.TODO(), options)
},
},
&storagev1beta1.CSIDriver{},

View File

@@ -19,6 +19,7 @@ limitations under the License.
package v1beta1
import (
"context"
time "time"
storagev1beta1 "k8s.io/api/storage/v1beta1"
@@ -60,13 +61,13 @@ func NewFilteredCSINodeInformer(client kubernetes.Interface, resyncPeriod time.D
if tweakListOptions != nil {
tweakListOptions(&options)
}
return client.StorageV1beta1().CSINodes().List(options)
return client.StorageV1beta1().CSINodes().List(context.TODO(), options)
},
WatchFunc: func(options v1.ListOptions) (watch.Interface, error) {
if tweakListOptions != nil {
tweakListOptions(&options)
}
return client.StorageV1beta1().CSINodes().Watch(options)
return client.StorageV1beta1().CSINodes().Watch(context.TODO(), options)
},
},
&storagev1beta1.CSINode{},

View File

@@ -19,6 +19,7 @@ limitations under the License.
package v1beta1
import (
"context"
time "time"
storagev1beta1 "k8s.io/api/storage/v1beta1"
@@ -60,13 +61,13 @@ func NewFilteredStorageClassInformer(client kubernetes.Interface, resyncPeriod t
if tweakListOptions != nil {
tweakListOptions(&options)
}
return client.StorageV1beta1().StorageClasses().List(options)
return client.StorageV1beta1().StorageClasses().List(context.TODO(), options)
},
WatchFunc: func(options v1.ListOptions) (watch.Interface, error) {
if tweakListOptions != nil {
tweakListOptions(&options)
}
return client.StorageV1beta1().StorageClasses().Watch(options)
return client.StorageV1beta1().StorageClasses().Watch(context.TODO(), options)
},
},
&storagev1beta1.StorageClass{},

View File

@@ -19,6 +19,7 @@ limitations under the License.
package v1beta1
import (
"context"
time "time"
storagev1beta1 "k8s.io/api/storage/v1beta1"
@@ -60,13 +61,13 @@ func NewFilteredVolumeAttachmentInformer(client kubernetes.Interface, resyncPeri
if tweakListOptions != nil {
tweakListOptions(&options)
}
return client.StorageV1beta1().VolumeAttachments().List(options)
return client.StorageV1beta1().VolumeAttachments().List(context.TODO(), options)
},
WatchFunc: func(options v1.ListOptions) (watch.Interface, error) {
if tweakListOptions != nil {
tweakListOptions(&options)
}
return client.StorageV1beta1().VolumeAttachments().Watch(options)
return client.StorageV1beta1().VolumeAttachments().Watch(context.TODO(), options)
},
},
&storagev1beta1.VolumeAttachment{},