package checkpoint
import "k8s.io/kubernetes/pkg/kubelet/checkpoint"
Index ¶
Types ¶
type Manager ¶
type Manager interface { // LoadPods will load checkpointed Pods from disk LoadPods() ([]*v1.Pod, error) // WritePod will serialize a Pod to disk WritePod(pod *v1.Pod) error // Deletes the checkpoint of the given pod from disk DeletePod(pod *v1.Pod) error }
Manager is the interface used to manage checkpoints which involves writing resources to disk to recover during restart or failure scenarios. https://github.com/kubernetes/community/pull/1241/files
func GetInstance ¶
func GetInstance() Manager
GetInstance will return the current Manager, there should be only one.
func NewCheckpointManager ¶
NewCheckpointManager will create a Manager that points to the following path
Source Files ¶
checkpoint.go
- Version
- v1.9.6
- Published
- Mar 20, 2018
- Platform
- js/wasm
- Imports
- 12 packages
- Last checked
- 1 minute ago –
Tools for package owners.