v1alpha1

package
v0.0.12 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetupClusterMaintenanceWindowWebhookWithManager

func SetupClusterMaintenanceWindowWebhookWithManager(mgr ctrl.Manager) error

SetupClusterMaintenanceWindowWebhookWithManager registers the webhook for ClusterMaintenanceWindow in the manager.

func SetupMaintenanceWindowWebhookWithManager

func SetupMaintenanceWindowWebhookWithManager(mgr ctrl.Manager) error

SetupMaintenanceWindowWebhookWithManager registers the webhook for MaintenanceWindow in the manager.

func SetupRecommendationWebhookWithManager

func SetupRecommendationWebhookWithManager(mgr ctrl.Manager) error

SetupRecommendationWebhookWithManager registers the webhook for Recommendation in the manager.

Types

type ClusterMaintenanceWindowCustomWebhook

type ClusterMaintenanceWindowCustomWebhook struct {
	DefaultClient client.Client
}

+kubebuilder:object:generate=false

func (*ClusterMaintenanceWindowCustomWebhook) Default

Default implements webhook.Defaulter so a webhook will be registered for the type

func (*ClusterMaintenanceWindowCustomWebhook) ValidateCreate

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

func (*ClusterMaintenanceWindowCustomWebhook) ValidateDelete

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

func (*ClusterMaintenanceWindowCustomWebhook) ValidateUpdate

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

type MaintenanceWindowCustomWebhook

type MaintenanceWindowCustomWebhook struct {
	DefaultClient client.Client
}

+kubebuilder:object:generate=false

func (*MaintenanceWindowCustomWebhook) Default

Default implements webhook.Defaulter so a webhook will be registered for the type

func (*MaintenanceWindowCustomWebhook) ValidateCreate

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

func (*MaintenanceWindowCustomWebhook) ValidateDelete

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

func (*MaintenanceWindowCustomWebhook) ValidateUpdate

func (r *MaintenanceWindowCustomWebhook) ValidateUpdate(ctx context.Context, old, newObj runtime.Object) (admission.Warnings, error)

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

type RecommendationCustomWebhook

type RecommendationCustomWebhook struct {
	DefaultClient client.Client
}

+kubebuilder:object:generate=false

func (*RecommendationCustomWebhook) Default

Default implements webhook.Defaulter so a webhook will be registered for the type

func (*RecommendationCustomWebhook) ValidateCreate

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

func (*RecommendationCustomWebhook) ValidateDelete

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

func (*RecommendationCustomWebhook) ValidateUpdate

func (r *RecommendationCustomWebhook) ValidateUpdate(ctx context.Context, old, newObj 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