Documentation ¶
Index ¶
- Constants
- type YurtStaticSetHandler
- func (webhook *YurtStaticSetHandler) Default(ctx context.Context, obj runtime.Object) error
- func (webhook *YurtStaticSetHandler) SetupWebhookWithManager(mgr ctrl.Manager) (string, string, error)
- func (webhook *YurtStaticSetHandler) ValidateCreate(ctx context.Context, obj runtime.Object) error
- func (webhook *YurtStaticSetHandler) ValidateDelete(_ context.Context, obj runtime.Object) error
- func (webhook *YurtStaticSetHandler) ValidateUpdate(ctx context.Context, oldObj, newObj runtime.Object) error
Constants ¶
View Source
const (
YurtStaticSetKind = "YurtStaticSet"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type YurtStaticSetHandler ¶
type YurtStaticSetHandler struct { }
Cluster implements a validating and defaulting webhook for Cluster.
func (*YurtStaticSetHandler) SetupWebhookWithManager ¶
func (webhook *YurtStaticSetHandler) SetupWebhookWithManager(mgr ctrl.Manager) (string, string, error)
SetupWebhookWithManager sets up Cluster webhooks. mutate path, validatepath, error
func (*YurtStaticSetHandler) ValidateCreate ¶
ValidateCreate implements webhook.CustomValidator so a webhook will be registered for the type.
func (*YurtStaticSetHandler) ValidateDelete ¶
ValidateDelete implements webhook.CustomValidator so a webhook will be registered for the type.
func (*YurtStaticSetHandler) ValidateUpdate ¶
func (webhook *YurtStaticSetHandler) ValidateUpdate(ctx context.Context, oldObj, newObj runtime.Object) error
ValidateUpdate implements webhook.CustomValidator so a webhook will be registered for the type.
Click to show internal directories.
Click to hide internal directories.