kubernetes/pkg/kubelet/cm/cpumanager/fake_cpu_manager.go

type fakeManager

func (m *fakeManager) Start(activePods ActivePodsFunc, sourcesReady config.SourcesReady, podStatusProvider status.PodStatusProvider, containerRuntime runtimeService, initialContainers containermap.ContainerMap) error {}

func (m *fakeManager) Policy() Policy {}

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

func (m *fakeManager) AddContainer(pod *v1.Pod, container *v1.Container, containerID string) {}

func (m *fakeManager) RemoveContainer(containerID string) error {}

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

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

func (m *fakeManager) State() state.Reader {}

func (m *fakeManager) GetExclusiveCPUs(podUID, containerName string) cpuset.CPUSet {}

func (m *fakeManager) GetAllocatableCPUs() cpuset.CPUSet {}

func (m *fakeManager) GetCPUAffinity(podUID, containerName string) cpuset.CPUSet {}

func (m *fakeManager) GetAllCPUs() cpuset.CPUSet {}

// NewFakeManager creates empty/fake cpu manager
func NewFakeManager() Manager {}