options

package
v1.2.0-beta.0 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2018 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package options is a generated protocol buffer package.

It is generated from these files:

github.com/containerd/containerd/runtime/v2/runc/options/oci.proto

It has these top-level messages:

Options
CheckpointOptions
ProcessDetails

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthOci = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowOci   = fmt.Errorf("proto: integer overflow")
)

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" 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"`
}

func (*CheckpointOptions) Descriptor

func (*CheckpointOptions) Descriptor() ([]byte, []int)

func (*CheckpointOptions) Marshal

func (m *CheckpointOptions) Marshal() (dAtA []byte, err error)

func (*CheckpointOptions) MarshalTo

func (m *CheckpointOptions) MarshalTo(dAtA []byte) (int, error)

func (*CheckpointOptions) ProtoMessage

func (*CheckpointOptions) ProtoMessage()

func (*CheckpointOptions) Reset

func (m *CheckpointOptions) Reset()

func (*CheckpointOptions) Size

func (m *CheckpointOptions) Size() (n int)

func (*CheckpointOptions) String

func (this *CheckpointOptions) String() string

func (*CheckpointOptions) Unmarshal

func (m *CheckpointOptions) Unmarshal(dAtA []byte) error

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
	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"`
}

func (*Options) Descriptor

func (*Options) Descriptor() ([]byte, []int)

func (*Options) Marshal

func (m *Options) Marshal() (dAtA []byte, err error)

func (*Options) MarshalTo

func (m *Options) MarshalTo(dAtA []byte) (int, error)

func (*Options) ProtoMessage

func (*Options) ProtoMessage()

func (*Options) Reset

func (m *Options) Reset()

func (*Options) Size

func (m *Options) Size() (n int)

func (*Options) String

func (this *Options) String() string

func (*Options) Unmarshal

func (m *Options) Unmarshal(dAtA []byte) error

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"`
}

func (*ProcessDetails) Descriptor

func (*ProcessDetails) Descriptor() ([]byte, []int)

func (*ProcessDetails) Marshal

func (m *ProcessDetails) Marshal() (dAtA []byte, err error)

func (*ProcessDetails) MarshalTo

func (m *ProcessDetails) MarshalTo(dAtA []byte) (int, error)

func (*ProcessDetails) ProtoMessage

func (*ProcessDetails) ProtoMessage()

func (*ProcessDetails) Reset

func (m *ProcessDetails) Reset()

func (*ProcessDetails) Size

func (m *ProcessDetails) Size() (n int)

func (*ProcessDetails) String

func (this *ProcessDetails) String() string

func (*ProcessDetails) Unmarshal

func (m *ProcessDetails) Unmarshal(dAtA []byte) error

Jump to

Keyboard shortcuts

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