checkpoint

package
v0.0.0-...-8bcb288 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 18, 2026 License: Apache-2.0, BSD-3-Clause, MIT Imports: 1 Imported by: 0

Documentation

Overview

Package checkpoint defines types that are used by multiple forms of gVisor checkpoints.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ResourceID

type ResourceID struct {
	// ContainerName is the name of the container that the resource belongs to.
	ContainerName string `json:"container_name"`
	// Path is the path of the resource. Path is never empty for a valid
	// ResourceID.
	Path string `json:"path"`
}

ResourceID is a unique ID that is used to identify resources between save/restore sessions. Examples of resources are host files, gofer connection for mount points, etc.

+stateify savable

func (ResourceID) Ok

func (id ResourceID) Ok() bool

Ok returns true if the ResourceID is valid and not the zero value.

func (ResourceID) String

func (id ResourceID) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL