Documentation
¶
Index ¶
- Variables
- func RegisterTerminalServer(s *grpc.Server, srv TerminalServer)
- type Ready
- func (*Ready) Descriptor() ([]byte, []int)
- func (this *Ready) Equal(that interface{}) bool
- func (this *Ready) GoString() string
- func (m *Ready) Marshal() (dAtA []byte, err error)
- func (m *Ready) MarshalTo(dAtA []byte) (int, error)
- func (m *Ready) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Ready) ProtoMessage()
- func (m *Ready) Reset()
- func (m *Ready) Size() (n int)
- func (this *Ready) String() string
- func (m *Ready) Unmarshal(dAtA []byte) error
- func (m *Ready) XXX_DiscardUnknown()
- func (m *Ready) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Ready) XXX_Merge(src proto.Message)
- func (m *Ready) XXX_Size() int
- func (m *Ready) 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) GetReady() *Ready
- 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_Ready
- func (this *SessionResponse_Ready) Equal(that interface{}) bool
- func (this *SessionResponse_Ready) GoString() string
- func (m *SessionResponse_Ready) MarshalTo(dAtA []byte) (int, error)
- func (m *SessionResponse_Ready) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (m *SessionResponse_Ready) Size() (n int)
- func (this *SessionResponse_Ready) String() string
- 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 UnimplementedTerminalServer
- type WithTerminalFunc
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func RegisterTerminalServer ¶
func RegisterTerminalServer(s *grpc.Server, srv TerminalServer)
Types ¶
type Ready ¶
type Ready struct {
}
func (*Ready) Descriptor ¶
func (*Ready) ProtoMessage ¶
func (*Ready) ProtoMessage()
func (*Ready) XXX_DiscardUnknown ¶
func (m *Ready) XXX_DiscardUnknown()
func (*Ready) XXX_Marshal ¶
func (*Ready) XXX_Unmarshal ¶
type Resize ¶
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 ¶
func (*Resize) MarshalToSizedBuffer ¶
func (*Resize) ProtoMessage ¶
func (*Resize) ProtoMessage()
func (*Resize) XXX_DiscardUnknown ¶
func (m *Resize) XXX_DiscardUnknown()
func (*Resize) XXX_Marshal ¶
func (*Resize) XXX_Unmarshal ¶
type SessionRequest ¶
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 ¶
func (*SessionRequest) Descriptor() ([]byte, []int)
func (*SessionRequest) Equal ¶
func (this *SessionRequest) Equal(that interface{}) bool
func (*SessionRequest) GetExit ¶
func (m *SessionRequest) GetExit() int32
func (*SessionRequest) GetMsg ¶
func (m *SessionRequest) GetMsg() isSessionRequest_Msg
func (*SessionRequest) GetStderr ¶
func (m *SessionRequest) GetStderr() []byte
func (*SessionRequest) GetStdout ¶
func (m *SessionRequest) GetStdout() []byte
func (*SessionRequest) GoString ¶
func (this *SessionRequest) GoString() string
func (*SessionRequest) Marshal ¶
func (m *SessionRequest) Marshal() (dAtA []byte, err error)
func (*SessionRequest) MarshalToSizedBuffer ¶
func (m *SessionRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SessionRequest) ProtoMessage ¶
func (*SessionRequest) ProtoMessage()
func (*SessionRequest) Reset ¶
func (m *SessionRequest) Reset()
func (*SessionRequest) Size ¶
func (m *SessionRequest) Size() (n int)
func (*SessionRequest) String ¶
func (this *SessionRequest) String() string
func (*SessionRequest) Unmarshal ¶
func (m *SessionRequest) Unmarshal(dAtA []byte) error
func (*SessionRequest) XXX_DiscardUnknown ¶
func (m *SessionRequest) XXX_DiscardUnknown()
func (*SessionRequest) XXX_Marshal ¶
func (m *SessionRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SessionRequest) XXX_Merge ¶
func (m *SessionRequest) XXX_Merge(src proto.Message)
func (*SessionRequest) XXX_OneofWrappers ¶
func (*SessionRequest) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*SessionRequest) XXX_Size ¶
func (m *SessionRequest) XXX_Size() int
func (*SessionRequest) XXX_Unmarshal ¶
func (m *SessionRequest) XXX_Unmarshal(b []byte) error
type SessionRequest_Exit ¶
type SessionRequest_Exit struct {
Exit int32 `protobuf:"varint,3,opt,name=exit,proto3,oneof" json:"exit,omitempty"`
}
func (*SessionRequest_Exit) Equal ¶
func (this *SessionRequest_Exit) Equal(that interface{}) bool
func (*SessionRequest_Exit) GoString ¶
func (this *SessionRequest_Exit) GoString() string
func (*SessionRequest_Exit) MarshalTo ¶
func (m *SessionRequest_Exit) MarshalTo(dAtA []byte) (int, error)
func (*SessionRequest_Exit) MarshalToSizedBuffer ¶
func (m *SessionRequest_Exit) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SessionRequest_Exit) Size ¶
func (m *SessionRequest_Exit) Size() (n int)
func (*SessionRequest_Exit) String ¶
func (this *SessionRequest_Exit) String() string
type SessionRequest_Stderr ¶
type SessionRequest_Stderr struct {
Stderr []byte `protobuf:"bytes,2,opt,name=stderr,proto3,oneof" json:"stderr,omitempty"`
}
func (*SessionRequest_Stderr) Equal ¶
func (this *SessionRequest_Stderr) Equal(that interface{}) bool
func (*SessionRequest_Stderr) GoString ¶
func (this *SessionRequest_Stderr) GoString() string
func (*SessionRequest_Stderr) MarshalTo ¶
func (m *SessionRequest_Stderr) MarshalTo(dAtA []byte) (int, error)
func (*SessionRequest_Stderr) MarshalToSizedBuffer ¶
func (m *SessionRequest_Stderr) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SessionRequest_Stderr) Size ¶
func (m *SessionRequest_Stderr) Size() (n int)
func (*SessionRequest_Stderr) String ¶
func (this *SessionRequest_Stderr) String() string
type SessionRequest_Stdout ¶
type SessionRequest_Stdout struct {
Stdout []byte `protobuf:"bytes,1,opt,name=stdout,proto3,oneof" json:"stdout,omitempty"`
}
func (*SessionRequest_Stdout) Equal ¶
func (this *SessionRequest_Stdout) Equal(that interface{}) bool
func (*SessionRequest_Stdout) GoString ¶
func (this *SessionRequest_Stdout) GoString() string
func (*SessionRequest_Stdout) MarshalTo ¶
func (m *SessionRequest_Stdout) MarshalTo(dAtA []byte) (int, error)
func (*SessionRequest_Stdout) MarshalToSizedBuffer ¶
func (m *SessionRequest_Stdout) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SessionRequest_Stdout) Size ¶
func (m *SessionRequest_Stdout) Size() (n int)
func (*SessionRequest_Stdout) String ¶
func (this *SessionRequest_Stdout) String() string
type SessionResponse ¶
type SessionResponse struct {
// Types that are valid to be assigned to Msg:
//
// *SessionResponse_Stdin
// *SessionResponse_Resize
// *SessionResponse_Ready
Msg isSessionResponse_Msg `protobuf_oneof:"msg"`
}
func (*SessionResponse) Descriptor ¶
func (*SessionResponse) Descriptor() ([]byte, []int)
func (*SessionResponse) Equal ¶
func (this *SessionResponse) Equal(that interface{}) bool
func (*SessionResponse) GetMsg ¶
func (m *SessionResponse) GetMsg() isSessionResponse_Msg
func (*SessionResponse) GetReady ¶
func (m *SessionResponse) GetReady() *Ready
func (*SessionResponse) GetResize ¶
func (m *SessionResponse) GetResize() *Resize
func (*SessionResponse) GetStdin ¶
func (m *SessionResponse) GetStdin() []byte
func (*SessionResponse) GoString ¶
func (this *SessionResponse) GoString() string
func (*SessionResponse) Marshal ¶
func (m *SessionResponse) Marshal() (dAtA []byte, err error)
func (*SessionResponse) MarshalToSizedBuffer ¶
func (m *SessionResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SessionResponse) ProtoMessage ¶
func (*SessionResponse) ProtoMessage()
func (*SessionResponse) Reset ¶
func (m *SessionResponse) Reset()
func (*SessionResponse) Size ¶
func (m *SessionResponse) Size() (n int)
func (*SessionResponse) String ¶
func (this *SessionResponse) String() string
func (*SessionResponse) Unmarshal ¶
func (m *SessionResponse) Unmarshal(dAtA []byte) error
func (*SessionResponse) XXX_DiscardUnknown ¶
func (m *SessionResponse) XXX_DiscardUnknown()
func (*SessionResponse) XXX_Marshal ¶
func (m *SessionResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SessionResponse) XXX_Merge ¶
func (m *SessionResponse) XXX_Merge(src proto.Message)
func (*SessionResponse) XXX_OneofWrappers ¶
func (*SessionResponse) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*SessionResponse) XXX_Size ¶
func (m *SessionResponse) XXX_Size() int
func (*SessionResponse) XXX_Unmarshal ¶
func (m *SessionResponse) XXX_Unmarshal(b []byte) error
type SessionResponse_Ready ¶
type SessionResponse_Ready struct {
Ready *Ready `protobuf:"bytes,3,opt,name=ready,proto3,oneof" json:"ready,omitempty"`
}
func (*SessionResponse_Ready) Equal ¶
func (this *SessionResponse_Ready) Equal(that interface{}) bool
func (*SessionResponse_Ready) GoString ¶
func (this *SessionResponse_Ready) GoString() string
func (*SessionResponse_Ready) MarshalTo ¶
func (m *SessionResponse_Ready) MarshalTo(dAtA []byte) (int, error)
func (*SessionResponse_Ready) MarshalToSizedBuffer ¶
func (m *SessionResponse_Ready) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SessionResponse_Ready) Size ¶
func (m *SessionResponse_Ready) Size() (n int)
func (*SessionResponse_Ready) String ¶
func (this *SessionResponse_Ready) String() string
type SessionResponse_Resize ¶
type SessionResponse_Resize struct {
Resize *Resize `protobuf:"bytes,2,opt,name=resize,proto3,oneof" json:"resize,omitempty"`
}
func (*SessionResponse_Resize) Equal ¶
func (this *SessionResponse_Resize) Equal(that interface{}) bool
func (*SessionResponse_Resize) GoString ¶
func (this *SessionResponse_Resize) GoString() string
func (*SessionResponse_Resize) MarshalTo ¶
func (m *SessionResponse_Resize) MarshalTo(dAtA []byte) (int, error)
func (*SessionResponse_Resize) MarshalToSizedBuffer ¶
func (m *SessionResponse_Resize) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SessionResponse_Resize) Size ¶
func (m *SessionResponse_Resize) Size() (n int)
func (*SessionResponse_Resize) String ¶
func (this *SessionResponse_Resize) String() string
type SessionResponse_Stdin ¶
type SessionResponse_Stdin struct {
Stdin []byte `protobuf:"bytes,1,opt,name=stdin,proto3,oneof" json:"stdin,omitempty"`
}
func (*SessionResponse_Stdin) Equal ¶
func (this *SessionResponse_Stdin) Equal(that interface{}) bool
func (*SessionResponse_Stdin) GoString ¶
func (this *SessionResponse_Stdin) GoString() string
func (*SessionResponse_Stdin) MarshalTo ¶
func (m *SessionResponse_Stdin) MarshalTo(dAtA []byte) (int, error)
func (*SessionResponse_Stdin) MarshalToSizedBuffer ¶
func (m *SessionResponse_Stdin) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*SessionResponse_Stdin) Size ¶
func (m *SessionResponse_Stdin) Size() (n int)
func (*SessionResponse_Stdin) String ¶
func (this *SessionResponse_Stdin) String() string
type TerminalAttachable ¶
type TerminalAttachable struct {
UnimplementedTerminalServer
// contains filtered or unexported fields
}
func NewTerminalAttachable ¶
func NewTerminalAttachable( rootCtx context.Context, withTerminal WithTerminalFunc, ) TerminalAttachable
func (TerminalAttachable) Register ¶
func (s TerminalAttachable) Register(srv *grpc.Server)
func (TerminalAttachable) Session ¶
func (s TerminalAttachable) Session(srv Terminal_SessionServer) error
type TerminalClient ¶
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 ¶
func NewTerminalClient(cc *grpc.ClientConn) TerminalClient
type TerminalServer ¶
type TerminalServer interface {
Session(Terminal_SessionServer) error
}
TerminalServer is the server API for Terminal service.
type Terminal_SessionClient ¶
type Terminal_SessionClient interface {
Send(*SessionRequest) error
Recv() (*SessionResponse, error)
grpc.ClientStream
}
type Terminal_SessionServer ¶
type Terminal_SessionServer interface {
Send(*SessionResponse) error
Recv() (*SessionRequest, error)
grpc.ServerStream
}
type UnimplementedTerminalServer ¶
type UnimplementedTerminalServer struct {
}
UnimplementedTerminalServer can be embedded to have forward compatible implementations.
func (*UnimplementedTerminalServer) Session ¶
func (*UnimplementedTerminalServer) Session(srv Terminal_SessionServer) error
Click to show internal directories.
Click to hide internal directories.