validation

package
v2.19.0 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2022 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AdmissionHandler

type AdmissionHandler struct {
	// contains filtered or unexported fields
}

AdmissionHandler for validating Kubermatic Cluster CRD.

func NewAdmissionHandler

func NewAdmissionHandler(client ctrlruntimeclient.Client, seedGetter provider.SeedGetter, features features.FeatureGate, caBundle *x509.CertPool) *AdmissionHandler

NewAdmissionHandler returns a new cluster validation AdmissionHandler.

func (*AdmissionHandler) Handle

func (*AdmissionHandler) InjectDecoder

func (h *AdmissionHandler) InjectDecoder(d *admission.Decoder) error

func (*AdmissionHandler) InjectLogger

func (h *AdmissionHandler) InjectLogger(l logr.Logger) error

func (*AdmissionHandler) SetupWebhookWithManager

func (h *AdmissionHandler) SetupWebhookWithManager(mgr ctrlruntime.Manager)

Jump to

Keyboard shortcuts

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