webhooks

package
v1.7.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 9, 2024 License: Apache-2.0 Imports: 3 Imported by: 1

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

type ScaleValidator struct {
	Client client.Reader
}

ScaleValidator validates KCP for replicas.

func (*ScaleValidator) SetupWebhookWithManager

func (v *ScaleValidator) SetupWebhookWithManager(mgr ctrl.Manager) error

SetupWebhookWithManager sets up Cluster webhooks.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL