shim

package
v1.5.15 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 6, 2022 License: Apache-2.0 Imports: 13 Imported by: 301

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthShim        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowShim          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupShim = fmt.Errorf("proto: unexpected end of group")
)

Functions

func RegisterShimService

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

Types

type CheckpointTaskRequest

type CheckpointTaskRequest struct {
	Path                 string      `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"`
	Options              *types1.Any `protobuf:"bytes,2,opt,name=options,proto3" json:"options,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

func (*CheckpointTaskRequest) Descriptor

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

func (*CheckpointTaskRequest) Marshal

func (m *CheckpointTaskRequest) Marshal() (dAtA []byte, err error)

func (*CheckpointTaskRequest) MarshalTo

func (m *CheckpointTaskRequest) MarshalTo(dAtA []byte) (int, error)

func (*CheckpointTaskRequest) MarshalToSizedBuffer added in v1.4.0

func (m *CheckpointTaskRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CheckpointTaskRequest) ProtoMessage

func (*CheckpointTaskRequest) ProtoMessage()

func (*CheckpointTaskRequest) Reset

func (m *CheckpointTaskRequest) Reset()

func (*CheckpointTaskRequest) Size

func (m *CheckpointTaskRequest) Size() (n int)

func (*CheckpointTaskRequest) String

func (this *CheckpointTaskRequest) String() string

func (*CheckpointTaskRequest) Unmarshal

func (m *CheckpointTaskRequest) Unmarshal(dAtA []byte) error

func (*CheckpointTaskRequest) XXX_DiscardUnknown added in v1.3.0

func (m *CheckpointTaskRequest) XXX_DiscardUnknown()

func (*CheckpointTaskRequest) XXX_Marshal added in v1.3.0

func (m *CheckpointTaskRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CheckpointTaskRequest) XXX_Merge added in v1.3.0

func (m *CheckpointTaskRequest) XXX_Merge(src proto.Message)

func (*CheckpointTaskRequest) XXX_Size added in v1.3.0

func (m *CheckpointTaskRequest) XXX_Size() int

func (*CheckpointTaskRequest) XXX_Unmarshal added in v1.3.0

func (m *CheckpointTaskRequest) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CloseIORequest) Descriptor

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

func (*CloseIORequest) Marshal

func (m *CloseIORequest) Marshal() (dAtA []byte, err error)

func (*CloseIORequest) MarshalTo

func (m *CloseIORequest) MarshalTo(dAtA []byte) (int, error)

func (*CloseIORequest) MarshalToSizedBuffer added in v1.4.0

func (m *CloseIORequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CloseIORequest) ProtoMessage

func (*CloseIORequest) ProtoMessage()

func (*CloseIORequest) Reset

func (m *CloseIORequest) Reset()

func (*CloseIORequest) Size

func (m *CloseIORequest) Size() (n int)

func (*CloseIORequest) String

func (this *CloseIORequest) String() string

func (*CloseIORequest) Unmarshal

func (m *CloseIORequest) Unmarshal(dAtA []byte) error

func (*CloseIORequest) XXX_DiscardUnknown added in v1.3.0

func (m *CloseIORequest) XXX_DiscardUnknown()

func (*CloseIORequest) XXX_Marshal added in v1.3.0

func (m *CloseIORequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CloseIORequest) XXX_Merge added in v1.3.0

func (m *CloseIORequest) XXX_Merge(src proto.Message)

func (*CloseIORequest) XXX_Size added in v1.3.0

func (m *CloseIORequest) XXX_Size() int

func (*CloseIORequest) XXX_Unmarshal added in v1.3.0

func (m *CloseIORequest) XXX_Unmarshal(b []byte) error

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              *types1.Any    `protobuf:"bytes,11,opt,name=options,proto3" json:"options,omitempty"`
	XXX_NoUnkeyedLiteral struct{}       `json:"-"`
	XXX_unrecognized     []byte         `json:"-"`
	XXX_sizecache        int32          `json:"-"`
}

func (*CreateTaskRequest) Descriptor

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

func (*CreateTaskRequest) Marshal

func (m *CreateTaskRequest) Marshal() (dAtA []byte, err error)

func (*CreateTaskRequest) MarshalTo

func (m *CreateTaskRequest) MarshalTo(dAtA []byte) (int, error)

func (*CreateTaskRequest) MarshalToSizedBuffer added in v1.4.0

func (m *CreateTaskRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CreateTaskRequest) ProtoMessage

func (*CreateTaskRequest) ProtoMessage()

func (*CreateTaskRequest) Reset

func (m *CreateTaskRequest) Reset()

func (*CreateTaskRequest) Size

func (m *CreateTaskRequest) Size() (n int)

func (*CreateTaskRequest) String

func (this *CreateTaskRequest) String() string

func (*CreateTaskRequest) Unmarshal

func (m *CreateTaskRequest) Unmarshal(dAtA []byte) error

func (*CreateTaskRequest) XXX_DiscardUnknown added in v1.3.0

func (m *CreateTaskRequest) XXX_DiscardUnknown()

func (*CreateTaskRequest) XXX_Marshal added in v1.3.0

func (m *CreateTaskRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateTaskRequest) XXX_Merge added in v1.3.0

func (m *CreateTaskRequest) XXX_Merge(src proto.Message)

func (*CreateTaskRequest) XXX_Size added in v1.3.0

func (m *CreateTaskRequest) XXX_Size() int

func (*CreateTaskRequest) XXX_Unmarshal added in v1.3.0

func (m *CreateTaskRequest) XXX_Unmarshal(b []byte) error

type CreateTaskResponse

type CreateTaskResponse struct {
	Pid                  uint32   `protobuf:"varint,1,opt,name=pid,proto3" json:"pid,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*CreateTaskResponse) Descriptor

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

func (*CreateTaskResponse) Marshal

func (m *CreateTaskResponse) Marshal() (dAtA []byte, err error)

func (*CreateTaskResponse) MarshalTo

func (m *CreateTaskResponse) MarshalTo(dAtA []byte) (int, error)

func (*CreateTaskResponse) MarshalToSizedBuffer added in v1.4.0

func (m *CreateTaskResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*CreateTaskResponse) ProtoMessage

func (*CreateTaskResponse) ProtoMessage()

func (*CreateTaskResponse) Reset

func (m *CreateTaskResponse) Reset()

func (*CreateTaskResponse) Size

func (m *CreateTaskResponse) Size() (n int)

func (*CreateTaskResponse) String

func (this *CreateTaskResponse) String() string

func (*CreateTaskResponse) Unmarshal

func (m *CreateTaskResponse) Unmarshal(dAtA []byte) error

func (*CreateTaskResponse) XXX_DiscardUnknown added in v1.3.0

func (m *CreateTaskResponse) XXX_DiscardUnknown()

func (*CreateTaskResponse) XXX_Marshal added in v1.3.0

func (m *CreateTaskResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateTaskResponse) XXX_Merge added in v1.3.0

func (m *CreateTaskResponse) XXX_Merge(src proto.Message)

func (*CreateTaskResponse) XXX_Size added in v1.3.0

func (m *CreateTaskResponse) XXX_Size() int

func (*CreateTaskResponse) XXX_Unmarshal added in v1.3.0

func (m *CreateTaskResponse) XXX_Unmarshal(b []byte) error

type DeleteProcessRequest

type DeleteProcessRequest struct {
	ID                   string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DeleteProcessRequest) Descriptor

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

func (*DeleteProcessRequest) Marshal

func (m *DeleteProcessRequest) Marshal() (dAtA []byte, err error)

func (*DeleteProcessRequest) MarshalTo

func (m *DeleteProcessRequest) MarshalTo(dAtA []byte) (int, error)

func (*DeleteProcessRequest) MarshalToSizedBuffer added in v1.4.0

func (m *DeleteProcessRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DeleteProcessRequest) ProtoMessage

func (*DeleteProcessRequest) ProtoMessage()

func (*DeleteProcessRequest) Reset

func (m *DeleteProcessRequest) Reset()

func (*DeleteProcessRequest) Size

func (m *DeleteProcessRequest) Size() (n int)

func (*DeleteProcessRequest) String

func (this *DeleteProcessRequest) String() string

func (*DeleteProcessRequest) Unmarshal

func (m *DeleteProcessRequest) Unmarshal(dAtA []byte) error

func (*DeleteProcessRequest) XXX_DiscardUnknown added in v1.3.0

func (m *DeleteProcessRequest) XXX_DiscardUnknown()

func (*DeleteProcessRequest) XXX_Marshal added in v1.3.0

func (m *DeleteProcessRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeleteProcessRequest) XXX_Merge added in v1.3.0

func (m *DeleteProcessRequest) XXX_Merge(src proto.Message)

func (*DeleteProcessRequest) XXX_Size added in v1.3.0

func (m *DeleteProcessRequest) XXX_Size() int

func (*DeleteProcessRequest) XXX_Unmarshal added in v1.3.0

func (m *DeleteProcessRequest) XXX_Unmarshal(b []byte) error

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             time.Time `protobuf:"bytes,3,opt,name=exited_at,json=exitedAt,proto3,stdtime" json:"exited_at"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

func (*DeleteResponse) Descriptor

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

func (*DeleteResponse) Marshal

func (m *DeleteResponse) Marshal() (dAtA []byte, err error)

func (*DeleteResponse) MarshalTo

func (m *DeleteResponse) MarshalTo(dAtA []byte) (int, error)

func (*DeleteResponse) MarshalToSizedBuffer added in v1.4.0

func (m *DeleteResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DeleteResponse) ProtoMessage

func (*DeleteResponse) ProtoMessage()

func (*DeleteResponse) Reset

func (m *DeleteResponse) Reset()

func (*DeleteResponse) Size

func (m *DeleteResponse) Size() (n int)

func (*DeleteResponse) String

func (this *DeleteResponse) String() string

func (*DeleteResponse) Unmarshal

func (m *DeleteResponse) Unmarshal(dAtA []byte) error

func (*DeleteResponse) XXX_DiscardUnknown added in v1.3.0

func (m *DeleteResponse) XXX_DiscardUnknown()

func (*DeleteResponse) XXX_Marshal added in v1.3.0

func (m *DeleteResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeleteResponse) XXX_Merge added in v1.3.0

func (m *DeleteResponse) XXX_Merge(src proto.Message)

func (*DeleteResponse) XXX_Size added in v1.3.0

func (m *DeleteResponse) XXX_Size() int

func (*DeleteResponse) XXX_Unmarshal added in v1.3.0

func (m *DeleteResponse) XXX_Unmarshal(b []byte) error

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                 *types1.Any `protobuf:"bytes,6,opt,name=spec,proto3" json:"spec,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

func (*ExecProcessRequest) Descriptor

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

func (*ExecProcessRequest) Marshal

func (m *ExecProcessRequest) Marshal() (dAtA []byte, err error)

func (*ExecProcessRequest) MarshalTo

func (m *ExecProcessRequest) MarshalTo(dAtA []byte) (int, error)

func (*ExecProcessRequest) MarshalToSizedBuffer added in v1.4.0

func (m *ExecProcessRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ExecProcessRequest) ProtoMessage

func (*ExecProcessRequest) ProtoMessage()

func (*ExecProcessRequest) Reset

func (m *ExecProcessRequest) Reset()

func (*ExecProcessRequest) Size

func (m *ExecProcessRequest) Size() (n int)

func (*ExecProcessRequest) String

func (this *ExecProcessRequest) String() string

func (*ExecProcessRequest) Unmarshal

func (m *ExecProcessRequest) Unmarshal(dAtA []byte) error

func (*ExecProcessRequest) XXX_DiscardUnknown added in v1.3.0

func (m *ExecProcessRequest) XXX_DiscardUnknown()

func (*ExecProcessRequest) XXX_Marshal added in v1.3.0

func (m *ExecProcessRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ExecProcessRequest) XXX_Merge added in v1.3.0

func (m *ExecProcessRequest) XXX_Merge(src proto.Message)

func (*ExecProcessRequest) XXX_Size added in v1.3.0

func (m *ExecProcessRequest) XXX_Size() int

func (*ExecProcessRequest) XXX_Unmarshal added in v1.3.0

func (m *ExecProcessRequest) XXX_Unmarshal(b []byte) error

type ExecProcessResponse

type ExecProcessResponse struct {
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ExecProcessResponse) Descriptor

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

func (*ExecProcessResponse) Marshal

func (m *ExecProcessResponse) Marshal() (dAtA []byte, err error)

func (*ExecProcessResponse) MarshalTo

func (m *ExecProcessResponse) MarshalTo(dAtA []byte) (int, error)

func (*ExecProcessResponse) MarshalToSizedBuffer added in v1.4.0

func (m *ExecProcessResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ExecProcessResponse) ProtoMessage

func (*ExecProcessResponse) ProtoMessage()

func (*ExecProcessResponse) Reset

func (m *ExecProcessResponse) Reset()

func (*ExecProcessResponse) Size

func (m *ExecProcessResponse) Size() (n int)

func (*ExecProcessResponse) String

func (this *ExecProcessResponse) String() string

func (*ExecProcessResponse) Unmarshal

func (m *ExecProcessResponse) Unmarshal(dAtA []byte) error

func (*ExecProcessResponse) XXX_DiscardUnknown added in v1.3.0

func (m *ExecProcessResponse) XXX_DiscardUnknown()

func (*ExecProcessResponse) XXX_Marshal added in v1.3.0

func (m *ExecProcessResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ExecProcessResponse) XXX_Merge added in v1.3.0

func (m *ExecProcessResponse) XXX_Merge(src proto.Message)

func (*ExecProcessResponse) XXX_Size added in v1.3.0

func (m *ExecProcessResponse) XXX_Size() int

func (*ExecProcessResponse) XXX_Unmarshal added in v1.3.0

func (m *ExecProcessResponse) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*KillRequest) Descriptor

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

func (*KillRequest) Marshal

func (m *KillRequest) Marshal() (dAtA []byte, err error)

func (*KillRequest) MarshalTo

func (m *KillRequest) MarshalTo(dAtA []byte) (int, error)

func (*KillRequest) MarshalToSizedBuffer added in v1.4.0

func (m *KillRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*KillRequest) ProtoMessage

func (*KillRequest) ProtoMessage()

func (*KillRequest) Reset

func (m *KillRequest) Reset()

func (*KillRequest) Size

func (m *KillRequest) Size() (n int)

func (*KillRequest) String

func (this *KillRequest) String() string

func (*KillRequest) Unmarshal

func (m *KillRequest) Unmarshal(dAtA []byte) error

func (*KillRequest) XXX_DiscardUnknown added in v1.3.0

func (m *KillRequest) XXX_DiscardUnknown()

func (*KillRequest) XXX_Marshal added in v1.3.0

func (m *KillRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*KillRequest) XXX_Merge added in v1.3.0

func (m *KillRequest) XXX_Merge(src proto.Message)

func (*KillRequest) XXX_Size added in v1.3.0

func (m *KillRequest) XXX_Size() int

func (*KillRequest) XXX_Unmarshal added in v1.3.0

func (m *KillRequest) XXX_Unmarshal(b []byte) error

type ListPidsRequest

type ListPidsRequest struct {
	ID                   string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ListPidsRequest) Descriptor

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

func (*ListPidsRequest) Marshal

func (m *ListPidsRequest) Marshal() (dAtA []byte, err error)

func (*ListPidsRequest) MarshalTo

func (m *ListPidsRequest) MarshalTo(dAtA []byte) (int, error)

func (*ListPidsRequest) MarshalToSizedBuffer added in v1.4.0

func (m *ListPidsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ListPidsRequest) ProtoMessage

func (*ListPidsRequest) ProtoMessage()

func (*ListPidsRequest) Reset

func (m *ListPidsRequest) Reset()

func (*ListPidsRequest) Size

func (m *ListPidsRequest) Size() (n int)

func (*ListPidsRequest) String

func (this *ListPidsRequest) String() string

func (*ListPidsRequest) Unmarshal

func (m *ListPidsRequest) Unmarshal(dAtA []byte) error

func (*ListPidsRequest) XXX_DiscardUnknown added in v1.3.0

func (m *ListPidsRequest) XXX_DiscardUnknown()

func (*ListPidsRequest) XXX_Marshal added in v1.3.0

func (m *ListPidsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListPidsRequest) XXX_Merge added in v1.3.0

func (m *ListPidsRequest) XXX_Merge(src proto.Message)

func (*ListPidsRequest) XXX_Size added in v1.3.0

func (m *ListPidsRequest) XXX_Size() int

func (*ListPidsRequest) XXX_Unmarshal added in v1.3.0

func (m *ListPidsRequest) XXX_Unmarshal(b []byte) error

type ListPidsResponse

type ListPidsResponse struct {
	Processes            []*task.ProcessInfo `protobuf:"bytes,1,rep,name=processes,proto3" json:"processes,omitempty"`
	XXX_NoUnkeyedLiteral struct{}            `json:"-"`
	XXX_unrecognized     []byte              `json:"-"`
	XXX_sizecache        int32               `json:"-"`
}

func (*ListPidsResponse) Descriptor

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

func (*ListPidsResponse) Marshal

func (m *ListPidsResponse) Marshal() (dAtA []byte, err error)

func (*ListPidsResponse) MarshalTo

func (m *ListPidsResponse) MarshalTo(dAtA []byte) (int, error)

func (*ListPidsResponse) MarshalToSizedBuffer added in v1.4.0

func (m *ListPidsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ListPidsResponse) ProtoMessage

func (*ListPidsResponse) ProtoMessage()

func (*ListPidsResponse) Reset

func (m *ListPidsResponse) Reset()

func (*ListPidsResponse) Size

func (m *ListPidsResponse) Size() (n int)

func (*ListPidsResponse) String

func (this *ListPidsResponse) String() string

func (*ListPidsResponse) Unmarshal

func (m *ListPidsResponse) Unmarshal(dAtA []byte) error

func (*ListPidsResponse) XXX_DiscardUnknown added in v1.3.0

func (m *ListPidsResponse) XXX_DiscardUnknown()

func (*ListPidsResponse) XXX_Marshal added in v1.3.0

func (m *ListPidsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ListPidsResponse) XXX_Merge added in v1.3.0

func (m *ListPidsResponse) XXX_Merge(src proto.Message)

func (*ListPidsResponse) XXX_Size added in v1.3.0

func (m *ListPidsResponse) XXX_Size() int

func (*ListPidsResponse) XXX_Unmarshal added in v1.3.0

func (m *ListPidsResponse) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ResizePtyRequest) Descriptor

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

func (*ResizePtyRequest) Marshal

func (m *ResizePtyRequest) Marshal() (dAtA []byte, err error)

func (*ResizePtyRequest) MarshalTo

func (m *ResizePtyRequest) MarshalTo(dAtA []byte) (int, error)

func (*ResizePtyRequest) MarshalToSizedBuffer added in v1.4.0

func (m *ResizePtyRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ResizePtyRequest) ProtoMessage

func (*ResizePtyRequest) ProtoMessage()

func (*ResizePtyRequest) Reset

func (m *ResizePtyRequest) Reset()

func (*ResizePtyRequest) Size

func (m *ResizePtyRequest) Size() (n int)

func (*ResizePtyRequest) String

func (this *ResizePtyRequest) String() string

func (*ResizePtyRequest) Unmarshal

func (m *ResizePtyRequest) Unmarshal(dAtA []byte) error

func (*ResizePtyRequest) XXX_DiscardUnknown added in v1.3.0

func (m *ResizePtyRequest) XXX_DiscardUnknown()

func (*ResizePtyRequest) XXX_Marshal added in v1.3.0

func (m *ResizePtyRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ResizePtyRequest) XXX_Merge added in v1.3.0

func (m *ResizePtyRequest) XXX_Merge(src proto.Message)

func (*ResizePtyRequest) XXX_Size added in v1.3.0

func (m *ResizePtyRequest) XXX_Size() int

func (*ResizePtyRequest) XXX_Unmarshal added in v1.3.0

func (m *ResizePtyRequest) XXX_Unmarshal(b []byte) error

type ShimInfoResponse

type ShimInfoResponse struct {
	ShimPid              uint32   `protobuf:"varint,1,opt,name=shim_pid,json=shimPid,proto3" json:"shim_pid,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*ShimInfoResponse) Descriptor

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

func (*ShimInfoResponse) Marshal

func (m *ShimInfoResponse) Marshal() (dAtA []byte, err error)

func (*ShimInfoResponse) MarshalTo

func (m *ShimInfoResponse) MarshalTo(dAtA []byte) (int, error)

func (*ShimInfoResponse) MarshalToSizedBuffer added in v1.4.0

func (m *ShimInfoResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ShimInfoResponse) ProtoMessage

func (*ShimInfoResponse) ProtoMessage()

func (*ShimInfoResponse) Reset

func (m *ShimInfoResponse) Reset()

func (*ShimInfoResponse) Size

func (m *ShimInfoResponse) Size() (n int)

func (*ShimInfoResponse) String

func (this *ShimInfoResponse) String() string

func (*ShimInfoResponse) Unmarshal

func (m *ShimInfoResponse) Unmarshal(dAtA []byte) error

func (*ShimInfoResponse) XXX_DiscardUnknown added in v1.3.0

func (m *ShimInfoResponse) XXX_DiscardUnknown()

func (*ShimInfoResponse) XXX_Marshal added in v1.3.0

func (m *ShimInfoResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ShimInfoResponse) XXX_Merge added in v1.3.0

func (m *ShimInfoResponse) XXX_Merge(src proto.Message)

func (*ShimInfoResponse) XXX_Size added in v1.3.0

func (m *ShimInfoResponse) XXX_Size() int

func (*ShimInfoResponse) XXX_Unmarshal added in v1.3.0

func (m *ShimInfoResponse) XXX_Unmarshal(b []byte) error

type StartRequest

type StartRequest struct {
	ID                   string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*StartRequest) Descriptor

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

func (*StartRequest) Marshal

func (m *StartRequest) Marshal() (dAtA []byte, err error)

func (*StartRequest) MarshalTo

func (m *StartRequest) MarshalTo(dAtA []byte) (int, error)

func (*StartRequest) MarshalToSizedBuffer added in v1.4.0

func (m *StartRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*StartRequest) ProtoMessage

func (*StartRequest) ProtoMessage()

func (*StartRequest) Reset

func (m *StartRequest) Reset()

func (*StartRequest) Size

func (m *StartRequest) Size() (n int)

func (*StartRequest) String

func (this *StartRequest) String() string

func (*StartRequest) Unmarshal

func (m *StartRequest) Unmarshal(dAtA []byte) error

func (*StartRequest) XXX_DiscardUnknown added in v1.3.0

func (m *StartRequest) XXX_DiscardUnknown()

func (*StartRequest) XXX_Marshal added in v1.3.0

func (m *StartRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StartRequest) XXX_Merge added in v1.3.0

func (m *StartRequest) XXX_Merge(src proto.Message)

func (*StartRequest) XXX_Size added in v1.3.0

func (m *StartRequest) XXX_Size() int

func (*StartRequest) XXX_Unmarshal added in v1.3.0

func (m *StartRequest) XXX_Unmarshal(b []byte) error

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"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*StartResponse) Descriptor

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

func (*StartResponse) Marshal

func (m *StartResponse) Marshal() (dAtA []byte, err error)

func (*StartResponse) MarshalTo

func (m *StartResponse) MarshalTo(dAtA []byte) (int, error)

func (*StartResponse) MarshalToSizedBuffer added in v1.4.0

func (m *StartResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*StartResponse) ProtoMessage

func (*StartResponse) ProtoMessage()

func (*StartResponse) Reset

func (m *StartResponse) Reset()

func (*StartResponse) Size

func (m *StartResponse) Size() (n int)

func (*StartResponse) String

func (this *StartResponse) String() string

func (*StartResponse) Unmarshal

func (m *StartResponse) Unmarshal(dAtA []byte) error

func (*StartResponse) XXX_DiscardUnknown added in v1.3.0

func (m *StartResponse) XXX_DiscardUnknown()

func (*StartResponse) XXX_Marshal added in v1.3.0

func (m *StartResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StartResponse) XXX_Merge added in v1.3.0

func (m *StartResponse) XXX_Merge(src proto.Message)

func (*StartResponse) XXX_Size added in v1.3.0

func (m *StartResponse) XXX_Size() int

func (*StartResponse) XXX_Unmarshal added in v1.3.0

func (m *StartResponse) XXX_Unmarshal(b []byte) error

type StateRequest

type StateRequest struct {
	ID                   string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*StateRequest) Descriptor

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

func (*StateRequest) Marshal

func (m *StateRequest) Marshal() (dAtA []byte, err error)

func (*StateRequest) MarshalTo

func (m *StateRequest) MarshalTo(dAtA []byte) (int, error)

func (*StateRequest) MarshalToSizedBuffer added in v1.4.0

func (m *StateRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*StateRequest) ProtoMessage

func (*StateRequest) ProtoMessage()

func (*StateRequest) Reset

func (m *StateRequest) Reset()

func (*StateRequest) Size

func (m *StateRequest) Size() (n int)

func (*StateRequest) String

func (this *StateRequest) String() string

func (*StateRequest) Unmarshal

func (m *StateRequest) Unmarshal(dAtA []byte) error

func (*StateRequest) XXX_DiscardUnknown added in v1.3.0

func (m *StateRequest) XXX_DiscardUnknown()

func (*StateRequest) XXX_Marshal added in v1.3.0

func (m *StateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StateRequest) XXX_Merge added in v1.3.0

func (m *StateRequest) XXX_Merge(src proto.Message)

func (*StateRequest) XXX_Size added in v1.3.0

func (m *StateRequest) XXX_Size() int

func (*StateRequest) XXX_Unmarshal added in v1.3.0

func (m *StateRequest) XXX_Unmarshal(b []byte) error

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             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 (*StateResponse) Descriptor

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

func (*StateResponse) Marshal

func (m *StateResponse) Marshal() (dAtA []byte, err error)

func (*StateResponse) MarshalTo

func (m *StateResponse) MarshalTo(dAtA []byte) (int, error)

func (*StateResponse) MarshalToSizedBuffer added in v1.4.0

func (m *StateResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*StateResponse) ProtoMessage

func (*StateResponse) ProtoMessage()

func (*StateResponse) Reset

func (m *StateResponse) Reset()

func (*StateResponse) Size

func (m *StateResponse) Size() (n int)

func (*StateResponse) String

func (this *StateResponse) String() string

func (*StateResponse) Unmarshal

func (m *StateResponse) Unmarshal(dAtA []byte) error

func (*StateResponse) XXX_DiscardUnknown added in v1.3.0

func (m *StateResponse) XXX_DiscardUnknown()

func (*StateResponse) XXX_Marshal added in v1.3.0

func (m *StateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StateResponse) XXX_Merge added in v1.3.0

func (m *StateResponse) XXX_Merge(src proto.Message)

func (*StateResponse) XXX_Size added in v1.3.0

func (m *StateResponse) XXX_Size() int

func (*StateResponse) XXX_Unmarshal added in v1.3.0

func (m *StateResponse) XXX_Unmarshal(b []byte) error

type UpdateTaskRequest

type UpdateTaskRequest struct {
	Resources            *types1.Any `protobuf:"bytes,1,opt,name=resources,proto3" json:"resources,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

func (*UpdateTaskRequest) Descriptor

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

func (*UpdateTaskRequest) Marshal

func (m *UpdateTaskRequest) Marshal() (dAtA []byte, err error)

func (*UpdateTaskRequest) MarshalTo

func (m *UpdateTaskRequest) MarshalTo(dAtA []byte) (int, error)

func (*UpdateTaskRequest) MarshalToSizedBuffer added in v1.4.0

func (m *UpdateTaskRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*UpdateTaskRequest) ProtoMessage

func (*UpdateTaskRequest) ProtoMessage()

func (*UpdateTaskRequest) Reset

func (m *UpdateTaskRequest) Reset()

func (*UpdateTaskRequest) Size

func (m *UpdateTaskRequest) Size() (n int)

func (*UpdateTaskRequest) String

func (this *UpdateTaskRequest) String() string

func (*UpdateTaskRequest) Unmarshal

func (m *UpdateTaskRequest) Unmarshal(dAtA []byte) error

func (*UpdateTaskRequest) XXX_DiscardUnknown added in v1.3.0

func (m *UpdateTaskRequest) XXX_DiscardUnknown()

func (*UpdateTaskRequest) XXX_Marshal added in v1.3.0

func (m *UpdateTaskRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UpdateTaskRequest) XXX_Merge added in v1.3.0

func (m *UpdateTaskRequest) XXX_Merge(src proto.Message)

func (*UpdateTaskRequest) XXX_Size added in v1.3.0

func (m *UpdateTaskRequest) XXX_Size() int

func (*UpdateTaskRequest) XXX_Unmarshal added in v1.3.0

func (m *UpdateTaskRequest) XXX_Unmarshal(b []byte) error

type WaitRequest

type WaitRequest struct {
	ID                   string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*WaitRequest) Descriptor

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

func (*WaitRequest) Marshal

func (m *WaitRequest) Marshal() (dAtA []byte, err error)

func (*WaitRequest) MarshalTo

func (m *WaitRequest) MarshalTo(dAtA []byte) (int, error)

func (*WaitRequest) MarshalToSizedBuffer added in v1.4.0

func (m *WaitRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*WaitRequest) ProtoMessage

func (*WaitRequest) ProtoMessage()

func (*WaitRequest) Reset

func (m *WaitRequest) Reset()

func (*WaitRequest) Size

func (m *WaitRequest) Size() (n int)

func (*WaitRequest) String

func (this *WaitRequest) String() string

func (*WaitRequest) Unmarshal

func (m *WaitRequest) Unmarshal(dAtA []byte) error

func (*WaitRequest) XXX_DiscardUnknown added in v1.3.0

func (m *WaitRequest) XXX_DiscardUnknown()

func (*WaitRequest) XXX_Marshal added in v1.3.0

func (m *WaitRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*WaitRequest) XXX_Merge added in v1.3.0

func (m *WaitRequest) XXX_Merge(src proto.Message)

func (*WaitRequest) XXX_Size added in v1.3.0

func (m *WaitRequest) XXX_Size() int

func (*WaitRequest) XXX_Unmarshal added in v1.3.0

func (m *WaitRequest) XXX_Unmarshal(b []byte) error

type WaitResponse

type WaitResponse struct {
	ExitStatus           uint32    `protobuf:"varint,1,opt,name=exit_status,json=exitStatus,proto3" json:"exit_status,omitempty"`
	ExitedAt             time.Time `protobuf:"bytes,2,opt,name=exited_at,json=exitedAt,proto3,stdtime" json:"exited_at"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

func (*WaitResponse) Descriptor

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

func (*WaitResponse) Marshal

func (m *WaitResponse) Marshal() (dAtA []byte, err error)

func (*WaitResponse) MarshalTo

func (m *WaitResponse) MarshalTo(dAtA []byte) (int, error)

func (*WaitResponse) MarshalToSizedBuffer added in v1.4.0

func (m *WaitResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*WaitResponse) ProtoMessage

func (*WaitResponse) ProtoMessage()

func (*WaitResponse) Reset

func (m *WaitResponse) Reset()

func (*WaitResponse) Size

func (m *WaitResponse) Size() (n int)

func (*WaitResponse) String

func (this *WaitResponse) String() string

func (*WaitResponse) Unmarshal

func (m *WaitResponse) Unmarshal(dAtA []byte) error

func (*WaitResponse) XXX_DiscardUnknown added in v1.3.0

func (m *WaitResponse) XXX_DiscardUnknown()

func (*WaitResponse) XXX_Marshal added in v1.3.0

func (m *WaitResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*WaitResponse) XXX_Merge added in v1.3.0

func (m *WaitResponse) XXX_Merge(src proto.Message)

func (*WaitResponse) XXX_Size added in v1.3.0

func (m *WaitResponse) XXX_Size() int

func (*WaitResponse) XXX_Unmarshal added in v1.3.0

func (m *WaitResponse) XXX_Unmarshal(b []byte) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL