Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeCmdRunner ¶
type FakeCmdRunner struct { LastArgs []string // contains filtered or unexported fields }
func NewFakeCmdRunner ¶ added in v0.7.0
func NewFakeCmdRunner(handler func(argv []string) string) *FakeCmdRunner
func (*FakeCmdRunner) RunIO ¶ added in v0.8.0
func (f *FakeCmdRunner) RunIO(ctx context.Context, iostreams genericclioptions.IOStreams, cmd string, args ...string) error
type RealCmdRunner ¶
type RealCmdRunner struct{}
func (RealCmdRunner) RunIO ¶ added in v0.8.0
func (RealCmdRunner) RunIO(ctx context.Context, iostreams genericclioptions.IOStreams, cmd string, args ...string) error
Click to show internal directories.
Click to hide internal directories.