Versions in this module Expand all Collapse all v1 v1.16.3 Nov 9, 2022 Changes in this version + const DefaultMemoryRequest + const DefaultMilliCPURequest + func GetNamespacesFromPodAffinityTerm(pod *v1.Pod, podAffinityTerm *v1.PodAffinityTerm) sets.String + func GetNonzeroRequestForResource(resource v1.ResourceName, requests *v1.ResourceList) int64 + func GetNonzeroRequests(requests *v1.ResourceList) (int64, int64) + func NodesHaveSameTopologyKey(nodeA, nodeB *v1.Node, topologyKey string) bool + func PodMatchesTermsNamespaceAndSelector(pod *v1.Pod, namespaces sets.String, selector labels.Selector) bool + type Topologies struct + DefaultKeys []string + func (tps *Topologies) NodesHaveSameTopologyKey(nodeA, nodeB *v1.Node, topologyKey string) bool