Documentation ¶
Index ¶
- type PlatformAdminHandler
- func (webhook *PlatformAdminHandler) Default(ctx context.Context, obj runtime.Object) error
- func (webhook *PlatformAdminHandler) SetupWebhookWithManager(mgr ctrl.Manager) (string, string, error)
- func (webhook *PlatformAdminHandler) ValidateCreate(ctx context.Context, obj runtime.Object) (admission.Warnings, error)
- func (webhook *PlatformAdminHandler) ValidateDelete(_ context.Context, obj runtime.Object) (admission.Warnings, error)
- func (webhook *PlatformAdminHandler) 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 PlatformAdminHandler ¶
Cluster implements a validating and defaulting webhook for Cluster.
func (*PlatformAdminHandler) SetupWebhookWithManager ¶
func (webhook *PlatformAdminHandler) SetupWebhookWithManager(mgr ctrl.Manager) (string, string, error)
SetupWebhookWithManager sets up Cluster webhooks.
func (*PlatformAdminHandler) ValidateCreate ¶
func (webhook *PlatformAdminHandler) ValidateCreate(ctx context.Context, obj runtime.Object) (admission.Warnings, error)
ValidateCreate implements webhook.CustomValidator so a webhook will be registered for the type.
func (*PlatformAdminHandler) ValidateDelete ¶
func (webhook *PlatformAdminHandler) ValidateDelete(_ context.Context, obj runtime.Object) (admission.Warnings, error)
ValidateDelete implements webhook.CustomValidator so a webhook will be registered for the type.
func (*PlatformAdminHandler) ValidateUpdate ¶
func (webhook *PlatformAdminHandler) ValidateUpdate(ctx context.Context, oldObj, newObj runtime.Object) (admission.Warnings, error)
ValidateUpdate implements webhook.CustomValidator so a webhook will be registered for the type.
Click to show internal directories.
Click to hide internal directories.