Versions in this module Expand all Collapse all v1 v1.1.0 Apr 24, 2018 Changes in this version + var ErrIntOverflowShim = fmt.Errorf("proto: integer overflow") + var ErrInvalidLengthShim = fmt.Errorf("proto: negative length found during unmarshaling") + func RegisterShimService(srv *ttrpc.Server, svc ShimService) + type CheckpointTaskRequest struct + Options *google_protobuf.Any + Path string + func (*CheckpointTaskRequest) Descriptor() ([]byte, []int) + func (*CheckpointTaskRequest) ProtoMessage() + func (m *CheckpointTaskRequest) Marshal() (dAtA []byte, err error) + func (m *CheckpointTaskRequest) MarshalTo(dAtA []byte) (int, error) + func (m *CheckpointTaskRequest) Reset() + func (m *CheckpointTaskRequest) Size() (n int) + func (m *CheckpointTaskRequest) Unmarshal(dAtA []byte) error + func (this *CheckpointTaskRequest) String() string + type CloseIORequest struct + ID string + Stdin bool + func (*CloseIORequest) Descriptor() ([]byte, []int) + func (*CloseIORequest) ProtoMessage() + func (m *CloseIORequest) Marshal() (dAtA []byte, err error) + func (m *CloseIORequest) MarshalTo(dAtA []byte) (int, error) + func (m *CloseIORequest) Reset() + func (m *CloseIORequest) Size() (n int) + func (m *CloseIORequest) Unmarshal(dAtA []byte) error + func (this *CloseIORequest) String() string + type CreateTaskRequest struct + Bundle string + Checkpoint string + ID string + Options *google_protobuf.Any + ParentCheckpoint string + Rootfs []*containerd_types.Mount + Runtime string + Stderr string + Stdin string + Stdout string + Terminal bool + func (*CreateTaskRequest) Descriptor() ([]byte, []int) + func (*CreateTaskRequest) ProtoMessage() + func (m *CreateTaskRequest) Marshal() (dAtA []byte, err error) + func (m *CreateTaskRequest) MarshalTo(dAtA []byte) (int, error) + func (m *CreateTaskRequest) Reset() + func (m *CreateTaskRequest) Size() (n int) + func (m *CreateTaskRequest) Unmarshal(dAtA []byte) error + func (this *CreateTaskRequest) String() string + type CreateTaskResponse struct + Pid uint32 + func (*CreateTaskResponse) Descriptor() ([]byte, []int) + func (*CreateTaskResponse) ProtoMessage() + func (m *CreateTaskResponse) Marshal() (dAtA []byte, err error) + func (m *CreateTaskResponse) MarshalTo(dAtA []byte) (int, error) + func (m *CreateTaskResponse) Reset() + func (m *CreateTaskResponse) Size() (n int) + func (m *CreateTaskResponse) Unmarshal(dAtA []byte) error + func (this *CreateTaskResponse) String() string + type DeleteProcessRequest struct + ID string + func (*DeleteProcessRequest) Descriptor() ([]byte, []int) + func (*DeleteProcessRequest) ProtoMessage() + func (m *DeleteProcessRequest) Marshal() (dAtA []byte, err error) + func (m *DeleteProcessRequest) MarshalTo(dAtA []byte) (int, error) + func (m *DeleteProcessRequest) Reset() + func (m *DeleteProcessRequest) Size() (n int) + func (m *DeleteProcessRequest) Unmarshal(dAtA []byte) error + func (this *DeleteProcessRequest) String() string + type DeleteResponse struct + ExitStatus uint32 + ExitedAt time.Time + Pid uint32 + func (*DeleteResponse) Descriptor() ([]byte, []int) + func (*DeleteResponse) ProtoMessage() + func (m *DeleteResponse) Marshal() (dAtA []byte, err error) + func (m *DeleteResponse) MarshalTo(dAtA []byte) (int, error) + func (m *DeleteResponse) Reset() + func (m *DeleteResponse) Size() (n int) + func (m *DeleteResponse) Unmarshal(dAtA []byte) error + func (this *DeleteResponse) String() string + type ExecProcessRequest struct + ID string + Spec *google_protobuf.Any + Stderr string + Stdin string + Stdout string + Terminal bool + func (*ExecProcessRequest) Descriptor() ([]byte, []int) + func (*ExecProcessRequest) ProtoMessage() + func (m *ExecProcessRequest) Marshal() (dAtA []byte, err error) + func (m *ExecProcessRequest) MarshalTo(dAtA []byte) (int, error) + func (m *ExecProcessRequest) Reset() + func (m *ExecProcessRequest) Size() (n int) + func (m *ExecProcessRequest) Unmarshal(dAtA []byte) error + func (this *ExecProcessRequest) String() string + type ExecProcessResponse struct + func (*ExecProcessResponse) Descriptor() ([]byte, []int) + func (*ExecProcessResponse) ProtoMessage() + func (m *ExecProcessResponse) Marshal() (dAtA []byte, err error) + func (m *ExecProcessResponse) MarshalTo(dAtA []byte) (int, error) + func (m *ExecProcessResponse) Reset() + func (m *ExecProcessResponse) Size() (n int) + func (m *ExecProcessResponse) Unmarshal(dAtA []byte) error + func (this *ExecProcessResponse) String() string + type KillRequest struct + All bool + ID string + Signal uint32 + func (*KillRequest) Descriptor() ([]byte, []int) + func (*KillRequest) ProtoMessage() + func (m *KillRequest) Marshal() (dAtA []byte, err error) + func (m *KillRequest) MarshalTo(dAtA []byte) (int, error) + func (m *KillRequest) Reset() + func (m *KillRequest) Size() (n int) + func (m *KillRequest) Unmarshal(dAtA []byte) error + func (this *KillRequest) String() string + type ListPidsRequest struct + ID string + func (*ListPidsRequest) Descriptor() ([]byte, []int) + func (*ListPidsRequest) ProtoMessage() + func (m *ListPidsRequest) Marshal() (dAtA []byte, err error) + func (m *ListPidsRequest) MarshalTo(dAtA []byte) (int, error) + func (m *ListPidsRequest) Reset() + func (m *ListPidsRequest) Size() (n int) + func (m *ListPidsRequest) Unmarshal(dAtA []byte) error + func (this *ListPidsRequest) String() string + type ListPidsResponse struct + Processes []*containerd_v1_types.ProcessInfo + func (*ListPidsResponse) Descriptor() ([]byte, []int) + func (*ListPidsResponse) ProtoMessage() + func (m *ListPidsResponse) Marshal() (dAtA []byte, err error) + func (m *ListPidsResponse) MarshalTo(dAtA []byte) (int, error) + func (m *ListPidsResponse) Reset() + func (m *ListPidsResponse) Size() (n int) + func (m *ListPidsResponse) Unmarshal(dAtA []byte) error + func (this *ListPidsResponse) String() string + type ResizePtyRequest struct + Height uint32 + ID string + Width uint32 + func (*ResizePtyRequest) Descriptor() ([]byte, []int) + func (*ResizePtyRequest) ProtoMessage() + func (m *ResizePtyRequest) Marshal() (dAtA []byte, err error) + func (m *ResizePtyRequest) MarshalTo(dAtA []byte) (int, error) + func (m *ResizePtyRequest) Reset() + func (m *ResizePtyRequest) Size() (n int) + func (m *ResizePtyRequest) Unmarshal(dAtA []byte) error + func (this *ResizePtyRequest) String() string + type ShimInfoResponse struct + ShimPid uint32 + func (*ShimInfoResponse) Descriptor() ([]byte, []int) + func (*ShimInfoResponse) ProtoMessage() + func (m *ShimInfoResponse) Marshal() (dAtA []byte, err error) + func (m *ShimInfoResponse) MarshalTo(dAtA []byte) (int, error) + func (m *ShimInfoResponse) Reset() + func (m *ShimInfoResponse) Size() (n int) + func (m *ShimInfoResponse) Unmarshal(dAtA []byte) error + func (this *ShimInfoResponse) String() string + type ShimService interface + Checkpoint func(ctx context.Context, req *CheckpointTaskRequest) (*google_protobuf1.Empty, error) + CloseIO func(ctx context.Context, req *CloseIORequest) (*google_protobuf1.Empty, error) + Create func(ctx context.Context, req *CreateTaskRequest) (*CreateTaskResponse, error) + Delete func(ctx context.Context, req *google_protobuf1.Empty) (*DeleteResponse, error) + DeleteProcess func(ctx context.Context, req *DeleteProcessRequest) (*DeleteResponse, error) + Exec func(ctx context.Context, req *ExecProcessRequest) (*google_protobuf1.Empty, error) + Kill func(ctx context.Context, req *KillRequest) (*google_protobuf1.Empty, error) + ListPids func(ctx context.Context, req *ListPidsRequest) (*ListPidsResponse, error) + Pause func(ctx context.Context, req *google_protobuf1.Empty) (*google_protobuf1.Empty, error) + ResizePty func(ctx context.Context, req *ResizePtyRequest) (*google_protobuf1.Empty, error) + Resume func(ctx context.Context, req *google_protobuf1.Empty) (*google_protobuf1.Empty, error) + ShimInfo func(ctx context.Context, req *google_protobuf1.Empty) (*ShimInfoResponse, error) + Start func(ctx context.Context, req *StartRequest) (*StartResponse, error) + State func(ctx context.Context, req *StateRequest) (*StateResponse, error) + Update func(ctx context.Context, req *UpdateTaskRequest) (*google_protobuf1.Empty, error) + Wait func(ctx context.Context, req *WaitRequest) (*WaitResponse, error) + func NewShimClient(client *ttrpc.Client) ShimService + type StartRequest struct + ID string + func (*StartRequest) Descriptor() ([]byte, []int) + func (*StartRequest) ProtoMessage() + func (m *StartRequest) Marshal() (dAtA []byte, err error) + func (m *StartRequest) MarshalTo(dAtA []byte) (int, error) + func (m *StartRequest) Reset() + func (m *StartRequest) Size() (n int) + func (m *StartRequest) Unmarshal(dAtA []byte) error + func (this *StartRequest) String() string + type StartResponse struct + ID string + Pid uint32 + func (*StartResponse) Descriptor() ([]byte, []int) + func (*StartResponse) ProtoMessage() + func (m *StartResponse) Marshal() (dAtA []byte, err error) + func (m *StartResponse) MarshalTo(dAtA []byte) (int, error) + func (m *StartResponse) Reset() + func (m *StartResponse) Size() (n int) + func (m *StartResponse) Unmarshal(dAtA []byte) error + func (this *StartResponse) String() string + type StateRequest struct + ID string + func (*StateRequest) Descriptor() ([]byte, []int) + func (*StateRequest) ProtoMessage() + func (m *StateRequest) Marshal() (dAtA []byte, err error) + func (m *StateRequest) MarshalTo(dAtA []byte) (int, error) + func (m *StateRequest) Reset() + func (m *StateRequest) Size() (n int) + func (m *StateRequest) Unmarshal(dAtA []byte) error + func (this *StateRequest) String() string + type StateResponse struct + Bundle string + ExitStatus uint32 + ExitedAt time.Time + ID string + Pid uint32 + Status containerd_v1_types.Status + Stderr string + Stdin string + Stdout string + Terminal bool + func (*StateResponse) Descriptor() ([]byte, []int) + func (*StateResponse) ProtoMessage() + func (m *StateResponse) Marshal() (dAtA []byte, err error) + func (m *StateResponse) MarshalTo(dAtA []byte) (int, error) + func (m *StateResponse) Reset() + func (m *StateResponse) Size() (n int) + func (m *StateResponse) Unmarshal(dAtA []byte) error + func (this *StateResponse) String() string + type UpdateTaskRequest struct + Resources *google_protobuf.Any + func (*UpdateTaskRequest) Descriptor() ([]byte, []int) + func (*UpdateTaskRequest) ProtoMessage() + func (m *UpdateTaskRequest) Marshal() (dAtA []byte, err error) + func (m *UpdateTaskRequest) MarshalTo(dAtA []byte) (int, error) + func (m *UpdateTaskRequest) Reset() + func (m *UpdateTaskRequest) Size() (n int) + func (m *UpdateTaskRequest) Unmarshal(dAtA []byte) error + func (this *UpdateTaskRequest) String() string + type WaitRequest struct + ID string + func (*WaitRequest) Descriptor() ([]byte, []int) + func (*WaitRequest) ProtoMessage() + func (m *WaitRequest) Marshal() (dAtA []byte, err error) + func (m *WaitRequest) MarshalTo(dAtA []byte) (int, error) + func (m *WaitRequest) Reset() + func (m *WaitRequest) Size() (n int) + func (m *WaitRequest) Unmarshal(dAtA []byte) error + func (this *WaitRequest) String() string + type WaitResponse struct + ExitStatus uint32 + ExitedAt time.Time + func (*WaitResponse) Descriptor() ([]byte, []int) + func (*WaitResponse) ProtoMessage() + func (m *WaitResponse) Marshal() (dAtA []byte, err error) + func (m *WaitResponse) MarshalTo(dAtA []byte) (int, error) + func (m *WaitResponse) Reset() + func (m *WaitResponse) Size() (n int) + func (m *WaitResponse) Unmarshal(dAtA []byte) error + func (this *WaitResponse) String() string v1.1.0-rc.2 Apr 13, 2018 v1.1.0-rc.1 Apr 5, 2018 v1.1.0-rc.0 Mar 27, 2018