validation

package
v1.73.12 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2025 License: Apache-2.0 Imports: 32 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeckhouseReleaseValidationHandler added in v1.72.0

func DeckhouseReleaseValidationHandler(
	client client.Client,
	metricStorage metricsstorage.Storage,
	moduleManager deckhouseReleaseModuleManager,
	exts *extenders.ExtendersStack,
) http.Handler

DeckhouseReleaseValidationHandler creates a webhook handler for DeckhouseRelease validation

func RegisterAdmissionHandlers

func RegisterAdmissionHandlers(
	reg registerer,
	cli client.Client,
	mm moduleManager,
	validator *configtools.Validator,
	storage moduleStorage,
	metricStorage metricsstorage.Storage,
	schemaStore *config.SchemaStore,
	settings *helpers.DeckhouseSettingsContainer,
	exts *extenders.ExtendersStack,
)

RegisterAdmissionHandlers registers validation webhook handlers for admission server built-in in addon-operator

Types

type AnnotationsOnly added in v1.65.0

type AnnotationsOnly struct {
	ObjectMeta `json:"metadata,omitempty"`
}

type EnabledOnly added in v1.72.0

type EnabledOnly struct {
	Spec struct {
		Enabled *bool `json:"enabled,omitempty"`
	} `json:"spec,omitempty"`
}

type ObjectMeta added in v1.65.0

type ObjectMeta struct {
	Annotations map[string]string `json:"annotations,omitempty"`
}

Jump to

Keyboard shortcuts

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