runctypes

package
v1.4.6 Latest Latest
Warning

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

Go to latest
Published: May 19, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

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")
	ErrUnexpectedEndOfGroupRunc = fmt.Errorf("proto: unexpected end of group")
)

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,proto3" json:"empty_namespaces,omitempty"`
	CgroupsMode          string   `protobuf:"bytes,7,opt,name=cgroups_mode,json=cgroupsMode,proto3" json:"cgroups_mode,omitempty"`
	WorkPath             string   `protobuf:"bytes,8,opt,name=work_path,json=workPath,proto3" json:"work_path,omitempty"`
	ImagePath            string   `protobuf:"bytes,9,opt,name=image_path,json=imagePath,proto3" json:"image_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) MarshalToSizedBuffer added in v1.4.0

func (m *CheckpointOptions) MarshalToSizedBuffer(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 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,proto3" 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"`
	CriuWorkPath         string   `protobuf:"bytes,12,opt,name=criu_work_path,json=criuWorkPath,proto3" json:"criu_work_path,omitempty"`
	CriuImagePath        string   `protobuf:"bytes,13,opt,name=criu_image_path,json=criuImagePath,proto3" json:"criu_image_path,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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) MarshalToSizedBuffer added in v1.4.0

func (m *CreateOptions) MarshalToSizedBuffer(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

func (*CreateOptions) XXX_DiscardUnknown added in v1.3.0

func (m *CreateOptions) XXX_DiscardUnknown()

func (*CreateOptions) XXX_Marshal added in v1.3.0

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

func (*CreateOptions) XXX_Merge added in v1.3.0

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

func (*CreateOptions) XXX_Size added in v1.3.0

func (m *CreateOptions) XXX_Size() int

func (*CreateOptions) XXX_Unmarshal added in v1.3.0

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

type ProcessDetails

type ProcessDetails struct {
	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) MarshalToSizedBuffer added in v1.4.0

func (m *ProcessDetails) MarshalToSizedBuffer(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

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

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) MarshalToSizedBuffer added in v1.4.0

func (m *RuncOptions) MarshalToSizedBuffer(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

func (*RuncOptions) XXX_DiscardUnknown added in v1.3.0

func (m *RuncOptions) XXX_DiscardUnknown()

func (*RuncOptions) XXX_Marshal added in v1.3.0

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

func (*RuncOptions) XXX_Merge added in v1.3.0

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

func (*RuncOptions) XXX_Size added in v1.3.0

func (m *RuncOptions) XXX_Size() int

func (*RuncOptions) XXX_Unmarshal added in v1.3.0

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

Jump to

Keyboard shortcuts

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