Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetAdmissionRequest ¶
func GetAdmissionRequest(ctx context.Context) *admissionv1beta1.AdmissionRequest
GetAdmissionRequest returns the admission request stored on the context. If there is no admission request on the context it will return nil.
func SetAdmissionRequest ¶
func SetAdmissionRequest(ctx context.Context, ar *admissionv1beta1.AdmissionRequest) context.Context
SetAdmissionRequest will set a admission request on the context and return the new context that has the admission request set.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.