...

Package shim

import "github.com/containerd/containerd/runtime/v1/shim/v1"
Overview
Index

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)
    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)
    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)
    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
    func (*CreateTaskResponse) Descriptor() ([]byte, []int)
    func (x *CreateTaskResponse) GetPid() uint32
    func (*CreateTaskResponse) ProtoMessage()
    func (x *CreateTaskResponse) ProtoReflect() protoreflect.Message
    func (x *CreateTaskResponse) Reset()
    func (x *CreateTaskResponse) String() string
type DeleteProcessRequest
    func (*DeleteProcessRequest) Descriptor() ([]byte, []int)
    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)
    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)
    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
    func (*ExecProcessResponse) Descriptor() ([]byte, []int)
    func (*ExecProcessResponse) ProtoMessage()
    func (x *ExecProcessResponse) ProtoReflect() protoreflect.Message
    func (x *ExecProcessResponse) Reset()
    func (x *ExecProcessResponse) String() string
type KillRequest
    func (*KillRequest) Descriptor() ([]byte, []int)
    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
    func (*ListPidsRequest) Descriptor() ([]byte, []int)
    func (x *ListPidsRequest) GetID() string
    func (*ListPidsRequest) ProtoMessage()
    func (x *ListPidsRequest) ProtoReflect() protoreflect.Message
    func (x *ListPidsRequest) Reset()
    func (x *ListPidsRequest) String() string
type ListPidsResponse
    func (*ListPidsResponse) Descriptor() ([]byte, []int)
    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)
    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
    func (*ShimInfoResponse) Descriptor() ([]byte, []int)
    func (x *ShimInfoResponse) GetShimPid() uint32
    func (*ShimInfoResponse) ProtoMessage()
    func (x *ShimInfoResponse) ProtoReflect() protoreflect.Message
    func (x *ShimInfoResponse) Reset()
    func (x *ShimInfoResponse) String() string
type ShimService
    func NewShimClient(client *ttrpc.Client) ShimService
type StartRequest
    func (*StartRequest) Descriptor() ([]byte, []int)
    func (x *StartRequest) GetID() string
    func (*StartRequest) ProtoMessage()
    func (x *StartRequest) ProtoReflect() protoreflect.Message
    func (x *StartRequest) Reset()
    func (x *StartRequest) String() string
type StartResponse
    func (*StartResponse) Descriptor() ([]byte, []int)
    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
    func (*StateRequest) Descriptor() ([]byte, []int)
    func (x *StateRequest) GetID() string
    func (*StateRequest) ProtoMessage()
    func (x *StateRequest) ProtoReflect() protoreflect.Message
    func (x *StateRequest) Reset()
    func (x *StateRequest) String() string
type StateResponse
    func (*StateResponse) Descriptor() ([]byte, []int)
    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)
    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
    func (*WaitRequest) Descriptor() ([]byte, []int)
    func (x *WaitRequest) GetID() string
    func (*WaitRequest) ProtoMessage()
    func (x *WaitRequest) ProtoReflect() protoreflect.Message
    func (x *WaitRequest) Reset()
    func (x *WaitRequest) String() string
type WaitResponse
    func (*WaitResponse) Descriptor() ([]byte, []int)
    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

Package files

doc.go shim.pb.go shim_ttrpc.pb.go

Variables

var File_github_com_containerd_containerd_runtime_v1_shim_v1_shim_proto protoreflect.FileDescriptor

func RegisterShimService

func RegisterShimService(srv *ttrpc.Server, svc ShimService)

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

func (*CheckpointTaskRequest) Descriptor() ([]byte, []int)

Deprecated: Use CheckpointTaskRequest.ProtoReflect.Descriptor instead.

func (*CheckpointTaskRequest) GetOptions

func (x *CheckpointTaskRequest) GetOptions() *anypb.Any

func (*CheckpointTaskRequest) GetPath

func (x *CheckpointTaskRequest) GetPath() string

func (*CheckpointTaskRequest) ProtoMessage

func (*CheckpointTaskRequest) ProtoMessage()

func (*CheckpointTaskRequest) ProtoReflect

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

func (*CloseIORequest) Descriptor() ([]byte, []int)

Deprecated: Use CloseIORequest.ProtoReflect.Descriptor instead.

func (*CloseIORequest) GetID

func (x *CloseIORequest) GetID() string

func (*CloseIORequest) GetStdin

func (x *CloseIORequest) GetStdin() bool

func (*CloseIORequest) ProtoMessage

func (*CloseIORequest) ProtoMessage()

func (*CloseIORequest) ProtoReflect

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

func (*CreateTaskRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateTaskRequest.ProtoReflect.Descriptor instead.

func (*CreateTaskRequest) GetBundle

func (x *CreateTaskRequest) GetBundle() string

func (*CreateTaskRequest) GetCheckpoint

func (x *CreateTaskRequest) GetCheckpoint() string

func (*CreateTaskRequest) GetID

func (x *CreateTaskRequest) GetID() string

func (*CreateTaskRequest) GetOptions

func (x *CreateTaskRequest) GetOptions() *anypb.Any

func (*CreateTaskRequest) GetParentCheckpoint

func (x *CreateTaskRequest) GetParentCheckpoint() string

func (*CreateTaskRequest) GetRootfs

func (x *CreateTaskRequest) GetRootfs() []*types.Mount

func (*CreateTaskRequest) GetRuntime

func (x *CreateTaskRequest) GetRuntime() string

func (*CreateTaskRequest) GetStderr

func (x *CreateTaskRequest) GetStderr() string

func (*CreateTaskRequest) GetStdin

func (x *CreateTaskRequest) GetStdin() string

func (*CreateTaskRequest) GetStdout

func (x *CreateTaskRequest) GetStdout() string

func (*CreateTaskRequest) GetTerminal

func (x *CreateTaskRequest) GetTerminal() bool

func (*CreateTaskRequest) ProtoMessage

func (*CreateTaskRequest) ProtoMessage()

func (*CreateTaskRequest) ProtoReflect

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

func (*CreateTaskResponse) Descriptor() ([]byte, []int)

Deprecated: Use CreateTaskResponse.ProtoReflect.Descriptor instead.

func (*CreateTaskResponse) GetPid

func (x *CreateTaskResponse) GetPid() uint32

func (*CreateTaskResponse) ProtoMessage

func (*CreateTaskResponse) ProtoMessage()

func (*CreateTaskResponse) ProtoReflect

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

func (*DeleteProcessRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteProcessRequest.ProtoReflect.Descriptor instead.

func (*DeleteProcessRequest) GetID

func (x *DeleteProcessRequest) GetID() string

func (*DeleteProcessRequest) ProtoMessage

func (*DeleteProcessRequest) ProtoMessage()

func (*DeleteProcessRequest) ProtoReflect

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

func (*DeleteResponse) Descriptor() ([]byte, []int)

Deprecated: Use DeleteResponse.ProtoReflect.Descriptor instead.

func (*DeleteResponse) GetExitStatus

func (x *DeleteResponse) GetExitStatus() uint32

func (*DeleteResponse) GetExitedAt

func (x *DeleteResponse) GetExitedAt() *timestamppb.Timestamp

func (*DeleteResponse) GetPid

func (x *DeleteResponse) GetPid() uint32

func (*DeleteResponse) ProtoMessage

func (*DeleteResponse) ProtoMessage()

func (*DeleteResponse) ProtoReflect

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

func (*ExecProcessRequest) Descriptor() ([]byte, []int)

Deprecated: Use ExecProcessRequest.ProtoReflect.Descriptor instead.

func (*ExecProcessRequest) GetID

func (x *ExecProcessRequest) GetID() string

func (*ExecProcessRequest) GetSpec

func (x *ExecProcessRequest) GetSpec() *anypb.Any

func (*ExecProcessRequest) GetStderr

func (x *ExecProcessRequest) GetStderr() string

func (*ExecProcessRequest) GetStdin

func (x *ExecProcessRequest) GetStdin() string

func (*ExecProcessRequest) GetStdout

func (x *ExecProcessRequest) GetStdout() string

func (*ExecProcessRequest) GetTerminal

func (x *ExecProcessRequest) GetTerminal() bool

func (*ExecProcessRequest) ProtoMessage

func (*ExecProcessRequest) ProtoMessage()

func (*ExecProcessRequest) ProtoReflect

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

func (*ExecProcessResponse) Descriptor() ([]byte, []int)

Deprecated: Use ExecProcessResponse.ProtoReflect.Descriptor instead.

func (*ExecProcessResponse) ProtoMessage

func (*ExecProcessResponse) ProtoMessage()

func (*ExecProcessResponse) ProtoReflect

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

func (*KillRequest) Descriptor() ([]byte, []int)

Deprecated: Use KillRequest.ProtoReflect.Descriptor instead.

func (*KillRequest) GetAll

func (x *KillRequest) GetAll() bool

func (*KillRequest) GetID

func (x *KillRequest) GetID() string

func (*KillRequest) GetSignal

func (x *KillRequest) GetSignal() uint32

func (*KillRequest) ProtoMessage

func (*KillRequest) ProtoMessage()

func (*KillRequest) ProtoReflect

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

func (*ListPidsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListPidsRequest.ProtoReflect.Descriptor instead.

func (*ListPidsRequest) GetID

func (x *ListPidsRequest) GetID() string

func (*ListPidsRequest) ProtoMessage

func (*ListPidsRequest) ProtoMessage()

func (*ListPidsRequest) ProtoReflect

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

func (*ListPidsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListPidsResponse.ProtoReflect.Descriptor instead.

func (*ListPidsResponse) GetProcesses

func (x *ListPidsResponse) GetProcesses() []*task.ProcessInfo

func (*ListPidsResponse) ProtoMessage

func (*ListPidsResponse) ProtoMessage()

func (*ListPidsResponse) ProtoReflect

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

func (*ResizePtyRequest) Descriptor() ([]byte, []int)

Deprecated: Use ResizePtyRequest.ProtoReflect.Descriptor instead.

func (*ResizePtyRequest) GetHeight

func (x *ResizePtyRequest) GetHeight() uint32

func (*ResizePtyRequest) GetID

func (x *ResizePtyRequest) GetID() string

func (*ResizePtyRequest) GetWidth

func (x *ResizePtyRequest) GetWidth() uint32

func (*ResizePtyRequest) ProtoMessage

func (*ResizePtyRequest) ProtoMessage()

func (*ResizePtyRequest) ProtoReflect

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

func (*ShimInfoResponse) Descriptor() ([]byte, []int)

Deprecated: Use ShimInfoResponse.ProtoReflect.Descriptor instead.

func (*ShimInfoResponse) GetShimPid

func (x *ShimInfoResponse) GetShimPid() uint32

func (*ShimInfoResponse) ProtoMessage

func (*ShimInfoResponse) ProtoMessage()

func (*ShimInfoResponse) ProtoReflect

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

func (*StartRequest) Descriptor() ([]byte, []int)

Deprecated: Use StartRequest.ProtoReflect.Descriptor instead.

func (*StartRequest) GetID

func (x *StartRequest) GetID() string

func (*StartRequest) ProtoMessage

func (*StartRequest) ProtoMessage()

func (*StartRequest) ProtoReflect

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

func (*StartResponse) Descriptor() ([]byte, []int)

Deprecated: Use StartResponse.ProtoReflect.Descriptor instead.

func (*StartResponse) GetID

func (x *StartResponse) GetID() string

func (*StartResponse) GetPid

func (x *StartResponse) GetPid() uint32

func (*StartResponse) ProtoMessage

func (*StartResponse) ProtoMessage()

func (*StartResponse) ProtoReflect

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

func (*StateRequest) Descriptor() ([]byte, []int)

Deprecated: Use StateRequest.ProtoReflect.Descriptor instead.

func (*StateRequest) GetID

func (x *StateRequest) GetID() string

func (*StateRequest) ProtoMessage

func (*StateRequest) ProtoMessage()

func (*StateRequest) ProtoReflect

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

func (*StateResponse) Descriptor() ([]byte, []int)

Deprecated: Use StateResponse.ProtoReflect.Descriptor instead.

func (*StateResponse) GetBundle

func (x *StateResponse) GetBundle() string

func (*StateResponse) GetExitStatus

func (x *StateResponse) GetExitStatus() uint32

func (*StateResponse) GetExitedAt

func (x *StateResponse) GetExitedAt() *timestamppb.Timestamp

func (*StateResponse) GetID

func (x *StateResponse) GetID() string

func (*StateResponse) GetPid

func (x *StateResponse) GetPid() uint32

func (*StateResponse) GetStatus

func (x *StateResponse) GetStatus() task.Status

func (*StateResponse) GetStderr

func (x *StateResponse) GetStderr() string

func (*StateResponse) GetStdin

func (x *StateResponse) GetStdin() string

func (*StateResponse) GetStdout

func (x *StateResponse) GetStdout() string

func (*StateResponse) GetTerminal

func (x *StateResponse) GetTerminal() bool

func (*StateResponse) ProtoMessage

func (*StateResponse) ProtoMessage()

func (*StateResponse) ProtoReflect

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

func (*UpdateTaskRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateTaskRequest.ProtoReflect.Descriptor instead.

func (*UpdateTaskRequest) GetResources

func (x *UpdateTaskRequest) GetResources() *anypb.Any

func (*UpdateTaskRequest) ProtoMessage

func (*UpdateTaskRequest) ProtoMessage()

func (*UpdateTaskRequest) ProtoReflect

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

func (*WaitRequest) Descriptor() ([]byte, []int)

Deprecated: Use WaitRequest.ProtoReflect.Descriptor instead.

func (*WaitRequest) GetID

func (x *WaitRequest) GetID() string

func (*WaitRequest) ProtoMessage

func (*WaitRequest) ProtoMessage()

func (*WaitRequest) ProtoReflect

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

func (*WaitResponse) Descriptor() ([]byte, []int)

Deprecated: Use WaitResponse.ProtoReflect.Descriptor instead.

func (*WaitResponse) GetExitStatus

func (x *WaitResponse) GetExitStatus() uint32

func (*WaitResponse) GetExitedAt

func (x *WaitResponse) GetExitedAt() *timestamppb.Timestamp

func (*WaitResponse) ProtoMessage

func (*WaitResponse) ProtoMessage()

func (*WaitResponse) ProtoReflect

func (x *WaitResponse) ProtoReflect() protoreflect.Message

func (*WaitResponse) Reset

func (x *WaitResponse) Reset()

func (*WaitResponse) String

func (x *WaitResponse) String() string