kubernetes/pkg/kubelet/cm/memorymanager/fake_memory_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) GetMemoryNUMANodes(pod *v1.Pod, container *v1.Container) sets.Set[int] {}

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 {}

// GetAllocatableMemory returns the amount of allocatable memory for each NUMA node
func (m *fakeManager) GetAllocatableMemory() []state.Block {}

// GetMemory returns the memory allocated by a container from NUMA nodes
func (m *fakeManager) GetMemory(podUID, containerName string) []state.Block {}

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