rebase: update replaced k8s.io modules to v0.33.0

Signed-off-by: Niels de Vos <ndevos@ibm.com>
This commit is contained in:
Niels de Vos
2025-05-07 13:13:33 +02:00
committed by mergify[bot]
parent dd77e72800
commit 107407b44b
1723 changed files with 65035 additions and 175239 deletions

View File

@ -61,13 +61,25 @@ func NewFilteredFlowSchemaInformer(client kubernetes.Interface, resyncPeriod tim
if tweakListOptions != nil {
tweakListOptions(&options)
}
return client.FlowcontrolV1().FlowSchemas().List(context.TODO(), options)
return client.FlowcontrolV1().FlowSchemas().List(context.Background(), options)
},
WatchFunc: func(options metav1.ListOptions) (watch.Interface, error) {
if tweakListOptions != nil {
tweakListOptions(&options)
}
return client.FlowcontrolV1().FlowSchemas().Watch(context.TODO(), options)
return client.FlowcontrolV1().FlowSchemas().Watch(context.Background(), options)
},
ListWithContextFunc: func(ctx context.Context, options metav1.ListOptions) (runtime.Object, error) {
if tweakListOptions != nil {
tweakListOptions(&options)
}
return client.FlowcontrolV1().FlowSchemas().List(ctx, options)
},
WatchFuncWithContext: func(ctx context.Context, options metav1.ListOptions) (watch.Interface, error) {
if tweakListOptions != nil {
tweakListOptions(&options)
}
return client.FlowcontrolV1().FlowSchemas().Watch(ctx, options)
},
},
&apiflowcontrolv1.FlowSchema{},

View File

@ -61,13 +61,25 @@ func NewFilteredPriorityLevelConfigurationInformer(client kubernetes.Interface,
if tweakListOptions != nil {
tweakListOptions(&options)
}
return client.FlowcontrolV1().PriorityLevelConfigurations().List(context.TODO(), options)
return client.FlowcontrolV1().PriorityLevelConfigurations().List(context.Background(), options)
},
WatchFunc: func(options metav1.ListOptions) (watch.Interface, error) {
if tweakListOptions != nil {
tweakListOptions(&options)
}
return client.FlowcontrolV1().PriorityLevelConfigurations().Watch(context.TODO(), options)
return client.FlowcontrolV1().PriorityLevelConfigurations().Watch(context.Background(), options)
},
ListWithContextFunc: func(ctx context.Context, options metav1.ListOptions) (runtime.Object, error) {
if tweakListOptions != nil {
tweakListOptions(&options)
}
return client.FlowcontrolV1().PriorityLevelConfigurations().List(ctx, options)
},
WatchFuncWithContext: func(ctx context.Context, options metav1.ListOptions) (watch.Interface, error) {
if tweakListOptions != nil {
tweakListOptions(&options)
}
return client.FlowcontrolV1().PriorityLevelConfigurations().Watch(ctx, options)
},
},
&apiflowcontrolv1.PriorityLevelConfiguration{},

View File

@ -61,13 +61,25 @@ func NewFilteredFlowSchemaInformer(client kubernetes.Interface, resyncPeriod tim
if tweakListOptions != nil {
tweakListOptions(&options)
}
return client.FlowcontrolV1beta1().FlowSchemas().List(context.TODO(), options)
return client.FlowcontrolV1beta1().FlowSchemas().List(context.Background(), options)
},
WatchFunc: func(options v1.ListOptions) (watch.Interface, error) {
if tweakListOptions != nil {
tweakListOptions(&options)
}
return client.FlowcontrolV1beta1().FlowSchemas().Watch(context.TODO(), options)
return client.FlowcontrolV1beta1().FlowSchemas().Watch(context.Background(), options)
},
ListWithContextFunc: func(ctx context.Context, options v1.ListOptions) (runtime.Object, error) {
if tweakListOptions != nil {
tweakListOptions(&options)
}
return client.FlowcontrolV1beta1().FlowSchemas().List(ctx, options)
},
WatchFuncWithContext: func(ctx context.Context, options v1.ListOptions) (watch.Interface, error) {
if tweakListOptions != nil {
tweakListOptions(&options)
}
return client.FlowcontrolV1beta1().FlowSchemas().Watch(ctx, options)
},
},
&apiflowcontrolv1beta1.FlowSchema{},

View File

@ -61,13 +61,25 @@ func NewFilteredPriorityLevelConfigurationInformer(client kubernetes.Interface,
if tweakListOptions != nil {
tweakListOptions(&options)
}
return client.FlowcontrolV1beta1().PriorityLevelConfigurations().List(context.TODO(), options)
return client.FlowcontrolV1beta1().PriorityLevelConfigurations().List(context.Background(), options)
},
WatchFunc: func(options v1.ListOptions) (watch.Interface, error) {
if tweakListOptions != nil {
tweakListOptions(&options)
}
return client.FlowcontrolV1beta1().PriorityLevelConfigurations().Watch(context.TODO(), options)
return client.FlowcontrolV1beta1().PriorityLevelConfigurations().Watch(context.Background(), options)
},
ListWithContextFunc: func(ctx context.Context, options v1.ListOptions) (runtime.Object, error) {
if tweakListOptions != nil {
tweakListOptions(&options)
}
return client.FlowcontrolV1beta1().PriorityLevelConfigurations().List(ctx, options)
},
WatchFuncWithContext: func(ctx context.Context, options v1.ListOptions) (watch.Interface, error) {
if tweakListOptions != nil {
tweakListOptions(&options)
}
return client.FlowcontrolV1beta1().PriorityLevelConfigurations().Watch(ctx, options)
},
},
&apiflowcontrolv1beta1.PriorityLevelConfiguration{},

View File

@ -61,13 +61,25 @@ func NewFilteredFlowSchemaInformer(client kubernetes.Interface, resyncPeriod tim
if tweakListOptions != nil {
tweakListOptions(&options)
}
return client.FlowcontrolV1beta2().FlowSchemas().List(context.TODO(), options)
return client.FlowcontrolV1beta2().FlowSchemas().List(context.Background(), options)
},
WatchFunc: func(options v1.ListOptions) (watch.Interface, error) {
if tweakListOptions != nil {
tweakListOptions(&options)
}
return client.FlowcontrolV1beta2().FlowSchemas().Watch(context.TODO(), options)
return client.FlowcontrolV1beta2().FlowSchemas().Watch(context.Background(), options)
},
ListWithContextFunc: func(ctx context.Context, options v1.ListOptions) (runtime.Object, error) {
if tweakListOptions != nil {
tweakListOptions(&options)
}
return client.FlowcontrolV1beta2().FlowSchemas().List(ctx, options)
},
WatchFuncWithContext: func(ctx context.Context, options v1.ListOptions) (watch.Interface, error) {
if tweakListOptions != nil {
tweakListOptions(&options)
}
return client.FlowcontrolV1beta2().FlowSchemas().Watch(ctx, options)
},
},
&apiflowcontrolv1beta2.FlowSchema{},

View File

@ -61,13 +61,25 @@ func NewFilteredPriorityLevelConfigurationInformer(client kubernetes.Interface,
if tweakListOptions != nil {
tweakListOptions(&options)
}
return client.FlowcontrolV1beta2().PriorityLevelConfigurations().List(context.TODO(), options)
return client.FlowcontrolV1beta2().PriorityLevelConfigurations().List(context.Background(), options)
},
WatchFunc: func(options v1.ListOptions) (watch.Interface, error) {
if tweakListOptions != nil {
tweakListOptions(&options)
}
return client.FlowcontrolV1beta2().PriorityLevelConfigurations().Watch(context.TODO(), options)
return client.FlowcontrolV1beta2().PriorityLevelConfigurations().Watch(context.Background(), options)
},
ListWithContextFunc: func(ctx context.Context, options v1.ListOptions) (runtime.Object, error) {
if tweakListOptions != nil {
tweakListOptions(&options)
}
return client.FlowcontrolV1beta2().PriorityLevelConfigurations().List(ctx, options)
},
WatchFuncWithContext: func(ctx context.Context, options v1.ListOptions) (watch.Interface, error) {
if tweakListOptions != nil {
tweakListOptions(&options)
}
return client.FlowcontrolV1beta2().PriorityLevelConfigurations().Watch(ctx, options)
},
},
&apiflowcontrolv1beta2.PriorityLevelConfiguration{},

View File

@ -61,13 +61,25 @@ func NewFilteredFlowSchemaInformer(client kubernetes.Interface, resyncPeriod tim
if tweakListOptions != nil {
tweakListOptions(&options)
}
return client.FlowcontrolV1beta3().FlowSchemas().List(context.TODO(), options)
return client.FlowcontrolV1beta3().FlowSchemas().List(context.Background(), options)
},
WatchFunc: func(options v1.ListOptions) (watch.Interface, error) {
if tweakListOptions != nil {
tweakListOptions(&options)
}
return client.FlowcontrolV1beta3().FlowSchemas().Watch(context.TODO(), options)
return client.FlowcontrolV1beta3().FlowSchemas().Watch(context.Background(), options)
},
ListWithContextFunc: func(ctx context.Context, options v1.ListOptions) (runtime.Object, error) {
if tweakListOptions != nil {
tweakListOptions(&options)
}
return client.FlowcontrolV1beta3().FlowSchemas().List(ctx, options)
},
WatchFuncWithContext: func(ctx context.Context, options v1.ListOptions) (watch.Interface, error) {
if tweakListOptions != nil {
tweakListOptions(&options)
}
return client.FlowcontrolV1beta3().FlowSchemas().Watch(ctx, options)
},
},
&apiflowcontrolv1beta3.FlowSchema{},

View File

@ -61,13 +61,25 @@ func NewFilteredPriorityLevelConfigurationInformer(client kubernetes.Interface,
if tweakListOptions != nil {
tweakListOptions(&options)
}
return client.FlowcontrolV1beta3().PriorityLevelConfigurations().List(context.TODO(), options)
return client.FlowcontrolV1beta3().PriorityLevelConfigurations().List(context.Background(), options)
},
WatchFunc: func(options v1.ListOptions) (watch.Interface, error) {
if tweakListOptions != nil {
tweakListOptions(&options)
}
return client.FlowcontrolV1beta3().PriorityLevelConfigurations().Watch(context.TODO(), options)
return client.FlowcontrolV1beta3().PriorityLevelConfigurations().Watch(context.Background(), options)
},
ListWithContextFunc: func(ctx context.Context, options v1.ListOptions) (runtime.Object, error) {
if tweakListOptions != nil {
tweakListOptions(&options)
}
return client.FlowcontrolV1beta3().PriorityLevelConfigurations().List(ctx, options)
},
WatchFuncWithContext: func(ctx context.Context, options v1.ListOptions) (watch.Interface, error) {
if tweakListOptions != nil {
tweakListOptions(&options)
}
return client.FlowcontrolV1beta3().PriorityLevelConfigurations().Watch(ctx, options)
},
},
&apiflowcontrolv1beta3.PriorityLevelConfiguration{},