Documentation ¶
Index ¶
- Variables
- type ElasticQuotaValidatingHandler
- func (h *ElasticQuotaValidatingHandler) Handle(ctx context.Context, request admission.Request) (resp admission.Response)
- func (h *ElasticQuotaValidatingHandler) InjectCache(cache cache.Cache) error
- func (h *ElasticQuotaValidatingHandler) InjectClient(c client.Client) error
- func (h *ElasticQuotaValidatingHandler) InjectDecoder(d *admission.Decoder) error
- func (h *ElasticQuotaValidatingHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
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": "aValidateBuilder{}, } )
Functions ¶
This section is empty.
Types ¶
type ElasticQuotaValidatingHandler ¶
type ElasticQuotaValidatingHandler struct { Client client.Client // Decoder decodes objects Decoder *admission.Decoder }
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 ¶
func (h *ElasticQuotaValidatingHandler) InjectDecoder(d *admission.Decoder) error
InjectDecoder injects the client into the ElasticQuotaValidatingHandler
func (*ElasticQuotaValidatingHandler) ServeHTTP ¶
func (h *ElasticQuotaValidatingHandler) ServeHTTP(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.