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)
- 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)
- type FakeApplicationDisplayer
- type FakeApplicationRestarter
- func (fake *FakeApplicationRestarter) ApplicationRestart(app models.Application, orgName string, spaceName string)
- func (fake *FakeApplicationRestarter) ApplicationRestartArgsForCall(i int) (models.Application, string, string)
- func (fake *FakeApplicationRestarter) ApplicationRestartCallCount() int
- func (fake *FakeApplicationRestarter) Execute(context flags.FlagContext)
- func (fake *FakeApplicationRestarter) ExecuteArgsForCall(i int) flags.FlagContext
- func (fake *FakeApplicationRestarter) ExecuteCallCount() int
- func (fake *FakeApplicationRestarter) MetaData() commandregistry.CommandMetadata
- func (fake *FakeApplicationRestarter) MetaDataCallCount() int
- func (fake *FakeApplicationRestarter) MetaDataReturns(result1 commandregistry.CommandMetadata)
- func (fake *FakeApplicationRestarter) Requirements(requirementsFactory requirements.Factory, context flags.FlagContext) []requirements.Requirement
- func (fake *FakeApplicationRestarter) RequirementsArgsForCall(i int) (requirements.Factory, flags.FlagContext)
- func (fake *FakeApplicationRestarter) RequirementsCallCount() int
- func (fake *FakeApplicationRestarter) RequirementsReturns(result1 []requirements.Requirement)
- func (fake *FakeApplicationRestarter) SetDependency(deps commandregistry.Dependency, pluginCall bool) commandregistry.Command
- func (fake *FakeApplicationRestarter) SetDependencyArgsForCall(i int) (commandregistry.Dependency, bool)
- func (fake *FakeApplicationRestarter) SetDependencyCallCount() int
- func (fake *FakeApplicationRestarter) SetDependencyReturns(result1 commandregistry.Command)
- type FakeApplicationStagingWatcher
- func (fake *FakeApplicationStagingWatcher) ApplicationWatchStaging(app models.Application, orgName string, spaceName string, ...) (updatedApp models.Application, err error)
- func (fake *FakeApplicationStagingWatcher) ApplicationWatchStagingArgsForCall(i int) (models.Application, string, string, ...)
- func (fake *FakeApplicationStagingWatcher) ApplicationWatchStagingCallCount() int
- func (fake *FakeApplicationStagingWatcher) ApplicationWatchStagingReturns(result1 models.Application, result2 error)
- type FakeApplicationStarter
- func (fake *FakeApplicationStarter) ApplicationStart(app models.Application, orgName string, spaceName string) (updatedApp models.Application, err error)
- func (fake *FakeApplicationStarter) ApplicationStartArgsForCall(i int) (models.Application, string, string)
- func (fake *FakeApplicationStarter) ApplicationStartCallCount() int
- func (fake *FakeApplicationStarter) ApplicationStartReturns(result1 models.Application, result2 error)
- func (fake *FakeApplicationStarter) Execute(context flags.FlagContext)
- func (fake *FakeApplicationStarter) ExecuteArgsForCall(i int) flags.FlagContext
- func (fake *FakeApplicationStarter) ExecuteCallCount() int
- func (fake *FakeApplicationStarter) MetaData() commandregistry.CommandMetadata
- func (fake *FakeApplicationStarter) MetaDataCallCount() int
- func (fake *FakeApplicationStarter) MetaDataReturns(result1 commandregistry.CommandMetadata)
- func (fake *FakeApplicationStarter) Requirements(requirementsFactory requirements.Factory, context flags.FlagContext) []requirements.Requirement
- func (fake *FakeApplicationStarter) RequirementsArgsForCall(i int) (requirements.Factory, flags.FlagContext)
- func (fake *FakeApplicationStarter) RequirementsCallCount() int
- func (fake *FakeApplicationStarter) RequirementsReturns(result1 []requirements.Requirement)
- func (fake *FakeApplicationStarter) SetDependency(deps commandregistry.Dependency, pluginCall bool) commandregistry.Command
- func (fake *FakeApplicationStarter) SetDependencyArgsForCall(i int) (commandregistry.Dependency, bool)
- func (fake *FakeApplicationStarter) SetDependencyCallCount() int
- func (fake *FakeApplicationStarter) SetDependencyReturns(result1 commandregistry.Command)
- func (fake *FakeApplicationStarter) SetStartTimeoutInSeconds(timeout int)
- func (fake *FakeApplicationStarter) SetStartTimeoutInSecondsArgsForCall(i int) int
- func (fake *FakeApplicationStarter) SetStartTimeoutInSecondsCallCount() int
- type FakeApplicationStopper
- func (fake *FakeApplicationStopper) ApplicationStop(app models.Application, orgName string, spaceName string) (updatedApp models.Application, err error)
- func (fake *FakeApplicationStopper) ApplicationStopArgsForCall(i int) (models.Application, string, string)
- func (fake *FakeApplicationStopper) ApplicationStopCallCount() int
- func (fake *FakeApplicationStopper) ApplicationStopReturns(result1 models.Application, result2 error)
- func (fake *FakeApplicationStopper) Execute(context flags.FlagContext)
- func (fake *FakeApplicationStopper) ExecuteArgsForCall(i int) flags.FlagContext
- func (fake *FakeApplicationStopper) ExecuteCallCount() int
- func (fake *FakeApplicationStopper) MetaData() commandregistry.CommandMetadata
- func (fake *FakeApplicationStopper) MetaDataCallCount() int
- func (fake *FakeApplicationStopper) MetaDataReturns(result1 commandregistry.CommandMetadata)
- func (fake *FakeApplicationStopper) Requirements(requirementsFactory requirements.Factory, context flags.FlagContext) []requirements.Requirement
- func (fake *FakeApplicationStopper) RequirementsArgsForCall(i int) (requirements.Factory, flags.FlagContext)
- func (fake *FakeApplicationStopper) RequirementsCallCount() int
- func (fake *FakeApplicationStopper) RequirementsReturns(result1 []requirements.Requirement)
- func (fake *FakeApplicationStopper) SetDependency(deps commandregistry.Dependency, pluginCall bool) commandregistry.Command
- func (fake *FakeApplicationStopper) SetDependencyArgsForCall(i int) (commandregistry.Dependency, bool)
- func (fake *FakeApplicationStopper) SetDependencyCallCount() int
- func (fake *FakeApplicationStopper) 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)
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)
type FakeApplicationDisplayer ¶
type FakeApplicationDisplayer struct { ShowAppStub func(app models.Application, orgName string, spaceName string) // contains filtered or unexported fields }
func (*FakeApplicationDisplayer) ShowApp ¶
func (fake *FakeApplicationDisplayer) ShowApp(app models.Application, orgName string, spaceName string)
func (*FakeApplicationDisplayer) ShowAppArgsForCall ¶
func (fake *FakeApplicationDisplayer) ShowAppArgsForCall(i int) (models.Application, string, string)
func (*FakeApplicationDisplayer) ShowAppCallCount ¶
func (fake *FakeApplicationDisplayer) ShowAppCallCount() int
type FakeApplicationRestarter ¶
type FakeApplicationRestarter 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) ApplicationRestartStub func(app models.Application, orgName string, spaceName string) // contains filtered or unexported fields }
func (*FakeApplicationRestarter) ApplicationRestart ¶
func (fake *FakeApplicationRestarter) ApplicationRestart(app models.Application, orgName string, spaceName string)
func (*FakeApplicationRestarter) ApplicationRestartArgsForCall ¶
func (fake *FakeApplicationRestarter) ApplicationRestartArgsForCall(i int) (models.Application, string, string)
func (*FakeApplicationRestarter) ApplicationRestartCallCount ¶
func (fake *FakeApplicationRestarter) ApplicationRestartCallCount() int
func (*FakeApplicationRestarter) Execute ¶
func (fake *FakeApplicationRestarter) Execute(context flags.FlagContext)
func (*FakeApplicationRestarter) ExecuteArgsForCall ¶
func (fake *FakeApplicationRestarter) ExecuteArgsForCall(i int) flags.FlagContext
func (*FakeApplicationRestarter) ExecuteCallCount ¶
func (fake *FakeApplicationRestarter) ExecuteCallCount() int
func (*FakeApplicationRestarter) MetaData ¶
func (fake *FakeApplicationRestarter) MetaData() commandregistry.CommandMetadata
func (*FakeApplicationRestarter) MetaDataCallCount ¶
func (fake *FakeApplicationRestarter) MetaDataCallCount() int
func (*FakeApplicationRestarter) MetaDataReturns ¶
func (fake *FakeApplicationRestarter) MetaDataReturns(result1 commandregistry.CommandMetadata)
func (*FakeApplicationRestarter) Requirements ¶
func (fake *FakeApplicationRestarter) Requirements(requirementsFactory requirements.Factory, context flags.FlagContext) []requirements.Requirement
func (*FakeApplicationRestarter) RequirementsArgsForCall ¶
func (fake *FakeApplicationRestarter) RequirementsArgsForCall(i int) (requirements.Factory, flags.FlagContext)
func (*FakeApplicationRestarter) RequirementsCallCount ¶
func (fake *FakeApplicationRestarter) RequirementsCallCount() int
func (*FakeApplicationRestarter) RequirementsReturns ¶
func (fake *FakeApplicationRestarter) RequirementsReturns(result1 []requirements.Requirement)
func (*FakeApplicationRestarter) SetDependency ¶
func (fake *FakeApplicationRestarter) SetDependency(deps commandregistry.Dependency, pluginCall bool) commandregistry.Command
func (*FakeApplicationRestarter) SetDependencyArgsForCall ¶
func (fake *FakeApplicationRestarter) SetDependencyArgsForCall(i int) (commandregistry.Dependency, bool)
func (*FakeApplicationRestarter) SetDependencyCallCount ¶
func (fake *FakeApplicationRestarter) SetDependencyCallCount() int
func (*FakeApplicationRestarter) SetDependencyReturns ¶
func (fake *FakeApplicationRestarter) SetDependencyReturns(result1 commandregistry.Command)
type FakeApplicationStagingWatcher ¶
type FakeApplicationStagingWatcher struct { ApplicationWatchStagingStub 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 (*FakeApplicationStagingWatcher) ApplicationWatchStaging ¶
func (fake *FakeApplicationStagingWatcher) ApplicationWatchStaging(app models.Application, orgName string, spaceName string, startCommand func(app models.Application) (models.Application, error)) (updatedApp models.Application, err error)
func (*FakeApplicationStagingWatcher) ApplicationWatchStagingArgsForCall ¶
func (fake *FakeApplicationStagingWatcher) ApplicationWatchStagingArgsForCall(i int) (models.Application, string, string, func(app models.Application) (models.Application, error))
func (*FakeApplicationStagingWatcher) ApplicationWatchStagingCallCount ¶
func (fake *FakeApplicationStagingWatcher) ApplicationWatchStagingCallCount() int
func (*FakeApplicationStagingWatcher) ApplicationWatchStagingReturns ¶
func (fake *FakeApplicationStagingWatcher) ApplicationWatchStagingReturns(result1 models.Application, result2 error)
type FakeApplicationStarter ¶
type FakeApplicationStarter 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) SetStartTimeoutInSecondsStub func(timeout int) ApplicationStartStub func(app models.Application, orgName string, spaceName string) (updatedApp models.Application, err error) // contains filtered or unexported fields }
func (*FakeApplicationStarter) ApplicationStart ¶
func (fake *FakeApplicationStarter) ApplicationStart(app models.Application, orgName string, spaceName string) (updatedApp models.Application, err error)
func (*FakeApplicationStarter) ApplicationStartArgsForCall ¶
func (fake *FakeApplicationStarter) ApplicationStartArgsForCall(i int) (models.Application, string, string)
func (*FakeApplicationStarter) ApplicationStartCallCount ¶
func (fake *FakeApplicationStarter) ApplicationStartCallCount() int
func (*FakeApplicationStarter) ApplicationStartReturns ¶
func (fake *FakeApplicationStarter) ApplicationStartReturns(result1 models.Application, result2 error)
func (*FakeApplicationStarter) Execute ¶
func (fake *FakeApplicationStarter) Execute(context flags.FlagContext)
func (*FakeApplicationStarter) ExecuteArgsForCall ¶
func (fake *FakeApplicationStarter) ExecuteArgsForCall(i int) flags.FlagContext
func (*FakeApplicationStarter) ExecuteCallCount ¶
func (fake *FakeApplicationStarter) ExecuteCallCount() int
func (*FakeApplicationStarter) MetaData ¶
func (fake *FakeApplicationStarter) MetaData() commandregistry.CommandMetadata
func (*FakeApplicationStarter) MetaDataCallCount ¶
func (fake *FakeApplicationStarter) MetaDataCallCount() int
func (*FakeApplicationStarter) MetaDataReturns ¶
func (fake *FakeApplicationStarter) MetaDataReturns(result1 commandregistry.CommandMetadata)
func (*FakeApplicationStarter) Requirements ¶
func (fake *FakeApplicationStarter) Requirements(requirementsFactory requirements.Factory, context flags.FlagContext) []requirements.Requirement
func (*FakeApplicationStarter) RequirementsArgsForCall ¶
func (fake *FakeApplicationStarter) RequirementsArgsForCall(i int) (requirements.Factory, flags.FlagContext)
func (*FakeApplicationStarter) RequirementsCallCount ¶
func (fake *FakeApplicationStarter) RequirementsCallCount() int
func (*FakeApplicationStarter) RequirementsReturns ¶
func (fake *FakeApplicationStarter) RequirementsReturns(result1 []requirements.Requirement)
func (*FakeApplicationStarter) SetDependency ¶
func (fake *FakeApplicationStarter) SetDependency(deps commandregistry.Dependency, pluginCall bool) commandregistry.Command
func (*FakeApplicationStarter) SetDependencyArgsForCall ¶
func (fake *FakeApplicationStarter) SetDependencyArgsForCall(i int) (commandregistry.Dependency, bool)
func (*FakeApplicationStarter) SetDependencyCallCount ¶
func (fake *FakeApplicationStarter) SetDependencyCallCount() int
func (*FakeApplicationStarter) SetDependencyReturns ¶
func (fake *FakeApplicationStarter) SetDependencyReturns(result1 commandregistry.Command)
func (*FakeApplicationStarter) SetStartTimeoutInSeconds ¶
func (fake *FakeApplicationStarter) SetStartTimeoutInSeconds(timeout int)
func (*FakeApplicationStarter) SetStartTimeoutInSecondsArgsForCall ¶
func (fake *FakeApplicationStarter) SetStartTimeoutInSecondsArgsForCall(i int) int
func (*FakeApplicationStarter) SetStartTimeoutInSecondsCallCount ¶
func (fake *FakeApplicationStarter) SetStartTimeoutInSecondsCallCount() int
type FakeApplicationStopper ¶
type FakeApplicationStopper 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) ApplicationStopStub func(app models.Application, orgName string, spaceName string) (updatedApp models.Application, err error) // contains filtered or unexported fields }
func (*FakeApplicationStopper) ApplicationStop ¶
func (fake *FakeApplicationStopper) ApplicationStop(app models.Application, orgName string, spaceName string) (updatedApp models.Application, err error)
func (*FakeApplicationStopper) ApplicationStopArgsForCall ¶
func (fake *FakeApplicationStopper) ApplicationStopArgsForCall(i int) (models.Application, string, string)
func (*FakeApplicationStopper) ApplicationStopCallCount ¶
func (fake *FakeApplicationStopper) ApplicationStopCallCount() int
func (*FakeApplicationStopper) ApplicationStopReturns ¶
func (fake *FakeApplicationStopper) ApplicationStopReturns(result1 models.Application, result2 error)
func (*FakeApplicationStopper) Execute ¶
func (fake *FakeApplicationStopper) Execute(context flags.FlagContext)
func (*FakeApplicationStopper) ExecuteArgsForCall ¶
func (fake *FakeApplicationStopper) ExecuteArgsForCall(i int) flags.FlagContext
func (*FakeApplicationStopper) ExecuteCallCount ¶
func (fake *FakeApplicationStopper) ExecuteCallCount() int
func (*FakeApplicationStopper) MetaData ¶
func (fake *FakeApplicationStopper) MetaData() commandregistry.CommandMetadata
func (*FakeApplicationStopper) MetaDataCallCount ¶
func (fake *FakeApplicationStopper) MetaDataCallCount() int
func (*FakeApplicationStopper) MetaDataReturns ¶
func (fake *FakeApplicationStopper) MetaDataReturns(result1 commandregistry.CommandMetadata)
func (*FakeApplicationStopper) Requirements ¶
func (fake *FakeApplicationStopper) Requirements(requirementsFactory requirements.Factory, context flags.FlagContext) []requirements.Requirement
func (*FakeApplicationStopper) RequirementsArgsForCall ¶
func (fake *FakeApplicationStopper) RequirementsArgsForCall(i int) (requirements.Factory, flags.FlagContext)
func (*FakeApplicationStopper) RequirementsCallCount ¶
func (fake *FakeApplicationStopper) RequirementsCallCount() int
func (*FakeApplicationStopper) RequirementsReturns ¶
func (fake *FakeApplicationStopper) RequirementsReturns(result1 []requirements.Requirement)
func (*FakeApplicationStopper) SetDependency ¶
func (fake *FakeApplicationStopper) SetDependency(deps commandregistry.Dependency, pluginCall bool) commandregistry.Command
func (*FakeApplicationStopper) SetDependencyArgsForCall ¶
func (fake *FakeApplicationStopper) SetDependencyArgsForCall(i int) (commandregistry.Dependency, bool)
func (*FakeApplicationStopper) SetDependencyCallCount ¶
func (fake *FakeApplicationStopper) SetDependencyCallCount() int
func (*FakeApplicationStopper) SetDependencyReturns ¶
func (fake *FakeApplicationStopper) SetDependencyReturns(result1 commandregistry.Command)
Click to show internal directories.
Click to hide internal directories.