cmd

package
v0.0.0-...-43e49dd Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2022 License: MPL-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New() provider.Provider

Types

type CommandOutput

type CommandOutput struct {
	Stdout       bytes.Buffer
	Stderr       bytes.Buffer
	Combined     bytes.Buffer
	StdoutWriter MultiWriter
	StderrWriter MultiWriter
}

func NewCommandOutput

func NewCommandOutput() *CommandOutput

type MultiWriter

type MultiWriter struct {
	Writers []io.Writer
}

func (MultiWriter) Write

func (muxed MultiWriter) Write(p []byte) (int, error)

Jump to

Keyboard shortcuts

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