Documentation ¶
Index ¶
Constants ¶
View Source
const ( // HandlerName is the name of this admission webhook handler. HandlerName = "resource_size_validator" // WebhookPath is the HTTP handler path for this admission webhook handler. WebhookPath = "/webhooks/validate-resource-size" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Handler ¶ added in v1.60.0
type Handler struct { Logger logr.Logger Config *admissioncontrollerconfig.ResourceAdmissionConfiguration }
Handler checks the resource sizes.
func (*Handler) AddToManager ¶ added in v1.60.0
AddToManager adds Handler to the given manager.
Click to show internal directories.
Click to hide internal directories.