Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AllowRequest ¶
func AllowRequest(admissionReviewRequest admissionv1.AdmissionReview) admissionv1.AdmissionReview
AllowRequest returns an admission review response that allows the request
func DenyRequest ¶
func DenyRequest(errMsg string, admissionReviewRequest admissionv1.AdmissionReview) admissionv1.AdmissionReview
DenyRequest returns an admission review response that denies the request with the specified error message
func GetAdmissionReviewRequest ¶
func GetAdmissionReviewRequest(body []byte) (admissionv1.AdmissionReview, error)
returns admissionReviewRequest object based on the input request body
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.