package
0.0.0-20221205081027-fb1d94189521
Repository: https://github.com/ti-net2/apiserver.git
Documentation: pkg.go.dev

# Functions

CreateAdmissionObjects returns the unique request uid, the AdmissionReview object to send the webhook and to decode the response into, or an error if the webhook does not support receiving any of the admission review versions we know to send.
CreateV1AdmissionReview creates an AdmissionReview for the provided admission.Attributes.
CreateV1beta1AdmissionReview creates an AdmissionReview for the provided admission.Attributes.
VerifyAdmissionResponse checks the validity of the provided admission review object, and returns the audit annotations, whether the response allowed the request, any provided patch/patchType/status, or an error if the provided admission review was not valid.

# Structs

AdmissionResponse contains the fields extracted from an AdmissionReview response.