Documentation
¶
Index ¶
- func SetupClusterMaintenanceWindowWebhookWithManager(mgr ctrl.Manager) error
- func SetupMaintenanceWindowWebhookWithManager(mgr ctrl.Manager) error
- func SetupRecommendationWebhookWithManager(mgr ctrl.Manager) error
- type ClusterMaintenanceWindowCustomWebhook
- func (r *ClusterMaintenanceWindowCustomWebhook) Default(ctx context.Context, obj runtime.Object) error
- func (r *ClusterMaintenanceWindowCustomWebhook) ValidateCreate(ctx context.Context, obj runtime.Object) (admission.Warnings, error)
- func (r *ClusterMaintenanceWindowCustomWebhook) ValidateDelete(ctx context.Context, obj runtime.Object) (admission.Warnings, error)
- func (r *ClusterMaintenanceWindowCustomWebhook) ValidateUpdate(ctx context.Context, old, newObj runtime.Object) (admission.Warnings, error)
- type MaintenanceWindowCustomWebhook
- func (r *MaintenanceWindowCustomWebhook) Default(ctx context.Context, obj runtime.Object) error
- func (r *MaintenanceWindowCustomWebhook) ValidateCreate(ctx context.Context, obj runtime.Object) (admission.Warnings, error)
- func (r *MaintenanceWindowCustomWebhook) ValidateDelete(ctx context.Context, obj runtime.Object) (admission.Warnings, error)
- func (r *MaintenanceWindowCustomWebhook) ValidateUpdate(ctx context.Context, old, newObj runtime.Object) (admission.Warnings, error)
- type RecommendationCustomWebhook
- func (r *RecommendationCustomWebhook) Default(ctx context.Context, obj runtime.Object) error
- func (r *RecommendationCustomWebhook) ValidateCreate(ctx context.Context, obj runtime.Object) (admission.Warnings, error)
- func (r *RecommendationCustomWebhook) ValidateDelete(ctx context.Context, obj runtime.Object) (admission.Warnings, error)
- func (r *RecommendationCustomWebhook) ValidateUpdate(ctx context.Context, old, newObj runtime.Object) (admission.Warnings, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetupClusterMaintenanceWindowWebhookWithManager ¶
SetupClusterMaintenanceWindowWebhookWithManager registers the webhook for ClusterMaintenanceWindow in the manager.
func SetupMaintenanceWindowWebhookWithManager ¶
SetupMaintenanceWindowWebhookWithManager registers the webhook for MaintenanceWindow in the manager.
func SetupRecommendationWebhookWithManager ¶
SetupRecommendationWebhookWithManager registers the webhook for Recommendation in the manager.
Types ¶
type ClusterMaintenanceWindowCustomWebhook ¶
+kubebuilder:object:generate=false
func (*ClusterMaintenanceWindowCustomWebhook) Default ¶
func (r *ClusterMaintenanceWindowCustomWebhook) Default(ctx context.Context, obj runtime.Object) error
Default implements webhook.Defaulter so a webhook will be registered for the type
func (*ClusterMaintenanceWindowCustomWebhook) ValidateCreate ¶
func (r *ClusterMaintenanceWindowCustomWebhook) ValidateCreate(ctx context.Context, obj runtime.Object) (admission.Warnings, error)
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*ClusterMaintenanceWindowCustomWebhook) ValidateDelete ¶
func (r *ClusterMaintenanceWindowCustomWebhook) ValidateDelete(ctx context.Context, obj runtime.Object) (admission.Warnings, error)
ValidateDelete implements webhook.Validator so a webhook will be registered for the type
func (*ClusterMaintenanceWindowCustomWebhook) ValidateUpdate ¶
func (r *ClusterMaintenanceWindowCustomWebhook) 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 MaintenanceWindowCustomWebhook ¶
+kubebuilder:object:generate=false
func (*MaintenanceWindowCustomWebhook) Default ¶
Default implements webhook.Defaulter so a webhook will be registered for the type
func (*MaintenanceWindowCustomWebhook) ValidateCreate ¶
func (r *MaintenanceWindowCustomWebhook) ValidateCreate(ctx context.Context, obj runtime.Object) (admission.Warnings, error)
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*MaintenanceWindowCustomWebhook) ValidateDelete ¶
func (r *MaintenanceWindowCustomWebhook) ValidateDelete(ctx context.Context, obj runtime.Object) (admission.Warnings, error)
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 ¶
+kubebuilder:object:generate=false
func (*RecommendationCustomWebhook) Default ¶
Default implements webhook.Defaulter so a webhook will be registered for the type
func (*RecommendationCustomWebhook) ValidateCreate ¶
func (r *RecommendationCustomWebhook) ValidateCreate(ctx context.Context, obj runtime.Object) (admission.Warnings, error)
ValidateCreate implements webhook.Validator so a webhook will be registered for the type
func (*RecommendationCustomWebhook) ValidateDelete ¶
func (r *RecommendationCustomWebhook) ValidateDelete(ctx context.Context, obj runtime.Object) (admission.Warnings, error)
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