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 KubeadmControlPlane ¶ added in v1.6.0
type KubeadmControlPlane struct{}
KubeadmControlPlane implements a validating and defaulting webhook for KubeadmControlPlane.
func (*KubeadmControlPlane) SetupWebhookWithManager ¶ added in v1.6.0
func (webhook *KubeadmControlPlane) SetupWebhookWithManager(mgr ctrl.Manager) error
SetupWebhookWithManager sets up KubeadmControlPlane webhooks.
type KubeadmControlPlaneTemplate ¶ added in v1.6.0
type KubeadmControlPlaneTemplate struct{}
KubeadmControlPlaneTemplate implements a validating and defaulting webhook for KubeadmControlPlaneTemplate.
func (*KubeadmControlPlaneTemplate) SetupWebhookWithManager ¶ added in v1.6.0
func (webhook *KubeadmControlPlaneTemplate) SetupWebhookWithManager(mgr ctrl.Manager) error
SetupWebhookWithManager sets up KubeadmControlPlaneTemplate webhooks.
type ScaleValidator ¶
ScaleValidator validates KCP for replicas.
func (*ScaleValidator) SetupWebhookWithManager ¶
func (v *ScaleValidator) SetupWebhookWithManager(mgr ctrl.Manager) error
SetupWebhookWithManager sets up Cluster webhooks.
Click to show internal directories.
Click to hide internal directories.