v1alpha1

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2025 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetupKinkClusterTemplateWebhookWithManager

func SetupKinkClusterTemplateWebhookWithManager(mgr ctrl.Manager) error

SetupKinkClusterTemplateWebhookWithManager registers the webhook for KinkClusterTemplate in the manager.

func SetupKinkClusterWebhookWithManager

func SetupKinkClusterWebhookWithManager(mgr ctrl.Manager) error

SetupKinkClusterWebhookWithManager registers the webhook for KinkCluster in the manager.

func SetupKinkMachineTemplateWebhookWithManager

func SetupKinkMachineTemplateWebhookWithManager(mgr ctrl.Manager) error

SetupKinkMachineTemplateWebhookWithManager registers the webhook for KinkMachineTemplate in the manager.

func SetupKinkMachineWebhookWithManager

func SetupKinkMachineWebhookWithManager(mgr ctrl.Manager) error

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.

func (*KinkClusterCustomDefaulter) Default

Default implements webhook.CustomDefaulter so a webhook will be registered for the Kind KinkCluster.

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.

func (*KinkClusterTemplateCustomDefaulter) Default

Default implements webhook.CustomDefaulter so a webhook will be registered for the Kind KinkClusterTemplate.

type KinkClusterTemplateCustomValidator

type KinkClusterTemplateCustomValidator struct {
}

KinkClusterTemplateCustomValidator struct is responsible for validating the KinkClusterTemplate resource when it is created, updated, or deleted.

func (*KinkClusterTemplateCustomValidator) ValidateCreate

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

func (*KinkClusterTemplateCustomValidator) ValidateDelete

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.

func (*KinkMachineCustomDefaulter) Default

Default implements webhook.CustomDefaulter so a webhook will be registered for the Kind KinkMachine.

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.

func (*KinkMachineTemplateCustomDefaulter) Default

Default implements webhook.CustomDefaulter so a webhook will be registered for the Kind KinkMachineTemplate.

type KinkMachineTemplateCustomValidator

type KinkMachineTemplateCustomValidator struct {
}

KinkMachineTemplateCustomValidator struct is responsible for validating the KinkMachineTemplate resource when it is created, updated, or deleted.

func (*KinkMachineTemplateCustomValidator) ValidateCreate

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

func (*KinkMachineTemplateCustomValidator) ValidateDelete

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.

Jump to

Keyboard shortcuts

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