configvalidator

package
v1.110.3 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2025 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler struct {
	Logger    logr.Logger
	APIReader client.Reader
	Client    client.Reader
	Decoder   admission.Decoder

	ConfigMapPurpose            string
	ConfigMapDataKey            string
	GetConfigMapNameFromShoot   func(shoot *gardencore.Shoot) string
	SkipValidationOnShootUpdate func(shoot, oldShoot *gardencore.Shoot) bool
	AdmitConfig                 func(configRaw string, shootsReferencingConfigMap []*gardencore.Shoot) (int32, error)
}

Handler validates configuration part of ConfigMaps which are referenced in Shoot resources.

func (*Handler) Handle

Handle validates configuration part of ConfigMaps which are referenced in Shoot resources.

Jump to

Keyboard shortcuts

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