Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EnsureOwnerRef ¶
func EnsureOwnerRef(metadata metav1.Object, newOwnerRef metav1.OwnerReference) bool
EnsureOwnerRef adds the ownerref if needed. Removes ownerrefs with conflicting UIDs. Returns true if the input is mutated.
func HasOwnerRef ¶
func HasOwnerRef(metadata metav1.Object, needle metav1.OwnerReference) bool
HasOwnerRef checks to see if an object has a particular owner. It is not opinionated about the bool fields
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.