package
1.2.4
Repository: https://github.com/openservicemesh/osm.git
Documentation: pkg.go.dev

# Functions

AdmissionError wraps error as AdmissionResponse.
GetAdmissionRequestBody returns the body of the admission request.
NewServer returns a new server based on the input.
RecordAdmissionMetrics records metrics for the given admission response.

# 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

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.