pluginrpcutil

package
v1.40.1 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 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, programArgs ...string) pluginrpc.Runner

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

Types

type RunnerProvider added in v1.40.1

type RunnerProvider interface {
	NewRunner(programName string, programArgs ...string) pluginrpc.Runner
}

RunnerProvider provides pluginrpc.Runners for program names and args.

func NewRunnerProvider added in v1.40.1

func NewRunnerProvider(delegate command.Runner) RunnerProvider

NewRunnerProvider returns a new RunnerProvider for the command.Runner.

type RunnerProviderFunc added in v1.40.1

type RunnerProviderFunc func(programName string, programArgs ...string) pluginrpc.Runner

RunnerProviderFunc is a function that implements RunnerProvider.

func (RunnerProviderFunc) NewRunner added in v1.40.1

func (r RunnerProviderFunc) NewRunner(programName string, programArgs ...string) pluginrpc.Runner

NewRunner implements RunnerProvider.

Jump to

Keyboard shortcuts

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