Documentation ¶
Overview ¶
Package webhooks contains webhooks for the infrastructure v1beta1 API group.
Index ¶
- func AggregateObjErrors(gk schema.GroupKind, name string, allErrs field.ErrorList) error
- type VSphereClusterTemplateWebhook
- func (webhook *VSphereClusterTemplateWebhook) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (webhook *VSphereClusterTemplateWebhook) ValidateCreate(_ context.Context, _ runtime.Object) (admission.Warnings, error)
- func (webhook *VSphereClusterTemplateWebhook) ValidateDelete(_ context.Context, _ runtime.Object) (admission.Warnings, error)
- func (webhook *VSphereClusterTemplateWebhook) ValidateUpdate(_ context.Context, oldRaw runtime.Object, newRaw runtime.Object) (admission.Warnings, error)
- type VSphereDeploymentZoneWebhook
- type VSphereFailureDomainWebhook
- func (webhook *VSphereFailureDomainWebhook) Default(_ context.Context, obj runtime.Object) error
- func (webhook *VSphereFailureDomainWebhook) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (webhook *VSphereFailureDomainWebhook) ValidateCreate(_ context.Context, raw runtime.Object) (admission.Warnings, error)
- func (webhook *VSphereFailureDomainWebhook) ValidateDelete(_ context.Context, _ runtime.Object) (admission.Warnings, error)
- func (webhook *VSphereFailureDomainWebhook) ValidateUpdate(_ context.Context, oldRaw runtime.Object, newRaw runtime.Object) (admission.Warnings, error)
- type VSphereMachineTemplateWebhook
- func (webhook *VSphereMachineTemplateWebhook) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (webhook *VSphereMachineTemplateWebhook) ValidateCreate(_ context.Context, raw runtime.Object) (admission.Warnings, error)
- func (webhook *VSphereMachineTemplateWebhook) ValidateDelete(_ context.Context, _ runtime.Object) (admission.Warnings, error)
- func (webhook *VSphereMachineTemplateWebhook) ValidateUpdate(ctx context.Context, oldRaw runtime.Object, newRaw runtime.Object) (admission.Warnings, error)
- type VSphereMachineWebhook
- func (webhook *VSphereMachineWebhook) Default(_ context.Context, obj runtime.Object) error
- func (webhook *VSphereMachineWebhook) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (webhook *VSphereMachineWebhook) ValidateCreate(_ context.Context, raw 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)
- type VSphereVMWebhook
- func (webhook *VSphereVMWebhook) Default(_ context.Context, obj runtime.Object) error
- func (webhook *VSphereVMWebhook) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (webhook *VSphereVMWebhook) ValidateCreate(_ context.Context, raw runtime.Object) (admission.Warnings, error)
- func (webhook *VSphereVMWebhook) ValidateDelete(_ context.Context, _ runtime.Object) (admission.Warnings, error)
- func (webhook *VSphereVMWebhook) ValidateUpdate(_ context.Context, oldRaw runtime.Object, newRaw runtime.Object) (admission.Warnings, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type VSphereClusterTemplateWebhook ¶
type VSphereClusterTemplateWebhook struct{}
VSphereClusterTemplateWebhook implements a validation and defaulting webhook for VSphereClusterTemplate.
func (*VSphereClusterTemplateWebhook) SetupWebhookWithManager ¶
func (webhook *VSphereClusterTemplateWebhook) SetupWebhookWithManager(mgr ctrl.Manager) error
func (*VSphereClusterTemplateWebhook) ValidateCreate ¶
func (webhook *VSphereClusterTemplateWebhook) ValidateCreate(_ context.Context, _ runtime.Object) (admission.Warnings, error)
ValidateCreate implements webhook.Validator so a webhook will be registered for the type.
func (*VSphereClusterTemplateWebhook) ValidateDelete ¶
func (webhook *VSphereClusterTemplateWebhook) ValidateDelete(_ context.Context, _ runtime.Object) (admission.Warnings, error)
ValidateDelete implements webhook.Validator so a webhook will be registered for the type.
type VSphereDeploymentZoneWebhook ¶
type VSphereDeploymentZoneWebhook struct{}
VSphereDeploymentZoneWebhook implements a validation and defaulting webhook for VSphereDeploymentZone.
func (*VSphereDeploymentZoneWebhook) Default ¶
Default implements webhook.Defaulter so a webhook will be registered for the type.
func (*VSphereDeploymentZoneWebhook) SetupWebhookWithManager ¶
func (webhook *VSphereDeploymentZoneWebhook) SetupWebhookWithManager(mgr ctrl.Manager) error
type VSphereFailureDomainWebhook ¶
type VSphereFailureDomainWebhook struct{}
VSphereFailureDomainWebhook implements a validation and defaulting webhook for VSphereFailureDomain.
func (*VSphereFailureDomainWebhook) Default ¶
Default implements webhook.Defaulter so a webhook will be registered for the type.
func (*VSphereFailureDomainWebhook) SetupWebhookWithManager ¶
func (webhook *VSphereFailureDomainWebhook) SetupWebhookWithManager(mgr ctrl.Manager) error
func (*VSphereFailureDomainWebhook) ValidateCreate ¶
func (webhook *VSphereFailureDomainWebhook) ValidateCreate(_ context.Context, raw runtime.Object) (admission.Warnings, error)
ValidateCreate implements webhook.Validator so a webhook will be registered for the type.
func (*VSphereFailureDomainWebhook) ValidateDelete ¶
func (webhook *VSphereFailureDomainWebhook) ValidateDelete(_ context.Context, _ runtime.Object) (admission.Warnings, error)
ValidateDelete implements webhook.Validator so a webhook will be registered for the type.
type VSphereMachineTemplateWebhook ¶
type VSphereMachineTemplateWebhook struct{}
VSphereMachineTemplateWebhook implements a validation and defaulting webhook for VSphereMachineTemplate.
func (*VSphereMachineTemplateWebhook) SetupWebhookWithManager ¶
func (webhook *VSphereMachineTemplateWebhook) SetupWebhookWithManager(mgr ctrl.Manager) error
func (*VSphereMachineTemplateWebhook) ValidateCreate ¶
func (webhook *VSphereMachineTemplateWebhook) ValidateCreate(_ context.Context, raw 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, oldRaw runtime.Object, 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, raw 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.
type VSphereVMWebhook ¶
type VSphereVMWebhook struct{}
VSphereVMWebhook implements a validation and defaulting webhook for VSphereVM.
func (*VSphereVMWebhook) Default ¶
Default implements webhook.Defaulter so a webhook will be registered for the type.
func (*VSphereVMWebhook) SetupWebhookWithManager ¶
func (webhook *VSphereVMWebhook) SetupWebhookWithManager(mgr ctrl.Manager) error
func (*VSphereVMWebhook) ValidateCreate ¶
func (webhook *VSphereVMWebhook) ValidateCreate(_ context.Context, raw runtime.Object) (admission.Warnings, error)
ValidateCreate implements webhook.Validator so a webhook will be registered for the type.
func (*VSphereVMWebhook) ValidateDelete ¶
func (webhook *VSphereVMWebhook) ValidateDelete(_ context.Context, _ runtime.Object) (admission.Warnings, error)
ValidateDelete implements webhook.Validator so a webhook will be registered for the type.