mirror of
https://github.com/kubernetes-sigs/prometheus-adapter.git
synced 2026-04-08 06:33:56 +00:00
Update custom-metrics-apiserver and metrics-server
This commit is contained in:
parent
4c673534f2
commit
b480e45a67
915 changed files with 63694 additions and 106514 deletions
5
vendor/k8s.io/client-go/informers/storage/v1beta1/csidriver.go
generated
vendored
5
vendor/k8s.io/client-go/informers/storage/v1beta1/csidriver.go
generated
vendored
|
|
@ -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{},
|
||||
|
|
|
|||
5
vendor/k8s.io/client-go/informers/storage/v1beta1/csinode.go
generated
vendored
5
vendor/k8s.io/client-go/informers/storage/v1beta1/csinode.go
generated
vendored
|
|
@ -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{},
|
||||
|
|
|
|||
5
vendor/k8s.io/client-go/informers/storage/v1beta1/storageclass.go
generated
vendored
5
vendor/k8s.io/client-go/informers/storage/v1beta1/storageclass.go
generated
vendored
|
|
@ -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{},
|
||||
|
|
|
|||
5
vendor/k8s.io/client-go/informers/storage/v1beta1/volumeattachment.go
generated
vendored
5
vendor/k8s.io/client-go/informers/storage/v1beta1/volumeattachment.go
generated
vendored
|
|
@ -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{},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue