forked from google/cadvisor
-
Notifications
You must be signed in to change notification settings - Fork 0
/
criu_opts.go
16 lines (14 loc) · 796 Bytes
/
criu_opts.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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
}