validation

package
v1.65.3 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2024 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterAdmissionHandlers

func RegisterAdmissionHandlers(operator *addon_operator.AddonOperator, moduleStorage ModuleStorage, metricStorage *metric_storage.MetricStorage)

RegisterAdmissionHandlers register 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 ModuleStorage added in v1.65.0

type ModuleStorage interface {
	GetModuleByName(name string) (*models.DeckhouseModule, error)
}

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