Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EnsureOwnerRef ¶
func EnsureOwnerRef(ownerReferences []metav1.OwnerReference, ref metav1.OwnerReference) []metav1.OwnerReference
EnsureOwnerRef makes sure the slice contains the OwnerReference.
func HasOwnerRef ¶
func HasOwnerRef(ownerReferences []metav1.OwnerReference, ref metav1.OwnerReference) bool
HasOwnerRef returns true if the OwnerReference is already in the slice.
func MakeOwnerReference ¶
func MakeOwnerReference(owner client.Object) metav1.OwnerReference
MakeOwnerReference creates a metav1.OwnerReference pointing to the specified object
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.