Documentation ¶
Index ¶
- func RegisterTerminalServer(s *grpc.Server, srv TerminalServer)
- type Bytes
- func (*Bytes) Descriptor() ([]byte, []int)
- func (m *Bytes) GetCompleted() bool
- func (m *Bytes) GetData() []byte
- func (*Bytes) ProtoMessage()
- func (m *Bytes) Reset()
- func (m *Bytes) String() string
- func (m *Bytes) XXX_DiscardUnknown()
- func (m *Bytes) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Bytes) XXX_Merge(src proto.Message)
- func (m *Bytes) XXX_Size() int
- func (m *Bytes) XXX_Unmarshal(b []byte) error
- type Size
- func (*Size) Descriptor() ([]byte, []int)
- func (m *Size) GetCols() uint32
- func (m *Size) GetRows() uint32
- func (*Size) ProtoMessage()
- func (m *Size) Reset()
- func (m *Size) String() string
- func (m *Size) XXX_DiscardUnknown()
- func (m *Size) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *Size) XXX_Merge(src proto.Message)
- func (m *Size) XXX_Size() int
- func (m *Size) XXX_Unmarshal(b []byte) error
- type Terminal
- func (t *Terminal) Attach(srv Terminal_AttachServer) error
- func (t *Terminal) Close() error
- func (t *Terminal) Completed() bool
- func (t *Terminal) ListenAndServe(addr string) error
- func (t *Terminal) Resize(ctx context.Context, req *Size) (*Size, error)
- func (t *Terminal) ResizePty(cols, rows uint16) error
- type TerminalClient
- type TerminalServer
- type Terminal_AttachClient
- type Terminal_AttachServer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterTerminalServer ¶
func RegisterTerminalServer(s *grpc.Server, srv TerminalServer)
Types ¶
type Bytes ¶
type Bytes struct { Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` Completed bool `protobuf:"varint,2,opt,name=completed,proto3" json:"completed,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Bytes) XXX_Marshal ¶
type Size ¶
type Terminal ¶
type Terminal struct {
// contains filtered or unexported fields
}
func (*Terminal) Attach ¶
func (t *Terminal) Attach(srv Terminal_AttachServer) error
type TerminalClient ¶
type TerminalClient interface { Attach(ctx context.Context, opts ...grpc.CallOption) (Terminal_AttachClient, error) Resize(ctx context.Context, in *Size, opts ...grpc.CallOption) (*Size, 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 { Attach(Terminal_AttachServer) error Resize(context.Context, *Size) (*Size, error) }
TerminalServer is the server API for Terminal service.
type Terminal_AttachClient ¶
Click to show internal directories.
Click to hide internal directories.