pstsmutating

package
v0.0.0-...-686bfca Latest Latest
Warning

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

Go to latest
Published: Feb 18, 2024 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// HandlerMap contains admission webhook handlers
	HandlerMap = map[string]admission.Handler{
		"mutating-psts": &MutatingPSTSHandler{},
		"mutating-cluster-psts": &mutatingCPSTSHandler{
			MutatingPSTSHandler: &MutatingPSTSHandler{},
		},
	}
)

Functions

This section is empty.

Types

type MutatingPSTSHandler

type MutatingPSTSHandler struct {
	// Decoder decodes objects
	Decoder *admission.Decoder
}

func (*MutatingPSTSHandler) Handle

Handle handles admission requests.

func (*MutatingPSTSHandler) InjectDecoder

func (h *MutatingPSTSHandler) InjectDecoder(d *admission.Decoder) error

InjectDecoder injects the decoder into the PodCreateHandler

Jump to

Keyboard shortcuts

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