vmware

package
v1.11.0 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2024 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Overview

Package vmware is the package for webhooks of vmware resources.

Package vmware is the package for webhooks of vmware resources.

Index

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

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

func (webhook *VSphereMachineWebhook) Default(_ context.Context, _ 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, _ 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.

Jump to

Keyboard shortcuts

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