webhooks

package
v1.10.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 23, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Overview

Package webhooks contains webhooks for the infrastructure v1beta1 API group.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

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

ValidateCreate implements webhook.Validator so a webhook will be registered for the type.

func (*VSphereClusterTemplateWebhook) ValidateDelete

ValidateDelete implements webhook.Validator so a webhook will be registered for the type.

func (*VSphereClusterTemplateWebhook) ValidateUpdate

func (webhook *VSphereClusterTemplateWebhook) ValidateUpdate(_ 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 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

ValidateDelete implements webhook.Validator so a webhook will be registered for the type.

func (*VSphereFailureDomainWebhook) ValidateUpdate

func (webhook *VSphereFailureDomainWebhook) ValidateUpdate(_ 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 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

ValidateCreate implements webhook.Validator so a webhook will be registered for the type.

func (*VSphereMachineTemplateWebhook) ValidateDelete

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

func (webhook *VSphereMachineWebhook) Default(_ context.Context, obj runtime.Object) error

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.

func (*VSphereMachineWebhook) ValidateUpdate

func (webhook *VSphereMachineWebhook) ValidateUpdate(_ 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 VSphereVMWebhook

type VSphereVMWebhook struct{}

VSphereVMWebhook implements a validation and defaulting webhook for VSphereVM.

func (*VSphereVMWebhook) Default

func (webhook *VSphereVMWebhook) Default(_ context.Context, obj runtime.Object) error

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.

func (*VSphereVMWebhook) ValidateUpdate

func (webhook *VSphereVMWebhook) ValidateUpdate(_ context.Context, oldRaw runtime.Object, newRaw runtime.Object) (admission.Warnings, error)

ValidateUpdate implements webhook.Validator so a webhook will be registered for the type.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL