options

package
v1.7.15 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 5, 2024 License: Apache-2.0 Imports: 4 Imported by: 720

Documentation

Index

Constants

This section is empty.

Variables

View Source
var File_github_com_containerd_containerd_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 added in v1.7.0

func (x *CheckpointOptions) GetCgroupsMode() string

func (*CheckpointOptions) GetEmptyNamespaces added in v1.7.0

func (x *CheckpointOptions) GetEmptyNamespaces() []string

func (*CheckpointOptions) GetExit added in v1.7.0

func (x *CheckpointOptions) GetExit() bool

func (*CheckpointOptions) GetExternalUnixSockets added in v1.7.0

func (x *CheckpointOptions) GetExternalUnixSockets() bool

func (*CheckpointOptions) GetFileLocks added in v1.7.0

func (x *CheckpointOptions) GetFileLocks() bool

func (*CheckpointOptions) GetImagePath added in v1.7.0

func (x *CheckpointOptions) GetImagePath() string

func (*CheckpointOptions) GetOpenTcp added in v1.7.0

func (x *CheckpointOptions) GetOpenTcp() bool

func (*CheckpointOptions) GetTerminal added in v1.7.0

func (x *CheckpointOptions) GetTerminal() bool

func (*CheckpointOptions) GetWorkPath added in v1.7.0

func (x *CheckpointOptions) GetWorkPath() string

func (*CheckpointOptions) ProtoMessage

func (*CheckpointOptions) ProtoMessage()

func (*CheckpointOptions) ProtoReflect added in v1.7.0

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"`
	// criu binary path.
	//
	// Deprecated: runc option --criu is now ignored (with a warning), and the
	// option will be removed entirely in a future release. Users who need a non-
	// standard criu binary should rely on the standard way of looking up binaries
	// in $PATH.
	//
	// Deprecated: Do not use.
	CriuPath string `protobuf:"bytes,8,opt,name=criu_path,json=criuPath,proto3" json:"criu_path,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) Descriptor() ([]byte, []int)

Deprecated: Use Options.ProtoReflect.Descriptor instead.

func (*Options) GetBinaryName added in v1.7.0

func (x *Options) GetBinaryName() string

func (*Options) GetCriuImagePath added in v1.7.0

func (x *Options) GetCriuImagePath() string

func (*Options) GetCriuPath deprecated added in v1.7.0

func (x *Options) GetCriuPath() string

Deprecated: Do not use.

func (*Options) GetCriuWorkPath added in v1.7.0

func (x *Options) GetCriuWorkPath() string

func (*Options) GetIoGid added in v1.7.0

func (x *Options) GetIoGid() uint32

func (*Options) GetIoUid added in v1.7.0

func (x *Options) GetIoUid() uint32

func (*Options) GetNoNewKeyring added in v1.7.0

func (x *Options) GetNoNewKeyring() bool

func (*Options) GetNoPivotRoot added in v1.7.0

func (x *Options) GetNoPivotRoot() bool

func (*Options) GetRoot added in v1.7.0

func (x *Options) GetRoot() string

func (*Options) GetShimCgroup added in v1.7.0

func (x *Options) GetShimCgroup() string

func (*Options) GetSystemdCgroup added in v1.7.0

func (x *Options) GetSystemdCgroup() bool

func (*Options) ProtoMessage

func (*Options) ProtoMessage()

func (*Options) ProtoReflect added in v1.7.0

func (x *Options) ProtoReflect() protoreflect.Message

func (*Options) Reset

func (x *Options) Reset()

func (*Options) String

func (x *Options) String() string

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 added in v1.7.0

func (x *ProcessDetails) GetExecID() string

func (*ProcessDetails) ProtoMessage

func (*ProcessDetails) ProtoMessage()

func (*ProcessDetails) ProtoReflect added in v1.7.0

func (x *ProcessDetails) ProtoReflect() protoreflect.Message

func (*ProcessDetails) Reset

func (x *ProcessDetails) Reset()

func (*ProcessDetails) String

func (x *ProcessDetails) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL