ioproxy

package
v0.0.0-...-6b2d232 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrInvalidLengthIoproxy        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowIoproxy          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupIoproxy = fmt.Errorf("proto: unexpected end of group")
)

Functions

func RegisterIOProxyService

func RegisterIOProxyService(srv *github_com_containerd_ttrpc.Server, svc IOProxyService)

Types

type AttachRequest

type AttachRequest struct {
	ID                   string   `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"`
	ExecID               string   `protobuf:"bytes,2,opt,name=ExecID,proto3" json:"ExecID,omitempty"`
	StdinPort            uint32   `protobuf:"varint,3,opt,name=StdinPort,proto3" json:"StdinPort,omitempty"`
	StdoutPort           uint32   `protobuf:"varint,4,opt,name=StdoutPort,proto3" json:"StdoutPort,omitempty"`
	StderrPort           uint32   `protobuf:"varint,5,opt,name=StderrPort,proto3" json:"StderrPort,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*AttachRequest) Descriptor

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

func (*AttachRequest) Marshal

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

func (*AttachRequest) MarshalTo

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

func (*AttachRequest) MarshalToSizedBuffer

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

func (*AttachRequest) ProtoMessage

func (*AttachRequest) ProtoMessage()

func (*AttachRequest) Reset

func (m *AttachRequest) Reset()

func (*AttachRequest) Size

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

func (*AttachRequest) String

func (this *AttachRequest) String() string

func (*AttachRequest) Unmarshal

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

func (*AttachRequest) XXX_DiscardUnknown

func (m *AttachRequest) XXX_DiscardUnknown()

func (*AttachRequest) XXX_Marshal

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

func (*AttachRequest) XXX_Merge

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

func (*AttachRequest) XXX_Size

func (m *AttachRequest) XXX_Size() int

func (*AttachRequest) XXX_Unmarshal

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

type IOProxyService

type IOProxyService interface {
	State(ctx context.Context, req *StateRequest) (*StateResponse, error)
	Attach(ctx context.Context, req *AttachRequest) (*types.Empty, error)
}

type StateRequest

type StateRequest struct {
	ID                   string   `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"`
	ExecID               string   `protobuf:"bytes,2,opt,name=ExecID,proto3" json:"ExecID,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

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

func (m *StateRequest) XXX_DiscardUnknown()

func (*StateRequest) XXX_Marshal

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

func (*StateRequest) XXX_Merge

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

func (*StateRequest) XXX_Size

func (m *StateRequest) XXX_Size() int

func (*StateRequest) XXX_Unmarshal

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

type StateResponse

type StateResponse struct {
	IsOpen               bool     `protobuf:"varint,1,opt,name=IsOpen,proto3" json:"IsOpen,omitempty"`
	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

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

func (m *StateResponse) XXX_DiscardUnknown()

func (*StateResponse) XXX_Marshal

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

func (*StateResponse) XXX_Merge

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

func (*StateResponse) XXX_Size

func (m *StateResponse) XXX_Size() int

func (*StateResponse) XXX_Unmarshal

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

Jump to

Keyboard shortcuts

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