Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddMissingUIDs ¶
Given an object, find ownership records that are defined on it with missing UID values and fill-in those values. Access to an API client is and context needed to search for the owning objects.
func HasProductRef ¶
func HasProductRef(client client.Client, pds projctlv1beta1.ProjectDevelopmentStream) bool
func SetWithoutUid ¶
func SetWithoutUid( resource metav1.Object, ownerAPI schema.GroupVersionKind, ownerName string, ownerIsControlller, ownerDeletionBlocked bool, )
Set an ownership record for a resource without UID. This is meant to be used locally when the UID for the owning resource is not yet known. This function also ensure each object only has one ownership record for a particular API group and Kind combination.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.