1
0
mirror of https://github.com/rancher/os.git synced 2025-07-03 01:56:14 +00:00
os/vendor/github.com/docker/libcontainer/criu_opts.go
2015-12-04 20:19:31 +05:00

17 lines
796 B
Go

package libcontainer
type CriuPageServerInfo struct {
Address string // IP address of CRIU page server
Port int32 // port number of CRIU page server
}
type CriuOpts struct {
ImagesDirectory string // directory for storing image files
WorkDirectory string // directory to cd and write logs/pidfiles/stats to
LeaveRunning bool // leave container in running state after checkpoint
TcpEstablished bool // checkpoint/restore established TCP connections
ExternalUnixConnections bool // allow external unix connections
ShellJob bool // allow to dump and restore shell jobs
PageServer CriuPageServerInfo // allow to dump to criu page server
}