Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CommandHandler ¶
type CommandHandler interface {
Run(ctx context.Context, dryrun bool, p *CommandParams) (err error)
}
func NewCommand ¶ added in v0.0.17
func NewCommand(exc exec.Interface) CommandHandler
type CommandHandlerFunc ¶
type CommandHandlerFunc func(ctx context.Context, dryrun bool, p *CommandParams) error
func (CommandHandlerFunc) Run ¶ added in v0.0.20
func (f CommandHandlerFunc) Run(ctx context.Context, dryrun bool, p *CommandParams) error
type CommandParams ¶
type ExecutableHandler ¶ added in v0.0.17
func NewExecutable ¶ added in v0.0.17
func NewExecutable(fs afero.Fs) ExecutableHandler
Click to show internal directories.
Click to hide internal directories.