refact(deps): bump k8s and client-go deps to version v0.20.2 (#294)

Signed-off-by: prateekpandey14 <prateek.pandey@mayadata.io>
This commit is contained in:
Prateek Pandey 2021-03-31 16:43:42 +05:30 committed by GitHub
parent 533e17a9aa
commit b1aa6ab51a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2196 changed files with 306727 additions and 251810 deletions

View file

@ -19,6 +19,7 @@ limitations under the License.
package v1
import (
"context"
time "time"
schedulingv1 "k8s.io/api/scheduling/v1"
@ -60,13 +61,13 @@ func NewFilteredPriorityClassInformer(client kubernetes.Interface, resyncPeriod
if tweakListOptions != nil {
tweakListOptions(&options)
}
return client.SchedulingV1().PriorityClasses().List(options)
return client.SchedulingV1().PriorityClasses().List(context.TODO(), options)
},
WatchFunc: func(options metav1.ListOptions) (watch.Interface, error) {
if tweakListOptions != nil {
tweakListOptions(&options)
}
return client.SchedulingV1().PriorityClasses().Watch(options)
return client.SchedulingV1().PriorityClasses().Watch(context.TODO(), options)
},
},
&schedulingv1.PriorityClass{},

View file

@ -19,6 +19,7 @@ limitations under the License.
package v1alpha1
import (
"context"
time "time"
schedulingv1alpha1 "k8s.io/api/scheduling/v1alpha1"
@ -60,13 +61,13 @@ func NewFilteredPriorityClassInformer(client kubernetes.Interface, resyncPeriod
if tweakListOptions != nil {
tweakListOptions(&options)
}
return client.SchedulingV1alpha1().PriorityClasses().List(options)
return client.SchedulingV1alpha1().PriorityClasses().List(context.TODO(), options)
},
WatchFunc: func(options v1.ListOptions) (watch.Interface, error) {
if tweakListOptions != nil {
tweakListOptions(&options)
}
return client.SchedulingV1alpha1().PriorityClasses().Watch(options)
return client.SchedulingV1alpha1().PriorityClasses().Watch(context.TODO(), options)
},
},
&schedulingv1alpha1.PriorityClass{},

View file

@ -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{},