validation

package
v1.67.4 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: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterAdmissionHandlers

func RegisterAdmissionHandlers(
	reg registerer,
	cli client.Client,
	mm moduleManager,
	validator *configtools.Validator,
	storage moduleStorage,
	metricStorage *metricstorage.MetricStorage,
)

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 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