terminal

package
v0.0.0-...-dcdb2a0 Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2023 License: MPL-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExecPlugin

type ExecPlugin struct {
	plugin.NetRPCUnsupportedPlugin

	Impl    *component.ExecSessionInfo // 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 (*ExecPlugin) GRPCClient

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

func (*ExecPlugin) GRPCServer

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

Jump to

Keyboard shortcuts

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