Documentation
¶
Index ¶
- type NetworkPoolValidator
- func (v *NetworkPoolValidator) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (v *NetworkPoolValidator) ValidateCreate(_ context.Context, obj runtime.Object) (admission.Warnings, error)
- func (v *NetworkPoolValidator) ValidateDelete(ctx context.Context, obj runtime.Object) (admission.Warnings, error)
- func (v *NetworkPoolValidator) ValidateUpdate(_ context.Context, oldObj, newObj runtime.Object) (admission.Warnings, error)
- type ProviderConfigValidator
- func (v *ProviderConfigValidator) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (v *ProviderConfigValidator) ValidateCreate(_ context.Context, obj runtime.Object) (admission.Warnings, error)
- func (v *ProviderConfigValidator) ValidateDelete(ctx context.Context, obj runtime.Object) (admission.Warnings, error)
- func (v *ProviderConfigValidator) ValidateUpdate(_ context.Context, _, newObj runtime.Object) (admission.Warnings, error)
- type TenantClusterValidator
- func (v *TenantClusterValidator) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (v *TenantClusterValidator) ValidateCreate(ctx context.Context, obj runtime.Object) (admission.Warnings, error)
- func (v *TenantClusterValidator) ValidateDelete(_ context.Context, _ runtime.Object) (admission.Warnings, error)
- func (v *TenantClusterValidator) ValidateUpdate(ctx context.Context, oldObj, newObj runtime.Object) (admission.Warnings, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NetworkPoolValidator ¶
NetworkPoolValidator validates NetworkPool resources on admission.
func (*NetworkPoolValidator) SetupWebhookWithManager ¶
func (v *NetworkPoolValidator) SetupWebhookWithManager(mgr ctrl.Manager) error
SetupWebhookWithManager registers the NetworkPool validating webhook with the manager.
func (*NetworkPoolValidator) ValidateCreate ¶
func (v *NetworkPoolValidator) ValidateCreate(_ context.Context, obj runtime.Object) (admission.Warnings, error)
ValidateCreate validates a NetworkPool on creation.
func (*NetworkPoolValidator) ValidateDelete ¶
func (v *NetworkPoolValidator) ValidateDelete(ctx context.Context, obj runtime.Object) (admission.Warnings, error)
ValidateDelete validates a NetworkPool on deletion.
func (*NetworkPoolValidator) ValidateUpdate ¶
func (v *NetworkPoolValidator) ValidateUpdate(_ context.Context, oldObj, newObj runtime.Object) (admission.Warnings, error)
ValidateUpdate validates a NetworkPool on update.
type ProviderConfigValidator ¶
ProviderConfigValidator validates ProviderConfig resources on admission.
func (*ProviderConfigValidator) SetupWebhookWithManager ¶
func (v *ProviderConfigValidator) SetupWebhookWithManager(mgr ctrl.Manager) error
SetupWebhookWithManager registers the ProviderConfig validating webhook with the manager.
func (*ProviderConfigValidator) ValidateCreate ¶
func (v *ProviderConfigValidator) ValidateCreate(_ context.Context, obj runtime.Object) (admission.Warnings, error)
ValidateCreate validates a ProviderConfig on creation.
func (*ProviderConfigValidator) ValidateDelete ¶
func (v *ProviderConfigValidator) ValidateDelete(ctx context.Context, obj runtime.Object) (admission.Warnings, error)
ValidateDelete validates a ProviderConfig on deletion.
func (*ProviderConfigValidator) ValidateUpdate ¶
func (v *ProviderConfigValidator) ValidateUpdate(_ context.Context, _, newObj runtime.Object) (admission.Warnings, error)
ValidateUpdate validates a ProviderConfig on update.
type TenantClusterValidator ¶
TenantClusterValidator validates TenantCluster resources on admission.
func (*TenantClusterValidator) SetupWebhookWithManager ¶
func (v *TenantClusterValidator) SetupWebhookWithManager(mgr ctrl.Manager) error
SetupWebhookWithManager registers the TenantCluster validating webhook with the manager.
func (*TenantClusterValidator) ValidateCreate ¶
func (v *TenantClusterValidator) ValidateCreate(ctx context.Context, obj runtime.Object) (admission.Warnings, error)
ValidateCreate validates a TenantCluster on creation.
func (*TenantClusterValidator) ValidateDelete ¶
func (v *TenantClusterValidator) ValidateDelete(_ context.Context, _ runtime.Object) (admission.Warnings, error)
ValidateDelete validates a TenantCluster on deletion.
func (*TenantClusterValidator) ValidateUpdate ¶
func (v *TenantClusterValidator) ValidateUpdate(ctx context.Context, oldObj, newObj runtime.Object) (admission.Warnings, error)
ValidateUpdate validates a TenantCluster on update.