Documentation ¶
Index ¶
- func GetPolicies(request *admissionv1.AdmissionRequest) (kyvernov1.PolicyInterface, kyvernov1.PolicyInterface, error)
- func GetPolicy(request *admissionv1.AdmissionRequest) (kyvernov1.PolicyInterface, error)
- func GetResourceName(request *admissionv1.AdmissionRequest) string
- func MutationResponse(patch []byte, warnings ...string) *admissionv1.AdmissionResponse
- func Response(err error, warnings ...string) *admissionv1.AdmissionResponse
- func ResponseSuccess(warnings ...string) *admissionv1.AdmissionResponse
- func UnmarshalPolicy(kind string, raw []byte) (kyvernov1.PolicyInterface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetPolicies ¶
func GetPolicies(request *admissionv1.AdmissionRequest) (kyvernov1.PolicyInterface, kyvernov1.PolicyInterface, error)
func GetPolicy ¶
func GetPolicy(request *admissionv1.AdmissionRequest) (kyvernov1.PolicyInterface, error)
func GetResourceName ¶
func GetResourceName(request *admissionv1.AdmissionRequest) string
func MutationResponse ¶ added in v1.8.2
func MutationResponse(patch []byte, warnings ...string) *admissionv1.AdmissionResponse
func Response ¶
func Response(err error, warnings ...string) *admissionv1.AdmissionResponse
func ResponseSuccess ¶
func ResponseSuccess(warnings ...string) *admissionv1.AdmissionResponse
func UnmarshalPolicy ¶
func UnmarshalPolicy(kind string, raw []byte) (kyvernov1.PolicyInterface, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.