Documentation
¶
Overview ¶
Package terminal provides the GRPC terminal implementations
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type UIPlugin ¶
type UIPlugin struct {
plugin.NetRPCUnsupportedPlugin
Impl terminal.UI // Impl is the concrete implementation
Mappers []*argmapper.Func // Mappers
Logger hclog.Logger // Logger
}
UIPlugin implements plugin.Plugin (specifically GRPCPlugin) for the terminal.UI interface.
func (*UIPlugin) GRPCClient ¶
func (p *UIPlugin) GRPCClient( ctx context.Context, _ *plugin.GRPCBroker, c *grpc.ClientConn, ) (interface{}, error)
GRPCClient returns the GRPC client
func (*UIPlugin) GRPCServer ¶
GRPCServer returns the GRPC server
Click to show internal directories.
Click to hide internal directories.