Documentation ¶
Index ¶
- Variables
- type CheckpointOptions
- func (*CheckpointOptions) Descriptor() ([]byte, []int)
- func (m *CheckpointOptions) Marshal() (dAtA []byte, err error)
- func (m *CheckpointOptions) MarshalTo(dAtA []byte) (int, error)
- func (*CheckpointOptions) ProtoMessage()
- func (m *CheckpointOptions) Reset()
- func (m *CheckpointOptions) Size() (n int)
- func (this *CheckpointOptions) String() string
- func (m *CheckpointOptions) Unmarshal(dAtA []byte) error
- func (m *CheckpointOptions) XXX_DiscardUnknown()
- func (m *CheckpointOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CheckpointOptions) XXX_Merge(src proto.Message)
- func (m *CheckpointOptions) XXX_Size() int
- func (m *CheckpointOptions) XXX_Unmarshal(b []byte) error
- type Options
- func (*Options) Descriptor() ([]byte, []int)
- func (m *Options) Marshal() (dAtA []byte, err error)
- func (m *Options) MarshalTo(dAtA []byte) (int, error)
- func (*Options) ProtoMessage()
- func (m *Options) Reset()
- func (m *Options) Size() (n int)
- func (this *Options) String() string
- func (m *Options) Unmarshal(dAtA []byte) error
- func (m *Options) XXX_DiscardUnknown()
- func (m *Options) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Options) XXX_Merge(src proto.Message)
- func (m *Options) XXX_Size() int
- func (m *Options) XXX_Unmarshal(b []byte) error
- type ProcessDetails
- func (*ProcessDetails) Descriptor() ([]byte, []int)
- func (m *ProcessDetails) Marshal() (dAtA []byte, err error)
- func (m *ProcessDetails) MarshalTo(dAtA []byte) (int, error)
- func (*ProcessDetails) ProtoMessage()
- func (m *ProcessDetails) Reset()
- func (m *ProcessDetails) Size() (n int)
- func (this *ProcessDetails) String() string
- func (m *ProcessDetails) Unmarshal(dAtA []byte) error
- func (m *ProcessDetails) XXX_DiscardUnknown()
- func (m *ProcessDetails) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ProcessDetails) XXX_Merge(src proto.Message)
- func (m *ProcessDetails) XXX_Size() int
- func (m *ProcessDetails) XXX_Unmarshal(b []byte) error
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 ¶
func (m *CheckpointOptions) XXX_DiscardUnknown()
func (*CheckpointOptions) XXX_Marshal ¶
func (m *CheckpointOptions) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CheckpointOptions) XXX_Merge ¶
func (m *CheckpointOptions) XXX_Merge(src proto.Message)
func (*CheckpointOptions) XXX_Size ¶
func (m *CheckpointOptions) XXX_Size() int
func (*CheckpointOptions) XXX_Unmarshal ¶
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) ProtoMessage ¶
func (*Options) ProtoMessage()
func (*Options) XXX_DiscardUnknown ¶
func (m *Options) XXX_DiscardUnknown()
func (*Options) XXX_Marshal ¶
func (*Options) XXX_Unmarshal ¶
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) 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 ¶
func (m *ProcessDetails) XXX_DiscardUnknown()
func (*ProcessDetails) XXX_Marshal ¶
func (m *ProcessDetails) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ProcessDetails) XXX_Merge ¶
func (m *ProcessDetails) XXX_Merge(src proto.Message)
func (*ProcessDetails) XXX_Size ¶
func (m *ProcessDetails) XXX_Size() int
func (*ProcessDetails) XXX_Unmarshal ¶
func (m *ProcessDetails) XXX_Unmarshal(b []byte) error
Click to show internal directories.
Click to hide internal directories.