5
vendor/k8s.io/client-go/informers/scheduling/v1beta1/priorityclass.go
generated
vendored
5
vendor/k8s.io/client-go/informers/scheduling/v1beta1/priorityclass.go
generated
vendored
@@ -19,6 +19,7 @@ limitations under the License.
|
||||
package v1beta1
|
||||
|
||||
import (
|
||||
"context"
|
||||
time "time"
|
||||
|
||||
schedulingv1beta1 "k8s.io/api/scheduling/v1beta1"
|
||||
@@ -60,13 +61,13 @@ func NewFilteredPriorityClassInformer(client kubernetes.Interface, resyncPeriod
|
||||
if tweakListOptions != nil {
|
||||
tweakListOptions(&options)
|
||||
}
|
||||
return client.SchedulingV1beta1().PriorityClasses().List(options)
|
||||
return client.SchedulingV1beta1().PriorityClasses().List(context.TODO(), options)
|
||||
},
|
||||
WatchFunc: func(options v1.ListOptions) (watch.Interface, error) {
|
||||
if tweakListOptions != nil {
|
||||
tweakListOptions(&options)
|
||||
}
|
||||
return client.SchedulingV1beta1().PriorityClasses().Watch(options)
|
||||
return client.SchedulingV1beta1().PriorityClasses().Watch(context.TODO(), options)
|
||||
},
|
||||
},
|
||||
&schedulingv1beta1.PriorityClass{},
|
||||
|
||||
Reference in New Issue
Block a user