Available on crate features
client and admission only.Expand description
Contains types for implementing admission controllers.
For more information on admission controllers, see: https://kubernetes.io/docs/reference/access-authn-authz/admission-controllers/ https://kubernetes.io/blog/2019/03/21/a-guide-to-kubernetes-admission-controllers/ https://github.com/kubernetes/api/blob/master/admission/v1/types.go
Structs§
- Admission
Request - An incoming
AdmissionReviewrequest. - Admission
Response - An outgoing
AdmissionReviewresponse. Constructed from the correspondingAdmissionRequest. - Admission
Review - The top level struct used for Serializing and Deserializing AdmissionReview requests and responses.
- Convert
Admission Review Error - Failed to convert
AdmissionReviewintoAdmissionRequest. - Serialize
Patch Error - Failed to serialize patch.
Enums§
- Operation
- The operation specified in an
AdmissionRequest. - Patch
Type - The type of patch returned in an
AdmissionResponse.
Constants§
- META_
API_ VERSION_ V1 - The
api_versionfield inTypeMetaon the v1 version. - META_
API_ VERSION_ V1BET A1 - The
api_versionfield inTypeMetaon the v1beta1 version. - META_
KIND - The
kindfield inTypeMeta.