Documentation ¶
Index ¶
- type Criu
- func (c *Criu) Cleanup()
- func (c *Criu) Dump(opts rpc.CriuOpts, nfy Notify) error
- func (c *Criu) GetCriuVersion() (int, error)
- func (c *Criu) IsCriuAtLeast(version int) (bool, error)
- func (c *Criu) PreDump(opts rpc.CriuOpts, nfy Notify) error
- func (c *Criu) Prepare() error
- func (c *Criu) Restore(opts rpc.CriuOpts, nfy Notify) error
- func (c *Criu) StartPageServer(opts rpc.CriuOpts) error
- func (c *Criu) StartPageServerChld(opts rpc.CriuOpts) (int, int, error)
- type NoNotify
- func (c NoNotify) NetworkLock() error
- func (c NoNotify) NetworkUnlock() error
- func (c NoNotify) PostDump() error
- func (c NoNotify) PostRestore(pid int32) error
- func (c NoNotify) PostResume() error
- func (c NoNotify) PostSetupNamespaces() error
- func (c NoNotify) PreDump() error
- func (c NoNotify) PreRestore() error
- func (c NoNotify) SetupNamespaces(pid int32) error
- type Notify
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Criu ¶
type Criu struct {
// contains filtered or unexported fields
}
Criu struct
func (*Criu) GetCriuVersion ¶
GetCriuVersion executes the VERSION RPC call and returns the version as an integer. Major * 10000 + Minor * 100 + SubLevel
func (*Criu) IsCriuAtLeast ¶
IsCriuAtLeast checks if the version is at least the same as the parameter version
func (*Criu) StartPageServer ¶
StartPageServer starts the page server
type NoNotify ¶
type NoNotify struct { }
NoNotify struct
func (NoNotify) PostSetupNamespaces ¶
PostSetupNamespaces NoNotify
func (NoNotify) SetupNamespaces ¶
SetupNamespaces NoNotify
Click to show internal directories.
Click to hide internal directories.