Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterTerminalServer(s *grpc.Server, srv TerminalServer)
- func RegisterTunnelListenerServer(s *grpc.Server, srv TunnelListenerServer)
- type ListenRequest
- func (*ListenRequest) Descriptor() ([]byte, []int)
- func (this *ListenRequest) Equal(that interface{}) bool
- func (m *ListenRequest) GetAddr() string
- func (m *ListenRequest) GetClose() bool
- func (m *ListenRequest) GetConnId() string
- func (m *ListenRequest) GetData() []byte
- func (m *ListenRequest) GetProtocol() string
- func (this *ListenRequest) GoString() string
- func (m *ListenRequest) Marshal() (dAtA []byte, err error)
- func (m *ListenRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *ListenRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ListenRequest) ProtoMessage()
- func (m *ListenRequest) Reset()
- func (m *ListenRequest) Size() (n int)
- func (this *ListenRequest) String() string
- func (m *ListenRequest) Unmarshal(dAtA []byte) error
- func (m *ListenRequest) XXX_DiscardUnknown()
- func (m *ListenRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListenRequest) XXX_Merge(src proto.Message)
- func (m *ListenRequest) XXX_Size() int
- func (m *ListenRequest) XXX_Unmarshal(b []byte) error
- type ListenResponse
- func (*ListenResponse) Descriptor() ([]byte, []int)
- func (this *ListenResponse) Equal(that interface{}) bool
- func (m *ListenResponse) GetAddr() string
- func (m *ListenResponse) GetClose() bool
- func (m *ListenResponse) GetConnId() string
- func (m *ListenResponse) GetData() []byte
- func (this *ListenResponse) GoString() string
- func (m *ListenResponse) Marshal() (dAtA []byte, err error)
- func (m *ListenResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *ListenResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ListenResponse) ProtoMessage()
- func (m *ListenResponse) Reset()
- func (m *ListenResponse) Size() (n int)
- func (this *ListenResponse) String() string
- func (m *ListenResponse) Unmarshal(dAtA []byte) error
- func (m *ListenResponse) XXX_DiscardUnknown()
- func (m *ListenResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListenResponse) XXX_Merge(src proto.Message)
- func (m *ListenResponse) XXX_Size() int
- func (m *ListenResponse) XXX_Unmarshal(b []byte) error
- type Resize
- func (*Resize) Descriptor() ([]byte, []int)
- func (this *Resize) Equal(that interface{}) bool
- func (m *Resize) GetHeight() int32
- func (m *Resize) GetWidth() int32
- func (this *Resize) GoString() string
- func (m *Resize) Marshal() (dAtA []byte, err error)
- func (m *Resize) MarshalTo(dAtA []byte) (int, error)
- func (m *Resize) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Resize) ProtoMessage()
- func (m *Resize) Reset()
- func (m *Resize) Size() (n int)
- func (this *Resize) String() string
- func (m *Resize) Unmarshal(dAtA []byte) error
- func (m *Resize) XXX_DiscardUnknown()
- func (m *Resize) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Resize) XXX_Merge(src proto.Message)
- func (m *Resize) XXX_Size() int
- func (m *Resize) XXX_Unmarshal(b []byte) error
- type SessionRequest
- func (*SessionRequest) Descriptor() ([]byte, []int)
- func (this *SessionRequest) Equal(that interface{}) bool
- func (m *SessionRequest) GetExit() int32
- func (m *SessionRequest) GetMsg() isSessionRequest_Msg
- func (m *SessionRequest) GetStderr() []byte
- func (m *SessionRequest) GetStdout() []byte
- func (this *SessionRequest) GoString() string
- func (m *SessionRequest) Marshal() (dAtA []byte, err error)
- func (m *SessionRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *SessionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SessionRequest) ProtoMessage()
- func (m *SessionRequest) Reset()
- func (m *SessionRequest) Size() (n int)
- func (this *SessionRequest) String() string
- func (m *SessionRequest) Unmarshal(dAtA []byte) error
- func (m *SessionRequest) XXX_DiscardUnknown()
- func (m *SessionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SessionRequest) XXX_Merge(src proto.Message)
- func (*SessionRequest) XXX_OneofWrappers() []interface{}
- func (m *SessionRequest) XXX_Size() int
- func (m *SessionRequest) XXX_Unmarshal(b []byte) error
- type SessionRequest_Exit
- func (this *SessionRequest_Exit) Equal(that interface{}) bool
- func (this *SessionRequest_Exit) GoString() string
- func (m *SessionRequest_Exit) MarshalTo(dAtA []byte) (int, error)
- func (m *SessionRequest_Exit) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (m *SessionRequest_Exit) Size() (n int)
- func (this *SessionRequest_Exit) String() string
- type SessionRequest_Stderr
- func (this *SessionRequest_Stderr) Equal(that interface{}) bool
- func (this *SessionRequest_Stderr) GoString() string
- func (m *SessionRequest_Stderr) MarshalTo(dAtA []byte) (int, error)
- func (m *SessionRequest_Stderr) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (m *SessionRequest_Stderr) Size() (n int)
- func (this *SessionRequest_Stderr) String() string
- type SessionRequest_Stdout
- func (this *SessionRequest_Stdout) Equal(that interface{}) bool
- func (this *SessionRequest_Stdout) GoString() string
- func (m *SessionRequest_Stdout) MarshalTo(dAtA []byte) (int, error)
- func (m *SessionRequest_Stdout) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (m *SessionRequest_Stdout) Size() (n int)
- func (this *SessionRequest_Stdout) String() string
- type SessionResponse
- func (*SessionResponse) Descriptor() ([]byte, []int)
- func (this *SessionResponse) Equal(that interface{}) bool
- func (m *SessionResponse) GetMsg() isSessionResponse_Msg
- func (m *SessionResponse) GetResize() *Resize
- func (m *SessionResponse) GetStdin() []byte
- func (this *SessionResponse) GoString() string
- func (m *SessionResponse) Marshal() (dAtA []byte, err error)
- func (m *SessionResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *SessionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SessionResponse) ProtoMessage()
- func (m *SessionResponse) Reset()
- func (m *SessionResponse) Size() (n int)
- func (this *SessionResponse) String() string
- func (m *SessionResponse) Unmarshal(dAtA []byte) error
- func (m *SessionResponse) XXX_DiscardUnknown()
- func (m *SessionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SessionResponse) XXX_Merge(src proto.Message)
- func (*SessionResponse) XXX_OneofWrappers() []interface{}
- func (m *SessionResponse) XXX_Size() int
- func (m *SessionResponse) XXX_Unmarshal(b []byte) error
- type SessionResponse_Resize
- func (this *SessionResponse_Resize) Equal(that interface{}) bool
- func (this *SessionResponse_Resize) GoString() string
- func (m *SessionResponse_Resize) MarshalTo(dAtA []byte) (int, error)
- func (m *SessionResponse_Resize) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (m *SessionResponse_Resize) Size() (n int)
- func (this *SessionResponse_Resize) String() string
- type SessionResponse_Stdin
- func (this *SessionResponse_Stdin) Equal(that interface{}) bool
- func (this *SessionResponse_Stdin) GoString() string
- func (m *SessionResponse_Stdin) MarshalTo(dAtA []byte) (int, error)
- func (m *SessionResponse_Stdin) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (m *SessionResponse_Stdin) Size() (n int)
- func (this *SessionResponse_Stdin) String() string
- type TerminalAttachable
- type TerminalClient
- type TerminalServer
- type Terminal_SessionClient
- type Terminal_SessionServer
- type TunnelListenerAttachable
- type TunnelListenerClient
- type TunnelListenerServer
- type TunnelListener_ListenClient
- type TunnelListener_ListenServer
- type UnimplementedTerminalServer
- type UnimplementedTunnelListenerServer
- type WithTerminalFunc
Constants ¶
const InstrumentationLibrary = "dagger.io/engine.session"
Variables ¶
Functions ¶
func RegisterTerminalServer ¶ added in v0.12.0
func RegisterTerminalServer(s *grpc.Server, srv TerminalServer)
func RegisterTunnelListenerServer ¶
func RegisterTunnelListenerServer(s *grpc.Server, srv TunnelListenerServer)
Types ¶
type ListenRequest ¶
type ListenRequest struct { Addr string `protobuf:"bytes,1,opt,name=addr,proto3" json:"addr,omitempty"` Protocol string `protobuf:"bytes,2,opt,name=protocol,proto3" json:"protocol,omitempty"` ConnId string `protobuf:"bytes,3,opt,name=connId,proto3" json:"connId,omitempty"` Data []byte `protobuf:"bytes,4,opt,name=data,proto3" json:"data,omitempty"` Close bool `protobuf:"varint,5,opt,name=close,proto3" json:"close,omitempty"` }
func (*ListenRequest) Descriptor ¶
func (*ListenRequest) Descriptor() ([]byte, []int)
func (*ListenRequest) Equal ¶
func (this *ListenRequest) Equal(that interface{}) bool
func (*ListenRequest) GetAddr ¶
func (m *ListenRequest) GetAddr() string
func (*ListenRequest) GetClose ¶
func (m *ListenRequest) GetClose() bool
func (*ListenRequest) GetConnId ¶
func (m *ListenRequest) GetConnId() string
func (*ListenRequest) GetData ¶
func (m *ListenRequest) GetData() []byte
func (*ListenRequest) GetProtocol ¶
func (m *ListenRequest) GetProtocol() string
func (*ListenRequest) GoString ¶
func (this *ListenRequest) GoString() string
func (*ListenRequest) Marshal ¶
func (m *ListenRequest) Marshal() (dAtA []byte, err error)
func (*ListenRequest) MarshalToSizedBuffer ¶
func (m *ListenRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ListenRequest) ProtoMessage ¶
func (*ListenRequest) ProtoMessage()
func (*ListenRequest) Reset ¶
func (m *ListenRequest) Reset()
func (*ListenRequest) Size ¶
func (m *ListenRequest) Size() (n int)
func (*ListenRequest) String ¶
func (this *ListenRequest) String() string
func (*ListenRequest) Unmarshal ¶
func (m *ListenRequest) Unmarshal(dAtA []byte) error
func (*ListenRequest) XXX_DiscardUnknown ¶
func (m *ListenRequest) XXX_DiscardUnknown()
func (*ListenRequest) XXX_Marshal ¶
func (m *ListenRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListenRequest) XXX_Merge ¶
func (m *ListenRequest) XXX_Merge(src proto.Message)
func (*ListenRequest) XXX_Size ¶
func (m *ListenRequest) XXX_Size() int
func (*ListenRequest) XXX_Unmarshal ¶
func (m *ListenRequest) XXX_Unmarshal(b []byte) error
type ListenResponse ¶
type ListenResponse struct { Addr string `protobuf:"bytes,1,opt,name=addr,proto3" json:"addr,omitempty"` ConnId string `protobuf:"bytes,2,opt,name=connId,proto3" json:"connId,omitempty"` Data []byte `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"` Close bool `protobuf:"varint,4,opt,name=close,proto3" json:"close,omitempty"` }
func (*ListenResponse) Descriptor ¶
func (*ListenResponse) Descriptor() ([]byte, []int)
func (*ListenResponse) Equal ¶
func (this *ListenResponse) Equal(that interface{}) bool
func (*ListenResponse) GetAddr ¶
func (m *ListenResponse) GetAddr() string
func (*ListenResponse) GetClose ¶
func (m *ListenResponse) GetClose() bool
func (*ListenResponse) GetConnId ¶
func (m *ListenResponse) GetConnId() string
func (*ListenResponse) GetData ¶
func (m *ListenResponse) GetData() []byte
func (*ListenResponse) GoString ¶
func (this *ListenResponse) GoString() string
func (*ListenResponse) Marshal ¶
func (m *ListenResponse) Marshal() (dAtA []byte, err error)
func (*ListenResponse) MarshalToSizedBuffer ¶
func (m *ListenResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ListenResponse) ProtoMessage ¶
func (*ListenResponse) ProtoMessage()
func (*ListenResponse) Reset ¶
func (m *ListenResponse) Reset()
func (*ListenResponse) Size ¶
func (m *ListenResponse) Size() (n int)
func (*ListenResponse) String ¶
func (this *ListenResponse) String() string
func (*ListenResponse) Unmarshal ¶
func (m *ListenResponse) Unmarshal(dAtA []byte) error
func (*ListenResponse) XXX_DiscardUnknown ¶
func (m *ListenResponse) XXX_DiscardUnknown()
func (*ListenResponse) XXX_Marshal ¶
func (m *ListenResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListenResponse) XXX_Merge ¶
func (m *ListenResponse) XXX_Merge(src proto.Message)
func (*ListenResponse) XXX_Size ¶
func (m *ListenResponse) XXX_Size() int
func (*ListenResponse) XXX_Unmarshal ¶
func (m *ListenResponse) XXX_Unmarshal(b []byte) error
type Resize ¶ added in v0.12.0
type Resize struct { Width int32 `protobuf:"varint,1,opt,name=Width,proto3" json:"Width,omitempty"` Height int32 `protobuf:"varint,2,opt,name=Height,proto3" json:"Height,omitempty"` }
func (*Resize) Descriptor ¶ added in v0.12.0
func (*Resize) MarshalToSizedBuffer ¶ added in v0.12.0
func (*Resize) ProtoMessage ¶ added in v0.12.0
func (*Resize) ProtoMessage()
func (*Resize) XXX_DiscardUnknown ¶ added in v0.12.0
func (m *Resize) XXX_DiscardUnknown()
func (*Resize) XXX_Marshal ¶ added in v0.12.0
func (*Resize) XXX_Unmarshal ¶ added in v0.12.0
type SessionRequest ¶ added in v0.12.0
type SessionRequest struct { // Types that are valid to be assigned to Msg: // *SessionRequest_Stdout // *SessionRequest_Stderr // *SessionRequest_Exit Msg isSessionRequest_Msg `protobuf_oneof:"msg"` }
func (*SessionRequest) Descriptor ¶ added in v0.12.0
func (*SessionRequest) Descriptor() ([]byte, []int)
func (*SessionRequest) Equal ¶ added in v0.12.0
func (this *SessionRequest) Equal(that interface{}) bool
func (*SessionRequest) GetExit ¶ added in v0.12.0
func (m *SessionRequest) GetExit() int32
func (*SessionRequest) GetMsg ¶ added in v0.12.0
func (m *SessionRequest) GetMsg() isSessionRequest_Msg
func (*SessionRequest) GetStderr ¶ added in v0.12.0
func (m *SessionRequest) GetStderr() []byte
func (*SessionRequest) GetStdout ¶ added in v0.12.0
func (m *SessionRequest) GetStdout() []byte
func (*SessionRequest) GoString ¶ added in v0.12.0
func (this *SessionRequest) GoString() string
func (*SessionRequest) Marshal ¶ added in v0.12.0
func (m *SessionRequest) Marshal() (dAtA []byte, err error)
func (*SessionRequest) MarshalTo ¶ added in v0.12.0
func (m *SessionRequest) MarshalTo(dAtA []byte) (int, error)
func (*SessionRequest) MarshalToSizedBuffer ¶ added in v0.12.0
func (m *SessionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SessionRequest) ProtoMessage ¶ added in v0.12.0
func (*SessionRequest) ProtoMessage()
func (*SessionRequest) Reset ¶ added in v0.12.0
func (m *SessionRequest) Reset()
func (*SessionRequest) Size ¶ added in v0.12.0
func (m *SessionRequest) Size() (n int)
func (*SessionRequest) String ¶ added in v0.12.0
func (this *SessionRequest) String() string
func (*SessionRequest) Unmarshal ¶ added in v0.12.0
func (m *SessionRequest) Unmarshal(dAtA []byte) error
func (*SessionRequest) XXX_DiscardUnknown ¶ added in v0.12.0
func (m *SessionRequest) XXX_DiscardUnknown()
func (*SessionRequest) XXX_Marshal ¶ added in v0.12.0
func (m *SessionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SessionRequest) XXX_Merge ¶ added in v0.12.0
func (m *SessionRequest) XXX_Merge(src proto.Message)
func (*SessionRequest) XXX_OneofWrappers ¶ added in v0.12.0
func (*SessionRequest) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*SessionRequest) XXX_Size ¶ added in v0.12.0
func (m *SessionRequest) XXX_Size() int
func (*SessionRequest) XXX_Unmarshal ¶ added in v0.12.0
func (m *SessionRequest) XXX_Unmarshal(b []byte) error
type SessionRequest_Exit ¶ added in v0.12.0
type SessionRequest_Exit struct {
Exit int32 `protobuf:"varint,3,opt,name=exit,proto3,oneof" json:"exit,omitempty"`
}
func (*SessionRequest_Exit) Equal ¶ added in v0.12.0
func (this *SessionRequest_Exit) Equal(that interface{}) bool
func (*SessionRequest_Exit) GoString ¶ added in v0.12.0
func (this *SessionRequest_Exit) GoString() string
func (*SessionRequest_Exit) MarshalTo ¶ added in v0.12.0
func (m *SessionRequest_Exit) MarshalTo(dAtA []byte) (int, error)
func (*SessionRequest_Exit) MarshalToSizedBuffer ¶ added in v0.12.0
func (m *SessionRequest_Exit) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SessionRequest_Exit) Size ¶ added in v0.12.0
func (m *SessionRequest_Exit) Size() (n int)
func (*SessionRequest_Exit) String ¶ added in v0.12.0
func (this *SessionRequest_Exit) String() string
type SessionRequest_Stderr ¶ added in v0.12.0
type SessionRequest_Stderr struct {
Stderr []byte `protobuf:"bytes,2,opt,name=stderr,proto3,oneof" json:"stderr,omitempty"`
}
func (*SessionRequest_Stderr) Equal ¶ added in v0.12.0
func (this *SessionRequest_Stderr) Equal(that interface{}) bool
func (*SessionRequest_Stderr) GoString ¶ added in v0.12.0
func (this *SessionRequest_Stderr) GoString() string
func (*SessionRequest_Stderr) MarshalTo ¶ added in v0.12.0
func (m *SessionRequest_Stderr) MarshalTo(dAtA []byte) (int, error)
func (*SessionRequest_Stderr) MarshalToSizedBuffer ¶ added in v0.12.0
func (m *SessionRequest_Stderr) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SessionRequest_Stderr) Size ¶ added in v0.12.0
func (m *SessionRequest_Stderr) Size() (n int)
func (*SessionRequest_Stderr) String ¶ added in v0.12.0
func (this *SessionRequest_Stderr) String() string
type SessionRequest_Stdout ¶ added in v0.12.0
type SessionRequest_Stdout struct {
Stdout []byte `protobuf:"bytes,1,opt,name=stdout,proto3,oneof" json:"stdout,omitempty"`
}
func (*SessionRequest_Stdout) Equal ¶ added in v0.12.0
func (this *SessionRequest_Stdout) Equal(that interface{}) bool
func (*SessionRequest_Stdout) GoString ¶ added in v0.12.0
func (this *SessionRequest_Stdout) GoString() string
func (*SessionRequest_Stdout) MarshalTo ¶ added in v0.12.0
func (m *SessionRequest_Stdout) MarshalTo(dAtA []byte) (int, error)
func (*SessionRequest_Stdout) MarshalToSizedBuffer ¶ added in v0.12.0
func (m *SessionRequest_Stdout) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SessionRequest_Stdout) Size ¶ added in v0.12.0
func (m *SessionRequest_Stdout) Size() (n int)
func (*SessionRequest_Stdout) String ¶ added in v0.12.0
func (this *SessionRequest_Stdout) String() string
type SessionResponse ¶ added in v0.12.0
type SessionResponse struct { // Types that are valid to be assigned to Msg: // *SessionResponse_Stdin // *SessionResponse_Resize Msg isSessionResponse_Msg `protobuf_oneof:"msg"` }
func (*SessionResponse) Descriptor ¶ added in v0.12.0
func (*SessionResponse) Descriptor() ([]byte, []int)
func (*SessionResponse) Equal ¶ added in v0.12.0
func (this *SessionResponse) Equal(that interface{}) bool
func (*SessionResponse) GetMsg ¶ added in v0.12.0
func (m *SessionResponse) GetMsg() isSessionResponse_Msg
func (*SessionResponse) GetResize ¶ added in v0.12.0
func (m *SessionResponse) GetResize() *Resize
func (*SessionResponse) GetStdin ¶ added in v0.12.0
func (m *SessionResponse) GetStdin() []byte
func (*SessionResponse) GoString ¶ added in v0.12.0
func (this *SessionResponse) GoString() string
func (*SessionResponse) Marshal ¶ added in v0.12.0
func (m *SessionResponse) Marshal() (dAtA []byte, err error)
func (*SessionResponse) MarshalTo ¶ added in v0.12.0
func (m *SessionResponse) MarshalTo(dAtA []byte) (int, error)
func (*SessionResponse) MarshalToSizedBuffer ¶ added in v0.12.0
func (m *SessionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SessionResponse) ProtoMessage ¶ added in v0.12.0
func (*SessionResponse) ProtoMessage()
func (*SessionResponse) Reset ¶ added in v0.12.0
func (m *SessionResponse) Reset()
func (*SessionResponse) Size ¶ added in v0.12.0
func (m *SessionResponse) Size() (n int)
func (*SessionResponse) String ¶ added in v0.12.0
func (this *SessionResponse) String() string
func (*SessionResponse) Unmarshal ¶ added in v0.12.0
func (m *SessionResponse) Unmarshal(dAtA []byte) error
func (*SessionResponse) XXX_DiscardUnknown ¶ added in v0.12.0
func (m *SessionResponse) XXX_DiscardUnknown()
func (*SessionResponse) XXX_Marshal ¶ added in v0.12.0
func (m *SessionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SessionResponse) XXX_Merge ¶ added in v0.12.0
func (m *SessionResponse) XXX_Merge(src proto.Message)
func (*SessionResponse) XXX_OneofWrappers ¶ added in v0.12.0
func (*SessionResponse) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*SessionResponse) XXX_Size ¶ added in v0.12.0
func (m *SessionResponse) XXX_Size() int
func (*SessionResponse) XXX_Unmarshal ¶ added in v0.12.0
func (m *SessionResponse) XXX_Unmarshal(b []byte) error
type SessionResponse_Resize ¶ added in v0.12.0
type SessionResponse_Resize struct {
Resize *Resize `protobuf:"bytes,2,opt,name=resize,proto3,oneof" json:"resize,omitempty"`
}
func (*SessionResponse_Resize) Equal ¶ added in v0.12.0
func (this *SessionResponse_Resize) Equal(that interface{}) bool
func (*SessionResponse_Resize) GoString ¶ added in v0.12.0
func (this *SessionResponse_Resize) GoString() string
func (*SessionResponse_Resize) MarshalTo ¶ added in v0.12.0
func (m *SessionResponse_Resize) MarshalTo(dAtA []byte) (int, error)
func (*SessionResponse_Resize) MarshalToSizedBuffer ¶ added in v0.12.0
func (m *SessionResponse_Resize) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SessionResponse_Resize) Size ¶ added in v0.12.0
func (m *SessionResponse_Resize) Size() (n int)
func (*SessionResponse_Resize) String ¶ added in v0.12.0
func (this *SessionResponse_Resize) String() string
type SessionResponse_Stdin ¶ added in v0.12.0
type SessionResponse_Stdin struct {
Stdin []byte `protobuf:"bytes,1,opt,name=stdin,proto3,oneof" json:"stdin,omitempty"`
}
func (*SessionResponse_Stdin) Equal ¶ added in v0.12.0
func (this *SessionResponse_Stdin) Equal(that interface{}) bool
func (*SessionResponse_Stdin) GoString ¶ added in v0.12.0
func (this *SessionResponse_Stdin) GoString() string
func (*SessionResponse_Stdin) MarshalTo ¶ added in v0.12.0
func (m *SessionResponse_Stdin) MarshalTo(dAtA []byte) (int, error)
func (*SessionResponse_Stdin) MarshalToSizedBuffer ¶ added in v0.12.0
func (m *SessionResponse_Stdin) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SessionResponse_Stdin) Size ¶ added in v0.12.0
func (m *SessionResponse_Stdin) Size() (n int)
func (*SessionResponse_Stdin) String ¶ added in v0.12.0
func (this *SessionResponse_Stdin) String() string
type TerminalAttachable ¶ added in v0.12.0
type TerminalAttachable struct { UnimplementedTerminalServer // contains filtered or unexported fields }
func NewTerminalAttachable ¶ added in v0.12.0
func NewTerminalAttachable( rootCtx context.Context, withTerminal WithTerminalFunc, ) TerminalAttachable
func (TerminalAttachable) Register ¶ added in v0.12.0
func (s TerminalAttachable) Register(srv *grpc.Server)
func (TerminalAttachable) Session ¶ added in v0.12.0
func (s TerminalAttachable) Session(srv Terminal_SessionServer) error
type TerminalClient ¶ added in v0.12.0
type TerminalClient interface {
Session(ctx context.Context, opts ...grpc.CallOption) (Terminal_SessionClient, error)
}
TerminalClient is the client API for Terminal service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewTerminalClient ¶ added in v0.12.0
func NewTerminalClient(cc *grpc.ClientConn) TerminalClient
type TerminalServer ¶ added in v0.12.0
type TerminalServer interface {
Session(Terminal_SessionServer) error
}
TerminalServer is the server API for Terminal service.
type Terminal_SessionClient ¶ added in v0.12.0
type Terminal_SessionClient interface { Send(*SessionRequest) error Recv() (*SessionResponse, error) grpc.ClientStream }
type Terminal_SessionServer ¶ added in v0.12.0
type Terminal_SessionServer interface { Send(*SessionResponse) error Recv() (*SessionRequest, error) grpc.ServerStream }
type TunnelListenerAttachable ¶
type TunnelListenerAttachable struct { UnimplementedTunnelListenerServer // contains filtered or unexported fields }
func (TunnelListenerAttachable) Listen ¶
func (s TunnelListenerAttachable) Listen(srv TunnelListener_ListenServer) error
func (TunnelListenerAttachable) Register ¶
func (s TunnelListenerAttachable) Register(srv *grpc.Server)
type TunnelListenerClient ¶
type TunnelListenerClient interface {
Listen(ctx context.Context, opts ...grpc.CallOption) (TunnelListener_ListenClient, error)
}
TunnelListenerClient is the client API for TunnelListener service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewTunnelListenerClient ¶
func NewTunnelListenerClient(cc *grpc.ClientConn) TunnelListenerClient
type TunnelListenerServer ¶
type TunnelListenerServer interface {
Listen(TunnelListener_ListenServer) error
}
TunnelListenerServer is the server API for TunnelListener service.
type TunnelListener_ListenClient ¶
type TunnelListener_ListenClient interface { Send(*ListenRequest) error Recv() (*ListenResponse, error) grpc.ClientStream }
type TunnelListener_ListenServer ¶
type TunnelListener_ListenServer interface { Send(*ListenResponse) error Recv() (*ListenRequest, error) grpc.ServerStream }
type UnimplementedTerminalServer ¶ added in v0.12.0
type UnimplementedTerminalServer struct { }
UnimplementedTerminalServer can be embedded to have forward compatible implementations.
func (*UnimplementedTerminalServer) Session ¶ added in v0.12.0
func (*UnimplementedTerminalServer) Session(srv Terminal_SessionServer) error
type UnimplementedTunnelListenerServer ¶
type UnimplementedTunnelListenerServer struct { }
UnimplementedTunnelListenerServer can be embedded to have forward compatible implementations.
func (*UnimplementedTunnelListenerServer) Listen ¶
func (*UnimplementedTunnelListenerServer) Listen(srv TunnelListener_ListenServer) error