Documentation ¶
Index ¶
- func ValidateYurtAppDaemonUpdate(yad, oldYad *unitv1alpha1.YurtAppDaemon) field.ErrorList
- type YurtAppDaemonHandler
- func (webhook *YurtAppDaemonHandler) Default(ctx context.Context, obj runtime.Object) error
- func (webhook *YurtAppDaemonHandler) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (webhook *YurtAppDaemonHandler) ValidateCreate(ctx context.Context, obj runtime.Object) error
- func (webhook *YurtAppDaemonHandler) ValidateDelete(_ context.Context, obj runtime.Object) error
- func (webhook *YurtAppDaemonHandler) ValidateUpdate(ctx context.Context, oldObj, newObj runtime.Object) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ValidateYurtAppDaemonUpdate ¶
func ValidateYurtAppDaemonUpdate(yad, oldYad *unitv1alpha1.YurtAppDaemon) field.ErrorList
ValidateYurtAppDaemonUpdate tests if required fields in the YurtAppDaemon are set.
Types ¶
type YurtAppDaemonHandler ¶
Cluster implements a validating and defaulting webhook for Cluster.
func (*YurtAppDaemonHandler) SetupWebhookWithManager ¶
func (webhook *YurtAppDaemonHandler) SetupWebhookWithManager(mgr ctrl.Manager) error
SetupWebhookWithManager sets up Cluster webhooks.
func (*YurtAppDaemonHandler) ValidateCreate ¶
ValidateCreate implements webhook.CustomValidator so a webhook will be registered for the type.
func (*YurtAppDaemonHandler) ValidateDelete ¶
ValidateDelete implements webhook.CustomValidator so a webhook will be registered for the type.
func (*YurtAppDaemonHandler) ValidateUpdate ¶
func (webhook *YurtAppDaemonHandler) 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.