runner

package
v0.2.14 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2020 License: MPL-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(ctx context.Context, args []string, path string, out, errout io.Writer) error

Synchronously run command, taking first arg of args as executable, and remainder as arguments.

Types

type RunnerOptions

type RunnerOptions struct {
	*cmdutil.Options

	Path    string
	Tarball string
	Dest    string

	Handshake        bool
	HandshakeTimeout time.Duration
	// contains filtered or unexported fields
}

func RunnerCmd

func RunnerCmd(opts *cmdutil.Options) (*cobra.Command, *RunnerOptions)

func (*RunnerOptions) Run

func (o *RunnerOptions) Run(ctx context.Context) error

Jump to

Keyboard shortcuts

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