var _ …
type stateCheckpoint …
func NewStateCheckpoint(stateDir, checkpointName string) (State, error) { … }
func (sc *stateCheckpoint) restoreState() error { … }
func (sc *stateCheckpoint) storeState() error { … }
func (sc *stateCheckpoint) GetContainerResourceAllocation(podUID string, containerName string) (v1.ResourceRequirements, bool) { … }
func (sc *stateCheckpoint) GetPodResourceAllocation() PodResourceAllocation { … }
func (sc *stateCheckpoint) GetPodResizeStatus(podUID string) (v1.PodResizeStatus, bool) { … }
func (sc *stateCheckpoint) GetResizeStatus() PodResizeStatus { … }
func (sc *stateCheckpoint) SetContainerResourceAllocation(podUID string, containerName string, alloc v1.ResourceRequirements) error { … }
func (sc *stateCheckpoint) SetPodResourceAllocation(a PodResourceAllocation) error { … }
func (sc *stateCheckpoint) SetPodResizeStatus(podUID string, resizeStatus v1.PodResizeStatus) error { … }
func (sc *stateCheckpoint) SetResizeStatus(rs PodResizeStatus) error { … }
func (sc *stateCheckpoint) Delete(podUID string, containerName string) error { … }
func (sc *stateCheckpoint) ClearState() error { … }
type noopStateCheckpoint …
func NewNoopStateCheckpoint() State { … }
func (sc *noopStateCheckpoint) GetContainerResourceAllocation(_ string, _ string) (v1.ResourceRequirements, bool) { … }
func (sc *noopStateCheckpoint) GetPodResourceAllocation() PodResourceAllocation { … }
func (sc *noopStateCheckpoint) GetPodResizeStatus(_ string) (v1.PodResizeStatus, bool) { … }
func (sc *noopStateCheckpoint) GetResizeStatus() PodResizeStatus { … }
func (sc *noopStateCheckpoint) SetContainerResourceAllocation(_ string, _ string, _ v1.ResourceRequirements) error { … }
func (sc *noopStateCheckpoint) SetPodResourceAllocation(_ PodResourceAllocation) error { … }
func (sc *noopStateCheckpoint) SetPodResizeStatus(_ string, _ v1.PodResizeStatus) error { … }
func (sc *noopStateCheckpoint) SetResizeStatus(_ PodResizeStatus) error { … }
func (sc *noopStateCheckpoint) Delete(_ string, _ string) error { … }
func (sc *noopStateCheckpoint) ClearState() error { … }