execer

package
v0.0.0-...-cbf3654 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2019 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	Stdout   io.Writer
	Stderr   io.Writer
	Command  string
	ExtraEnv []string
}

Client gives access to the `kind` program

func NewClient

func NewClient(command string) *Client

func (*Client) PipeToCommand

func (c *Client) PipeToCommand(stdin io.Reader, args ...string) error

func (*Client) RunCommand

func (c *Client) RunCommand(args ...string) error

func (*Client) RunCommandReturnOutput

func (c *Client) RunCommandReturnOutput(args ...string) (string, error)

Jump to

Keyboard shortcuts

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