Documentation ¶
Index ¶
- Constants
- Variables
- type CgroupRoot
- type CriuCgMode
- func (CriuCgMode) Descriptor() protoreflect.EnumDescriptor
- func (x CriuCgMode) Enum() *CriuCgMode
- func (CriuCgMode) EnumDescriptor() ([]byte, []int)deprecated
- func (x CriuCgMode) Number() protoreflect.EnumNumber
- func (x CriuCgMode) String() string
- func (CriuCgMode) Type() protoreflect.EnumType
- func (x *CriuCgMode) UnmarshalJSON(b []byte) errordeprecated
- type CriuDumpResp
- type CriuFeatures
- func (*CriuFeatures) Descriptor() ([]byte, []int)deprecated
- func (x *CriuFeatures) GetLazyPages() bool
- func (x *CriuFeatures) GetMemTrack() bool
- func (x *CriuFeatures) GetPidfdStore() bool
- func (*CriuFeatures) ProtoMessage()
- func (x *CriuFeatures) ProtoReflect() protoreflect.Message
- func (x *CriuFeatures) Reset()
- func (x *CriuFeatures) String() string
- type CriuNotify
- type CriuOpts
- func (*CriuOpts) Descriptor() ([]byte, []int)deprecated
- func (x *CriuOpts) GetAutoDedup() bool
- func (x *CriuOpts) GetAutoExtMnt() bool
- func (x *CriuOpts) GetCgRoot() []*CgroupRoot
- func (x *CriuOpts) GetCgroupDumpController() []string
- func (x *CriuOpts) GetCgroupProps() string
- func (x *CriuOpts) GetCgroupPropsFile() string
- func (x *CriuOpts) GetCgroupYard() string
- func (x *CriuOpts) GetConfigFile() string
- func (x *CriuOpts) GetCpuCap() uint32
- func (x *CriuOpts) GetEmptyNs() uint32
- func (x *CriuOpts) GetEnableFs() []string
- func (x *CriuOpts) GetEvasiveDevices() bool
- func (x *CriuOpts) GetExecCmd() []string
- func (x *CriuOpts) GetExtMasters() bool
- func (x *CriuOpts) GetExtMnt() []*ExtMountMap
- func (x *CriuOpts) GetExtSharing() bool
- func (x *CriuOpts) GetExtUnixSk() bool
- func (x *CriuOpts) GetExternal() []string
- func (x *CriuOpts) GetFileLocks() bool
- func (x *CriuOpts) GetForceIrmap() bool
- func (x *CriuOpts) GetFreezeCgroup() string
- func (x *CriuOpts) GetGhostLimit() uint32
- func (x *CriuOpts) GetImagesDirFd() int32
- func (x *CriuOpts) GetInheritFd() []*InheritFd
- func (x *CriuOpts) GetIrmapScanPaths() []string
- func (x *CriuOpts) GetJoinNs() []*JoinNamespace
- func (x *CriuOpts) GetLazyPages() bool
- func (x *CriuOpts) GetLeaveRunning() bool
- func (x *CriuOpts) GetLinkRemap() bool
- func (x *CriuOpts) GetLogFile() string
- func (x *CriuOpts) GetLogLevel() int32
- func (x *CriuOpts) GetLsmMountContext() string
- func (x *CriuOpts) GetLsmProfile() string
- func (x *CriuOpts) GetManageCgroups() bool
- func (x *CriuOpts) GetManageCgroupsMode() CriuCgMode
- func (x *CriuOpts) GetNotifyScripts() bool
- func (x *CriuOpts) GetOrphanPtsMaster() bool
- func (x *CriuOpts) GetParentImg() string
- func (x *CriuOpts) GetPid() int32
- func (x *CriuOpts) GetPidfdStoreSk() int32
- func (x *CriuOpts) GetPreDumpMode() CriuPreDumpMode
- func (x *CriuOpts) GetPs() *CriuPageServerInfo
- func (x *CriuOpts) GetRoot() string
- func (x *CriuOpts) GetRstSibling() bool
- func (x *CriuOpts) GetShellJob() bool
- func (x *CriuOpts) GetSkipMnt() []string
- func (x *CriuOpts) GetStatusFd() int32
- func (x *CriuOpts) GetTcpClose() bool
- func (x *CriuOpts) GetTcpEstablished() bool
- func (x *CriuOpts) GetTcpSkipInFlight() bool
- func (x *CriuOpts) GetTimeout() uint32
- func (x *CriuOpts) GetTls() bool
- func (x *CriuOpts) GetTlsCacert() string
- func (x *CriuOpts) GetTlsCacrl() string
- func (x *CriuOpts) GetTlsCert() string
- func (x *CriuOpts) GetTlsKey() string
- func (x *CriuOpts) GetTlsNoCnVerify() bool
- func (x *CriuOpts) GetTrackMem() bool
- func (x *CriuOpts) GetUnixSkIno() []*UnixSk
- func (x *CriuOpts) GetVeths() []*CriuVethPair
- func (x *CriuOpts) GetWeakSysctls() bool
- func (x *CriuOpts) GetWorkDirFd() int32
- func (*CriuOpts) ProtoMessage()
- func (x *CriuOpts) ProtoReflect() protoreflect.Message
- func (x *CriuOpts) Reset()
- func (x *CriuOpts) String() string
- type CriuPageServerInfo
- func (*CriuPageServerInfo) Descriptor() ([]byte, []int)deprecated
- func (x *CriuPageServerInfo) GetAddress() string
- func (x *CriuPageServerInfo) GetFd() int32
- func (x *CriuPageServerInfo) GetPid() int32
- func (x *CriuPageServerInfo) GetPort() int32
- func (*CriuPageServerInfo) ProtoMessage()
- func (x *CriuPageServerInfo) ProtoReflect() protoreflect.Message
- func (x *CriuPageServerInfo) Reset()
- func (x *CriuPageServerInfo) String() string
- type CriuPreDumpMode
- func (CriuPreDumpMode) Descriptor() protoreflect.EnumDescriptor
- func (x CriuPreDumpMode) Enum() *CriuPreDumpMode
- func (CriuPreDumpMode) EnumDescriptor() ([]byte, []int)deprecated
- func (x CriuPreDumpMode) Number() protoreflect.EnumNumber
- func (x CriuPreDumpMode) String() string
- func (CriuPreDumpMode) Type() protoreflect.EnumType
- func (x *CriuPreDumpMode) UnmarshalJSON(b []byte) errordeprecated
- type CriuReq
- func (*CriuReq) Descriptor() ([]byte, []int)deprecated
- func (x *CriuReq) GetFeatures() *CriuFeatures
- func (x *CriuReq) GetKeepOpen() bool
- func (x *CriuReq) GetNotifySuccess() bool
- func (x *CriuReq) GetOpts() *CriuOpts
- func (x *CriuReq) GetPid() uint32
- func (x *CriuReq) GetType() CriuReqType
- func (*CriuReq) ProtoMessage()
- func (x *CriuReq) ProtoReflect() protoreflect.Message
- func (x *CriuReq) Reset()
- func (x *CriuReq) String() string
- type CriuReqType
- func (CriuReqType) Descriptor() protoreflect.EnumDescriptor
- func (x CriuReqType) Enum() *CriuReqType
- func (CriuReqType) EnumDescriptor() ([]byte, []int)deprecated
- func (x CriuReqType) Number() protoreflect.EnumNumber
- func (x CriuReqType) String() string
- func (CriuReqType) Type() protoreflect.EnumType
- func (x *CriuReqType) UnmarshalJSON(b []byte) errordeprecated
- type CriuResp
- func (*CriuResp) Descriptor() ([]byte, []int)deprecated
- func (x *CriuResp) GetCrErrmsg() string
- func (x *CriuResp) GetCrErrno() int32
- func (x *CriuResp) GetDump() *CriuDumpResp
- func (x *CriuResp) GetFeatures() *CriuFeatures
- func (x *CriuResp) GetNotify() *CriuNotify
- func (x *CriuResp) GetPs() *CriuPageServerInfo
- func (x *CriuResp) GetRestore() *CriuRestoreResp
- func (x *CriuResp) GetStatus() int32
- func (x *CriuResp) GetSuccess() bool
- func (x *CriuResp) GetType() CriuReqType
- func (x *CriuResp) GetVersion() *CriuVersion
- func (*CriuResp) ProtoMessage()
- func (x *CriuResp) ProtoReflect() protoreflect.Message
- func (x *CriuResp) Reset()
- func (x *CriuResp) String() string
- type CriuRestoreResp
- type CriuVersion
- func (*CriuVersion) Descriptor() ([]byte, []int)deprecated
- func (x *CriuVersion) GetExtra() int32
- func (x *CriuVersion) GetGitid() string
- func (x *CriuVersion) GetMajorNumber() int32
- func (x *CriuVersion) GetMinorNumber() int32
- func (x *CriuVersion) GetName() string
- func (x *CriuVersion) GetSublevel() int32
- func (*CriuVersion) ProtoMessage()
- func (x *CriuVersion) ProtoReflect() protoreflect.Message
- func (x *CriuVersion) Reset()
- func (x *CriuVersion) String() string
- type CriuVethPair
- func (*CriuVethPair) Descriptor() ([]byte, []int)deprecated
- func (x *CriuVethPair) GetIfIn() string
- func (x *CriuVethPair) GetIfOut() string
- func (*CriuVethPair) ProtoMessage()
- func (x *CriuVethPair) ProtoReflect() protoreflect.Message
- func (x *CriuVethPair) Reset()
- func (x *CriuVethPair) String() string
- type ExtMountMap
- type InheritFd
- type JoinNamespace
- func (*JoinNamespace) Descriptor() ([]byte, []int)deprecated
- func (x *JoinNamespace) GetExtraOpt() string
- func (x *JoinNamespace) GetNs() string
- func (x *JoinNamespace) GetNsFile() string
- func (*JoinNamespace) ProtoMessage()
- func (x *JoinNamespace) ProtoReflect() protoreflect.Message
- func (x *JoinNamespace) Reset()
- func (x *JoinNamespace) String() string
- type UnixSk
Constants ¶
const ( Default_CriuOpts_LogLevel = int32(2) Default_CriuOpts_CpuCap = uint32(4294967295) Default_CriuOpts_GhostLimit = uint32(1048576) Default_CriuOpts_PreDumpMode = CriuPreDumpMode_SPLICE )
Default values for CriuOpts fields.
Variables ¶
var ( CriuCgMode_name = map[int32]string{ 0: "IGNORE", 1: "CG_NONE", 2: "PROPS", 3: "SOFT", 4: "FULL", 5: "STRICT", 6: "DEFAULT", } CriuCgMode_value = map[string]int32{ "IGNORE": 0, "CG_NONE": 1, "PROPS": 2, "SOFT": 3, "FULL": 4, "STRICT": 5, "DEFAULT": 6, } )
Enum value maps for CriuCgMode.
var ( CriuPreDumpMode_name = map[int32]string{ 1: "SPLICE", 2: "VM_READ", } CriuPreDumpMode_value = map[string]int32{ "SPLICE": 1, "VM_READ": 2, } )
Enum value maps for CriuPreDumpMode.
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", 10: "VERSION", 11: "WAIT_PID", 12: "PAGE_SERVER_CHLD", } 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, "VERSION": 10, "WAIT_PID": 11, "PAGE_SERVER_CHLD": 12, } )
Enum value maps for CriuReqType.
var File_rpc_rpc_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
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"` // contains filtered or unexported fields }
func (*CgroupRoot) Descriptor
deprecated
func (*CgroupRoot) Descriptor() ([]byte, []int)
Deprecated: Use CgroupRoot.ProtoReflect.Descriptor instead.
func (*CgroupRoot) GetCtrl ¶
func (x *CgroupRoot) GetCtrl() string
func (*CgroupRoot) GetPath ¶
func (x *CgroupRoot) GetPath() string
func (*CgroupRoot) ProtoMessage ¶
func (*CgroupRoot) ProtoMessage()
func (*CgroupRoot) ProtoReflect ¶
func (x *CgroupRoot) ProtoReflect() protoreflect.Message
func (*CgroupRoot) Reset ¶
func (x *CgroupRoot) Reset()
func (*CgroupRoot) String ¶
func (x *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) Descriptor ¶
func (CriuCgMode) Descriptor() protoreflect.EnumDescriptor
func (CriuCgMode) Enum ¶
func (x CriuCgMode) Enum() *CriuCgMode
func (CriuCgMode) EnumDescriptor
deprecated
func (CriuCgMode) EnumDescriptor() ([]byte, []int)
Deprecated: Use CriuCgMode.Descriptor instead.
func (CriuCgMode) Number ¶
func (x CriuCgMode) Number() protoreflect.EnumNumber
func (CriuCgMode) String ¶
func (x CriuCgMode) String() string
func (CriuCgMode) Type ¶
func (CriuCgMode) Type() protoreflect.EnumType
func (*CriuCgMode) UnmarshalJSON
deprecated
func (x *CriuCgMode) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
type CriuDumpResp ¶
type CriuDumpResp struct { Restored *bool `protobuf:"varint,1,opt,name=restored" json:"restored,omitempty"` // contains filtered or unexported fields }
func (*CriuDumpResp) Descriptor
deprecated
func (*CriuDumpResp) Descriptor() ([]byte, []int)
Deprecated: Use CriuDumpResp.ProtoReflect.Descriptor instead.
func (*CriuDumpResp) GetRestored ¶
func (x *CriuDumpResp) GetRestored() bool
func (*CriuDumpResp) ProtoMessage ¶
func (*CriuDumpResp) ProtoMessage()
func (*CriuDumpResp) ProtoReflect ¶
func (x *CriuDumpResp) ProtoReflect() protoreflect.Message
func (*CriuDumpResp) Reset ¶
func (x *CriuDumpResp) Reset()
func (*CriuDumpResp) String ¶
func (x *CriuDumpResp) String() string
type CriuFeatures ¶
type CriuFeatures struct { MemTrack *bool `protobuf:"varint,1,opt,name=mem_track,json=memTrack" json:"mem_track,omitempty"` LazyPages *bool `protobuf:"varint,2,opt,name=lazy_pages,json=lazyPages" json:"lazy_pages,omitempty"` PidfdStore *bool `protobuf:"varint,3,opt,name=pidfd_store,json=pidfdStore" json:"pidfd_store,omitempty"` // contains filtered or unexported fields }
List of features which can queried via CRIU_REQ_TYPE__FEATURE_CHECK
func (*CriuFeatures) Descriptor
deprecated
func (*CriuFeatures) Descriptor() ([]byte, []int)
Deprecated: Use CriuFeatures.ProtoReflect.Descriptor instead.
func (*CriuFeatures) GetLazyPages ¶
func (x *CriuFeatures) GetLazyPages() bool
func (*CriuFeatures) GetMemTrack ¶
func (x *CriuFeatures) GetMemTrack() bool
func (*CriuFeatures) GetPidfdStore ¶ added in v5.1.0
func (x *CriuFeatures) GetPidfdStore() bool
func (*CriuFeatures) ProtoMessage ¶
func (*CriuFeatures) ProtoMessage()
func (*CriuFeatures) ProtoReflect ¶
func (x *CriuFeatures) ProtoReflect() protoreflect.Message
func (*CriuFeatures) Reset ¶
func (x *CriuFeatures) Reset()
func (*CriuFeatures) String ¶
func (x *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"` // contains filtered or unexported fields }
func (*CriuNotify) Descriptor
deprecated
func (*CriuNotify) Descriptor() ([]byte, []int)
Deprecated: Use CriuNotify.ProtoReflect.Descriptor instead.
func (*CriuNotify) GetPid ¶
func (x *CriuNotify) GetPid() int32
func (*CriuNotify) GetScript ¶
func (x *CriuNotify) GetScript() string
func (*CriuNotify) ProtoMessage ¶
func (*CriuNotify) ProtoMessage()
func (*CriuNotify) ProtoReflect ¶
func (x *CriuNotify) ProtoReflect() protoreflect.Message
func (*CriuNotify) Reset ¶
func (x *CriuNotify) Reset()
func (*CriuNotify) String ¶
func (x *CriuNotify) String() string
type CriuOpts ¶
type CriuOpts struct { ImagesDirFd *int32 `protobuf:"varint,1,req,name=images_dir_fd,json=imagesDirFd" json:"images_dir_fd,omitempty"` Pid *int32 `protobuf:"varint,2,opt,name=pid" json:"pid,omitempty"` // if not set on dump, will dump requesting process LeaveRunning *bool `protobuf:"varint,3,opt,name=leave_running,json=leaveRunning" json:"leave_running,omitempty"` ExtUnixSk *bool `protobuf:"varint,4,opt,name=ext_unix_sk,json=extUnixSk" json:"ext_unix_sk,omitempty"` TcpEstablished *bool `protobuf:"varint,5,opt,name=tcp_established,json=tcpEstablished" json:"tcp_established,omitempty"` EvasiveDevices *bool `protobuf:"varint,6,opt,name=evasive_devices,json=evasiveDevices" json:"evasive_devices,omitempty"` ShellJob *bool `protobuf:"varint,7,opt,name=shell_job,json=shellJob" json:"shell_job,omitempty"` FileLocks *bool `protobuf:"varint,8,opt,name=file_locks,json=fileLocks" json:"file_locks,omitempty"` LogLevel *int32 `protobuf:"varint,9,opt,name=log_level,json=logLevel,def=2" json:"log_level,omitempty"` LogFile *string `protobuf:"bytes,10,opt,name=log_file,json=logFile" json:"log_file,omitempty"` // No subdirs are allowed. Consider using work-dir Ps *CriuPageServerInfo `protobuf:"bytes,11,opt,name=ps" json:"ps,omitempty"` NotifyScripts *bool `protobuf:"varint,12,opt,name=notify_scripts,json=notifyScripts" 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=parentImg" json:"parent_img,omitempty"` TrackMem *bool `protobuf:"varint,15,opt,name=track_mem,json=trackMem" json:"track_mem,omitempty"` AutoDedup *bool `protobuf:"varint,16,opt,name=auto_dedup,json=autoDedup" json:"auto_dedup,omitempty"` WorkDirFd *int32 `protobuf:"varint,17,opt,name=work_dir_fd,json=workDirFd" json:"work_dir_fd,omitempty"` LinkRemap *bool `protobuf:"varint,18,opt,name=link_remap,json=linkRemap" json:"link_remap,omitempty"` Veths []*CriuVethPair `protobuf:"bytes,19,rep,name=veths" json:"veths,omitempty"` // DEPRECATED, use external instead CpuCap *uint32 `protobuf:"varint,20,opt,name=cpu_cap,json=cpuCap,def=4294967295" json:"cpu_cap,omitempty"` ForceIrmap *bool `protobuf:"varint,21,opt,name=force_irmap,json=forceIrmap" json:"force_irmap,omitempty"` ExecCmd []string `protobuf:"bytes,22,rep,name=exec_cmd,json=execCmd" json:"exec_cmd,omitempty"` ExtMnt []*ExtMountMap `protobuf:"bytes,23,rep,name=ext_mnt,json=extMnt" json:"ext_mnt,omitempty"` // DEPRECATED, use external instead ManageCgroups *bool `protobuf:"varint,24,opt,name=manage_cgroups,json=manageCgroups" json:"manage_cgroups,omitempty"` // backward compatibility CgRoot []*CgroupRoot `protobuf:"bytes,25,rep,name=cg_root,json=cgRoot" json:"cg_root,omitempty"` RstSibling *bool `protobuf:"varint,26,opt,name=rst_sibling,json=rstSibling" json:"rst_sibling,omitempty"` // swrk only InheritFd []*InheritFd `protobuf:"bytes,27,rep,name=inherit_fd,json=inheritFd" json:"inherit_fd,omitempty"` // swrk only AutoExtMnt *bool `protobuf:"varint,28,opt,name=auto_ext_mnt,json=autoExtMnt" json:"auto_ext_mnt,omitempty"` ExtSharing *bool `protobuf:"varint,29,opt,name=ext_sharing,json=extSharing" json:"ext_sharing,omitempty"` ExtMasters *bool `protobuf:"varint,30,opt,name=ext_masters,json=extMasters" json:"ext_masters,omitempty"` SkipMnt []string `protobuf:"bytes,31,rep,name=skip_mnt,json=skipMnt" json:"skip_mnt,omitempty"` EnableFs []string `protobuf:"bytes,32,rep,name=enable_fs,json=enableFs" json:"enable_fs,omitempty"` UnixSkIno []*UnixSk `protobuf:"bytes,33,rep,name=unix_sk_ino,json=unixSkIno" json:"unix_sk_ino,omitempty"` // DEPRECATED, use external instead ManageCgroupsMode *CriuCgMode `protobuf:"varint,34,opt,name=manage_cgroups_mode,json=manageCgroupsMode,enum=CriuCgMode" json:"manage_cgroups_mode,omitempty"` GhostLimit *uint32 `protobuf:"varint,35,opt,name=ghost_limit,json=ghostLimit,def=1048576" json:"ghost_limit,omitempty"` IrmapScanPaths []string `protobuf:"bytes,36,rep,name=irmap_scan_paths,json=irmapScanPaths" 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=emptyNs" json:"empty_ns,omitempty"` JoinNs []*JoinNamespace `protobuf:"bytes,39,rep,name=join_ns,json=joinNs" json:"join_ns,omitempty"` CgroupProps *string `protobuf:"bytes,41,opt,name=cgroup_props,json=cgroupProps" json:"cgroup_props,omitempty"` CgroupPropsFile *string `protobuf:"bytes,42,opt,name=cgroup_props_file,json=cgroupPropsFile" json:"cgroup_props_file,omitempty"` CgroupDumpController []string `protobuf:"bytes,43,rep,name=cgroup_dump_controller,json=cgroupDumpController" json:"cgroup_dump_controller,omitempty"` FreezeCgroup *string `protobuf:"bytes,44,opt,name=freeze_cgroup,json=freezeCgroup" 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=tcpSkipInFlight" json:"tcp_skip_in_flight,omitempty"` WeakSysctls *bool `protobuf:"varint,47,opt,name=weak_sysctls,json=weakSysctls" json:"weak_sysctls,omitempty"` LazyPages *bool `protobuf:"varint,48,opt,name=lazy_pages,json=lazyPages" json:"lazy_pages,omitempty"` StatusFd *int32 `protobuf:"varint,49,opt,name=status_fd,json=statusFd" json:"status_fd,omitempty"` OrphanPtsMaster *bool `protobuf:"varint,50,opt,name=orphan_pts_master,json=orphanPtsMaster" json:"orphan_pts_master,omitempty"` ConfigFile *string `protobuf:"bytes,51,opt,name=config_file,json=configFile" json:"config_file,omitempty"` TcpClose *bool `protobuf:"varint,52,opt,name=tcp_close,json=tcpClose" json:"tcp_close,omitempty"` LsmProfile *string `protobuf:"bytes,53,opt,name=lsm_profile,json=lsmProfile" json:"lsm_profile,omitempty"` TlsCacert *string `protobuf:"bytes,54,opt,name=tls_cacert,json=tlsCacert" json:"tls_cacert,omitempty"` TlsCacrl *string `protobuf:"bytes,55,opt,name=tls_cacrl,json=tlsCacrl" json:"tls_cacrl,omitempty"` TlsCert *string `protobuf:"bytes,56,opt,name=tls_cert,json=tlsCert" json:"tls_cert,omitempty"` TlsKey *string `protobuf:"bytes,57,opt,name=tls_key,json=tlsKey" json:"tls_key,omitempty"` Tls *bool `protobuf:"varint,58,opt,name=tls" json:"tls,omitempty"` TlsNoCnVerify *bool `protobuf:"varint,59,opt,name=tls_no_cn_verify,json=tlsNoCnVerify" json:"tls_no_cn_verify,omitempty"` CgroupYard *string `protobuf:"bytes,60,opt,name=cgroup_yard,json=cgroupYard" json:"cgroup_yard,omitempty"` PreDumpMode *CriuPreDumpMode `protobuf:"varint,61,opt,name=pre_dump_mode,json=preDumpMode,enum=CriuPreDumpMode,def=1" json:"pre_dump_mode,omitempty"` PidfdStoreSk *int32 `protobuf:"varint,62,opt,name=pidfd_store_sk,json=pidfdStoreSk" json:"pidfd_store_sk,omitempty"` LsmMountContext *string `protobuf:"bytes,63,opt,name=lsm_mount_context,json=lsmMountContext" json:"lsm_mount_context,omitempty"` // optional bool check_mounts = 128; // contains filtered or unexported fields }
func (*CriuOpts) Descriptor
deprecated
func (*CriuOpts) GetAutoDedup ¶
func (*CriuOpts) GetAutoExtMnt ¶
func (*CriuOpts) GetCgRoot ¶
func (x *CriuOpts) GetCgRoot() []*CgroupRoot
func (*CriuOpts) GetCgroupDumpController ¶
func (*CriuOpts) GetCgroupProps ¶
func (*CriuOpts) GetCgroupPropsFile ¶
func (*CriuOpts) GetCgroupYard ¶
func (*CriuOpts) GetConfigFile ¶
func (*CriuOpts) GetEmptyNs ¶
func (*CriuOpts) GetEnableFs ¶
func (*CriuOpts) GetEvasiveDevices ¶
func (*CriuOpts) GetExecCmd ¶
func (*CriuOpts) GetExtMasters ¶
func (*CriuOpts) GetExtMnt ¶
func (x *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 (x *CriuOpts) GetJoinNs() []*JoinNamespace
func (*CriuOpts) GetLazyPages ¶
func (*CriuOpts) GetLeaveRunning ¶
func (*CriuOpts) GetLinkRemap ¶
func (*CriuOpts) GetLogFile ¶
func (*CriuOpts) GetLogLevel ¶
func (*CriuOpts) GetLsmMountContext ¶ added in v5.1.0
func (*CriuOpts) GetLsmProfile ¶
func (*CriuOpts) GetManageCgroups ¶
func (*CriuOpts) GetManageCgroupsMode ¶
func (x *CriuOpts) GetManageCgroupsMode() CriuCgMode
func (*CriuOpts) GetNotifyScripts ¶
func (*CriuOpts) GetOrphanPtsMaster ¶
func (*CriuOpts) GetParentImg ¶
func (*CriuOpts) GetPidfdStoreSk ¶ added in v5.1.0
func (*CriuOpts) GetPreDumpMode ¶
func (x *CriuOpts) GetPreDumpMode() CriuPreDumpMode
func (*CriuOpts) GetPs ¶
func (x *CriuOpts) GetPs() *CriuPageServerInfo
func (*CriuOpts) GetRstSibling ¶
func (*CriuOpts) GetShellJob ¶
func (*CriuOpts) GetSkipMnt ¶
func (*CriuOpts) GetStatusFd ¶
func (*CriuOpts) GetTcpClose ¶
func (*CriuOpts) GetTcpEstablished ¶
func (*CriuOpts) GetTcpSkipInFlight ¶
func (*CriuOpts) GetTimeout ¶
func (*CriuOpts) GetTlsCacert ¶
func (*CriuOpts) GetTlsCacrl ¶
func (*CriuOpts) GetTlsCert ¶
func (*CriuOpts) GetTlsNoCnVerify ¶
func (*CriuOpts) GetTrackMem ¶
func (*CriuOpts) GetUnixSkIno ¶
func (*CriuOpts) GetVeths ¶
func (x *CriuOpts) GetVeths() []*CriuVethPair
func (*CriuOpts) GetWeakSysctls ¶
func (*CriuOpts) GetWorkDirFd ¶
func (*CriuOpts) ProtoMessage ¶
func (*CriuOpts) ProtoMessage()
func (*CriuOpts) ProtoReflect ¶
func (x *CriuOpts) ProtoReflect() protoreflect.Message
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"` // contains filtered or unexported fields }
func (*CriuPageServerInfo) Descriptor
deprecated
func (*CriuPageServerInfo) Descriptor() ([]byte, []int)
Deprecated: Use CriuPageServerInfo.ProtoReflect.Descriptor instead.
func (*CriuPageServerInfo) GetAddress ¶
func (x *CriuPageServerInfo) GetAddress() string
func (*CriuPageServerInfo) GetFd ¶
func (x *CriuPageServerInfo) GetFd() int32
func (*CriuPageServerInfo) GetPid ¶
func (x *CriuPageServerInfo) GetPid() int32
func (*CriuPageServerInfo) GetPort ¶
func (x *CriuPageServerInfo) GetPort() int32
func (*CriuPageServerInfo) ProtoMessage ¶
func (*CriuPageServerInfo) ProtoMessage()
func (*CriuPageServerInfo) ProtoReflect ¶
func (x *CriuPageServerInfo) ProtoReflect() protoreflect.Message
func (*CriuPageServerInfo) Reset ¶
func (x *CriuPageServerInfo) Reset()
func (*CriuPageServerInfo) String ¶
func (x *CriuPageServerInfo) String() string
type CriuPreDumpMode ¶
type CriuPreDumpMode int32
const ( CriuPreDumpMode_SPLICE CriuPreDumpMode = 1 CriuPreDumpMode_VM_READ CriuPreDumpMode = 2 )
func (CriuPreDumpMode) Descriptor ¶
func (CriuPreDumpMode) Descriptor() protoreflect.EnumDescriptor
func (CriuPreDumpMode) Enum ¶
func (x CriuPreDumpMode) Enum() *CriuPreDumpMode
func (CriuPreDumpMode) EnumDescriptor
deprecated
func (CriuPreDumpMode) EnumDescriptor() ([]byte, []int)
Deprecated: Use CriuPreDumpMode.Descriptor instead.
func (CriuPreDumpMode) Number ¶
func (x CriuPreDumpMode) Number() protoreflect.EnumNumber
func (CriuPreDumpMode) String ¶
func (x CriuPreDumpMode) String() string
func (CriuPreDumpMode) Type ¶
func (CriuPreDumpMode) Type() protoreflect.EnumType
func (*CriuPreDumpMode) UnmarshalJSON
deprecated
func (x *CriuPreDumpMode) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
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=notifySuccess" 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=keepOpen" 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"` // 'pid' is used for WAIT_PID Pid *uint32 `protobuf:"varint,6,opt,name=pid" json:"pid,omitempty"` // contains filtered or unexported fields }
func (*CriuReq) Descriptor
deprecated
func (*CriuReq) GetFeatures ¶
func (x *CriuReq) GetFeatures() *CriuFeatures
func (*CriuReq) GetKeepOpen ¶
func (*CriuReq) GetNotifySuccess ¶
func (*CriuReq) GetType ¶
func (x *CriuReq) GetType() CriuReqType
func (*CriuReq) ProtoMessage ¶
func (*CriuReq) ProtoMessage()
func (*CriuReq) ProtoReflect ¶
func (x *CriuReq) ProtoReflect() protoreflect.Message
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 CriuReqType_VERSION CriuReqType = 10 CriuReqType_WAIT_PID CriuReqType = 11 CriuReqType_PAGE_SERVER_CHLD CriuReqType = 12 )
func (CriuReqType) Descriptor ¶
func (CriuReqType) Descriptor() protoreflect.EnumDescriptor
func (CriuReqType) Enum ¶
func (x CriuReqType) Enum() *CriuReqType
func (CriuReqType) EnumDescriptor
deprecated
func (CriuReqType) EnumDescriptor() ([]byte, []int)
Deprecated: Use CriuReqType.Descriptor instead.
func (CriuReqType) Number ¶
func (x CriuReqType) Number() protoreflect.EnumNumber
func (CriuReqType) String ¶
func (x CriuReqType) String() string
func (CriuReqType) Type ¶
func (CriuReqType) Type() protoreflect.EnumType
func (*CriuReqType) UnmarshalJSON
deprecated
func (x *CriuReqType) UnmarshalJSON(b []byte) error
Deprecated: Do not use.
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=crErrno" 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=crErrmsg" json:"cr_errmsg,omitempty"` Version *CriuVersion `protobuf:"bytes,10,opt,name=version" json:"version,omitempty"` Status *int32 `protobuf:"varint,11,opt,name=status" json:"status,omitempty"` // contains filtered or unexported fields }
func (*CriuResp) Descriptor
deprecated
func (*CriuResp) GetCrErrmsg ¶
func (*CriuResp) GetCrErrno ¶
func (*CriuResp) GetDump ¶
func (x *CriuResp) GetDump() *CriuDumpResp
func (*CriuResp) GetFeatures ¶
func (x *CriuResp) GetFeatures() *CriuFeatures
func (*CriuResp) GetNotify ¶
func (x *CriuResp) GetNotify() *CriuNotify
func (*CriuResp) GetPs ¶
func (x *CriuResp) GetPs() *CriuPageServerInfo
func (*CriuResp) GetRestore ¶
func (x *CriuResp) GetRestore() *CriuRestoreResp
func (*CriuResp) GetSuccess ¶
func (*CriuResp) GetType ¶
func (x *CriuResp) GetType() CriuReqType
func (*CriuResp) GetVersion ¶
func (x *CriuResp) GetVersion() *CriuVersion
func (*CriuResp) ProtoMessage ¶
func (*CriuResp) ProtoMessage()
func (*CriuResp) ProtoReflect ¶
func (x *CriuResp) ProtoReflect() protoreflect.Message
type CriuRestoreResp ¶
type CriuRestoreResp struct { Pid *int32 `protobuf:"varint,1,req,name=pid" json:"pid,omitempty"` // contains filtered or unexported fields }
func (*CriuRestoreResp) Descriptor
deprecated
func (*CriuRestoreResp) Descriptor() ([]byte, []int)
Deprecated: Use CriuRestoreResp.ProtoReflect.Descriptor instead.
func (*CriuRestoreResp) GetPid ¶
func (x *CriuRestoreResp) GetPid() int32
func (*CriuRestoreResp) ProtoMessage ¶
func (*CriuRestoreResp) ProtoMessage()
func (*CriuRestoreResp) ProtoReflect ¶
func (x *CriuRestoreResp) ProtoReflect() protoreflect.Message
func (*CriuRestoreResp) Reset ¶
func (x *CriuRestoreResp) Reset()
func (*CriuRestoreResp) String ¶
func (x *CriuRestoreResp) String() string
type CriuVersion ¶
type CriuVersion struct { MajorNumber *int32 `protobuf:"varint,1,req,name=major_number,json=majorNumber" json:"major_number,omitempty"` MinorNumber *int32 `protobuf:"varint,2,req,name=minor_number,json=minorNumber" json:"minor_number,omitempty"` Gitid *string `protobuf:"bytes,3,opt,name=gitid" json:"gitid,omitempty"` Sublevel *int32 `protobuf:"varint,4,opt,name=sublevel" json:"sublevel,omitempty"` Extra *int32 `protobuf:"varint,5,opt,name=extra" json:"extra,omitempty"` Name *string `protobuf:"bytes,6,opt,name=name" json:"name,omitempty"` // contains filtered or unexported fields }
Answer for criu_req_type.VERSION requests
func (*CriuVersion) Descriptor
deprecated
func (*CriuVersion) Descriptor() ([]byte, []int)
Deprecated: Use CriuVersion.ProtoReflect.Descriptor instead.
func (*CriuVersion) GetExtra ¶
func (x *CriuVersion) GetExtra() int32
func (*CriuVersion) GetGitid ¶
func (x *CriuVersion) GetGitid() string
func (*CriuVersion) GetMajorNumber ¶
func (x *CriuVersion) GetMajorNumber() int32
func (*CriuVersion) GetMinorNumber ¶
func (x *CriuVersion) GetMinorNumber() int32
func (*CriuVersion) GetName ¶
func (x *CriuVersion) GetName() string
func (*CriuVersion) GetSublevel ¶
func (x *CriuVersion) GetSublevel() int32
func (*CriuVersion) ProtoMessage ¶
func (*CriuVersion) ProtoMessage()
func (*CriuVersion) ProtoReflect ¶
func (x *CriuVersion) ProtoReflect() protoreflect.Message
func (*CriuVersion) Reset ¶
func (x *CriuVersion) Reset()
func (*CriuVersion) String ¶
func (x *CriuVersion) String() string
type CriuVethPair ¶
type CriuVethPair struct { IfIn *string `protobuf:"bytes,1,req,name=if_in,json=ifIn" json:"if_in,omitempty"` IfOut *string `protobuf:"bytes,2,req,name=if_out,json=ifOut" json:"if_out,omitempty"` // contains filtered or unexported fields }
func (*CriuVethPair) Descriptor
deprecated
func (*CriuVethPair) Descriptor() ([]byte, []int)
Deprecated: Use CriuVethPair.ProtoReflect.Descriptor instead.
func (*CriuVethPair) GetIfIn ¶
func (x *CriuVethPair) GetIfIn() string
func (*CriuVethPair) GetIfOut ¶
func (x *CriuVethPair) GetIfOut() string
func (*CriuVethPair) ProtoMessage ¶
func (*CriuVethPair) ProtoMessage()
func (*CriuVethPair) ProtoReflect ¶
func (x *CriuVethPair) ProtoReflect() protoreflect.Message
func (*CriuVethPair) Reset ¶
func (x *CriuVethPair) Reset()
func (*CriuVethPair) String ¶
func (x *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"` // contains filtered or unexported fields }
func (*ExtMountMap) Descriptor
deprecated
func (*ExtMountMap) Descriptor() ([]byte, []int)
Deprecated: Use ExtMountMap.ProtoReflect.Descriptor instead.
func (*ExtMountMap) GetKey ¶
func (x *ExtMountMap) GetKey() string
func (*ExtMountMap) GetVal ¶
func (x *ExtMountMap) GetVal() string
func (*ExtMountMap) ProtoMessage ¶
func (*ExtMountMap) ProtoMessage()
func (*ExtMountMap) ProtoReflect ¶
func (x *ExtMountMap) ProtoReflect() protoreflect.Message
func (*ExtMountMap) Reset ¶
func (x *ExtMountMap) Reset()
func (*ExtMountMap) String ¶
func (x *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"` // contains filtered or unexported fields }
func (*InheritFd) Descriptor
deprecated
func (*InheritFd) ProtoMessage ¶
func (*InheritFd) ProtoMessage()
func (*InheritFd) ProtoReflect ¶
func (x *InheritFd) ProtoReflect() protoreflect.Message
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=nsFile" json:"ns_file,omitempty"` ExtraOpt *string `protobuf:"bytes,3,opt,name=extra_opt,json=extraOpt" json:"extra_opt,omitempty"` // contains filtered or unexported fields }
func (*JoinNamespace) Descriptor
deprecated
func (*JoinNamespace) Descriptor() ([]byte, []int)
Deprecated: Use JoinNamespace.ProtoReflect.Descriptor instead.
func (*JoinNamespace) GetExtraOpt ¶
func (x *JoinNamespace) GetExtraOpt() string
func (*JoinNamespace) GetNs ¶
func (x *JoinNamespace) GetNs() string
func (*JoinNamespace) GetNsFile ¶
func (x *JoinNamespace) GetNsFile() string
func (*JoinNamespace) ProtoMessage ¶
func (*JoinNamespace) ProtoMessage()
func (*JoinNamespace) ProtoReflect ¶
func (x *JoinNamespace) ProtoReflect() protoreflect.Message
func (*JoinNamespace) Reset ¶
func (x *JoinNamespace) Reset()
func (*JoinNamespace) String ¶
func (x *JoinNamespace) String() string
type UnixSk ¶
type UnixSk struct { Inode *uint32 `protobuf:"varint,1,req,name=inode" json:"inode,omitempty"` // contains filtered or unexported fields }
func (*UnixSk) Descriptor
deprecated
func (*UnixSk) ProtoMessage ¶
func (*UnixSk) ProtoMessage()
func (*UnixSk) ProtoReflect ¶
func (x *UnixSk) ProtoReflect() protoreflect.Message