mirror of
https://github.com/ceph/ceph-csi.git
synced 2025-06-13 02:33:34 +00:00
Changes to accommodate client-go changes and kube vendor update
to v1.18.0 Signed-off-by: Humble Chirammal <hchiramm@redhat.com>
This commit is contained in:
committed by
mergify[bot]
parent
4c96ad3c85
commit
34fc1d847e
5
vendor/k8s.io/client-go/informers/policy/v1beta1/poddisruptionbudget.go
generated
vendored
5
vendor/k8s.io/client-go/informers/policy/v1beta1/poddisruptionbudget.go
generated
vendored
@ -19,6 +19,7 @@ limitations under the License.
|
||||
package v1beta1
|
||||
|
||||
import (
|
||||
"context"
|
||||
time "time"
|
||||
|
||||
policyv1beta1 "k8s.io/api/policy/v1beta1"
|
||||
@ -61,13 +62,13 @@ func NewFilteredPodDisruptionBudgetInformer(client kubernetes.Interface, namespa
|
||||
if tweakListOptions != nil {
|
||||
tweakListOptions(&options)
|
||||
}
|
||||
return client.PolicyV1beta1().PodDisruptionBudgets(namespace).List(options)
|
||||
return client.PolicyV1beta1().PodDisruptionBudgets(namespace).List(context.TODO(), options)
|
||||
},
|
||||
WatchFunc: func(options v1.ListOptions) (watch.Interface, error) {
|
||||
if tweakListOptions != nil {
|
||||
tweakListOptions(&options)
|
||||
}
|
||||
return client.PolicyV1beta1().PodDisruptionBudgets(namespace).Watch(options)
|
||||
return client.PolicyV1beta1().PodDisruptionBudgets(namespace).Watch(context.TODO(), options)
|
||||
},
|
||||
},
|
||||
&policyv1beta1.PodDisruptionBudget{},
|
||||
|
5
vendor/k8s.io/client-go/informers/policy/v1beta1/podsecuritypolicy.go
generated
vendored
5
vendor/k8s.io/client-go/informers/policy/v1beta1/podsecuritypolicy.go
generated
vendored
@ -19,6 +19,7 @@ limitations under the License.
|
||||
package v1beta1
|
||||
|
||||
import (
|
||||
"context"
|
||||
time "time"
|
||||
|
||||
policyv1beta1 "k8s.io/api/policy/v1beta1"
|
||||
@ -60,13 +61,13 @@ func NewFilteredPodSecurityPolicyInformer(client kubernetes.Interface, resyncPer
|
||||
if tweakListOptions != nil {
|
||||
tweakListOptions(&options)
|
||||
}
|
||||
return client.PolicyV1beta1().PodSecurityPolicies().List(options)
|
||||
return client.PolicyV1beta1().PodSecurityPolicies().List(context.TODO(), options)
|
||||
},
|
||||
WatchFunc: func(options v1.ListOptions) (watch.Interface, error) {
|
||||
if tweakListOptions != nil {
|
||||
tweakListOptions(&options)
|
||||
}
|
||||
return client.PolicyV1beta1().PodSecurityPolicies().Watch(options)
|
||||
return client.PolicyV1beta1().PodSecurityPolicies().Watch(context.TODO(), options)
|
||||
},
|
||||
},
|
||||
&policyv1beta1.PodSecurityPolicy{},
|
||||
|
Reference in New Issue
Block a user