5
vendor/k8s.io/client-go/informers/rbac/v1/clusterrole.go
generated
vendored
5
vendor/k8s.io/client-go/informers/rbac/v1/clusterrole.go
generated
vendored
@@ -19,6 +19,7 @@ limitations under the License.
|
||||
package v1
|
||||
|
||||
import (
|
||||
"context"
|
||||
time "time"
|
||||
|
||||
rbacv1 "k8s.io/api/rbac/v1"
|
||||
@@ -60,13 +61,13 @@ func NewFilteredClusterRoleInformer(client kubernetes.Interface, resyncPeriod ti
|
||||
if tweakListOptions != nil {
|
||||
tweakListOptions(&options)
|
||||
}
|
||||
return client.RbacV1().ClusterRoles().List(options)
|
||||
return client.RbacV1().ClusterRoles().List(context.TODO(), options)
|
||||
},
|
||||
WatchFunc: func(options metav1.ListOptions) (watch.Interface, error) {
|
||||
if tweakListOptions != nil {
|
||||
tweakListOptions(&options)
|
||||
}
|
||||
return client.RbacV1().ClusterRoles().Watch(options)
|
||||
return client.RbacV1().ClusterRoles().Watch(context.TODO(), options)
|
||||
},
|
||||
},
|
||||
&rbacv1.ClusterRole{},
|
||||
|
||||
Reference in New Issue
Block a user