Documentation ¶
Index ¶
- type FakeCommand
- type FakeFactory
- type FakeInstallation
- func (f *FakeInstallation) Job() biinstalljob.InstalledJob
- func (f *FakeInstallation) StartRegistry() error
- func (f *FakeInstallation) StopRegistry() error
- func (f *FakeInstallation) Target() biinstallation.Target
- func (f *FakeInstallation) WithRunningRegistry(logger boshlog.Logger, stage biui.Stage, fn func() error) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeCommand ¶
type FakeCommand struct { Stage biui.Stage Args []string PresetError error // contains filtered or unexported fields }
func NewFakeCommand ¶
func NewFakeCommand(name string, meta bicmd.Meta) *FakeCommand
func (*FakeCommand) GetArgs ¶
func (f *FakeCommand) GetArgs() []string
func (*FakeCommand) Meta ¶
func (f *FakeCommand) Meta() bicmd.Meta
func (*FakeCommand) Name ¶
func (f *FakeCommand) Name() string
type FakeFactory ¶
type FakeFactory struct { CommandName string PresetError error PresetCommand *FakeCommand }
func (*FakeFactory) CreateCommand ¶
func (f *FakeFactory) CreateCommand(name string) (cmd.Cmd, error)
type FakeInstallation ¶ added in v0.0.27
type FakeInstallation struct { }
func (*FakeInstallation) Job ¶ added in v0.0.27
func (f *FakeInstallation) Job() biinstalljob.InstalledJob
func (*FakeInstallation) StartRegistry ¶ added in v0.0.27
func (f *FakeInstallation) StartRegistry() error
func (*FakeInstallation) StopRegistry ¶ added in v0.0.27
func (f *FakeInstallation) StopRegistry() error
func (*FakeInstallation) Target ¶ added in v0.0.27
func (f *FakeInstallation) Target() biinstallation.Target
func (*FakeInstallation) WithRunningRegistry ¶ added in v0.0.27
Click to show internal directories.
Click to hide internal directories.