Documentation ¶
Overview ¶
Package checkpoint provides libraries that are used by the pod-checkpointer utility to checkpoint pods on a node. See cmd/checkpoint/README.md in this repository for more information.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CheckpointerPod ¶
type CheckpointerPod struct { // The name of the node this checkpointer is running on. NodeName string // The name of the pod that is running this checkpointer. PodName string // The namespace of the pod that is running this checkpointer. PodNamespace string }
CheckpointerPod holds information about this checkpointer pod.
type Options ¶
type Options struct { // CheckpointerPod holds information about this checkpointer pod. CheckpointerPod CheckpointerPod // KubeConfig is a valid kubeconfig for communicating with the APIServer. KubeConfig *restclient.Config // RemoteRuntimeEndpoint is the location of the CRI GRPC endpoint. RemoteRuntimeEndpoint string // RuntimeRequestTimeout is the timeout that is used for requests to the RemoteRuntimeEndpoint. RuntimeRequestTimeout time.Duration }
Options defines the parameters that are required to start the checkpointer.
Click to show internal directories.
Click to hide internal directories.