Documentation ¶
Overview ¶
Code generated by protoc-gen-go-ttrpc. DO NOT EDIT. source: github.com/containerd/containerd/runtime/v1/shim/v1/shim.proto
Index ¶
- Variables
- func RegisterShimService(srv *ttrpc.Server, svc ShimService)
- type CheckpointTaskRequest
- func (*CheckpointTaskRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CheckpointTaskRequest) GetOptions() *anypb.Any
- func (x *CheckpointTaskRequest) GetPath() string
- func (*CheckpointTaskRequest) ProtoMessage()
- func (x *CheckpointTaskRequest) ProtoReflect() protoreflect.Message
- func (x *CheckpointTaskRequest) Reset()
- func (x *CheckpointTaskRequest) String() string
- type CloseIORequest
- func (*CloseIORequest) Descriptor() ([]byte, []int)deprecated
- func (x *CloseIORequest) GetID() string
- func (x *CloseIORequest) GetStdin() bool
- func (*CloseIORequest) ProtoMessage()
- func (x *CloseIORequest) ProtoReflect() protoreflect.Message
- func (x *CloseIORequest) Reset()
- func (x *CloseIORequest) String() string
- type CreateTaskRequest
- func (*CreateTaskRequest) Descriptor() ([]byte, []int)deprecated
- func (x *CreateTaskRequest) GetBundle() string
- func (x *CreateTaskRequest) GetCheckpoint() string
- func (x *CreateTaskRequest) GetID() string
- func (x *CreateTaskRequest) GetOptions() *anypb.Any
- func (x *CreateTaskRequest) GetParentCheckpoint() string
- func (x *CreateTaskRequest) GetRootfs() []*types.Mount
- func (x *CreateTaskRequest) GetRuntime() string
- func (x *CreateTaskRequest) GetStderr() string
- func (x *CreateTaskRequest) GetStdin() string
- func (x *CreateTaskRequest) GetStdout() string
- func (x *CreateTaskRequest) GetTerminal() bool
- func (*CreateTaskRequest) ProtoMessage()
- func (x *CreateTaskRequest) ProtoReflect() protoreflect.Message
- func (x *CreateTaskRequest) Reset()
- func (x *CreateTaskRequest) String() string
- type CreateTaskResponse
- type DeleteProcessRequest
- func (*DeleteProcessRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteProcessRequest) GetID() string
- func (*DeleteProcessRequest) ProtoMessage()
- func (x *DeleteProcessRequest) ProtoReflect() protoreflect.Message
- func (x *DeleteProcessRequest) Reset()
- func (x *DeleteProcessRequest) String() string
- type DeleteResponse
- func (*DeleteResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DeleteResponse) GetExitStatus() uint32
- func (x *DeleteResponse) GetExitedAt() *timestamppb.Timestamp
- func (x *DeleteResponse) GetPid() uint32
- func (*DeleteResponse) ProtoMessage()
- func (x *DeleteResponse) ProtoReflect() protoreflect.Message
- func (x *DeleteResponse) Reset()
- func (x *DeleteResponse) String() string
- type ExecProcessRequest
- func (*ExecProcessRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ExecProcessRequest) GetID() string
- func (x *ExecProcessRequest) GetSpec() *anypb.Any
- func (x *ExecProcessRequest) GetStderr() string
- func (x *ExecProcessRequest) GetStdin() string
- func (x *ExecProcessRequest) GetStdout() string
- func (x *ExecProcessRequest) GetTerminal() bool
- func (*ExecProcessRequest) ProtoMessage()
- func (x *ExecProcessRequest) ProtoReflect() protoreflect.Message
- func (x *ExecProcessRequest) Reset()
- func (x *ExecProcessRequest) String() string
- type ExecProcessResponse
- type KillRequest
- func (*KillRequest) Descriptor() ([]byte, []int)deprecated
- func (x *KillRequest) GetAll() bool
- func (x *KillRequest) GetID() string
- func (x *KillRequest) GetSignal() uint32
- func (*KillRequest) ProtoMessage()
- func (x *KillRequest) ProtoReflect() protoreflect.Message
- func (x *KillRequest) Reset()
- func (x *KillRequest) String() string
- type ListPidsRequest
- type ListPidsResponse
- func (*ListPidsResponse) Descriptor() ([]byte, []int)deprecated
- func (x *ListPidsResponse) GetProcesses() []*task.ProcessInfo
- func (*ListPidsResponse) ProtoMessage()
- func (x *ListPidsResponse) ProtoReflect() protoreflect.Message
- func (x *ListPidsResponse) Reset()
- func (x *ListPidsResponse) String() string
- type ResizePtyRequest
- func (*ResizePtyRequest) Descriptor() ([]byte, []int)deprecated
- func (x *ResizePtyRequest) GetHeight() uint32
- func (x *ResizePtyRequest) GetID() string
- func (x *ResizePtyRequest) GetWidth() uint32
- func (*ResizePtyRequest) ProtoMessage()
- func (x *ResizePtyRequest) ProtoReflect() protoreflect.Message
- func (x *ResizePtyRequest) Reset()
- func (x *ResizePtyRequest) String() string
- type ShimInfoResponse
- type ShimService
- type StartRequest
- type StartResponse
- func (*StartResponse) Descriptor() ([]byte, []int)deprecated
- func (x *StartResponse) GetID() string
- func (x *StartResponse) GetPid() uint32
- func (*StartResponse) ProtoMessage()
- func (x *StartResponse) ProtoReflect() protoreflect.Message
- func (x *StartResponse) Reset()
- func (x *StartResponse) String() string
- type StateRequest
- type StateResponse
- func (*StateResponse) Descriptor() ([]byte, []int)deprecated
- func (x *StateResponse) GetBundle() string
- func (x *StateResponse) GetExitStatus() uint32
- func (x *StateResponse) GetExitedAt() *timestamppb.Timestamp
- func (x *StateResponse) GetID() string
- func (x *StateResponse) GetPid() uint32
- func (x *StateResponse) GetStatus() task.Status
- func (x *StateResponse) GetStderr() string
- func (x *StateResponse) GetStdin() string
- func (x *StateResponse) GetStdout() string
- func (x *StateResponse) GetTerminal() bool
- func (*StateResponse) ProtoMessage()
- func (x *StateResponse) ProtoReflect() protoreflect.Message
- func (x *StateResponse) Reset()
- func (x *StateResponse) String() string
- type UpdateTaskRequest
- func (*UpdateTaskRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UpdateTaskRequest) GetResources() *anypb.Any
- func (*UpdateTaskRequest) ProtoMessage()
- func (x *UpdateTaskRequest) ProtoReflect() protoreflect.Message
- func (x *UpdateTaskRequest) Reset()
- func (x *UpdateTaskRequest) String() string
- type WaitRequest
- type WaitResponse
- func (*WaitResponse) Descriptor() ([]byte, []int)deprecated
- func (x *WaitResponse) GetExitStatus() uint32
- func (x *WaitResponse) GetExitedAt() *timestamppb.Timestamp
- func (*WaitResponse) ProtoMessage()
- func (x *WaitResponse) ProtoReflect() protoreflect.Message
- func (x *WaitResponse) Reset()
- func (x *WaitResponse) String() string
Constants ¶
This section is empty.
Variables ¶
var File_github_com_containerd_containerd_runtime_v1_shim_v1_shim_proto protoreflect.FileDescriptor
Functions ¶
func RegisterShimService ¶
func RegisterShimService(srv *ttrpc.Server, svc ShimService)
Types ¶
type CheckpointTaskRequest ¶
type CheckpointTaskRequest struct { Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` Options *anypb.Any `protobuf:"bytes,2,opt,name=options,proto3" json:"options,omitempty"` // contains filtered or unexported fields }
func (*CheckpointTaskRequest) Descriptor
deprecated
func (*CheckpointTaskRequest) Descriptor() ([]byte, []int)
Deprecated: Use CheckpointTaskRequest.ProtoReflect.Descriptor instead.
func (*CheckpointTaskRequest) GetOptions ¶ added in v1.7.0
func (x *CheckpointTaskRequest) GetOptions() *anypb.Any
func (*CheckpointTaskRequest) GetPath ¶ added in v1.7.0
func (x *CheckpointTaskRequest) GetPath() string
func (*CheckpointTaskRequest) ProtoMessage ¶
func (*CheckpointTaskRequest) ProtoMessage()
func (*CheckpointTaskRequest) ProtoReflect ¶ added in v1.7.0
func (x *CheckpointTaskRequest) ProtoReflect() protoreflect.Message
func (*CheckpointTaskRequest) Reset ¶
func (x *CheckpointTaskRequest) Reset()
func (*CheckpointTaskRequest) String ¶
func (x *CheckpointTaskRequest) String() string
type CloseIORequest ¶
type CloseIORequest struct { ID string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Stdin bool `protobuf:"varint,2,opt,name=stdin,proto3" json:"stdin,omitempty"` // contains filtered or unexported fields }
func (*CloseIORequest) Descriptor
deprecated
func (*CloseIORequest) Descriptor() ([]byte, []int)
Deprecated: Use CloseIORequest.ProtoReflect.Descriptor instead.
func (*CloseIORequest) GetID ¶ added in v1.7.0
func (x *CloseIORequest) GetID() string
func (*CloseIORequest) GetStdin ¶ added in v1.7.0
func (x *CloseIORequest) GetStdin() bool
func (*CloseIORequest) ProtoMessage ¶
func (*CloseIORequest) ProtoMessage()
func (*CloseIORequest) ProtoReflect ¶ added in v1.7.0
func (x *CloseIORequest) ProtoReflect() protoreflect.Message
func (*CloseIORequest) Reset ¶
func (x *CloseIORequest) Reset()
func (*CloseIORequest) String ¶
func (x *CloseIORequest) String() string
type CreateTaskRequest ¶
type CreateTaskRequest struct { ID string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Bundle string `protobuf:"bytes,2,opt,name=bundle,proto3" json:"bundle,omitempty"` Runtime string `protobuf:"bytes,3,opt,name=runtime,proto3" json:"runtime,omitempty"` Rootfs []*types.Mount `protobuf:"bytes,4,rep,name=rootfs,proto3" json:"rootfs,omitempty"` Terminal bool `protobuf:"varint,5,opt,name=terminal,proto3" json:"terminal,omitempty"` Stdin string `protobuf:"bytes,6,opt,name=stdin,proto3" json:"stdin,omitempty"` Stdout string `protobuf:"bytes,7,opt,name=stdout,proto3" json:"stdout,omitempty"` Stderr string `protobuf:"bytes,8,opt,name=stderr,proto3" json:"stderr,omitempty"` Checkpoint string `protobuf:"bytes,9,opt,name=checkpoint,proto3" json:"checkpoint,omitempty"` ParentCheckpoint string `protobuf:"bytes,10,opt,name=parent_checkpoint,json=parentCheckpoint,proto3" json:"parent_checkpoint,omitempty"` Options *anypb.Any `protobuf:"bytes,11,opt,name=options,proto3" json:"options,omitempty"` // contains filtered or unexported fields }
func (*CreateTaskRequest) Descriptor
deprecated
func (*CreateTaskRequest) Descriptor() ([]byte, []int)
Deprecated: Use CreateTaskRequest.ProtoReflect.Descriptor instead.
func (*CreateTaskRequest) GetBundle ¶ added in v1.7.0
func (x *CreateTaskRequest) GetBundle() string
func (*CreateTaskRequest) GetCheckpoint ¶ added in v1.7.0
func (x *CreateTaskRequest) GetCheckpoint() string
func (*CreateTaskRequest) GetID ¶ added in v1.7.0
func (x *CreateTaskRequest) GetID() string
func (*CreateTaskRequest) GetOptions ¶ added in v1.7.0
func (x *CreateTaskRequest) GetOptions() *anypb.Any
func (*CreateTaskRequest) GetParentCheckpoint ¶ added in v1.7.0
func (x *CreateTaskRequest) GetParentCheckpoint() string
func (*CreateTaskRequest) GetRootfs ¶ added in v1.7.0
func (x *CreateTaskRequest) GetRootfs() []*types.Mount
func (*CreateTaskRequest) GetRuntime ¶ added in v1.7.0
func (x *CreateTaskRequest) GetRuntime() string
func (*CreateTaskRequest) GetStderr ¶ added in v1.7.0
func (x *CreateTaskRequest) GetStderr() string
func (*CreateTaskRequest) GetStdin ¶ added in v1.7.0
func (x *CreateTaskRequest) GetStdin() string
func (*CreateTaskRequest) GetStdout ¶ added in v1.7.0
func (x *CreateTaskRequest) GetStdout() string
func (*CreateTaskRequest) GetTerminal ¶ added in v1.7.0
func (x *CreateTaskRequest) GetTerminal() bool
func (*CreateTaskRequest) ProtoMessage ¶
func (*CreateTaskRequest) ProtoMessage()
func (*CreateTaskRequest) ProtoReflect ¶ added in v1.7.0
func (x *CreateTaskRequest) ProtoReflect() protoreflect.Message
func (*CreateTaskRequest) Reset ¶
func (x *CreateTaskRequest) Reset()
func (*CreateTaskRequest) String ¶
func (x *CreateTaskRequest) String() string
type CreateTaskResponse ¶
type CreateTaskResponse struct { Pid uint32 `protobuf:"varint,1,opt,name=pid,proto3" json:"pid,omitempty"` // contains filtered or unexported fields }
func (*CreateTaskResponse) Descriptor
deprecated
func (*CreateTaskResponse) Descriptor() ([]byte, []int)
Deprecated: Use CreateTaskResponse.ProtoReflect.Descriptor instead.
func (*CreateTaskResponse) GetPid ¶ added in v1.7.0
func (x *CreateTaskResponse) GetPid() uint32
func (*CreateTaskResponse) ProtoMessage ¶
func (*CreateTaskResponse) ProtoMessage()
func (*CreateTaskResponse) ProtoReflect ¶ added in v1.7.0
func (x *CreateTaskResponse) ProtoReflect() protoreflect.Message
func (*CreateTaskResponse) Reset ¶
func (x *CreateTaskResponse) Reset()
func (*CreateTaskResponse) String ¶
func (x *CreateTaskResponse) String() string
type DeleteProcessRequest ¶
type DeleteProcessRequest struct { ID string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*DeleteProcessRequest) Descriptor
deprecated
func (*DeleteProcessRequest) Descriptor() ([]byte, []int)
Deprecated: Use DeleteProcessRequest.ProtoReflect.Descriptor instead.
func (*DeleteProcessRequest) GetID ¶ added in v1.7.0
func (x *DeleteProcessRequest) GetID() string
func (*DeleteProcessRequest) ProtoMessage ¶
func (*DeleteProcessRequest) ProtoMessage()
func (*DeleteProcessRequest) ProtoReflect ¶ added in v1.7.0
func (x *DeleteProcessRequest) ProtoReflect() protoreflect.Message
func (*DeleteProcessRequest) Reset ¶
func (x *DeleteProcessRequest) Reset()
func (*DeleteProcessRequest) String ¶
func (x *DeleteProcessRequest) String() string
type DeleteResponse ¶
type DeleteResponse struct { Pid uint32 `protobuf:"varint,1,opt,name=pid,proto3" json:"pid,omitempty"` ExitStatus uint32 `protobuf:"varint,2,opt,name=exit_status,json=exitStatus,proto3" json:"exit_status,omitempty"` ExitedAt *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=exited_at,json=exitedAt,proto3" json:"exited_at,omitempty"` // contains filtered or unexported fields }
func (*DeleteResponse) Descriptor
deprecated
func (*DeleteResponse) Descriptor() ([]byte, []int)
Deprecated: Use DeleteResponse.ProtoReflect.Descriptor instead.
func (*DeleteResponse) GetExitStatus ¶ added in v1.7.0
func (x *DeleteResponse) GetExitStatus() uint32
func (*DeleteResponse) GetExitedAt ¶ added in v1.7.0
func (x *DeleteResponse) GetExitedAt() *timestamppb.Timestamp
func (*DeleteResponse) GetPid ¶ added in v1.7.0
func (x *DeleteResponse) GetPid() uint32
func (*DeleteResponse) ProtoMessage ¶
func (*DeleteResponse) ProtoMessage()
func (*DeleteResponse) ProtoReflect ¶ added in v1.7.0
func (x *DeleteResponse) ProtoReflect() protoreflect.Message
func (*DeleteResponse) Reset ¶
func (x *DeleteResponse) Reset()
func (*DeleteResponse) String ¶
func (x *DeleteResponse) String() string
type ExecProcessRequest ¶
type ExecProcessRequest struct { ID string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Terminal bool `protobuf:"varint,2,opt,name=terminal,proto3" json:"terminal,omitempty"` Stdin string `protobuf:"bytes,3,opt,name=stdin,proto3" json:"stdin,omitempty"` Stdout string `protobuf:"bytes,4,opt,name=stdout,proto3" json:"stdout,omitempty"` Stderr string `protobuf:"bytes,5,opt,name=stderr,proto3" json:"stderr,omitempty"` Spec *anypb.Any `protobuf:"bytes,6,opt,name=spec,proto3" json:"spec,omitempty"` // contains filtered or unexported fields }
func (*ExecProcessRequest) Descriptor
deprecated
func (*ExecProcessRequest) Descriptor() ([]byte, []int)
Deprecated: Use ExecProcessRequest.ProtoReflect.Descriptor instead.
func (*ExecProcessRequest) GetID ¶ added in v1.7.0
func (x *ExecProcessRequest) GetID() string
func (*ExecProcessRequest) GetSpec ¶ added in v1.7.0
func (x *ExecProcessRequest) GetSpec() *anypb.Any
func (*ExecProcessRequest) GetStderr ¶ added in v1.7.0
func (x *ExecProcessRequest) GetStderr() string
func (*ExecProcessRequest) GetStdin ¶ added in v1.7.0
func (x *ExecProcessRequest) GetStdin() string
func (*ExecProcessRequest) GetStdout ¶ added in v1.7.0
func (x *ExecProcessRequest) GetStdout() string
func (*ExecProcessRequest) GetTerminal ¶ added in v1.7.0
func (x *ExecProcessRequest) GetTerminal() bool
func (*ExecProcessRequest) ProtoMessage ¶
func (*ExecProcessRequest) ProtoMessage()
func (*ExecProcessRequest) ProtoReflect ¶ added in v1.7.0
func (x *ExecProcessRequest) ProtoReflect() protoreflect.Message
func (*ExecProcessRequest) Reset ¶
func (x *ExecProcessRequest) Reset()
func (*ExecProcessRequest) String ¶
func (x *ExecProcessRequest) String() string
type ExecProcessResponse ¶
type ExecProcessResponse struct {
// contains filtered or unexported fields
}
func (*ExecProcessResponse) Descriptor
deprecated
func (*ExecProcessResponse) Descriptor() ([]byte, []int)
Deprecated: Use ExecProcessResponse.ProtoReflect.Descriptor instead.
func (*ExecProcessResponse) ProtoMessage ¶
func (*ExecProcessResponse) ProtoMessage()
func (*ExecProcessResponse) ProtoReflect ¶ added in v1.7.0
func (x *ExecProcessResponse) ProtoReflect() protoreflect.Message
func (*ExecProcessResponse) Reset ¶
func (x *ExecProcessResponse) Reset()
func (*ExecProcessResponse) String ¶
func (x *ExecProcessResponse) String() string
type KillRequest ¶
type KillRequest struct { ID string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Signal uint32 `protobuf:"varint,2,opt,name=signal,proto3" json:"signal,omitempty"` All bool `protobuf:"varint,3,opt,name=all,proto3" json:"all,omitempty"` // contains filtered or unexported fields }
func (*KillRequest) Descriptor
deprecated
func (*KillRequest) Descriptor() ([]byte, []int)
Deprecated: Use KillRequest.ProtoReflect.Descriptor instead.
func (*KillRequest) GetAll ¶ added in v1.7.0
func (x *KillRequest) GetAll() bool
func (*KillRequest) GetID ¶ added in v1.7.0
func (x *KillRequest) GetID() string
func (*KillRequest) GetSignal ¶ added in v1.7.0
func (x *KillRequest) GetSignal() uint32
func (*KillRequest) ProtoMessage ¶
func (*KillRequest) ProtoMessage()
func (*KillRequest) ProtoReflect ¶ added in v1.7.0
func (x *KillRequest) ProtoReflect() protoreflect.Message
func (*KillRequest) Reset ¶
func (x *KillRequest) Reset()
func (*KillRequest) String ¶
func (x *KillRequest) String() string
type ListPidsRequest ¶
type ListPidsRequest struct { ID string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*ListPidsRequest) Descriptor
deprecated
func (*ListPidsRequest) Descriptor() ([]byte, []int)
Deprecated: Use ListPidsRequest.ProtoReflect.Descriptor instead.
func (*ListPidsRequest) GetID ¶ added in v1.7.0
func (x *ListPidsRequest) GetID() string
func (*ListPidsRequest) ProtoMessage ¶
func (*ListPidsRequest) ProtoMessage()
func (*ListPidsRequest) ProtoReflect ¶ added in v1.7.0
func (x *ListPidsRequest) ProtoReflect() protoreflect.Message
func (*ListPidsRequest) Reset ¶
func (x *ListPidsRequest) Reset()
func (*ListPidsRequest) String ¶
func (x *ListPidsRequest) String() string
type ListPidsResponse ¶
type ListPidsResponse struct { Processes []*task.ProcessInfo `protobuf:"bytes,1,rep,name=processes,proto3" json:"processes,omitempty"` // contains filtered or unexported fields }
func (*ListPidsResponse) Descriptor
deprecated
func (*ListPidsResponse) Descriptor() ([]byte, []int)
Deprecated: Use ListPidsResponse.ProtoReflect.Descriptor instead.
func (*ListPidsResponse) GetProcesses ¶ added in v1.7.0
func (x *ListPidsResponse) GetProcesses() []*task.ProcessInfo
func (*ListPidsResponse) ProtoMessage ¶
func (*ListPidsResponse) ProtoMessage()
func (*ListPidsResponse) ProtoReflect ¶ added in v1.7.0
func (x *ListPidsResponse) ProtoReflect() protoreflect.Message
func (*ListPidsResponse) Reset ¶
func (x *ListPidsResponse) Reset()
func (*ListPidsResponse) String ¶
func (x *ListPidsResponse) String() string
type ResizePtyRequest ¶
type ResizePtyRequest struct { ID string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Width uint32 `protobuf:"varint,2,opt,name=width,proto3" json:"width,omitempty"` Height uint32 `protobuf:"varint,3,opt,name=height,proto3" json:"height,omitempty"` // contains filtered or unexported fields }
func (*ResizePtyRequest) Descriptor
deprecated
func (*ResizePtyRequest) Descriptor() ([]byte, []int)
Deprecated: Use ResizePtyRequest.ProtoReflect.Descriptor instead.
func (*ResizePtyRequest) GetHeight ¶ added in v1.7.0
func (x *ResizePtyRequest) GetHeight() uint32
func (*ResizePtyRequest) GetID ¶ added in v1.7.0
func (x *ResizePtyRequest) GetID() string
func (*ResizePtyRequest) GetWidth ¶ added in v1.7.0
func (x *ResizePtyRequest) GetWidth() uint32
func (*ResizePtyRequest) ProtoMessage ¶
func (*ResizePtyRequest) ProtoMessage()
func (*ResizePtyRequest) ProtoReflect ¶ added in v1.7.0
func (x *ResizePtyRequest) ProtoReflect() protoreflect.Message
func (*ResizePtyRequest) Reset ¶
func (x *ResizePtyRequest) Reset()
func (*ResizePtyRequest) String ¶
func (x *ResizePtyRequest) String() string
type ShimInfoResponse ¶
type ShimInfoResponse struct { ShimPid uint32 `protobuf:"varint,1,opt,name=shim_pid,json=shimPid,proto3" json:"shim_pid,omitempty"` // contains filtered or unexported fields }
func (*ShimInfoResponse) Descriptor
deprecated
func (*ShimInfoResponse) Descriptor() ([]byte, []int)
Deprecated: Use ShimInfoResponse.ProtoReflect.Descriptor instead.
func (*ShimInfoResponse) GetShimPid ¶ added in v1.7.0
func (x *ShimInfoResponse) GetShimPid() uint32
func (*ShimInfoResponse) ProtoMessage ¶
func (*ShimInfoResponse) ProtoMessage()
func (*ShimInfoResponse) ProtoReflect ¶ added in v1.7.0
func (x *ShimInfoResponse) ProtoReflect() protoreflect.Message
func (*ShimInfoResponse) Reset ¶
func (x *ShimInfoResponse) Reset()
func (*ShimInfoResponse) String ¶
func (x *ShimInfoResponse) String() string
type ShimService ¶
type ShimService interface { State(context.Context, *StateRequest) (*StateResponse, error) Create(context.Context, *CreateTaskRequest) (*CreateTaskResponse, error) Start(context.Context, *StartRequest) (*StartResponse, error) Delete(context.Context, *emptypb.Empty) (*DeleteResponse, error) DeleteProcess(context.Context, *DeleteProcessRequest) (*DeleteResponse, error) ListPids(context.Context, *ListPidsRequest) (*ListPidsResponse, error) Pause(context.Context, *emptypb.Empty) (*emptypb.Empty, error) Resume(context.Context, *emptypb.Empty) (*emptypb.Empty, error) Checkpoint(context.Context, *CheckpointTaskRequest) (*emptypb.Empty, error) Kill(context.Context, *KillRequest) (*emptypb.Empty, error) Exec(context.Context, *ExecProcessRequest) (*emptypb.Empty, error) ResizePty(context.Context, *ResizePtyRequest) (*emptypb.Empty, error) CloseIO(context.Context, *CloseIORequest) (*emptypb.Empty, error) ShimInfo(context.Context, *emptypb.Empty) (*ShimInfoResponse, error) Update(context.Context, *UpdateTaskRequest) (*emptypb.Empty, error) Wait(context.Context, *WaitRequest) (*WaitResponse, error) }
func NewShimClient ¶
func NewShimClient(client *ttrpc.Client) ShimService
type StartRequest ¶
type StartRequest struct { ID string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*StartRequest) Descriptor
deprecated
func (*StartRequest) Descriptor() ([]byte, []int)
Deprecated: Use StartRequest.ProtoReflect.Descriptor instead.
func (*StartRequest) GetID ¶ added in v1.7.0
func (x *StartRequest) GetID() string
func (*StartRequest) ProtoMessage ¶
func (*StartRequest) ProtoMessage()
func (*StartRequest) ProtoReflect ¶ added in v1.7.0
func (x *StartRequest) ProtoReflect() protoreflect.Message
func (*StartRequest) Reset ¶
func (x *StartRequest) Reset()
func (*StartRequest) String ¶
func (x *StartRequest) String() string
type StartResponse ¶
type StartResponse struct { ID string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Pid uint32 `protobuf:"varint,2,opt,name=pid,proto3" json:"pid,omitempty"` // contains filtered or unexported fields }
func (*StartResponse) Descriptor
deprecated
func (*StartResponse) Descriptor() ([]byte, []int)
Deprecated: Use StartResponse.ProtoReflect.Descriptor instead.
func (*StartResponse) GetID ¶ added in v1.7.0
func (x *StartResponse) GetID() string
func (*StartResponse) GetPid ¶ added in v1.7.0
func (x *StartResponse) GetPid() uint32
func (*StartResponse) ProtoMessage ¶
func (*StartResponse) ProtoMessage()
func (*StartResponse) ProtoReflect ¶ added in v1.7.0
func (x *StartResponse) ProtoReflect() protoreflect.Message
func (*StartResponse) Reset ¶
func (x *StartResponse) Reset()
func (*StartResponse) String ¶
func (x *StartResponse) String() string
type StateRequest ¶
type StateRequest struct { ID string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*StateRequest) Descriptor
deprecated
func (*StateRequest) Descriptor() ([]byte, []int)
Deprecated: Use StateRequest.ProtoReflect.Descriptor instead.
func (*StateRequest) GetID ¶ added in v1.7.0
func (x *StateRequest) GetID() string
func (*StateRequest) ProtoMessage ¶
func (*StateRequest) ProtoMessage()
func (*StateRequest) ProtoReflect ¶ added in v1.7.0
func (x *StateRequest) ProtoReflect() protoreflect.Message
func (*StateRequest) Reset ¶
func (x *StateRequest) Reset()
func (*StateRequest) String ¶
func (x *StateRequest) String() string
type StateResponse ¶
type StateResponse struct { ID string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Bundle string `protobuf:"bytes,2,opt,name=bundle,proto3" json:"bundle,omitempty"` Pid uint32 `protobuf:"varint,3,opt,name=pid,proto3" json:"pid,omitempty"` Status task.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 *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=exited_at,json=exitedAt,proto3" json:"exited_at,omitempty"` // contains filtered or unexported fields }
func (*StateResponse) Descriptor
deprecated
func (*StateResponse) Descriptor() ([]byte, []int)
Deprecated: Use StateResponse.ProtoReflect.Descriptor instead.
func (*StateResponse) GetBundle ¶ added in v1.7.0
func (x *StateResponse) GetBundle() string
func (*StateResponse) GetExitStatus ¶ added in v1.7.0
func (x *StateResponse) GetExitStatus() uint32
func (*StateResponse) GetExitedAt ¶ added in v1.7.0
func (x *StateResponse) GetExitedAt() *timestamppb.Timestamp
func (*StateResponse) GetID ¶ added in v1.7.0
func (x *StateResponse) GetID() string
func (*StateResponse) GetPid ¶ added in v1.7.0
func (x *StateResponse) GetPid() uint32
func (*StateResponse) GetStatus ¶ added in v1.7.0
func (x *StateResponse) GetStatus() task.Status
func (*StateResponse) GetStderr ¶ added in v1.7.0
func (x *StateResponse) GetStderr() string
func (*StateResponse) GetStdin ¶ added in v1.7.0
func (x *StateResponse) GetStdin() string
func (*StateResponse) GetStdout ¶ added in v1.7.0
func (x *StateResponse) GetStdout() string
func (*StateResponse) GetTerminal ¶ added in v1.7.0
func (x *StateResponse) GetTerminal() bool
func (*StateResponse) ProtoMessage ¶
func (*StateResponse) ProtoMessage()
func (*StateResponse) ProtoReflect ¶ added in v1.7.0
func (x *StateResponse) ProtoReflect() protoreflect.Message
func (*StateResponse) Reset ¶
func (x *StateResponse) Reset()
func (*StateResponse) String ¶
func (x *StateResponse) String() string
type UpdateTaskRequest ¶
type UpdateTaskRequest struct { Resources *anypb.Any `protobuf:"bytes,1,opt,name=resources,proto3" json:"resources,omitempty"` // contains filtered or unexported fields }
func (*UpdateTaskRequest) Descriptor
deprecated
func (*UpdateTaskRequest) Descriptor() ([]byte, []int)
Deprecated: Use UpdateTaskRequest.ProtoReflect.Descriptor instead.
func (*UpdateTaskRequest) GetResources ¶ added in v1.7.0
func (x *UpdateTaskRequest) GetResources() *anypb.Any
func (*UpdateTaskRequest) ProtoMessage ¶
func (*UpdateTaskRequest) ProtoMessage()
func (*UpdateTaskRequest) ProtoReflect ¶ added in v1.7.0
func (x *UpdateTaskRequest) ProtoReflect() protoreflect.Message
func (*UpdateTaskRequest) Reset ¶
func (x *UpdateTaskRequest) Reset()
func (*UpdateTaskRequest) String ¶
func (x *UpdateTaskRequest) String() string
type WaitRequest ¶
type WaitRequest struct { ID string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*WaitRequest) Descriptor
deprecated
func (*WaitRequest) Descriptor() ([]byte, []int)
Deprecated: Use WaitRequest.ProtoReflect.Descriptor instead.
func (*WaitRequest) GetID ¶ added in v1.7.0
func (x *WaitRequest) GetID() string
func (*WaitRequest) ProtoMessage ¶
func (*WaitRequest) ProtoMessage()
func (*WaitRequest) ProtoReflect ¶ added in v1.7.0
func (x *WaitRequest) ProtoReflect() protoreflect.Message
func (*WaitRequest) Reset ¶
func (x *WaitRequest) Reset()
func (*WaitRequest) String ¶
func (x *WaitRequest) String() string
type WaitResponse ¶
type WaitResponse struct { ExitStatus uint32 `protobuf:"varint,1,opt,name=exit_status,json=exitStatus,proto3" json:"exit_status,omitempty"` ExitedAt *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=exited_at,json=exitedAt,proto3" json:"exited_at,omitempty"` // contains filtered or unexported fields }
func (*WaitResponse) Descriptor
deprecated
func (*WaitResponse) Descriptor() ([]byte, []int)
Deprecated: Use WaitResponse.ProtoReflect.Descriptor instead.
func (*WaitResponse) GetExitStatus ¶ added in v1.7.0
func (x *WaitResponse) GetExitStatus() uint32
func (*WaitResponse) GetExitedAt ¶ added in v1.7.0
func (x *WaitResponse) GetExitedAt() *timestamppb.Timestamp
func (*WaitResponse) ProtoMessage ¶
func (*WaitResponse) ProtoMessage()
func (*WaitResponse) ProtoReflect ¶ added in v1.7.0
func (x *WaitResponse) ProtoReflect() protoreflect.Message
func (*WaitResponse) Reset ¶
func (x *WaitResponse) Reset()
func (*WaitResponse) String ¶
func (x *WaitResponse) String() string