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 ¶
func New ¶
func New(logger logr.Logger, config *apisconfig.ResourceAdmissionConfiguration) *handler
New creates a new webhook handler validating that the resource size of a request doesn't exceed the configured limits.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.