v1beta2

package
v0.1.0-alpha.2 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2026 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetupCloudscaleClusterWebhookWithManager

func SetupCloudscaleClusterWebhookWithManager(mgr ctrl.Manager, regionInfo *cloudscale.RegionInfo) error

SetupCloudscaleClusterWebhookWithManager registers the webhook for CloudscaleCluster in the manager.

func SetupCloudscaleMachineTemplateWebhookWithManager

func SetupCloudscaleMachineTemplateWebhookWithManager(mgr ctrl.Manager, flavorInfo *cloudscale.FlavorInfo) error

SetupCloudscaleMachineTemplateWebhookWithManager registers the webhook for CloudscaleMachineTemplate in the manager.

func SetupCloudscaleMachineWebhookWithManager

func SetupCloudscaleMachineWebhookWithManager(mgr ctrl.Manager, flavorInfo *cloudscale.FlavorInfo) error

SetupCloudscaleMachineWebhookWithManager registers the webhook for CloudscaleMachine in the manager.

Types

type CloudscaleClusterCustomDefaulter

type CloudscaleClusterCustomDefaulter struct {
	RegionInfo *cloudscale.RegionInfo
}

CloudscaleClusterCustomDefaulter struct is responsible for setting default values on the custom resource of the Kind CloudscaleCluster when those are created or updated.

NOTE: The +kubebuilder:object:generate=false marker prevents controller-gen from generating DeepCopy methods, as it is used only for temporary operations and does not need to be deeply copied.

func (*CloudscaleClusterCustomDefaulter) Default

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

type CloudscaleClusterCustomValidator

type CloudscaleClusterCustomValidator struct {
	RegionInfo *cloudscale.RegionInfo
}

CloudscaleClusterCustomValidator struct is responsible for validating the CloudscaleCluster resource when it is created or updated.

NOTE: The +kubebuilder:object:generate=false marker prevents controller-gen from generating DeepCopy methods, as this struct is used only for temporary operations and does not need to be deeply copied.

func (*CloudscaleClusterCustomValidator) ValidateCreate

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

func (*CloudscaleClusterCustomValidator) ValidateDelete

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

func (*CloudscaleClusterCustomValidator) ValidateUpdate

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

type CloudscaleMachineCustomDefaulter

type CloudscaleMachineCustomDefaulter struct{}

CloudscaleMachineCustomDefaulter struct is responsible for setting default values on the custom resource of the Kind CloudscaleMachine when those are created or updated.

NOTE: The +kubebuilder:object:generate=false marker prevents controller-gen from generating DeepCopy methods, as it is used only for temporary operations and does not need to be deeply copied.

func (*CloudscaleMachineCustomDefaulter) Default

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

type CloudscaleMachineCustomValidator

type CloudscaleMachineCustomValidator struct {
	FlavorInfo *cloudscale.FlavorInfo
}

CloudscaleMachineCustomValidator struct is responsible for validating the CloudscaleMachine resource when it is created, updated, or deleted.

NOTE: The +kubebuilder:object:generate=false marker prevents controller-gen from generating DeepCopy methods, as this struct is used only for temporary operations and does not need to be deeply copied.

func (*CloudscaleMachineCustomValidator) ValidateCreate

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

func (*CloudscaleMachineCustomValidator) ValidateDelete

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

func (*CloudscaleMachineCustomValidator) ValidateUpdate

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

type CloudscaleMachineTemplateCustomDefaulter

type CloudscaleMachineTemplateCustomDefaulter struct{}

CloudscaleMachineTemplateCustomDefaulter struct is responsible for setting default values on the custom resource of the Kind CloudscaleMachineTemplate when those are created or updated.

NOTE: The +kubebuilder:object:generate=false marker prevents controller-gen from generating DeepCopy methods, as it is used only for temporary operations and does not need to be deeply copied.

func (*CloudscaleMachineTemplateCustomDefaulter) Default

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

type CloudscaleMachineTemplateCustomValidator

type CloudscaleMachineTemplateCustomValidator struct {
	FlavorInfo *cloudscale.FlavorInfo
}

CloudscaleMachineTemplateCustomValidator struct is responsible for validating the CloudscaleMachineTemplate resource when it is created, updated, or deleted.

NOTE: The +kubebuilder:object:generate=false marker prevents controller-gen from generating DeepCopy methods, as this struct is used only for temporary operations and does not need to be deeply copied.

func (*CloudscaleMachineTemplateCustomValidator) ValidateCreate

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

func (*CloudscaleMachineTemplateCustomValidator) ValidateDelete

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

func (*CloudscaleMachineTemplateCustomValidator) ValidateUpdate

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

Jump to

Keyboard shortcuts

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