Documentation ¶
Index ¶
- type YurtAppOverriderHandler
- func (webhook *YurtAppOverriderHandler) Default(ctx context.Context, obj runtime.Object) error
- func (webhook *YurtAppOverriderHandler) SetupWebhookWithManager(mgr ctrl.Manager) (string, string, error)
- func (webhook *YurtAppOverriderHandler) ValidateCreate(ctx context.Context, obj runtime.Object) (admission.Warnings, error)
- func (webhook *YurtAppOverriderHandler) ValidateDelete(ctx context.Context, obj runtime.Object) (admission.Warnings, error)
- func (webhook *YurtAppOverriderHandler) 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 YurtAppOverriderHandler ¶
Cluster implements a validating and defaulting webhook for Cluster.
func (*YurtAppOverriderHandler) SetupWebhookWithManager ¶
func (webhook *YurtAppOverriderHandler) SetupWebhookWithManager(mgr ctrl.Manager) (string, string, error)
SetupWebhookWithManager sets up Cluster webhooks. mutate path, validatepath, error
func (*YurtAppOverriderHandler) ValidateCreate ¶
func (webhook *YurtAppOverriderHandler) ValidateCreate(ctx context.Context, obj runtime.Object) (admission.Warnings, error)
ValidateCreate implements webhook.CustomValidator so a webhook will be registered for the type.
func (*YurtAppOverriderHandler) ValidateDelete ¶
func (webhook *YurtAppOverriderHandler) ValidateDelete(ctx context.Context, obj runtime.Object) (admission.Warnings, error)
ValidateDelete implements webhook.CustomValidator so a webhook will be registered for the type.
func (*YurtAppOverriderHandler) ValidateUpdate ¶
func (webhook *YurtAppOverriderHandler) 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.