validating

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2024 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// HandlerBuilderMap contains admission webhook handlers builder
	HandlerBuilderMap = map[string]framework.HandlerBuilder{
		"validate-scheduling-sigs-k8s-io-v1alpha1-elasticquota": &quotaValidateBuilder{},
	}
)

Functions

This section is empty.

Types

type ElasticQuotaValidatingHandler

type ElasticQuotaValidatingHandler struct {
	Client client.Client

	// Decoder decodes objects
	Decoder *admission.Decoder
}

func (*ElasticQuotaValidatingHandler) Handle

func (*ElasticQuotaValidatingHandler) InjectCache

func (h *ElasticQuotaValidatingHandler) InjectCache(cache cache.Cache) error

func (*ElasticQuotaValidatingHandler) InjectClient

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

InjectClient injects the client into the ElasticQuotaValidatingHandler

func (*ElasticQuotaValidatingHandler) InjectDecoder

InjectDecoder injects the client into the ElasticQuotaValidatingHandler

func (*ElasticQuotaValidatingHandler) ServeHTTP

Jump to

Keyboard shortcuts

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