Documentation
¶
Index ¶
- func SetupKinkClusterTemplateWebhookWithManager(mgr ctrl.Manager) error
- func SetupKinkClusterWebhookWithManager(mgr ctrl.Manager) error
- func SetupKinkMachineTemplateWebhookWithManager(mgr ctrl.Manager) error
- func SetupKinkMachineWebhookWithManager(mgr ctrl.Manager) error
- type KinkClusterCustomDefaulter
- type KinkClusterCustomValidator
- func (v *KinkClusterCustomValidator) ValidateCreate(ctx context.Context, obj runtime.Object) (admission.Warnings, error)
- func (v *KinkClusterCustomValidator) ValidateDelete(ctx context.Context, obj runtime.Object) (admission.Warnings, error)
- func (v *KinkClusterCustomValidator) ValidateUpdate(ctx context.Context, oldObj, newObj runtime.Object) (admission.Warnings, error)
- type KinkClusterTemplateCustomDefaulter
- type KinkClusterTemplateCustomValidator
- func (v *KinkClusterTemplateCustomValidator) ValidateCreate(ctx context.Context, obj runtime.Object) (admission.Warnings, error)
- func (v *KinkClusterTemplateCustomValidator) ValidateDelete(ctx context.Context, obj runtime.Object) (admission.Warnings, error)
- func (v *KinkClusterTemplateCustomValidator) ValidateUpdate(ctx context.Context, oldObj, newObj runtime.Object) (admission.Warnings, error)
- type KinkMachineCustomDefaulter
- type KinkMachineCustomValidator
- func (v *KinkMachineCustomValidator) ValidateCreate(ctx context.Context, obj runtime.Object) (admission.Warnings, error)
- func (v *KinkMachineCustomValidator) ValidateDelete(ctx context.Context, obj runtime.Object) (admission.Warnings, error)
- func (v *KinkMachineCustomValidator) ValidateUpdate(ctx context.Context, oldObj, newObj runtime.Object) (admission.Warnings, error)
- type KinkMachineTemplateCustomDefaulter
- type KinkMachineTemplateCustomValidator
- func (v *KinkMachineTemplateCustomValidator) ValidateCreate(ctx context.Context, obj runtime.Object) (admission.Warnings, error)
- func (v *KinkMachineTemplateCustomValidator) ValidateDelete(ctx context.Context, obj runtime.Object) (admission.Warnings, error)
- func (v *KinkMachineTemplateCustomValidator) ValidateUpdate(ctx context.Context, oldObj, newObj runtime.Object) (admission.Warnings, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetupKinkClusterTemplateWebhookWithManager ¶
SetupKinkClusterTemplateWebhookWithManager registers the webhook for KinkClusterTemplate in the manager.
func SetupKinkClusterWebhookWithManager ¶
SetupKinkClusterWebhookWithManager registers the webhook for KinkCluster in the manager.
func SetupKinkMachineTemplateWebhookWithManager ¶
SetupKinkMachineTemplateWebhookWithManager registers the webhook for KinkMachineTemplate in the manager.
func SetupKinkMachineWebhookWithManager ¶
SetupKinkMachineWebhookWithManager registers the webhook for KinkMachine in the manager.
Types ¶
type KinkClusterCustomDefaulter ¶
type KinkClusterCustomDefaulter struct { }
KinkClusterCustomDefaulter struct is responsible for setting default values on the custom resource of the Kind KinkCluster when those are created or updated.
type KinkClusterCustomValidator ¶
type KinkClusterCustomValidator struct { }
KinkClusterCustomValidator struct is responsible for validating the KinkCluster resource when it is created, updated, or deleted.
func (*KinkClusterCustomValidator) ValidateCreate ¶
func (v *KinkClusterCustomValidator) ValidateCreate( ctx context.Context, obj runtime.Object, ) (admission.Warnings, error)
ValidateCreate implements webhook.CustomValidator so a webhook will be registered for the type KinkCluster.
func (*KinkClusterCustomValidator) ValidateDelete ¶
func (v *KinkClusterCustomValidator) ValidateDelete( ctx context.Context, obj runtime.Object, ) (admission.Warnings, error)
ValidateDelete implements webhook.CustomValidator so a webhook will be registered for the type KinkCluster.
func (*KinkClusterCustomValidator) ValidateUpdate ¶
func (v *KinkClusterCustomValidator) ValidateUpdate( ctx context.Context, oldObj, newObj runtime.Object, ) (admission.Warnings, error)
ValidateUpdate implements webhook.CustomValidator so a webhook will be registered for the type KinkCluster.
type KinkClusterTemplateCustomDefaulter ¶
type KinkClusterTemplateCustomDefaulter struct { }
KinkClusterTemplateCustomDefaulter struct is responsible for setting default values on the custom resource of the Kind KinkClusterTemplate when those are created or updated.
type KinkClusterTemplateCustomValidator ¶
type KinkClusterTemplateCustomValidator struct { }
KinkClusterTemplateCustomValidator struct is responsible for validating the KinkClusterTemplate resource when it is created, updated, or deleted.
func (*KinkClusterTemplateCustomValidator) ValidateCreate ¶
func (v *KinkClusterTemplateCustomValidator) ValidateCreate( ctx context.Context, obj runtime.Object, ) (admission.Warnings, error)
ValidateCreate implements webhook.CustomValidator so a webhook will be registered for the type KinkClusterTemplate.
func (*KinkClusterTemplateCustomValidator) ValidateDelete ¶
func (v *KinkClusterTemplateCustomValidator) ValidateDelete( ctx context.Context, obj runtime.Object, ) (admission.Warnings, error)
ValidateDelete implements webhook.CustomValidator so a webhook will be registered for the type KinkClusterTemplate.
func (*KinkClusterTemplateCustomValidator) ValidateUpdate ¶
func (v *KinkClusterTemplateCustomValidator) ValidateUpdate( ctx context.Context, oldObj, newObj runtime.Object, ) (admission.Warnings, error)
ValidateUpdate implements webhook.CustomValidator so a webhook will be registered for the type KinkClusterTemplate.
type KinkMachineCustomDefaulter ¶
type KinkMachineCustomDefaulter struct { }
KinkMachineCustomDefaulter struct is responsible for setting default values on the custom resource of the Kind KinkMachine when those are created or updated.
type KinkMachineCustomValidator ¶
type KinkMachineCustomValidator struct { }
KinkMachineCustomValidator struct is responsible for validating the KinkMachine resource when it is created, updated, or deleted.
func (*KinkMachineCustomValidator) ValidateCreate ¶
func (v *KinkMachineCustomValidator) ValidateCreate( ctx context.Context, obj runtime.Object, ) (admission.Warnings, error)
ValidateCreate implements webhook.CustomValidator so a webhook will be registered for the type KinkMachine.
func (*KinkMachineCustomValidator) ValidateDelete ¶
func (v *KinkMachineCustomValidator) ValidateDelete( ctx context.Context, obj runtime.Object, ) (admission.Warnings, error)
ValidateDelete implements webhook.CustomValidator so a webhook will be registered for the type KinkMachine.
func (*KinkMachineCustomValidator) ValidateUpdate ¶
func (v *KinkMachineCustomValidator) ValidateUpdate( ctx context.Context, oldObj, newObj runtime.Object, ) (admission.Warnings, error)
ValidateUpdate implements webhook.CustomValidator so a webhook will be registered for the type KinkMachine.
type KinkMachineTemplateCustomDefaulter ¶
type KinkMachineTemplateCustomDefaulter struct { }
KinkMachineTemplateCustomDefaulter struct is responsible for setting default values on the custom resource of the Kind KinkMachineTemplate when those are created or updated.
type KinkMachineTemplateCustomValidator ¶
type KinkMachineTemplateCustomValidator struct { }
KinkMachineTemplateCustomValidator struct is responsible for validating the KinkMachineTemplate resource when it is created, updated, or deleted.
func (*KinkMachineTemplateCustomValidator) ValidateCreate ¶
func (v *KinkMachineTemplateCustomValidator) ValidateCreate( ctx context.Context, obj runtime.Object, ) (admission.Warnings, error)
ValidateCreate implements webhook.CustomValidator so a webhook will be registered for the type KinkMachineTemplate.
func (*KinkMachineTemplateCustomValidator) ValidateDelete ¶
func (v *KinkMachineTemplateCustomValidator) ValidateDelete( ctx context.Context, obj runtime.Object, ) (admission.Warnings, error)
ValidateDelete implements webhook.CustomValidator so a webhook will be registered for the type KinkMachineTemplate.
func (*KinkMachineTemplateCustomValidator) ValidateUpdate ¶
func (v *KinkMachineTemplateCustomValidator) ValidateUpdate( ctx context.Context, oldObj, newObj runtime.Object, ) (admission.Warnings, error)
ValidateUpdate implements webhook.CustomValidator so a webhook will be registered for the type KinkMachineTemplate.