# Packages
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Package types is a generated GoMock package.
# Functions
AdmissionError wraps error as AdmissionResponse.
GetAdmissionRequestBody returns the body of the admission request.
No description provided by the author
IsValidHostname validates the hostname of gateway route resource.
IsValidIPOrCIDR tests that the argument is a valid IP address.
NewMutatingWebhookConfiguration creates a new MutatingWebhookConfiguration.
NewServer returns a new server based on the input.
NewValidatingWebhookConfiguration creates a new ValidatingWebhookConfiguration.
RecordAdmissionMetrics records metrics for the given admission response.
ValidateParentRefs validates the parent refs of gateway route resource.
ValidateRouteHostnames validates the hostnames of gateway route resource.
# Variables
ContentTypeJSON is the supported content type for HTTP requests.
Deserializer is used to decode the admission request body.
HTTPHeaderContentType is the Content-Type HTTP header key.
# Structs
No description provided by the author
Server is a construct to run generic HTTPS webhook servers.
# Type aliases
CertRotatedFunc is a callback to perform other actions when the server's HTTPS cert gets rotated.