Documentation ¶
Overview ¶
Package admission handles kubernetes admissions, it takes admission requests and returns admission reviews; for example, to validate pods
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Admitter ¶
type Admitter struct { Logger *logrus.Entry Request *admissionv1.AdmissionRequest }
Admitter is a container for admission business
func (Admitter) ValidatePodReview ¶
func (a Admitter) ValidatePodReview() (*admissionv1.AdmissionReview, error)
ValidatePodReview takes an admission request and validates the pod within it returns an admission review
Click to show internal directories.
Click to hide internal directories.