webhooks

package
v1.5.0-rc.0 Latest Latest
Warning

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

Go to latest
Published: Jul 11, 2023 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 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