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
Click to show internal directories.
Click to hide internal directories.