package
1.11.0-alpha.0
Repository: https://github.com/richardmarshall/kubernetes.git
Documentation: pkg.go.dev

# Functions

GetControllerRef gets pod's owner controller reference from a pod object.
GetNamespacesFromPodAffinityTerm returns a set of names according to the namespaces indicated in podAffinityTerm.
GetNonzeroRequests returns the default resource request if none is found or what is provided on the request TODO: Consider setting default as a fixed fraction of machine capacity (take "capacity v1.ResourceList" as an additional argument here) rather than using constants.
NodesHaveSameTopologyKey checks if nodeA and nodeB have same label value with given topologyKey as label key.
PodMatchesTermsNamespaceAndSelector returns true if the given <pod> matches the namespace and selector defined by <affinityPod>`s <term>.

# Constants

# Structs

Topologies contains topologies information of nodes.