Documentation ¶
Overview ¶
Package webhooks contains external webhook implementations for some of our API types.
Index ¶
- type MachinePool
- func (webhook *MachinePool) Default(ctx context.Context, obj runtime.Object) error
- func (webhook *MachinePool) SetupWebhookWithManager(mgr ctrl.Manager) error
- func (webhook *MachinePool) ValidateCreate(_ context.Context, obj runtime.Object) (admission.Warnings, error)
- func (webhook *MachinePool) ValidateDelete(_ context.Context, obj runtime.Object) (admission.Warnings, error)
- func (webhook *MachinePool) ValidateUpdate(_ 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 MachinePool ¶
type MachinePool struct {
// contains filtered or unexported fields
}
MachinePool implements a validation and defaulting webhook for MachinePool.
func (*MachinePool) Default ¶
Default implements webhook.Defaulter so a webhook will be registered for the type.
func (*MachinePool) SetupWebhookWithManager ¶
func (webhook *MachinePool) SetupWebhookWithManager(mgr ctrl.Manager) error
func (*MachinePool) ValidateCreate ¶
func (webhook *MachinePool) ValidateCreate(_ context.Context, obj runtime.Object) (admission.Warnings, error)
ValidateCreate implements webhook.Validator so a webhook will be registered for the type.
func (*MachinePool) ValidateDelete ¶
func (webhook *MachinePool) ValidateDelete(_ context.Context, obj runtime.Object) (admission.Warnings, error)
ValidateDelete implements webhook.Validator so a webhook will be registered for the type.
func (*MachinePool) ValidateUpdate ¶
func (webhook *MachinePool) ValidateUpdate(_ 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.