options

package
v1.3.5 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2020 License: Apache-2.0 Imports: 6 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

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,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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

func (*CheckpointOptions) XXX_DiscardUnknown added in v1.3.0

func (m *CheckpointOptions) XXX_DiscardUnknown()

func (*CheckpointOptions) XXX_Marshal added in v1.3.0

func (m *CheckpointOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CheckpointOptions) XXX_Merge added in v1.3.0

func (m *CheckpointOptions) XXX_Merge(src proto.Message)

func (*CheckpointOptions) XXX_Size added in v1.3.0

func (m *CheckpointOptions) XXX_Size() int

func (*CheckpointOptions) XXX_Unmarshal added in v1.3.0

func (m *CheckpointOptions) XXX_Unmarshal(b []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"`
	// 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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

func (*Options) XXX_DiscardUnknown added in v1.3.0

func (m *Options) XXX_DiscardUnknown()

func (*Options) XXX_Marshal added in v1.3.0

func (m *Options) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Options) XXX_Merge added in v1.3.0

func (m *Options) XXX_Merge(src proto.Message)

func (*Options) XXX_Size added in v1.3.0

func (m *Options) XXX_Size() int

func (*Options) XXX_Unmarshal added in v1.3.0

func (m *Options) XXX_Unmarshal(b []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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

func (*ProcessDetails) XXX_DiscardUnknown added in v1.3.0

func (m *ProcessDetails) XXX_DiscardUnknown()

func (*ProcessDetails) XXX_Marshal added in v1.3.0

func (m *ProcessDetails) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ProcessDetails) XXX_Merge added in v1.3.0

func (m *ProcessDetails) XXX_Merge(src proto.Message)

func (*ProcessDetails) XXX_Size added in v1.3.0

func (m *ProcessDetails) XXX_Size() int

func (*ProcessDetails) XXX_Unmarshal added in v1.3.0

func (m *ProcessDetails) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

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