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

func NewTestBitMask(sockets ...int) bitmask.BitMask {}

func TestNewManager(t *testing.T) {}

func TestManagerScope(t *testing.T) {}

type mockHintProvider

func (m *mockHintProvider) GetTopologyHints(pod *v1.Pod, container *v1.Container) map[string][]TopologyHint {}

func (m *mockHintProvider) GetPodTopologyHints(pod *v1.Pod) map[string][]TopologyHint {}

func (m *mockHintProvider) Allocate(pod *v1.Pod, container *v1.Container) error {}

type mockPolicy

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

func TestAddHintProvider(t *testing.T) {}

func TestAdmit(t *testing.T) {}