Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReviewPodAdmission ¶
func ReviewPodAdmission(ar *admissionv1.AdmissionReview) *admissionv1.AdmissionResponse
Types ¶
type KeyPair ¶
KeyPair contains the certificate and private key required to listen for TLS connections.
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(keyopts KeyPair) *WebhookServer
NewWebhookServer returns a new web server that can process AdmissionReviews.
Click to show internal directories.
Click to hide internal directories.