runctypes

package
v1.2.6 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2019 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Package runctypes is a generated protocol buffer package.

It is generated from these files:

github.com/containerd/containerd/runtime/linux/runctypes/runc.proto

It has these top-level messages:

RuncOptions
CreateOptions
CheckpointOptions
ProcessDetails

Index

Constants

This section is empty.

Variables

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

Functions

This section is empty.

Types

type CheckpointOptions

type CheckpointOptions struct {
	Exit                bool     `protobuf:"varint,1,opt,name=exit,proto3" json:"exit,omitempty"`
	OpenTcp             bool     `protobuf:"varint,2,opt,name=open_tcp,json=openTcp,proto3" json:"open_tcp,omitempty"`
	ExternalUnixSockets bool     `protobuf:"varint,3,opt,name=external_unix_sockets,json=externalUnixSockets,proto3" json:"external_unix_sockets,omitempty"`
	Terminal            bool     `protobuf:"varint,4,opt,name=terminal,proto3" json:"terminal,omitempty"`
	FileLocks           bool     `protobuf:"varint,5,opt,name=file_locks,json=fileLocks,proto3" json:"file_locks,omitempty"`
	EmptyNamespaces     []string `protobuf:"bytes,6,rep,name=empty_namespaces,json=emptyNamespaces" json:"empty_namespaces,omitempty"`
	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 CreateOptions

type CreateOptions struct {
	NoPivotRoot         bool     `protobuf:"varint,1,opt,name=no_pivot_root,json=noPivotRoot,proto3" json:"no_pivot_root,omitempty"`
	OpenTcp             bool     `protobuf:"varint,2,opt,name=open_tcp,json=openTcp,proto3" json:"open_tcp,omitempty"`
	ExternalUnixSockets bool     `protobuf:"varint,3,opt,name=external_unix_sockets,json=externalUnixSockets,proto3" json:"external_unix_sockets,omitempty"`
	Terminal            bool     `protobuf:"varint,4,opt,name=terminal,proto3" json:"terminal,omitempty"`
	FileLocks           bool     `protobuf:"varint,5,opt,name=file_locks,json=fileLocks,proto3" json:"file_locks,omitempty"`
	EmptyNamespaces     []string `protobuf:"bytes,6,rep,name=empty_namespaces,json=emptyNamespaces" json:"empty_namespaces,omitempty"`
	CgroupsMode         string   `protobuf:"bytes,7,opt,name=cgroups_mode,json=cgroupsMode,proto3" json:"cgroups_mode,omitempty"`
	NoNewKeyring        bool     `protobuf:"varint,8,opt,name=no_new_keyring,json=noNewKeyring,proto3" json:"no_new_keyring,omitempty"`
	ShimCgroup          string   `protobuf:"bytes,9,opt,name=shim_cgroup,json=shimCgroup,proto3" json:"shim_cgroup,omitempty"`
	IoUid               uint32   `protobuf:"varint,10,opt,name=io_uid,json=ioUid,proto3" json:"io_uid,omitempty"`
	IoGid               uint32   `protobuf:"varint,11,opt,name=io_gid,json=ioGid,proto3" json:"io_gid,omitempty"`
}

func (*CreateOptions) Descriptor

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

func (*CreateOptions) Marshal

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

func (*CreateOptions) MarshalTo

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

func (*CreateOptions) ProtoMessage

func (*CreateOptions) ProtoMessage()

func (*CreateOptions) Reset

func (m *CreateOptions) Reset()

func (*CreateOptions) Size

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

func (*CreateOptions) String

func (this *CreateOptions) String() string

func (*CreateOptions) Unmarshal

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

type ProcessDetails

type ProcessDetails struct {
	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

type RuncOptions

type RuncOptions struct {
	Runtime       string `protobuf:"bytes,1,opt,name=runtime,proto3" json:"runtime,omitempty"`
	RuntimeRoot   string `protobuf:"bytes,2,opt,name=runtime_root,json=runtimeRoot,proto3" json:"runtime_root,omitempty"`
	CriuPath      string `protobuf:"bytes,3,opt,name=criu_path,json=criuPath,proto3" json:"criu_path,omitempty"`
	SystemdCgroup bool   `protobuf:"varint,4,opt,name=systemd_cgroup,json=systemdCgroup,proto3" json:"systemd_cgroup,omitempty"`
}

func (*RuncOptions) Descriptor

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

func (*RuncOptions) Marshal

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

func (*RuncOptions) MarshalTo

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

func (*RuncOptions) ProtoMessage

func (*RuncOptions) ProtoMessage()

func (*RuncOptions) Reset

func (m *RuncOptions) Reset()

func (*RuncOptions) Size

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

func (*RuncOptions) String

func (this *RuncOptions) String() string

func (*RuncOptions) Unmarshal

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

Jump to

Keyboard shortcuts

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