Documentation ¶
Overview ¶
Package vmware is the package for webhooks of vmware resources.
Package vmware is the package for webhooks of vmware resources.
Index ¶
- type VSphereMachineTemplateWebhook
- func (webhook *VSphereMachineTemplateWebhook) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (webhook *VSphereMachineTemplateWebhook) ValidateCreate(ctx context.Context, obj runtime.Object) (admission.Warnings, error)
- func (webhook *VSphereMachineTemplateWebhook) ValidateDelete(_ context.Context, _ runtime.Object) (admission.Warnings, error)
- func (webhook *VSphereMachineTemplateWebhook) ValidateUpdate(ctx context.Context, _, newRaw runtime.Object) (admission.Warnings, error)
- type VSphereMachineWebhook
- func (webhook *VSphereMachineWebhook) Default(_ context.Context, _ runtime.Object) error
- func (webhook *VSphereMachineWebhook) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (webhook *VSphereMachineWebhook) ValidateCreate(_ context.Context, _ runtime.Object) (admission.Warnings, error)
- func (webhook *VSphereMachineWebhook) ValidateDelete(_ context.Context, _ runtime.Object) (admission.Warnings, error)
- func (webhook *VSphereMachineWebhook) ValidateUpdate(_ context.Context, oldRaw runtime.Object, newRaw runtime.Object) (admission.Warnings, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type VSphereMachineTemplateWebhook ¶
type VSphereMachineTemplateWebhook struct{}
VSphereMachineTemplateWebhook implements a validation webhook for VSphereMachineTemplate.
func (*VSphereMachineTemplateWebhook) SetupWebhookWithManager ¶
func (webhook *VSphereMachineTemplateWebhook) SetupWebhookWithManager(mgr ctrl.Manager) error
func (*VSphereMachineTemplateWebhook) ValidateCreate ¶
func (webhook *VSphereMachineTemplateWebhook) ValidateCreate(ctx context.Context, obj runtime.Object) (admission.Warnings, error)
ValidateCreate implements webhook.Validator so a webhook will be registered for the type.
func (*VSphereMachineTemplateWebhook) ValidateDelete ¶
func (webhook *VSphereMachineTemplateWebhook) ValidateDelete(_ context.Context, _ runtime.Object) (admission.Warnings, error)
ValidateDelete implements webhook.Validator so a webhook will be registered for the type.
func (*VSphereMachineTemplateWebhook) ValidateUpdate ¶
func (webhook *VSphereMachineTemplateWebhook) ValidateUpdate(ctx context.Context, _, newRaw runtime.Object) (admission.Warnings, error)
ValidateUpdate implements webhook.Validator so a webhook will be registered for the type.
type VSphereMachineWebhook ¶
type VSphereMachineWebhook struct{}
VSphereMachineWebhook implements a validation and defaulting webhook for VSphereMachine.
func (*VSphereMachineWebhook) Default ¶
Default implements webhook.Defaulter so a webhook will be registered for the type.
func (*VSphereMachineWebhook) SetupWebhookWithManager ¶
func (webhook *VSphereMachineWebhook) SetupWebhookWithManager(mgr ctrl.Manager) error
func (*VSphereMachineWebhook) ValidateCreate ¶
func (webhook *VSphereMachineWebhook) ValidateCreate(_ context.Context, _ runtime.Object) (admission.Warnings, error)
ValidateCreate implements webhook.Validator so a webhook will be registered for the type.
func (*VSphereMachineWebhook) ValidateDelete ¶
func (webhook *VSphereMachineWebhook) ValidateDelete(_ context.Context, _ runtime.Object) (admission.Warnings, error)
ValidateDelete implements webhook.Validator so a webhook will be registered for the type.