package
1.13.0-alpha.3
Repository: https://github.com/bluebreezecf/kubernetes.git
Documentation: pkg.go.dev
# Functions
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.
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>.
# Structs
Topologies contains topologies information of nodes.