Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DeleteContainerInfo ¶
func DeleteContainerInfo(containerUID string)
DeleteContainerInfo delete container checkpoint indexed by containerUID
func DeletePodSandboxInfo ¶
func DeletePodSandboxInfo(podUID string)
DeletePodSandboxInfo delete pod checkpoint indexed by podUID
func WriteContainerInfo ¶
func WriteContainerInfo(containerUID string, container *ContainerInfo) error
WriteContainerInfo returns
func WritePodSandboxInfo ¶
func WritePodSandboxInfo(podUID string, pod *PodSandboxInfo) error
WritePodSandboxInfo checkpoints the pod level info
Types ¶
type ContainerInfo ¶
type ContainerInfo struct {
*v1alpha1.ContainerResourceHookRequest
}
ContainerInfo is almost the same with v1alpha.ContainerResourceHookRequest
func GetContainerInfo ¶
func GetContainerInfo(containerUID string) *ContainerInfo
func (*ContainerInfo) GetContainerResourceHookRequest ¶
func (c *ContainerInfo) GetContainerResourceHookRequest() *v1alpha1.ContainerResourceHookRequest
type PodSandboxInfo ¶
type PodSandboxInfo struct {
*v1alpha1.PodSandboxHookRequest
}
PodSandboxInfo is almost the same with v1alpha.RunPodSandboxHookRequest
func GetPodSandboxInfo ¶
func GetPodSandboxInfo(podUID string) *PodSandboxInfo
GetPodSandboxInfo returns sandbox info
func (*PodSandboxInfo) GetPodSandboxHookRequest ¶ added in v0.5.0
func (p *PodSandboxInfo) GetPodSandboxHookRequest() *v1alpha1.PodSandboxHookRequest
Click to show internal directories.
Click to hide internal directories.