package
1.5.0
Repository: https://github.com/dana-team/hns.git
Documentation: pkg.go.dev

# Functions

AnnotationsBasedOnParent returns labels for a namespace based on the ones of the namespace of the parent.
ComposeNamespace returns a namespace object based on the given parameters.
Depth returns the depth of a namespace from its annotation.
DisplayName returns the displayName annotation of a namespace.
DisplayNameSlice returns a slice of strings that contains the hierarchy of a namespace in accordance to its display-name.
IsChildless checks if the given namespace has any subnamespaces, and returns true if it does not have any subnamespaces.
IsNamespace returns true if an object is of type namespace.
IsRoot returns true if the namespace is the root namespace.
IsSecondaryRoot returns true if a namespace is a secondary root.
LabelsBasedOnParent returns labels for a namespace based on the ones of the namespace of the parent.
Parent returns the parent label of a namespace.
SNSFromNamespace returns the subnamespace corresponding to a namespace.