kubernetes/pkg/kubelet/cm/topologymanager/policy_single_numa_node.go

type singleNumaNodePolicy

var _

const PolicySingleNumaNode

// NewSingleNumaNodePolicy returns single-numa-node policy.
func NewSingleNumaNodePolicy(numaInfo *NUMAInfo, opts PolicyOptions) Policy {}

func (p *singleNumaNodePolicy) Name() string {}

func (p *singleNumaNodePolicy) canAdmitPodResult(hint *TopologyHint) bool {}

// Return hints that have valid bitmasks with exactly one bit set.
func filterSingleNumaHints(allResourcesHints [][]TopologyHint) [][]TopologyHint {}

func (p *singleNumaNodePolicy) Merge(providersHints []map[string][]TopologyHint) (TopologyHint, bool) {}