5
vendor/k8s.io/client-go/informers/storage/v1alpha1/volumeattachment.go
generated
vendored
5
vendor/k8s.io/client-go/informers/storage/v1alpha1/volumeattachment.go
generated
vendored
@@ -19,6 +19,7 @@ limitations under the License.
|
||||
package v1alpha1
|
||||
|
||||
import (
|
||||
"context"
|
||||
time "time"
|
||||
|
||||
storagev1alpha1 "k8s.io/api/storage/v1alpha1"
|
||||
@@ -60,13 +61,13 @@ func NewFilteredVolumeAttachmentInformer(client kubernetes.Interface, resyncPeri
|
||||
if tweakListOptions != nil {
|
||||
tweakListOptions(&options)
|
||||
}
|
||||
return client.StorageV1alpha1().VolumeAttachments().List(options)
|
||||
return client.StorageV1alpha1().VolumeAttachments().List(context.TODO(), options)
|
||||
},
|
||||
WatchFunc: func(options v1.ListOptions) (watch.Interface, error) {
|
||||
if tweakListOptions != nil {
|
||||
tweakListOptions(&options)
|
||||
}
|
||||
return client.StorageV1alpha1().VolumeAttachments().Watch(options)
|
||||
return client.StorageV1alpha1().VolumeAttachments().Watch(context.TODO(), options)
|
||||
},
|
||||
},
|
||||
&storagev1alpha1.VolumeAttachment{},
|
||||
|
||||
Reference in New Issue
Block a user