kubernetes/pkg/kubelet/status/state/state_mem.go

type stateMemory

var _

// NewStateMemory creates new State to track resources allocated to pods
func NewStateMemory() State {}

func (s *stateMemory) GetContainerResourceAllocation(podUID string, containerName string) (v1.ResourceRequirements, bool) {}

func (s *stateMemory) GetPodResourceAllocation() PodResourceAllocation {}

func (s *stateMemory) GetPodResizeStatus(podUID string) (v1.PodResizeStatus, bool) {}

func (s *stateMemory) GetResizeStatus() PodResizeStatus {}

func (s *stateMemory) SetContainerResourceAllocation(podUID string, containerName string, alloc v1.ResourceRequirements) error {}

func (s *stateMemory) SetPodResourceAllocation(a PodResourceAllocation) error {}

func (s *stateMemory) SetPodResizeStatus(podUID string, resizeStatus v1.PodResizeStatus) error {}

func (s *stateMemory) SetResizeStatus(rs PodResizeStatus) error {}

func (s *stateMemory) deleteContainer(podUID string, containerName string) {}

func (s *stateMemory) Delete(podUID string, containerName string) error {}

func (s *stateMemory) ClearState() error {}