Chore: Update k8s.io to v0.33.1 (#105307)

This commit is contained in:
Ryan McKinley
2025-05-28 00:13:18 +03:00
committed by GitHub
parent b11be2f37d
commit d4c446f42c
63 changed files with 689 additions and 524 deletions
@@ -48,13 +48,25 @@ func NewFilteredRepositoryInformer(client versioned.Interface, namespace string,
if tweakListOptions != nil {
tweakListOptions(&options)
}
return client.ProvisioningV0alpha1().Repositories(namespace).List(context.TODO(), options)
return client.ProvisioningV0alpha1().Repositories(namespace).List(context.Background(), options)
},
WatchFunc: func(options v1.ListOptions) (watch.Interface, error) {
if tweakListOptions != nil {
tweakListOptions(&options)
}
return client.ProvisioningV0alpha1().Repositories(namespace).Watch(context.TODO(), options)
return client.ProvisioningV0alpha1().Repositories(namespace).Watch(context.Background(), options)
},
ListWithContextFunc: func(ctx context.Context, options v1.ListOptions) (runtime.Object, error) {
if tweakListOptions != nil {
tweakListOptions(&options)
}
return client.ProvisioningV0alpha1().Repositories(namespace).List(ctx, options)
},
WatchFuncWithContext: func(ctx context.Context, options v1.ListOptions) (watch.Interface, error) {
if tweakListOptions != nil {
tweakListOptions(&options)
}
return client.ProvisioningV0alpha1().Repositories(namespace).Watch(ctx, options)
},
},
&apisprovisioningv0alpha1.Repository{},
@@ -48,13 +48,25 @@ func NewFilteredExternalNameInformer(client versioned.Interface, namespace strin
if tweakListOptions != nil {
tweakListOptions(&options)
}
return client.ServiceV0alpha1().ExternalNames(namespace).List(context.TODO(), options)
return client.ServiceV0alpha1().ExternalNames(namespace).List(context.Background(), options)
},
WatchFunc: func(options v1.ListOptions) (watch.Interface, error) {
if tweakListOptions != nil {
tweakListOptions(&options)
}
return client.ServiceV0alpha1().ExternalNames(namespace).Watch(context.TODO(), options)
return client.ServiceV0alpha1().ExternalNames(namespace).Watch(context.Background(), options)
},
ListWithContextFunc: func(ctx context.Context, options v1.ListOptions) (runtime.Object, error) {
if tweakListOptions != nil {
tweakListOptions(&options)
}
return client.ServiceV0alpha1().ExternalNames(namespace).List(ctx, options)
},
WatchFuncWithContext: func(ctx context.Context, options v1.ListOptions) (watch.Interface, error) {
if tweakListOptions != nil {
tweakListOptions(&options)
}
return client.ServiceV0alpha1().ExternalNames(namespace).Watch(ctx, options)
},
},
&apisservicev0alpha1.ExternalName{},