package
0.0.0-20241230144244-1554b1e3505c
Repository: https://github.com/stolostron/siteconfig.git
Documentation: pkg.go.dev

# Functions

GenerateOwnedByLabelValue generates a consistent value for the "owned-by" label using the namespace and name of a ClusterInstance.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
GetNameFromOwnedByLabel extracts only the name portion from the "owned-by" label value.
GetNamespacedNameFromOwnedByLabel parses the value of the "owned-by" label to extract the namespace and name of the owning resource.
GetOwner retrieves the value of the "owned-by" label from an object.
No description provided by the author
IndexOfObjectByIdentity searches for a RenderedObject in the given RenderedObject slice based on identity fields and returns its index.
No description provided by the author
No description provided by the author
No description provided by the author
Validate checks the given ClusterInstance, returns an error if validation fails, returns nil if it succeeds.
VerifyOwnership checks if an object is logically owned by a specified owner reference label.

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
OwnedByLabel is the key for the "owned-by" label, used to identify the owner of a resource.
No description provided by the author

# Structs

ClusterData is a special object that provides an interface to the ClusterInstance spec fields for use in rendering templates.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author