mutating

package
v1.4.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// HandlerMap contains admission webhook handlers
	HandlerMap = map[string]admission.Handler{
		"mutate-scheduling-sigs-k8s-io-v1alpha1-elasticquota": &ElasticQuotaMutatingHandler{},
	}
)

Functions

This section is empty.

Types

type ElasticQuotaMutatingHandler

type ElasticQuotaMutatingHandler struct {
	Client client.Client

	// Decoder decodes the objects
	Decoder *admission.Decoder
}

ElasticQuotaMutatingHandler handles ElasticQuota

func (*ElasticQuotaMutatingHandler) Handle

func (*ElasticQuotaMutatingHandler) InjectClient

func (h *ElasticQuotaMutatingHandler) InjectClient(c client.Client) error

InjectClient injects the client into the ElasticQuotaMutatingHandler

func (*ElasticQuotaMutatingHandler) InjectDecoder

func (h *ElasticQuotaMutatingHandler) InjectDecoder(decoder *admission.Decoder) error

InjectDecoder injects the decoder into the ElasticQuotaMutatingHandler

Jump to

Keyboard shortcuts

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