Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReviewPodAdmission ¶
func ReviewPodAdmission(ar *admissionv1.AdmissionReview) *admissionv1.AdmissionResponse
Types ¶
type WebhookServer ¶
type WebhookServer struct {
// contains filtered or unexported fields
}
WebhookServer is a webserver answering to AdmissionRequests sent by the Kubernetes API server.
func NewWebhookServer ¶
func NewWebhookServer(tlsCertificateDirectory string) *WebhookServer
NewWebhookServer returns a new web server that can process AdmissionReviews.
Click to show internal directories.
Click to hide internal directories.