Documentation ¶
Overview ¶
Package protomappers contains mappers for converting to/from proto types
Index ¶
- Variables
- func Logger(input *pb.Args_Logger) hclog.Logger
- func LoggerProto(log hclog.Logger) *pb.Args_Logger
- func TerminalUI(input *pb.Args_TerminalUI, log hclog.Logger, internal *pluginargs.Internal) (terminal.UI, error)
- func TerminalUIProto(ui terminal.UI, log hclog.Logger, internal *pluginargs.Internal) *pb.Args_TerminalUI
Constants ¶
This section is empty.
Variables ¶
View Source
var All = []interface{}{ Logger, LoggerProto, TerminalUI, TerminalUIProto, }
All is the list of all mappers as raw function pointers.
Functions ¶
func Logger ¶
func Logger(input *pb.Args_Logger) hclog.Logger
Logger maps *pb.Args_Logger to an hclog.Logger
func LoggerProto ¶
func LoggerProto(log hclog.Logger) *pb.Args_Logger
LoggerProto maps hclog.Logger to a *b.Args_Logger
func TerminalUI ¶
func TerminalUI( input *pb.Args_TerminalUI, log hclog.Logger, internal *pluginargs.Internal, ) (terminal.UI, error)
TerminalUI maps *pb.Args_TerminalUI to terminal.UI
func TerminalUIProto ¶
func TerminalUIProto( ui terminal.UI, log hclog.Logger, internal *pluginargs.Internal, ) *pb.Args_TerminalUI
TerminalUIProto maps a terminal.UI to *pb.Args_TerminalUI
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.