pluginrpcutil

package
v1.40.0 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRunner

func NewRunner(delegate command.Runner, programName string, options ...RunnerOption) pluginrpc.Runner

NewRunner returns a new pluginrpc.Runner for the command.Runner and program name.

Types

type RunnerOption

type RunnerOption func(*runnerOptions)

RunnerOption is an option for a new Runner.

func RunnerWithArgs

func RunnerWithArgs(args ...string) RunnerOption

RunnerWithArgs returns a new RunnerOption that specifies a sub-command to invoke on the program.

Jump to

Keyboard shortcuts

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