package criurpc
import "github.com/opencontainers/runc/libcontainer/criurpc"
Package criurpc is a generated protocol buffer package.
It is generated from these files:
criurpc.proto
It has these top-level messages:
CriuPageServerInfo CriuVethPair ExtMountMap JoinNamespace InheritFd CgroupRoot UnixSk CriuOpts CriuDumpResp CriuRestoreResp CriuNotify CriuFeatures CriuReq CriuResp
Index ¶
- Constants
- Variables
- type CgroupRoot
- func (*CgroupRoot) Descriptor() ([]byte, []int)
- func (m *CgroupRoot) GetCtrl() string
- func (m *CgroupRoot) GetPath() string
- func (*CgroupRoot) ProtoMessage()
- func (m *CgroupRoot) Reset()
- func (m *CgroupRoot) String() string
- type CriuCgMode
- func (x CriuCgMode) Enum() *CriuCgMode
- func (CriuCgMode) EnumDescriptor() ([]byte, []int)
- func (x CriuCgMode) String() string
- func (x *CriuCgMode) UnmarshalJSON(data []byte) error
- type CriuDumpResp
- func (*CriuDumpResp) Descriptor() ([]byte, []int)
- func (m *CriuDumpResp) GetRestored() bool
- func (*CriuDumpResp) ProtoMessage()
- func (m *CriuDumpResp) Reset()
- func (m *CriuDumpResp) String() string
- type CriuFeatures
- func (*CriuFeatures) Descriptor() ([]byte, []int)
- func (m *CriuFeatures) GetMemTrack() bool
- func (*CriuFeatures) ProtoMessage()
- func (m *CriuFeatures) Reset()
- func (m *CriuFeatures) String() string
- type CriuNotify
- func (*CriuNotify) Descriptor() ([]byte, []int)
- func (m *CriuNotify) GetPid() int32
- func (m *CriuNotify) GetScript() string
- func (*CriuNotify) ProtoMessage()
- func (m *CriuNotify) Reset()
- func (m *CriuNotify) String() string
- type CriuOpts
- func (*CriuOpts) Descriptor() ([]byte, []int)
- func (m *CriuOpts) GetAutoDedup() bool
- func (m *CriuOpts) GetAutoExtMnt() bool
- func (m *CriuOpts) GetCgRoot() []*CgroupRoot
- func (m *CriuOpts) GetCgroupDumpController() []string
- func (m *CriuOpts) GetCgroupProps() string
- func (m *CriuOpts) GetCgroupPropsFile() string
- func (m *CriuOpts) GetCpuCap() uint32
- func (m *CriuOpts) GetEmptyNs() uint32
- func (m *CriuOpts) GetEnableFs() []string
- func (m *CriuOpts) GetEvasiveDevices() bool
- func (m *CriuOpts) GetExecCmd() []string
- func (m *CriuOpts) GetExtMasters() bool
- func (m *CriuOpts) GetExtMnt() []*ExtMountMap
- func (m *CriuOpts) GetExtSharing() bool
- func (m *CriuOpts) GetExtUnixSk() bool
- func (m *CriuOpts) GetExternal() []string
- func (m *CriuOpts) GetFileLocks() bool
- func (m *CriuOpts) GetForceIrmap() bool
- func (m *CriuOpts) GetFreezeCgroup() string
- func (m *CriuOpts) GetGhostLimit() uint32
- func (m *CriuOpts) GetImagesDirFd() int32
- func (m *CriuOpts) GetInheritFd() []*InheritFd
- func (m *CriuOpts) GetIrmapScanPaths() []string
- func (m *CriuOpts) GetJoinNs() []*JoinNamespace
- func (m *CriuOpts) GetLazyPages() bool
- func (m *CriuOpts) GetLeaveRunning() bool
- func (m *CriuOpts) GetLinkRemap() bool
- func (m *CriuOpts) GetLogFile() string
- func (m *CriuOpts) GetLogLevel() int32
- func (m *CriuOpts) GetManageCgroups() bool
- func (m *CriuOpts) GetManageCgroupsMode() CriuCgMode
- func (m *CriuOpts) GetNotifyScripts() bool
- func (m *CriuOpts) GetOrphanPtsMaster() bool
- func (m *CriuOpts) GetParentImg() string
- func (m *CriuOpts) GetPid() int32
- func (m *CriuOpts) GetPs() *CriuPageServerInfo
- func (m *CriuOpts) GetRoot() string
- func (m *CriuOpts) GetRstSibling() bool
- func (m *CriuOpts) GetShellJob() bool
- func (m *CriuOpts) GetSkipMnt() []string
- func (m *CriuOpts) GetStatusFd() int32
- func (m *CriuOpts) GetTcpEstablished() bool
- func (m *CriuOpts) GetTcpSkipInFlight() bool
- func (m *CriuOpts) GetTimeout() uint32
- func (m *CriuOpts) GetTrackMem() bool
- func (m *CriuOpts) GetUnixSkIno() []*UnixSk
- func (m *CriuOpts) GetVeths() []*CriuVethPair
- func (m *CriuOpts) GetWeakSysctls() bool
- func (m *CriuOpts) GetWorkDirFd() int32
- func (*CriuOpts) ProtoMessage()
- func (m *CriuOpts) Reset()
- func (m *CriuOpts) String() string
- type CriuPageServerInfo
- func (*CriuPageServerInfo) Descriptor() ([]byte, []int)
- func (m *CriuPageServerInfo) GetAddress() string
- func (m *CriuPageServerInfo) GetFd() int32
- func (m *CriuPageServerInfo) GetPid() int32
- func (m *CriuPageServerInfo) GetPort() int32
- func (*CriuPageServerInfo) ProtoMessage()
- func (m *CriuPageServerInfo) Reset()
- func (m *CriuPageServerInfo) String() string
- type CriuReq
- func (*CriuReq) Descriptor() ([]byte, []int)
- func (m *CriuReq) GetFeatures() *CriuFeatures
- func (m *CriuReq) GetKeepOpen() bool
- func (m *CriuReq) GetNotifySuccess() bool
- func (m *CriuReq) GetOpts() *CriuOpts
- func (m *CriuReq) GetType() CriuReqType
- func (*CriuReq) ProtoMessage()
- func (m *CriuReq) Reset()
- func (m *CriuReq) String() string
- type CriuReqType
- func (x CriuReqType) Enum() *CriuReqType
- func (CriuReqType) EnumDescriptor() ([]byte, []int)
- func (x CriuReqType) String() string
- func (x *CriuReqType) UnmarshalJSON(data []byte) error
- type CriuResp
- func (*CriuResp) Descriptor() ([]byte, []int)
- func (m *CriuResp) GetCrErrmsg() string
- func (m *CriuResp) GetCrErrno() int32
- func (m *CriuResp) GetDump() *CriuDumpResp
- func (m *CriuResp) GetFeatures() *CriuFeatures
- func (m *CriuResp) GetNotify() *CriuNotify
- func (m *CriuResp) GetPs() *CriuPageServerInfo
- func (m *CriuResp) GetRestore() *CriuRestoreResp
- func (m *CriuResp) GetSuccess() bool
- func (m *CriuResp) GetType() CriuReqType
- func (*CriuResp) ProtoMessage()
- func (m *CriuResp) Reset()
- func (m *CriuResp) String() string
- type CriuRestoreResp
- func (*CriuRestoreResp) Descriptor() ([]byte, []int)
- func (m *CriuRestoreResp) GetPid() int32
- func (*CriuRestoreResp) ProtoMessage()
- func (m *CriuRestoreResp) Reset()
- func (m *CriuRestoreResp) String() string
- type CriuVethPair
- func (*CriuVethPair) Descriptor() ([]byte, []int)
- func (m *CriuVethPair) GetIfIn() string
- func (m *CriuVethPair) GetIfOut() string
- func (*CriuVethPair) ProtoMessage()
- func (m *CriuVethPair) Reset()
- func (m *CriuVethPair) String() string
- type ExtMountMap
- func (*ExtMountMap) Descriptor() ([]byte, []int)
- func (m *ExtMountMap) GetKey() string
- func (m *ExtMountMap) GetVal() string
- func (*ExtMountMap) ProtoMessage()
- func (m *ExtMountMap) Reset()
- func (m *ExtMountMap) String() string
- type InheritFd
- func (*InheritFd) Descriptor() ([]byte, []int)
- func (m *InheritFd) GetFd() int32
- func (m *InheritFd) GetKey() string
- func (*InheritFd) ProtoMessage()
- func (m *InheritFd) Reset()
- func (m *InheritFd) String() string
- type JoinNamespace
- func (*JoinNamespace) Descriptor() ([]byte, []int)
- func (m *JoinNamespace) GetExtraOpt() string
- func (m *JoinNamespace) GetNs() string
- func (m *JoinNamespace) GetNsFile() string
- func (*JoinNamespace) ProtoMessage()
- func (m *JoinNamespace) Reset()
- func (m *JoinNamespace) String() string
- type UnixSk
Constants ¶
const Default_CriuOpts_CpuCap uint32 = 4294967295
const Default_CriuOpts_GhostLimit uint32 = 1048576
const Default_CriuOpts_LogLevel int32 = 2
Variables ¶
var CriuCgMode_name = map[int32]string{ 0: "IGNORE", 1: "CG_NONE", 2: "PROPS", 3: "SOFT", 4: "FULL", 5: "STRICT", 6: "DEFAULT", }
var CriuCgMode_value = map[string]int32{ "IGNORE": 0, "CG_NONE": 1, "PROPS": 2, "SOFT": 3, "FULL": 4, "STRICT": 5, "DEFAULT": 6, }
var CriuReqType_name = map[int32]string{ 0: "EMPTY", 1: "DUMP", 2: "RESTORE", 3: "CHECK", 4: "PRE_DUMP", 5: "PAGE_SERVER", 6: "NOTIFY", 7: "CPUINFO_DUMP", 8: "CPUINFO_CHECK", 9: "FEATURE_CHECK", }
var CriuReqType_value = map[string]int32{ "EMPTY": 0, "DUMP": 1, "RESTORE": 2, "CHECK": 3, "PRE_DUMP": 4, "PAGE_SERVER": 5, "NOTIFY": 6, "CPUINFO_DUMP": 7, "CPUINFO_CHECK": 8, "FEATURE_CHECK": 9, }
Types ¶
type CgroupRoot ¶
type CgroupRoot struct { Ctrl *string `protobuf:"bytes,1,opt,name=ctrl" json:"ctrl,omitempty"` Path *string `protobuf:"bytes,2,req,name=path" json:"path,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*CgroupRoot) Descriptor ¶
func (*CgroupRoot) Descriptor() ([]byte, []int)
func (*CgroupRoot) GetCtrl ¶
func (m *CgroupRoot) GetCtrl() string
func (*CgroupRoot) GetPath ¶
func (m *CgroupRoot) GetPath() string
func (*CgroupRoot) ProtoMessage ¶
func (*CgroupRoot) ProtoMessage()
func (*CgroupRoot) Reset ¶
func (m *CgroupRoot) Reset()
func (*CgroupRoot) String ¶
func (m *CgroupRoot) String() string
type CriuCgMode ¶
type CriuCgMode int32
const ( CriuCgMode_IGNORE CriuCgMode = 0 CriuCgMode_CG_NONE CriuCgMode = 1 CriuCgMode_PROPS CriuCgMode = 2 CriuCgMode_SOFT CriuCgMode = 3 CriuCgMode_FULL CriuCgMode = 4 CriuCgMode_STRICT CriuCgMode = 5 CriuCgMode_DEFAULT CriuCgMode = 6 )
func (CriuCgMode) Enum ¶
func (x CriuCgMode) Enum() *CriuCgMode
func (CriuCgMode) EnumDescriptor ¶
func (CriuCgMode) EnumDescriptor() ([]byte, []int)
func (CriuCgMode) String ¶
func (x CriuCgMode) String() string
func (*CriuCgMode) UnmarshalJSON ¶
func (x *CriuCgMode) UnmarshalJSON(data []byte) error
type CriuDumpResp ¶
type CriuDumpResp struct { Restored *bool `protobuf:"varint,1,opt,name=restored" json:"restored,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*CriuDumpResp) Descriptor ¶
func (*CriuDumpResp) Descriptor() ([]byte, []int)
func (*CriuDumpResp) GetRestored ¶
func (m *CriuDumpResp) GetRestored() bool
func (*CriuDumpResp) ProtoMessage ¶
func (*CriuDumpResp) ProtoMessage()
func (*CriuDumpResp) Reset ¶
func (m *CriuDumpResp) Reset()
func (*CriuDumpResp) String ¶
func (m *CriuDumpResp) String() string
type CriuFeatures ¶
type CriuFeatures struct { MemTrack *bool `protobuf:"varint,1,opt,name=mem_track" json:"mem_track,omitempty"` XXX_unrecognized []byte `json:"-"` }
List of features which can queried via CRIU_REQ_TYPE__FEATURE_CHECK
func (*CriuFeatures) Descriptor ¶
func (*CriuFeatures) Descriptor() ([]byte, []int)
func (*CriuFeatures) GetMemTrack ¶
func (m *CriuFeatures) GetMemTrack() bool
func (*CriuFeatures) ProtoMessage ¶
func (*CriuFeatures) ProtoMessage()
func (*CriuFeatures) Reset ¶
func (m *CriuFeatures) Reset()
func (*CriuFeatures) String ¶
func (m *CriuFeatures) String() string
type CriuNotify ¶
type CriuNotify struct { Script *string `protobuf:"bytes,1,opt,name=script" json:"script,omitempty"` Pid *int32 `protobuf:"varint,2,opt,name=pid" json:"pid,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*CriuNotify) Descriptor ¶
func (*CriuNotify) Descriptor() ([]byte, []int)
func (*CriuNotify) GetPid ¶
func (m *CriuNotify) GetPid() int32
func (*CriuNotify) GetScript ¶
func (m *CriuNotify) GetScript() string
func (*CriuNotify) ProtoMessage ¶
func (*CriuNotify) ProtoMessage()
func (*CriuNotify) Reset ¶
func (m *CriuNotify) Reset()
func (*CriuNotify) String ¶
func (m *CriuNotify) String() string
type CriuOpts ¶
type CriuOpts struct { ImagesDirFd *int32 `protobuf:"varint,1,req,name=images_dir_fd" json:"images_dir_fd,omitempty"` Pid *int32 `protobuf:"varint,2,opt,name=pid" json:"pid,omitempty"` LeaveRunning *bool `protobuf:"varint,3,opt,name=leave_running" json:"leave_running,omitempty"` ExtUnixSk *bool `protobuf:"varint,4,opt,name=ext_unix_sk" json:"ext_unix_sk,omitempty"` TcpEstablished *bool `protobuf:"varint,5,opt,name=tcp_established" json:"tcp_established,omitempty"` EvasiveDevices *bool `protobuf:"varint,6,opt,name=evasive_devices" json:"evasive_devices,omitempty"` ShellJob *bool `protobuf:"varint,7,opt,name=shell_job" json:"shell_job,omitempty"` FileLocks *bool `protobuf:"varint,8,opt,name=file_locks" json:"file_locks,omitempty"` LogLevel *int32 `protobuf:"varint,9,opt,name=log_level,def=2" json:"log_level,omitempty"` LogFile *string `protobuf:"bytes,10,opt,name=log_file" json:"log_file,omitempty"` Ps *CriuPageServerInfo `protobuf:"bytes,11,opt,name=ps" json:"ps,omitempty"` NotifyScripts *bool `protobuf:"varint,12,opt,name=notify_scripts" json:"notify_scripts,omitempty"` Root *string `protobuf:"bytes,13,opt,name=root" json:"root,omitempty"` ParentImg *string `protobuf:"bytes,14,opt,name=parent_img" json:"parent_img,omitempty"` TrackMem *bool `protobuf:"varint,15,opt,name=track_mem" json:"track_mem,omitempty"` AutoDedup *bool `protobuf:"varint,16,opt,name=auto_dedup" json:"auto_dedup,omitempty"` WorkDirFd *int32 `protobuf:"varint,17,opt,name=work_dir_fd" json:"work_dir_fd,omitempty"` LinkRemap *bool `protobuf:"varint,18,opt,name=link_remap" json:"link_remap,omitempty"` Veths []*CriuVethPair `protobuf:"bytes,19,rep,name=veths" json:"veths,omitempty"` CpuCap *uint32 `protobuf:"varint,20,opt,name=cpu_cap,def=4294967295" json:"cpu_cap,omitempty"` ForceIrmap *bool `protobuf:"varint,21,opt,name=force_irmap" json:"force_irmap,omitempty"` ExecCmd []string `protobuf:"bytes,22,rep,name=exec_cmd" json:"exec_cmd,omitempty"` ExtMnt []*ExtMountMap `protobuf:"bytes,23,rep,name=ext_mnt" json:"ext_mnt,omitempty"` ManageCgroups *bool `protobuf:"varint,24,opt,name=manage_cgroups" json:"manage_cgroups,omitempty"` CgRoot []*CgroupRoot `protobuf:"bytes,25,rep,name=cg_root" json:"cg_root,omitempty"` RstSibling *bool `protobuf:"varint,26,opt,name=rst_sibling" json:"rst_sibling,omitempty"` InheritFd []*InheritFd `protobuf:"bytes,27,rep,name=inherit_fd" json:"inherit_fd,omitempty"` AutoExtMnt *bool `protobuf:"varint,28,opt,name=auto_ext_mnt" json:"auto_ext_mnt,omitempty"` ExtSharing *bool `protobuf:"varint,29,opt,name=ext_sharing" json:"ext_sharing,omitempty"` ExtMasters *bool `protobuf:"varint,30,opt,name=ext_masters" json:"ext_masters,omitempty"` SkipMnt []string `protobuf:"bytes,31,rep,name=skip_mnt" json:"skip_mnt,omitempty"` EnableFs []string `protobuf:"bytes,32,rep,name=enable_fs" json:"enable_fs,omitempty"` UnixSkIno []*UnixSk `protobuf:"bytes,33,rep,name=unix_sk_ino" json:"unix_sk_ino,omitempty"` ManageCgroupsMode *CriuCgMode `protobuf:"varint,34,opt,name=manage_cgroups_mode,enum=CriuCgMode" json:"manage_cgroups_mode,omitempty"` GhostLimit *uint32 `protobuf:"varint,35,opt,name=ghost_limit,def=1048576" json:"ghost_limit,omitempty"` IrmapScanPaths []string `protobuf:"bytes,36,rep,name=irmap_scan_paths" json:"irmap_scan_paths,omitempty"` External []string `protobuf:"bytes,37,rep,name=external" json:"external,omitempty"` EmptyNs *uint32 `protobuf:"varint,38,opt,name=empty_ns" json:"empty_ns,omitempty"` JoinNs []*JoinNamespace `protobuf:"bytes,39,rep,name=join_ns" json:"join_ns,omitempty"` CgroupProps *string `protobuf:"bytes,41,opt,name=cgroup_props" json:"cgroup_props,omitempty"` CgroupPropsFile *string `protobuf:"bytes,42,opt,name=cgroup_props_file" json:"cgroup_props_file,omitempty"` CgroupDumpController []string `protobuf:"bytes,43,rep,name=cgroup_dump_controller" json:"cgroup_dump_controller,omitempty"` FreezeCgroup *string `protobuf:"bytes,44,opt,name=freeze_cgroup" json:"freeze_cgroup,omitempty"` Timeout *uint32 `protobuf:"varint,45,opt,name=timeout" json:"timeout,omitempty"` TcpSkipInFlight *bool `protobuf:"varint,46,opt,name=tcp_skip_in_flight" json:"tcp_skip_in_flight,omitempty"` WeakSysctls *bool `protobuf:"varint,47,opt,name=weak_sysctls" json:"weak_sysctls,omitempty"` LazyPages *bool `protobuf:"varint,48,opt,name=lazy_pages" json:"lazy_pages,omitempty"` StatusFd *int32 `protobuf:"varint,49,opt,name=status_fd" json:"status_fd,omitempty"` OrphanPtsMaster *bool `protobuf:"varint,50,opt,name=orphan_pts_master" json:"orphan_pts_master,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*CriuOpts) Descriptor ¶
func (*CriuOpts) GetAutoDedup ¶
func (*CriuOpts) GetAutoExtMnt ¶
func (*CriuOpts) GetCgRoot ¶
func (m *CriuOpts) GetCgRoot() []*CgroupRoot
func (*CriuOpts) GetCgroupDumpController ¶
func (*CriuOpts) GetCgroupProps ¶
func (*CriuOpts) GetCgroupPropsFile ¶
func (*CriuOpts) GetCpuCap ¶
func (*CriuOpts) GetEmptyNs ¶
func (*CriuOpts) GetEnableFs ¶
func (*CriuOpts) GetEvasiveDevices ¶
func (*CriuOpts) GetExecCmd ¶
func (*CriuOpts) GetExtMasters ¶
func (*CriuOpts) GetExtMnt ¶
func (m *CriuOpts) GetExtMnt() []*ExtMountMap
func (*CriuOpts) GetExtSharing ¶
func (*CriuOpts) GetExtUnixSk ¶
func (*CriuOpts) GetExternal ¶
func (*CriuOpts) GetFileLocks ¶
func (*CriuOpts) GetForceIrmap ¶
func (*CriuOpts) GetFreezeCgroup ¶
func (*CriuOpts) GetGhostLimit ¶
func (*CriuOpts) GetImagesDirFd ¶
func (*CriuOpts) GetInheritFd ¶
func (*CriuOpts) GetIrmapScanPaths ¶
func (*CriuOpts) GetJoinNs ¶
func (m *CriuOpts) GetJoinNs() []*JoinNamespace
func (*CriuOpts) GetLazyPages ¶
func (*CriuOpts) GetLeaveRunning ¶
func (*CriuOpts) GetLinkRemap ¶
func (*CriuOpts) GetLogFile ¶
func (*CriuOpts) GetLogLevel ¶
func (*CriuOpts) GetManageCgroups ¶
func (*CriuOpts) GetManageCgroupsMode ¶
func (m *CriuOpts) GetManageCgroupsMode() CriuCgMode
func (*CriuOpts) GetNotifyScripts ¶
func (*CriuOpts) GetOrphanPtsMaster ¶
func (*CriuOpts) GetParentImg ¶
func (*CriuOpts) GetPid ¶
func (*CriuOpts) GetPs ¶
func (m *CriuOpts) GetPs() *CriuPageServerInfo
func (*CriuOpts) GetRoot ¶
func (*CriuOpts) GetRstSibling ¶
func (*CriuOpts) GetShellJob ¶
func (*CriuOpts) GetSkipMnt ¶
func (*CriuOpts) GetStatusFd ¶
func (*CriuOpts) GetTcpEstablished ¶
func (*CriuOpts) GetTcpSkipInFlight ¶
func (*CriuOpts) GetTimeout ¶
func (*CriuOpts) GetTrackMem ¶
func (*CriuOpts) GetUnixSkIno ¶
func (*CriuOpts) GetVeths ¶
func (m *CriuOpts) GetVeths() []*CriuVethPair
func (*CriuOpts) GetWeakSysctls ¶
func (*CriuOpts) GetWorkDirFd ¶
func (*CriuOpts) ProtoMessage ¶
func (*CriuOpts) ProtoMessage()
func (*CriuOpts) Reset ¶
func (m *CriuOpts) Reset()
func (*CriuOpts) String ¶
type CriuPageServerInfo ¶
type CriuPageServerInfo struct { Address *string `protobuf:"bytes,1,opt,name=address" json:"address,omitempty"` Port *int32 `protobuf:"varint,2,opt,name=port" json:"port,omitempty"` Pid *int32 `protobuf:"varint,3,opt,name=pid" json:"pid,omitempty"` Fd *int32 `protobuf:"varint,4,opt,name=fd" json:"fd,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*CriuPageServerInfo) Descriptor ¶
func (*CriuPageServerInfo) Descriptor() ([]byte, []int)
func (*CriuPageServerInfo) GetAddress ¶
func (m *CriuPageServerInfo) GetAddress() string
func (*CriuPageServerInfo) GetFd ¶
func (m *CriuPageServerInfo) GetFd() int32
func (*CriuPageServerInfo) GetPid ¶
func (m *CriuPageServerInfo) GetPid() int32
func (*CriuPageServerInfo) GetPort ¶
func (m *CriuPageServerInfo) GetPort() int32
func (*CriuPageServerInfo) ProtoMessage ¶
func (*CriuPageServerInfo) ProtoMessage()
func (*CriuPageServerInfo) Reset ¶
func (m *CriuPageServerInfo) Reset()
func (*CriuPageServerInfo) String ¶
func (m *CriuPageServerInfo) String() string
type CriuReq ¶
type CriuReq struct { Type *CriuReqType `protobuf:"varint,1,req,name=type,enum=CriuReqType" json:"type,omitempty"` Opts *CriuOpts `protobuf:"bytes,2,opt,name=opts" json:"opts,omitempty"` NotifySuccess *bool `protobuf:"varint,3,opt,name=notify_success" json:"notify_success,omitempty"` // // When set service won't close the connection but // will wait for more req-s to appear. Works not // for all request types. KeepOpen *bool `protobuf:"varint,4,opt,name=keep_open" json:"keep_open,omitempty"` // // 'features' can be used to query which features // are supported by the installed criu/kernel // via RPC. Features *CriuFeatures `protobuf:"bytes,5,opt,name=features" json:"features,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*CriuReq) Descriptor ¶
func (*CriuReq) GetFeatures ¶
func (m *CriuReq) GetFeatures() *CriuFeatures
func (*CriuReq) GetKeepOpen ¶
func (*CriuReq) GetNotifySuccess ¶
func (*CriuReq) GetOpts ¶
func (*CriuReq) GetType ¶
func (m *CriuReq) GetType() CriuReqType
func (*CriuReq) ProtoMessage ¶
func (*CriuReq) ProtoMessage()
func (*CriuReq) Reset ¶
func (m *CriuReq) Reset()
func (*CriuReq) String ¶
type CriuReqType ¶
type CriuReqType int32
const ( CriuReqType_EMPTY CriuReqType = 0 CriuReqType_DUMP CriuReqType = 1 CriuReqType_RESTORE CriuReqType = 2 CriuReqType_CHECK CriuReqType = 3 CriuReqType_PRE_DUMP CriuReqType = 4 CriuReqType_PAGE_SERVER CriuReqType = 5 CriuReqType_NOTIFY CriuReqType = 6 CriuReqType_CPUINFO_DUMP CriuReqType = 7 CriuReqType_CPUINFO_CHECK CriuReqType = 8 CriuReqType_FEATURE_CHECK CriuReqType = 9 )
func (CriuReqType) Enum ¶
func (x CriuReqType) Enum() *CriuReqType
func (CriuReqType) EnumDescriptor ¶
func (CriuReqType) EnumDescriptor() ([]byte, []int)
func (CriuReqType) String ¶
func (x CriuReqType) String() string
func (*CriuReqType) UnmarshalJSON ¶
func (x *CriuReqType) UnmarshalJSON(data []byte) error
type CriuResp ¶
type CriuResp struct { Type *CriuReqType `protobuf:"varint,1,req,name=type,enum=CriuReqType" json:"type,omitempty"` Success *bool `protobuf:"varint,2,req,name=success" json:"success,omitempty"` Dump *CriuDumpResp `protobuf:"bytes,3,opt,name=dump" json:"dump,omitempty"` Restore *CriuRestoreResp `protobuf:"bytes,4,opt,name=restore" json:"restore,omitempty"` Notify *CriuNotify `protobuf:"bytes,5,opt,name=notify" json:"notify,omitempty"` Ps *CriuPageServerInfo `protobuf:"bytes,6,opt,name=ps" json:"ps,omitempty"` CrErrno *int32 `protobuf:"varint,7,opt,name=cr_errno" json:"cr_errno,omitempty"` Features *CriuFeatures `protobuf:"bytes,8,opt,name=features" json:"features,omitempty"` CrErrmsg *string `protobuf:"bytes,9,opt,name=cr_errmsg" json:"cr_errmsg,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*CriuResp) Descriptor ¶
func (*CriuResp) GetCrErrmsg ¶
func (*CriuResp) GetCrErrno ¶
func (*CriuResp) GetDump ¶
func (m *CriuResp) GetDump() *CriuDumpResp
func (*CriuResp) GetFeatures ¶
func (m *CriuResp) GetFeatures() *CriuFeatures
func (*CriuResp) GetNotify ¶
func (m *CriuResp) GetNotify() *CriuNotify
func (*CriuResp) GetPs ¶
func (m *CriuResp) GetPs() *CriuPageServerInfo
func (*CriuResp) GetRestore ¶
func (m *CriuResp) GetRestore() *CriuRestoreResp
func (*CriuResp) GetSuccess ¶
func (*CriuResp) GetType ¶
func (m *CriuResp) GetType() CriuReqType
func (*CriuResp) ProtoMessage ¶
func (*CriuResp) ProtoMessage()
func (*CriuResp) Reset ¶
func (m *CriuResp) Reset()
func (*CriuResp) String ¶
type CriuRestoreResp ¶
type CriuRestoreResp struct { Pid *int32 `protobuf:"varint,1,req,name=pid" json:"pid,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*CriuRestoreResp) Descriptor ¶
func (*CriuRestoreResp) Descriptor() ([]byte, []int)
func (*CriuRestoreResp) GetPid ¶
func (m *CriuRestoreResp) GetPid() int32
func (*CriuRestoreResp) ProtoMessage ¶
func (*CriuRestoreResp) ProtoMessage()
func (*CriuRestoreResp) Reset ¶
func (m *CriuRestoreResp) Reset()
func (*CriuRestoreResp) String ¶
func (m *CriuRestoreResp) String() string
type CriuVethPair ¶
type CriuVethPair struct { IfIn *string `protobuf:"bytes,1,req,name=if_in" json:"if_in,omitempty"` IfOut *string `protobuf:"bytes,2,req,name=if_out" json:"if_out,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*CriuVethPair) Descriptor ¶
func (*CriuVethPair) Descriptor() ([]byte, []int)
func (*CriuVethPair) GetIfIn ¶
func (m *CriuVethPair) GetIfIn() string
func (*CriuVethPair) GetIfOut ¶
func (m *CriuVethPair) GetIfOut() string
func (*CriuVethPair) ProtoMessage ¶
func (*CriuVethPair) ProtoMessage()
func (*CriuVethPair) Reset ¶
func (m *CriuVethPair) Reset()
func (*CriuVethPair) String ¶
func (m *CriuVethPair) String() string
type ExtMountMap ¶
type ExtMountMap struct { Key *string `protobuf:"bytes,1,req,name=key" json:"key,omitempty"` Val *string `protobuf:"bytes,2,req,name=val" json:"val,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*ExtMountMap) Descriptor ¶
func (*ExtMountMap) Descriptor() ([]byte, []int)
func (*ExtMountMap) GetKey ¶
func (m *ExtMountMap) GetKey() string
func (*ExtMountMap) GetVal ¶
func (m *ExtMountMap) GetVal() string
func (*ExtMountMap) ProtoMessage ¶
func (*ExtMountMap) ProtoMessage()
func (*ExtMountMap) Reset ¶
func (m *ExtMountMap) Reset()
func (*ExtMountMap) String ¶
func (m *ExtMountMap) String() string
type InheritFd ¶
type InheritFd struct { Key *string `protobuf:"bytes,1,req,name=key" json:"key,omitempty"` Fd *int32 `protobuf:"varint,2,req,name=fd" json:"fd,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*InheritFd) Descriptor ¶
func (*InheritFd) GetFd ¶
func (*InheritFd) GetKey ¶
func (*InheritFd) ProtoMessage ¶
func (*InheritFd) ProtoMessage()
func (*InheritFd) Reset ¶
func (m *InheritFd) Reset()
func (*InheritFd) String ¶
type JoinNamespace ¶
type JoinNamespace struct { Ns *string `protobuf:"bytes,1,req,name=ns" json:"ns,omitempty"` NsFile *string `protobuf:"bytes,2,req,name=ns_file" json:"ns_file,omitempty"` ExtraOpt *string `protobuf:"bytes,3,opt,name=extra_opt" json:"extra_opt,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*JoinNamespace) Descriptor ¶
func (*JoinNamespace) Descriptor() ([]byte, []int)
func (*JoinNamespace) GetExtraOpt ¶
func (m *JoinNamespace) GetExtraOpt() string
func (*JoinNamespace) GetNs ¶
func (m *JoinNamespace) GetNs() string
func (*JoinNamespace) GetNsFile ¶
func (m *JoinNamespace) GetNsFile() string
func (*JoinNamespace) ProtoMessage ¶
func (*JoinNamespace) ProtoMessage()
func (*JoinNamespace) Reset ¶
func (m *JoinNamespace) Reset()
func (*JoinNamespace) String ¶
func (m *JoinNamespace) String() string
type UnixSk ¶
type UnixSk struct { Inode *uint32 `protobuf:"varint,1,req,name=inode" json:"inode,omitempty"` XXX_unrecognized []byte `json:"-"` }
func (*UnixSk) Descriptor ¶
func (*UnixSk) GetInode ¶
func (*UnixSk) ProtoMessage ¶
func (*UnixSk) ProtoMessage()
func (*UnixSk) Reset ¶
func (m *UnixSk) Reset()
func (*UnixSk) String ¶
Source Files ¶
- Version
- v1.0.0-rc4
- Published
- Aug 2, 2017
- Platform
- js/wasm
- Imports
- 3 packages
- Last checked
- 52 minutes ago –
Tools for package owners.