Documentation
¶
Index ¶
- Variables
- type CheckpointOptions
- func (*CheckpointOptions) Descriptor() ([]byte, []int)deprecated
- func (x *CheckpointOptions) GetCgroupsMode() string
- func (x *CheckpointOptions) GetEmptyNamespaces() []string
- func (x *CheckpointOptions) GetExit() bool
- func (x *CheckpointOptions) GetExternalUnixSockets() bool
- func (x *CheckpointOptions) GetFileLocks() bool
- func (x *CheckpointOptions) GetImagePath() string
- func (x *CheckpointOptions) GetOpenTcp() bool
- func (x *CheckpointOptions) GetTerminal() bool
- func (x *CheckpointOptions) GetWorkPath() string
- func (*CheckpointOptions) ProtoMessage()
- func (x *CheckpointOptions) ProtoReflect() protoreflect.Message
- func (x *CheckpointOptions) Reset()
- func (x *CheckpointOptions) String() string
- type Options
- func (*Options) Descriptor() ([]byte, []int)deprecated
- func (x *Options) GetBinaryName() string
- func (x *Options) GetCriuImagePath() string
- func (x *Options) GetCriuWorkPath() string
- func (x *Options) GetIoGid() uint32
- func (x *Options) GetIoUid() uint32
- func (x *Options) GetNoNewKeyring() bool
- func (x *Options) GetNoPivotRoot() bool
- func (x *Options) GetRoot() string
- func (x *Options) GetShimCgroup() string
- func (x *Options) GetSystemdCgroup() bool
- func (*Options) ProtoMessage()
- func (x *Options) ProtoReflect() protoreflect.Message
- func (x *Options) Reset()
- func (x *Options) String() string
- type ProcessDetails
Constants ¶
This section is empty.
Variables ¶
View Source
var File_github_com_containerd_containerd_core_runtime_v2_runc_options_oci_proto protoreflect.FileDescriptor
Functions ¶
This section is empty.
Types ¶
type CheckpointOptions ¶
type CheckpointOptions struct { // exit the container after a checkpoint Exit bool `protobuf:"varint,1,opt,name=exit,proto3" json:"exit,omitempty"` // checkpoint open tcp connections OpenTcp bool `protobuf:"varint,2,opt,name=open_tcp,json=openTcp,proto3" json:"open_tcp,omitempty"` // checkpoint external unix sockets ExternalUnixSockets bool `protobuf:"varint,3,opt,name=external_unix_sockets,json=externalUnixSockets,proto3" json:"external_unix_sockets,omitempty"` // checkpoint terminals (ptys) Terminal bool `protobuf:"varint,4,opt,name=terminal,proto3" json:"terminal,omitempty"` // allow checkpointing of file locks FileLocks bool `protobuf:"varint,5,opt,name=file_locks,json=fileLocks,proto3" json:"file_locks,omitempty"` // restore provided namespaces as empty namespaces EmptyNamespaces []string `protobuf:"bytes,6,rep,name=empty_namespaces,json=emptyNamespaces,proto3" json:"empty_namespaces,omitempty"` // set the cgroups mode, soft, full, strict CgroupsMode string `protobuf:"bytes,7,opt,name=cgroups_mode,json=cgroupsMode,proto3" json:"cgroups_mode,omitempty"` // checkpoint image path ImagePath string `protobuf:"bytes,8,opt,name=image_path,json=imagePath,proto3" json:"image_path,omitempty"` // checkpoint work path WorkPath string `protobuf:"bytes,9,opt,name=work_path,json=workPath,proto3" json:"work_path,omitempty"` // contains filtered or unexported fields }
func (*CheckpointOptions) Descriptor
deprecated
func (*CheckpointOptions) Descriptor() ([]byte, []int)
Deprecated: Use CheckpointOptions.ProtoReflect.Descriptor instead.
func (*CheckpointOptions) GetCgroupsMode ¶
func (x *CheckpointOptions) GetCgroupsMode() string
func (*CheckpointOptions) GetEmptyNamespaces ¶
func (x *CheckpointOptions) GetEmptyNamespaces() []string
func (*CheckpointOptions) GetExit ¶
func (x *CheckpointOptions) GetExit() bool
func (*CheckpointOptions) GetExternalUnixSockets ¶
func (x *CheckpointOptions) GetExternalUnixSockets() bool
func (*CheckpointOptions) GetFileLocks ¶
func (x *CheckpointOptions) GetFileLocks() bool
func (*CheckpointOptions) GetImagePath ¶
func (x *CheckpointOptions) GetImagePath() string
func (*CheckpointOptions) GetOpenTcp ¶
func (x *CheckpointOptions) GetOpenTcp() bool
func (*CheckpointOptions) GetTerminal ¶
func (x *CheckpointOptions) GetTerminal() bool
func (*CheckpointOptions) GetWorkPath ¶
func (x *CheckpointOptions) GetWorkPath() string
func (*CheckpointOptions) ProtoMessage ¶
func (*CheckpointOptions) ProtoMessage()
func (*CheckpointOptions) ProtoReflect ¶
func (x *CheckpointOptions) ProtoReflect() protoreflect.Message
func (*CheckpointOptions) Reset ¶
func (x *CheckpointOptions) Reset()
func (*CheckpointOptions) String ¶
func (x *CheckpointOptions) String() string
type Options ¶
type Options struct { // disable pivot root when creating a container NoPivotRoot bool `protobuf:"varint,1,opt,name=no_pivot_root,json=noPivotRoot,proto3" json:"no_pivot_root,omitempty"` // create a new keyring for the container NoNewKeyring bool `protobuf:"varint,2,opt,name=no_new_keyring,json=noNewKeyring,proto3" json:"no_new_keyring,omitempty"` // place the shim in a cgroup ShimCgroup string `protobuf:"bytes,3,opt,name=shim_cgroup,json=shimCgroup,proto3" json:"shim_cgroup,omitempty"` // set the I/O's pipes uid IoUid uint32 `protobuf:"varint,4,opt,name=io_uid,json=ioUid,proto3" json:"io_uid,omitempty"` // set the I/O's pipes gid IoGid uint32 `protobuf:"varint,5,opt,name=io_gid,json=ioGid,proto3" json:"io_gid,omitempty"` // binary name of the runc binary BinaryName string `protobuf:"bytes,6,opt,name=binary_name,json=binaryName,proto3" json:"binary_name,omitempty"` // runc root directory Root string `protobuf:"bytes,7,opt,name=root,proto3" json:"root,omitempty"` // enable systemd cgroups SystemdCgroup bool `protobuf:"varint,9,opt,name=systemd_cgroup,json=systemdCgroup,proto3" json:"systemd_cgroup,omitempty"` // criu image path CriuImagePath string `protobuf:"bytes,10,opt,name=criu_image_path,json=criuImagePath,proto3" json:"criu_image_path,omitempty"` // criu work path CriuWorkPath string `protobuf:"bytes,11,opt,name=criu_work_path,json=criuWorkPath,proto3" json:"criu_work_path,omitempty"` // contains filtered or unexported fields }
func (*Options) Descriptor
deprecated
func (*Options) GetBinaryName ¶
func (*Options) GetCriuImagePath ¶
func (*Options) GetCriuWorkPath ¶
func (*Options) GetNoNewKeyring ¶
func (*Options) GetNoPivotRoot ¶
func (*Options) GetShimCgroup ¶
func (*Options) GetSystemdCgroup ¶
func (*Options) ProtoMessage ¶
func (*Options) ProtoMessage()
func (*Options) ProtoReflect ¶
func (x *Options) ProtoReflect() protoreflect.Message
type ProcessDetails ¶
type ProcessDetails struct { // exec process id if the process is managed by a shim ExecID string `protobuf:"bytes,1,opt,name=exec_id,json=execId,proto3" json:"exec_id,omitempty"` // contains filtered or unexported fields }
func (*ProcessDetails) Descriptor
deprecated
func (*ProcessDetails) Descriptor() ([]byte, []int)
Deprecated: Use ProcessDetails.ProtoReflect.Descriptor instead.
func (*ProcessDetails) GetExecID ¶
func (x *ProcessDetails) GetExecID() string
func (*ProcessDetails) ProtoMessage ¶
func (*ProcessDetails) ProtoMessage()
func (*ProcessDetails) ProtoReflect ¶
func (x *ProcessDetails) ProtoReflect() protoreflect.Message
func (*ProcessDetails) Reset ¶
func (x *ProcessDetails) Reset()
func (*ProcessDetails) String ¶
func (x *ProcessDetails) String() string
Click to show internal directories.
Click to hide internal directories.