terminal

package
v0.0.0-...-7ae29b8 Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2023 License: MPL-2.0 Imports: 16 Imported by: 0

Documentation

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
	// contains filtered or unexported fields
}

UIPlugin implements plugin.Plugin (specifically GRPCPlugin) for the terminal.UI interface.

func (*UIPlugin) Addr

func (b *UIPlugin) Addr() net.Addr

func (*UIPlugin) GRPCClient

func (p *UIPlugin) GRPCClient(
	ctx context.Context,
	broker *plugin.GRPCBroker,
	c *grpc.ClientConn,
) (interface{}, error)

func (*UIPlugin) GRPCServer

func (p *UIPlugin) GRPCServer(broker *plugin.GRPCBroker, s *grpc.Server) error

func (*UIPlugin) SetAddr

func (b *UIPlugin) SetAddr(t net.Addr)

Jump to

Keyboard shortcuts

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