Documentation ¶
Overview ¶
Package webhooks provides the validating webhook for KubeadmControlPlane scale subresource.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ScaleValidator ¶
ScaleValidator validates KCP for replicas.
func (*ScaleValidator) InjectDecoder ¶
func (v *ScaleValidator) InjectDecoder(d *admission.Decoder) error
InjectDecoder injects the decoder. ScaleValidator implements admission.DecoderInjector. A decoder will be automatically injected.
func (*ScaleValidator) SetupWebhookWithManager ¶
func (v *ScaleValidator) SetupWebhookWithManager(mgr ctrl.Manager) error
Click to show internal directories.
Click to hide internal directories.