validation

package
v1.3.5 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: Apache-2.0 Imports: 10 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 OperatingSystemProfile CRD.

func NewAdmissionHandler

func NewAdmissionHandler() *AdmissionHandler

NewAdmissionHandler returns a new 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