Documentation ¶
Index ¶
- Constants
- type YurtAppSetHandler
- func (webhook *YurtAppSetHandler) Default(ctx context.Context, obj runtime.Object) error
- func (webhook *YurtAppSetHandler) SetupWebhookWithManager(mgr ctrl.Manager) (string, string, error)
- func (webhook *YurtAppSetHandler) ValidateCreate(ctx context.Context, obj runtime.Object) (admission.Warnings, error)
- func (webhook *YurtAppSetHandler) ValidateDelete(_ context.Context, obj runtime.Object) (admission.Warnings, error)
- func (webhook *YurtAppSetHandler) ValidateUpdate(ctx context.Context, oldObj, newObj runtime.Object) (admission.Warnings, error)
Constants ¶
View Source
const YurtAppSetKind = "YurtAppSet"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type YurtAppSetHandler ¶
YurtAppSetHandler implements a validating and defaulting webhook for Cluster.
func (*YurtAppSetHandler) SetupWebhookWithManager ¶
SetupWebhookWithManager sets up Cluster webhooks.
func (*YurtAppSetHandler) ValidateCreate ¶
func (webhook *YurtAppSetHandler) ValidateCreate(ctx context.Context, obj runtime.Object) (admission.Warnings, error)
ValidateCreate implements webhook.CustomValidator so a webhook will be registered for the type.
func (*YurtAppSetHandler) ValidateDelete ¶
func (webhook *YurtAppSetHandler) ValidateDelete(_ context.Context, obj runtime.Object) (admission.Warnings, error)
ValidateDelete implements webhook.CustomValidator so a webhook will be registered for the type.
func (*YurtAppSetHandler) ValidateUpdate ¶
func (webhook *YurtAppSetHandler) 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.