Documentation ¶
Index ¶
- func RunMethodIfExists(coreCommandRunner *cli.App, args []string, ...) bool
- type CliRpcCmd
- func (cmd *CliRpcCmd) CallCoreCommand(args []string, retVal *bool) error
- func (cmd *CliRpcCmd) DisableTerminalOutput(disable bool, retVal *bool) error
- func (cmd *CliRpcCmd) GetOutputAndReset(args bool, retVal *[]string) error
- func (cmd *CliRpcCmd) SetPluginMetadata(pluginMetadata plugin.PluginMetadata, retVal *bool) error
- type CliRpcService
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RunMethodIfExists ¶
func RunMethodIfExists(coreCommandRunner *cli.App, args []string, outputCapture terminal.OutputCapture, terminalOutputSwitch terminal.TerminalOutputSwitch, pluginList map[string]plugin_config.PluginMetadata) bool
Types ¶
type CliRpcCmd ¶
type CliRpcCmd struct { PluginMetadata *plugin.PluginMetadata // contains filtered or unexported fields }
func (*CliRpcCmd) CallCoreCommand ¶
func (*CliRpcCmd) DisableTerminalOutput ¶
func (*CliRpcCmd) GetOutputAndReset ¶
func (*CliRpcCmd) SetPluginMetadata ¶
func (cmd *CliRpcCmd) SetPluginMetadata(pluginMetadata plugin.PluginMetadata, retVal *bool) error
type CliRpcService ¶
type CliRpcService struct { Pinged bool RpcCmd *CliRpcCmd // contains filtered or unexported fields }
func NewRpcService ¶
func NewRpcService(commandRunner *cli.App, outputCapture terminal.OutputCapture, terminalOutputSwitch terminal.TerminalOutputSwitch) (*CliRpcService, error)
func (*CliRpcService) Port ¶
func (cli *CliRpcService) Port() string
func (*CliRpcService) Start ¶
func (cli *CliRpcService) Start() error
func (*CliRpcService) Stop ¶
func (cli *CliRpcService) Stop()
Click to show internal directories.
Click to hide internal directories.