Documentation ¶
Index ¶
- type ManagedClusterModuleValidator
- func (m *ManagedClusterModuleValidator) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (m *ManagedClusterModuleValidator) ValidateCreate(ctx context.Context, obj runtime.Object) (admission.Warnings, error)
- func (m *ManagedClusterModuleValidator) ValidateDelete(ctx context.Context, obj runtime.Object) (admission.Warnings, error)
- func (m *ManagedClusterModuleValidator) 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 ManagedClusterModuleValidator ¶
type ManagedClusterModuleValidator struct {
// contains filtered or unexported fields
}
func NewManagedClusterModuleValidator ¶
func NewManagedClusterModuleValidator(logger logr.Logger) *ManagedClusterModuleValidator
func (*ManagedClusterModuleValidator) SetupWebhookWithManager ¶
func (m *ManagedClusterModuleValidator) SetupWebhookWithManager(mgr ctrl.Manager) error
func (*ManagedClusterModuleValidator) ValidateCreate ¶
func (m *ManagedClusterModuleValidator) ValidateCreate(ctx context.Context, obj runtime.Object) (admission.Warnings, error)
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*ManagedClusterModuleValidator) ValidateDelete ¶
func (m *ManagedClusterModuleValidator) ValidateDelete(ctx context.Context, obj runtime.Object) (admission.Warnings, error)
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
func (*ManagedClusterModuleValidator) ValidateUpdate ¶
func (m *ManagedClusterModuleValidator) ValidateUpdate(ctx context.Context, oldObj, newObj runtime.Object) (admission.Warnings, error)
ValidateUpdate implements webhook.Validator so a webhook will be registered for the type
Click to show internal directories.
Click to hide internal directories.