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

# Functions

IsChildUpper gets a subnamespace father and child objects and returns whether the child should now become the upper resource pool.
IsNSResourcePool returns a boolean value indicating if a namespace is a ResourcePool or not, based on its corresponding subnamespace.
IsNSUpperResourcePool returns true if the namespace is an upper resource pool.
IsSNSResourcePool returns a boolean value indicating if a subnamespace is a resource pool or not.
IsSNSUpper returns true if the subnamespace is an upper resource pool, it happens only when the parent is from subnamespace kind or is a root namespace.
IsSNSUpperFromAnnotation returns true if the subnamespace is an upper resource pool, based on its label.
SetSNSResourcePoolLabel sets a ResourcePool label on the subnamespace based on the ResourcePool label in its parent namespace.
SNSIsUpperAnnotation returns the is-upper-rp annotation of an SNS.
SNSLabel returns the ResourcePool label of a subnamespace.