test

package
v0.0.0-...-cd027f5 Latest Latest
Warning

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

Go to latest
Published: Dec 25, 2020 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Fixture

func Fixture(name string) (string, error)

Types

type CmdOut

type CmdOut struct {
	OutBuf, ErrBuf *bytes.Buffer
}

func RunCommand

func RunCommand(response string, args []string, builder func(*cmdutil.Factory) *cobra.Command) (*CmdOut, error)

func (CmdOut) Stderr

func (c CmdOut) Stderr() string

func (CmdOut) String

func (c CmdOut) String() string

Jump to

Keyboard shortcuts

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