Documentation ¶
Index ¶
- type Command
- func (_m *Command) PrintableCommandArgs() string
- func (_m *Command) Run() error
- func (_m *Command) RunAndReturnExitCode() (int, error)
- func (_m *Command) RunAndReturnTrimmedCombinedOutput() (string, error)
- func (_m *Command) RunAndReturnTrimmedOutput() (string, error)
- func (_m *Command) Start() error
- func (_m *Command) Wait() error
- type CommandFactory
- func (_m *CommandFactory) Create(name string, args []string, opts *command.Opts) command.Command
- func (_m *CommandFactory) CreateBundleExec(name string, args []string, bundlerVersion string, opts *command.Opts) command.Command
- func (_m *CommandFactory) CreateBundleInstall(bundlerVersion string, opts *command.Opts) command.Command
- func (_m *CommandFactory) CreateGemInstall(gem string, version string, enablePrerelease bool, force bool, ...) []command.Command
- func (_m *CommandFactory) CreateGemUpdate(gem string, opts *command.Opts) []command.Command
- type CommandLocator
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Command ¶
Command is an autogenerated mock type for the Command type
func (*Command) PrintableCommandArgs ¶
PrintableCommandArgs provides a mock function with given fields:
func (*Command) RunAndReturnExitCode ¶
RunAndReturnExitCode provides a mock function with given fields:
func (*Command) RunAndReturnTrimmedCombinedOutput ¶
RunAndReturnTrimmedCombinedOutput provides a mock function with given fields:
func (*Command) RunAndReturnTrimmedOutput ¶
RunAndReturnTrimmedOutput provides a mock function with given fields:
type CommandFactory ¶
CommandFactory is an autogenerated mock type for the CommandFactory type
func (*CommandFactory) CreateBundleExec ¶
func (_m *CommandFactory) CreateBundleExec(name string, args []string, bundlerVersion string, opts *command.Opts) command.Command
CreateBundleExec provides a mock function with given fields: name, args, bundlerVersion, opts
func (*CommandFactory) CreateBundleInstall ¶
func (_m *CommandFactory) CreateBundleInstall(bundlerVersion string, opts *command.Opts) command.Command
CreateBundleInstall provides a mock function with given fields: bundlerVersion, opts
func (*CommandFactory) CreateGemInstall ¶
func (_m *CommandFactory) CreateGemInstall(gem string, version string, enablePrerelease bool, force bool, opts *command.Opts) []command.Command
CreateGemInstall provides a mock function with given fields: gem, version, enablePrerelease, force, opts
func (*CommandFactory) CreateGemUpdate ¶
CreateGemUpdate provides a mock function with given fields: gem, opts