package task
import "github.com/containerd/containerd/api/types/task"
Index ¶
- Variables
- type Process
- func (*Process) Descriptor() ([]byte, []int)
- func (m *Process) Marshal() (dAtA []byte, err error)
- func (m *Process) MarshalTo(dAtA []byte) (int, error)
- func (m *Process) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Process) ProtoMessage()
- func (m *Process) Reset()
- func (m *Process) Size() (n int)
- func (this *Process) String() string
- func (m *Process) Unmarshal(dAtA []byte) error
- func (m *Process) XXX_DiscardUnknown()
- func (m *Process) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Process) XXX_Merge(src proto.Message)
- func (m *Process) XXX_Size() int
- func (m *Process) XXX_Unmarshal(b []byte) error
- type ProcessInfo
- func (*ProcessInfo) Descriptor() ([]byte, []int)
- func (m *ProcessInfo) Marshal() (dAtA []byte, err error)
- func (m *ProcessInfo) MarshalTo(dAtA []byte) (int, error)
- func (m *ProcessInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ProcessInfo) ProtoMessage()
- func (m *ProcessInfo) Reset()
- func (m *ProcessInfo) Size() (n int)
- func (this *ProcessInfo) String() string
- func (m *ProcessInfo) Unmarshal(dAtA []byte) error
- func (m *ProcessInfo) XXX_DiscardUnknown()
- func (m *ProcessInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ProcessInfo) XXX_Merge(src proto.Message)
- func (m *ProcessInfo) XXX_Size() int
- func (m *ProcessInfo) XXX_Unmarshal(b []byte) error
- type Status
Variables ¶
var ( ErrInvalidLengthTask = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTask = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTask = fmt.Errorf("proto: unexpected end of group") )
var Status_name = map[int32]string{ 0: "UNKNOWN", 1: "CREATED", 2: "RUNNING", 3: "STOPPED", 4: "PAUSED", 5: "PAUSING", }
var Status_value = map[string]int32{ "UNKNOWN": 0, "CREATED": 1, "RUNNING": 2, "STOPPED": 3, "PAUSED": 4, "PAUSING": 5, }
Types ¶
type Process ¶
type Process struct { ContainerID string `protobuf:"bytes,1,opt,name=container_id,json=containerId,proto3" json:"container_id,omitempty"` ID string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` Pid uint32 `protobuf:"varint,3,opt,name=pid,proto3" json:"pid,omitempty"` Status Status `protobuf:"varint,4,opt,name=status,proto3,enum=containerd.v1.types.Status" json:"status,omitempty"` Stdin string `protobuf:"bytes,5,opt,name=stdin,proto3" json:"stdin,omitempty"` Stdout string `protobuf:"bytes,6,opt,name=stdout,proto3" json:"stdout,omitempty"` Stderr string `protobuf:"bytes,7,opt,name=stderr,proto3" json:"stderr,omitempty"` Terminal bool `protobuf:"varint,8,opt,name=terminal,proto3" json:"terminal,omitempty"` ExitStatus uint32 `protobuf:"varint,9,opt,name=exit_status,json=exitStatus,proto3" json:"exit_status,omitempty"` ExitedAt time.Time `protobuf:"bytes,10,opt,name=exited_at,json=exitedAt,proto3,stdtime" json:"exited_at"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Process) Descriptor ¶
func (*Process) Marshal ¶
func (*Process) MarshalTo ¶
func (*Process) MarshalToSizedBuffer ¶
func (*Process) ProtoMessage ¶
func (*Process) ProtoMessage()
func (*Process) Reset ¶
func (m *Process) Reset()
func (*Process) Size ¶
func (*Process) String ¶
func (*Process) Unmarshal ¶
func (*Process) XXX_DiscardUnknown ¶
func (m *Process) XXX_DiscardUnknown()
func (*Process) XXX_Marshal ¶
func (*Process) XXX_Merge ¶
func (*Process) XXX_Size ¶
func (*Process) XXX_Unmarshal ¶
type ProcessInfo ¶
type ProcessInfo struct { // PID is the process ID. Pid uint32 `protobuf:"varint,1,opt,name=pid,proto3" json:"pid,omitempty"` // Info contains additional process information. // // Info varies by platform. Info *types.Any `protobuf:"bytes,2,opt,name=info,proto3" json:"info,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ProcessInfo) Descriptor ¶
func (*ProcessInfo) Descriptor() ([]byte, []int)
func (*ProcessInfo) Marshal ¶
func (m *ProcessInfo) Marshal() (dAtA []byte, err error)
func (*ProcessInfo) MarshalTo ¶
func (m *ProcessInfo) MarshalTo(dAtA []byte) (int, error)
func (*ProcessInfo) MarshalToSizedBuffer ¶
func (m *ProcessInfo) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ProcessInfo) ProtoMessage ¶
func (*ProcessInfo) ProtoMessage()
func (*ProcessInfo) Reset ¶
func (m *ProcessInfo) Reset()
func (*ProcessInfo) Size ¶
func (m *ProcessInfo) Size() (n int)
func (*ProcessInfo) String ¶
func (this *ProcessInfo) String() string
func (*ProcessInfo) Unmarshal ¶
func (m *ProcessInfo) Unmarshal(dAtA []byte) error
func (*ProcessInfo) XXX_DiscardUnknown ¶
func (m *ProcessInfo) XXX_DiscardUnknown()
func (*ProcessInfo) XXX_Marshal ¶
func (m *ProcessInfo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ProcessInfo) XXX_Merge ¶
func (m *ProcessInfo) XXX_Merge(src proto.Message)
func (*ProcessInfo) XXX_Size ¶
func (m *ProcessInfo) XXX_Size() int
func (*ProcessInfo) XXX_Unmarshal ¶
func (m *ProcessInfo) XXX_Unmarshal(b []byte) error
type Status ¶
type Status int32
const ( StatusUnknown Status = 0 StatusCreated Status = 1 StatusRunning Status = 2 StatusStopped Status = 3 StatusPaused Status = 4 StatusPausing Status = 5 )
func (Status) EnumDescriptor ¶
func (Status) String ¶
Source Files ¶
- Version
- v1.5.1
- Published
- May 13, 2021
- Platform
- windows/amd64
- Imports
- 9 packages
- Last checked
- 57 seconds ago –
Tools for package owners.