handlers

package
v0.19.0 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CrdValidator

type CrdValidator struct {
	// contains filtered or unexported fields
}

CrdValidator houses a client, decoder and Handle function for ensuring that a CRD create/update request is safe

func NewCrdValidator

func NewCrdValidator(log logr.Logger, client client.Client) CrdValidator

func (*CrdValidator) Handle

Handle takes an incoming CRD create/update request and confirms that it is a safe upgrade based on the crd.Validate() function call

Jump to

Keyboard shortcuts

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