Documentation ¶
Overview ¶
This file was generated by counterfeiter
This file was generated by counterfeiter ¶
This file was generated by counterfeiter ¶
This file was generated by counterfeiter ¶
This file was generated by counterfeiter
Index ¶
- type FakeAppDisplayer
- func (displayer *FakeAppDisplayer) Execute(_ flags.FlagContext) error
- func (displayer *FakeAppDisplayer) MetaData() commandregistry.CommandMetadata
- func (displayer *FakeAppDisplayer) Requirements(_ requirements.Factory, _ flags.FlagContext) []requirements.Requirement
- func (displayer *FakeAppDisplayer) SetDependency(_ commandregistry.Dependency, _ bool) commandregistry.Command
- func (displayer *FakeAppDisplayer) ShowApp(app models.Application, orgName, spaceName string) error
- type FakeDisplayer
- type FakeRestarter
- func (fake *FakeRestarter) ApplicationRestart(app models.Application, orgName string, spaceName string) error
- func (fake *FakeRestarter) ApplicationRestartArgsForCall(i int) (models.Application, string, string)
- func (fake *FakeRestarter) ApplicationRestartCallCount() int
- func (fake *FakeRestarter) ApplicationRestartReturns(result1 error)
- func (fake *FakeRestarter) Execute(context flags.FlagContext) error
- func (fake *FakeRestarter) ExecuteArgsForCall(i int) flags.FlagContext
- func (fake *FakeRestarter) ExecuteCallCount() int
- func (fake *FakeRestarter) ExecuteReturns(result1 error)
- func (fake *FakeRestarter) MetaData() commandregistry.CommandMetadata
- func (fake *FakeRestarter) MetaDataCallCount() int
- func (fake *FakeRestarter) MetaDataReturns(result1 commandregistry.CommandMetadata)
- func (fake *FakeRestarter) Requirements(requirementsFactory requirements.Factory, context flags.FlagContext) []requirements.Requirement
- func (fake *FakeRestarter) RequirementsArgsForCall(i int) (requirements.Factory, flags.FlagContext)
- func (fake *FakeRestarter) RequirementsCallCount() int
- func (fake *FakeRestarter) RequirementsReturns(result1 []requirements.Requirement)
- func (fake *FakeRestarter) SetDependency(deps commandregistry.Dependency, pluginCall bool) commandregistry.Command
- func (fake *FakeRestarter) SetDependencyArgsForCall(i int) (commandregistry.Dependency, bool)
- func (fake *FakeRestarter) SetDependencyCallCount() int
- func (fake *FakeRestarter) SetDependencyReturns(result1 commandregistry.Command)
- type FakeStagingWatcher
- func (fake *FakeStagingWatcher) WatchStaging(app models.Application, orgName string, spaceName string, ...) (updatedApp models.Application, err error)
- func (fake *FakeStagingWatcher) WatchStagingArgsForCall(i int) (models.Application, string, string, ...)
- func (fake *FakeStagingWatcher) WatchStagingCallCount() int
- func (fake *FakeStagingWatcher) WatchStagingReturns(result1 models.Application, result2 error)
- type FakeStarter
- func (fake *FakeStarter) ApplicationStart(app models.Application, orgName string, spaceName string) (updatedApp models.Application, err error)
- func (fake *FakeStarter) ApplicationStartArgsForCall(i int) (models.Application, string, string)
- func (fake *FakeStarter) ApplicationStartCallCount() int
- func (fake *FakeStarter) ApplicationStartReturns(result1 models.Application, result2 error)
- func (fake *FakeStarter) Execute(context flags.FlagContext) error
- func (fake *FakeStarter) ExecuteArgsForCall(i int) flags.FlagContext
- func (fake *FakeStarter) ExecuteCallCount() int
- func (fake *FakeStarter) ExecuteReturns(result1 error)
- func (fake *FakeStarter) MetaData() commandregistry.CommandMetadata
- func (fake *FakeStarter) MetaDataCallCount() int
- func (fake *FakeStarter) MetaDataReturns(result1 commandregistry.CommandMetadata)
- func (fake *FakeStarter) Requirements(requirementsFactory requirements.Factory, context flags.FlagContext) []requirements.Requirement
- func (fake *FakeStarter) RequirementsArgsForCall(i int) (requirements.Factory, flags.FlagContext)
- func (fake *FakeStarter) RequirementsCallCount() int
- func (fake *FakeStarter) RequirementsReturns(result1 []requirements.Requirement)
- func (fake *FakeStarter) SetDependency(deps commandregistry.Dependency, pluginCall bool) commandregistry.Command
- func (fake *FakeStarter) SetDependencyArgsForCall(i int) (commandregistry.Dependency, bool)
- func (fake *FakeStarter) SetDependencyCallCount() int
- func (fake *FakeStarter) SetDependencyReturns(result1 commandregistry.Command)
- func (fake *FakeStarter) SetStartTimeoutInSeconds(timeout int)
- func (fake *FakeStarter) SetStartTimeoutInSecondsArgsForCall(i int) int
- func (fake *FakeStarter) SetStartTimeoutInSecondsCallCount() int
- type FakeStopper
- func (fake *FakeStopper) ApplicationStop(app models.Application, orgName string, spaceName string) (updatedApp models.Application, err error)
- func (fake *FakeStopper) ApplicationStopArgsForCall(i int) (models.Application, string, string)
- func (fake *FakeStopper) ApplicationStopCallCount() int
- func (fake *FakeStopper) ApplicationStopReturns(result1 models.Application, result2 error)
- func (fake *FakeStopper) Execute(context flags.FlagContext) error
- func (fake *FakeStopper) ExecuteArgsForCall(i int) flags.FlagContext
- func (fake *FakeStopper) ExecuteCallCount() int
- func (fake *FakeStopper) ExecuteReturns(result1 error)
- func (fake *FakeStopper) MetaData() commandregistry.CommandMetadata
- func (fake *FakeStopper) MetaDataCallCount() int
- func (fake *FakeStopper) MetaDataReturns(result1 commandregistry.CommandMetadata)
- func (fake *FakeStopper) Requirements(requirementsFactory requirements.Factory, context flags.FlagContext) []requirements.Requirement
- func (fake *FakeStopper) RequirementsArgsForCall(i int) (requirements.Factory, flags.FlagContext)
- func (fake *FakeStopper) RequirementsCallCount() int
- func (fake *FakeStopper) RequirementsReturns(result1 []requirements.Requirement)
- func (fake *FakeStopper) SetDependency(deps commandregistry.Dependency, pluginCall bool) commandregistry.Command
- func (fake *FakeStopper) SetDependencyArgsForCall(i int) (commandregistry.Dependency, bool)
- func (fake *FakeStopper) SetDependencyCallCount() int
- func (fake *FakeStopper) SetDependencyReturns(result1 commandregistry.Command)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeAppDisplayer ¶
type FakeAppDisplayer struct { AppToDisplay models.Application OrgName string SpaceName string }
func (*FakeAppDisplayer) Execute ¶
func (displayer *FakeAppDisplayer) Execute(_ flags.FlagContext) error
func (*FakeAppDisplayer) MetaData ¶
func (displayer *FakeAppDisplayer) MetaData() commandregistry.CommandMetadata
func (*FakeAppDisplayer) Requirements ¶
func (displayer *FakeAppDisplayer) Requirements(_ requirements.Factory, _ flags.FlagContext) []requirements.Requirement
func (*FakeAppDisplayer) SetDependency ¶
func (displayer *FakeAppDisplayer) SetDependency(_ commandregistry.Dependency, _ bool) commandregistry.Command
func (*FakeAppDisplayer) ShowApp ¶
func (displayer *FakeAppDisplayer) ShowApp(app models.Application, orgName, spaceName string) error
type FakeDisplayer ¶
type FakeDisplayer struct { ShowAppStub func(app models.Application, orgName string, spaceName string) error // contains filtered or unexported fields }
func (*FakeDisplayer) ShowApp ¶
func (fake *FakeDisplayer) ShowApp(app models.Application, orgName string, spaceName string) error
func (*FakeDisplayer) ShowAppArgsForCall ¶
func (fake *FakeDisplayer) ShowAppArgsForCall(i int) (models.Application, string, string)
func (*FakeDisplayer) ShowAppCallCount ¶
func (fake *FakeDisplayer) ShowAppCallCount() int
func (*FakeDisplayer) ShowAppReturns ¶
func (fake *FakeDisplayer) ShowAppReturns(result1 error)
type FakeRestarter ¶
type FakeRestarter struct { MetaDataStub func() commandregistry.CommandMetadata SetDependencyStub func(deps commandregistry.Dependency, pluginCall bool) commandregistry.Command RequirementsStub func(requirementsFactory requirements.Factory, context flags.FlagContext) []requirements.Requirement ExecuteStub func(context flags.FlagContext) error ApplicationRestartStub func(app models.Application, orgName string, spaceName string) error // contains filtered or unexported fields }
func (*FakeRestarter) ApplicationRestart ¶
func (fake *FakeRestarter) ApplicationRestart(app models.Application, orgName string, spaceName string) error
func (*FakeRestarter) ApplicationRestartArgsForCall ¶
func (fake *FakeRestarter) ApplicationRestartArgsForCall(i int) (models.Application, string, string)
func (*FakeRestarter) ApplicationRestartCallCount ¶
func (fake *FakeRestarter) ApplicationRestartCallCount() int
func (*FakeRestarter) ApplicationRestartReturns ¶
func (fake *FakeRestarter) ApplicationRestartReturns(result1 error)
func (*FakeRestarter) Execute ¶
func (fake *FakeRestarter) Execute(context flags.FlagContext) error
func (*FakeRestarter) ExecuteArgsForCall ¶
func (fake *FakeRestarter) ExecuteArgsForCall(i int) flags.FlagContext
func (*FakeRestarter) ExecuteCallCount ¶
func (fake *FakeRestarter) ExecuteCallCount() int
func (*FakeRestarter) ExecuteReturns ¶
func (fake *FakeRestarter) ExecuteReturns(result1 error)
func (*FakeRestarter) MetaData ¶
func (fake *FakeRestarter) MetaData() commandregistry.CommandMetadata
func (*FakeRestarter) MetaDataCallCount ¶
func (fake *FakeRestarter) MetaDataCallCount() int
func (*FakeRestarter) MetaDataReturns ¶
func (fake *FakeRestarter) MetaDataReturns(result1 commandregistry.CommandMetadata)
func (*FakeRestarter) Requirements ¶
func (fake *FakeRestarter) Requirements(requirementsFactory requirements.Factory, context flags.FlagContext) []requirements.Requirement
func (*FakeRestarter) RequirementsArgsForCall ¶
func (fake *FakeRestarter) RequirementsArgsForCall(i int) (requirements.Factory, flags.FlagContext)
func (*FakeRestarter) RequirementsCallCount ¶
func (fake *FakeRestarter) RequirementsCallCount() int
func (*FakeRestarter) RequirementsReturns ¶
func (fake *FakeRestarter) RequirementsReturns(result1 []requirements.Requirement)
func (*FakeRestarter) SetDependency ¶
func (fake *FakeRestarter) SetDependency(deps commandregistry.Dependency, pluginCall bool) commandregistry.Command
func (*FakeRestarter) SetDependencyArgsForCall ¶
func (fake *FakeRestarter) SetDependencyArgsForCall(i int) (commandregistry.Dependency, bool)
func (*FakeRestarter) SetDependencyCallCount ¶
func (fake *FakeRestarter) SetDependencyCallCount() int
func (*FakeRestarter) SetDependencyReturns ¶
func (fake *FakeRestarter) SetDependencyReturns(result1 commandregistry.Command)
type FakeStagingWatcher ¶
type FakeStagingWatcher struct { WatchStagingStub func(app models.Application, orgName string, spaceName string, startCommand func(app models.Application) (models.Application, error)) (updatedApp models.Application, err error) // contains filtered or unexported fields }
func (*FakeStagingWatcher) WatchStaging ¶
func (fake *FakeStagingWatcher) WatchStaging(app models.Application, orgName string, spaceName string, startCommand func(app models.Application) (models.Application, error)) (updatedApp models.Application, err error)
func (*FakeStagingWatcher) WatchStagingArgsForCall ¶
func (fake *FakeStagingWatcher) WatchStagingArgsForCall(i int) (models.Application, string, string, func(app models.Application) (models.Application, error))
func (*FakeStagingWatcher) WatchStagingCallCount ¶
func (fake *FakeStagingWatcher) WatchStagingCallCount() int
func (*FakeStagingWatcher) WatchStagingReturns ¶
func (fake *FakeStagingWatcher) WatchStagingReturns(result1 models.Application, result2 error)
type FakeStarter ¶
type FakeStarter struct { MetaDataStub func() commandregistry.CommandMetadata SetDependencyStub func(deps commandregistry.Dependency, pluginCall bool) commandregistry.Command RequirementsStub func(requirementsFactory requirements.Factory, context flags.FlagContext) []requirements.Requirement ExecuteStub func(context flags.FlagContext) error SetStartTimeoutInSecondsStub func(timeout int) ApplicationStartStub func(app models.Application, orgName string, spaceName string) (updatedApp models.Application, err error) // contains filtered or unexported fields }
func (*FakeStarter) ApplicationStart ¶
func (fake *FakeStarter) ApplicationStart(app models.Application, orgName string, spaceName string) (updatedApp models.Application, err error)
func (*FakeStarter) ApplicationStartArgsForCall ¶
func (fake *FakeStarter) ApplicationStartArgsForCall(i int) (models.Application, string, string)
func (*FakeStarter) ApplicationStartCallCount ¶
func (fake *FakeStarter) ApplicationStartCallCount() int
func (*FakeStarter) ApplicationStartReturns ¶
func (fake *FakeStarter) ApplicationStartReturns(result1 models.Application, result2 error)
func (*FakeStarter) Execute ¶
func (fake *FakeStarter) Execute(context flags.FlagContext) error
func (*FakeStarter) ExecuteArgsForCall ¶
func (fake *FakeStarter) ExecuteArgsForCall(i int) flags.FlagContext
func (*FakeStarter) ExecuteCallCount ¶
func (fake *FakeStarter) ExecuteCallCount() int
func (*FakeStarter) ExecuteReturns ¶
func (fake *FakeStarter) ExecuteReturns(result1 error)
func (*FakeStarter) MetaData ¶
func (fake *FakeStarter) MetaData() commandregistry.CommandMetadata
func (*FakeStarter) MetaDataCallCount ¶
func (fake *FakeStarter) MetaDataCallCount() int
func (*FakeStarter) MetaDataReturns ¶
func (fake *FakeStarter) MetaDataReturns(result1 commandregistry.CommandMetadata)
func (*FakeStarter) Requirements ¶
func (fake *FakeStarter) Requirements(requirementsFactory requirements.Factory, context flags.FlagContext) []requirements.Requirement
func (*FakeStarter) RequirementsArgsForCall ¶
func (fake *FakeStarter) RequirementsArgsForCall(i int) (requirements.Factory, flags.FlagContext)
func (*FakeStarter) RequirementsCallCount ¶
func (fake *FakeStarter) RequirementsCallCount() int
func (*FakeStarter) RequirementsReturns ¶
func (fake *FakeStarter) RequirementsReturns(result1 []requirements.Requirement)
func (*FakeStarter) SetDependency ¶
func (fake *FakeStarter) SetDependency(deps commandregistry.Dependency, pluginCall bool) commandregistry.Command
func (*FakeStarter) SetDependencyArgsForCall ¶
func (fake *FakeStarter) SetDependencyArgsForCall(i int) (commandregistry.Dependency, bool)
func (*FakeStarter) SetDependencyCallCount ¶
func (fake *FakeStarter) SetDependencyCallCount() int
func (*FakeStarter) SetDependencyReturns ¶
func (fake *FakeStarter) SetDependencyReturns(result1 commandregistry.Command)
func (*FakeStarter) SetStartTimeoutInSeconds ¶
func (fake *FakeStarter) SetStartTimeoutInSeconds(timeout int)
func (*FakeStarter) SetStartTimeoutInSecondsArgsForCall ¶
func (fake *FakeStarter) SetStartTimeoutInSecondsArgsForCall(i int) int
func (*FakeStarter) SetStartTimeoutInSecondsCallCount ¶
func (fake *FakeStarter) SetStartTimeoutInSecondsCallCount() int
type FakeStopper ¶
type FakeStopper struct { MetaDataStub func() commandregistry.CommandMetadata SetDependencyStub func(deps commandregistry.Dependency, pluginCall bool) commandregistry.Command RequirementsStub func(requirementsFactory requirements.Factory, context flags.FlagContext) []requirements.Requirement ExecuteStub func(context flags.FlagContext) error ApplicationStopStub func(app models.Application, orgName string, spaceName string) (updatedApp models.Application, err error) // contains filtered or unexported fields }
func (*FakeStopper) ApplicationStop ¶
func (fake *FakeStopper) ApplicationStop(app models.Application, orgName string, spaceName string) (updatedApp models.Application, err error)
func (*FakeStopper) ApplicationStopArgsForCall ¶
func (fake *FakeStopper) ApplicationStopArgsForCall(i int) (models.Application, string, string)
func (*FakeStopper) ApplicationStopCallCount ¶
func (fake *FakeStopper) ApplicationStopCallCount() int
func (*FakeStopper) ApplicationStopReturns ¶
func (fake *FakeStopper) ApplicationStopReturns(result1 models.Application, result2 error)
func (*FakeStopper) Execute ¶
func (fake *FakeStopper) Execute(context flags.FlagContext) error
func (*FakeStopper) ExecuteArgsForCall ¶
func (fake *FakeStopper) ExecuteArgsForCall(i int) flags.FlagContext
func (*FakeStopper) ExecuteCallCount ¶
func (fake *FakeStopper) ExecuteCallCount() int
func (*FakeStopper) ExecuteReturns ¶
func (fake *FakeStopper) ExecuteReturns(result1 error)
func (*FakeStopper) MetaData ¶
func (fake *FakeStopper) MetaData() commandregistry.CommandMetadata
func (*FakeStopper) MetaDataCallCount ¶
func (fake *FakeStopper) MetaDataCallCount() int
func (*FakeStopper) MetaDataReturns ¶
func (fake *FakeStopper) MetaDataReturns(result1 commandregistry.CommandMetadata)
func (*FakeStopper) Requirements ¶
func (fake *FakeStopper) Requirements(requirementsFactory requirements.Factory, context flags.FlagContext) []requirements.Requirement
func (*FakeStopper) RequirementsArgsForCall ¶
func (fake *FakeStopper) RequirementsArgsForCall(i int) (requirements.Factory, flags.FlagContext)
func (*FakeStopper) RequirementsCallCount ¶
func (fake *FakeStopper) RequirementsCallCount() int
func (*FakeStopper) RequirementsReturns ¶
func (fake *FakeStopper) RequirementsReturns(result1 []requirements.Requirement)
func (*FakeStopper) SetDependency ¶
func (fake *FakeStopper) SetDependency(deps commandregistry.Dependency, pluginCall bool) commandregistry.Command
func (*FakeStopper) SetDependencyArgsForCall ¶
func (fake *FakeStopper) SetDependencyArgsForCall(i int) (commandregistry.Dependency, bool)
func (*FakeStopper) SetDependencyCallCount ¶
func (fake *FakeStopper) SetDependencyCallCount() int
func (*FakeStopper) SetDependencyReturns ¶
func (fake *FakeStopper) SetDependencyReturns(result1 commandregistry.Command)
Click to show internal directories.
Click to hide internal directories.