Documentation
¶
Index ¶
- type ControlPlaneMachineSetWebhook
- func (r *ControlPlaneMachineSetWebhook) SetupWebhookWithManager(mgr ctrl.Manager, logger logr.Logger) error
- func (r *ControlPlaneMachineSetWebhook) ValidateCreate(ctx context.Context, obj runtime.Object) (admission.Warnings, error)
- func (r *ControlPlaneMachineSetWebhook) ValidateDelete(ctx context.Context, obj runtime.Object) (admission.Warnings, error)
- func (r *ControlPlaneMachineSetWebhook) ValidateUpdate(ctx context.Context, oldObj, newObj runtime.Object) (admission.Warnings, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ControlPlaneMachineSetWebhook ¶
type ControlPlaneMachineSetWebhook struct {
// contains filtered or unexported fields
}
ControlPlaneMachineSetWebhook acts as a webhook validator for the machinev1beta1.ControlPlaneMachineSet resource.
func (*ControlPlaneMachineSetWebhook) SetupWebhookWithManager ¶
func (r *ControlPlaneMachineSetWebhook) SetupWebhookWithManager(mgr ctrl.Manager, logger logr.Logger) error
SetupWebhookWithManager sets up a new ControlPlaneMachineSet webhook with the manager.
func (*ControlPlaneMachineSetWebhook) ValidateCreate ¶
func (r *ControlPlaneMachineSetWebhook) ValidateCreate(ctx context.Context, obj runtime.Object) (admission.Warnings, error)
ValidateCreate implements webhook.Validator so a webhook will be registered for the type.
func (*ControlPlaneMachineSetWebhook) ValidateDelete ¶
func (r *ControlPlaneMachineSetWebhook) ValidateDelete(ctx context.Context, obj runtime.Object) (admission.Warnings, error)
ValidateDelete implements webhook.Validator so a webhook will be registered for the type.
func (*ControlPlaneMachineSetWebhook) ValidateUpdate ¶
func (r *ControlPlaneMachineSetWebhook) ValidateUpdate(ctx context.Context, oldObj, newObj runtime.Object) (admission.Warnings, error)
ValidateUpdate implements webhook.Validator so a webhook will be registered for the type.
Click to show internal directories.
Click to hide internal directories.