Documentation ¶
Index ¶
- func ARFail(err error) *admission.AdmissionResponse
- func ARPatch(patch []byte) *admission.AdmissionResponse
- func ARSuccess() *admission.AdmissionResponse
- func ConfigTLS(certFile string, keyFile string) (*tls.Config, error)
- func CreateJsonPatch(original, current runtime.Object) ([]byte, error)
- func GetCodec() runtime.Decoder
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ARFail ¶
func ARFail(err error) *admission.AdmissionResponse
ARFail is a helper function to create an AdmissionResponse with an embedded error
func ARPatch ¶ added in v1.1.0
func ARPatch(patch []byte) *admission.AdmissionResponse
ARPatch return admission response that contains a patch to mutate the object
func CreateJsonPatch ¶ added in v1.1.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.