Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetK8sObjType ¶
GetK8sObjType returns the type (not the pointer type) of a kubernetes object.
func GroupVersionResourceToString ¶
func GroupVersionResourceToString(gvr metav1.GroupVersionResource) string
GroupVersionResourceToString returns a string representation. It differs from the original stringer of the object itself.
func ToAdmissionErrorResponse ¶
func ToAdmissionErrorResponse(uid types.UID, err error, logger log.Logger) *admissionv1beta1.AdmissionResponse
ToAdmissionErrorResponse transforms an error into a admission response with error.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.