applicationfakes

package
v7.0.0-beta.28+incompa... Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 3, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Code generated by counterfeiter. DO NOT EDIT.

Index

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 (*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(models.Application, string, string) error
	// contains filtered or unexported fields
}

func (*FakeDisplayer) Invocations

func (fake *FakeDisplayer) Invocations() map[string][][]interface{}

func (*FakeDisplayer) ShowApp

func (fake *FakeDisplayer) ShowApp(arg1 models.Application, arg2 string, arg3 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) ShowAppCalls

func (fake *FakeDisplayer) ShowAppCalls(stub func(models.Application, string, string) error)

func (*FakeDisplayer) ShowAppReturns

func (fake *FakeDisplayer) ShowAppReturns(result1 error)

func (*FakeDisplayer) ShowAppReturnsOnCall

func (fake *FakeDisplayer) ShowAppReturnsOnCall(i int, result1 error)

type FakeRestarter

type FakeRestarter struct {
	ApplicationRestartStub func(models.Application, string, string) error

	ExecuteStub func(flags.FlagContext) error

	MetaDataStub func() commandregistry.CommandMetadata

	RequirementsStub func(requirements.Factory, flags.FlagContext) ([]requirements.Requirement, error)

	SetDependencyStub func(commandregistry.Dependency, bool) commandregistry.Command
	// contains filtered or unexported fields
}

func (*FakeRestarter) ApplicationRestart

func (fake *FakeRestarter) ApplicationRestart(arg1 models.Application, arg2 string, arg3 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) ApplicationRestartCalls

func (fake *FakeRestarter) ApplicationRestartCalls(stub func(models.Application, string, string) error)

func (*FakeRestarter) ApplicationRestartReturns

func (fake *FakeRestarter) ApplicationRestartReturns(result1 error)

func (*FakeRestarter) ApplicationRestartReturnsOnCall

func (fake *FakeRestarter) ApplicationRestartReturnsOnCall(i int, result1 error)

func (*FakeRestarter) Execute

func (fake *FakeRestarter) Execute(arg1 flags.FlagContext) error

func (*FakeRestarter) ExecuteArgsForCall

func (fake *FakeRestarter) ExecuteArgsForCall(i int) flags.FlagContext

func (*FakeRestarter) ExecuteCallCount

func (fake *FakeRestarter) ExecuteCallCount() int

func (*FakeRestarter) ExecuteCalls

func (fake *FakeRestarter) ExecuteCalls(stub func(flags.FlagContext) error)

func (*FakeRestarter) ExecuteReturns

func (fake *FakeRestarter) ExecuteReturns(result1 error)

func (*FakeRestarter) ExecuteReturnsOnCall

func (fake *FakeRestarter) ExecuteReturnsOnCall(i int, result1 error)

func (*FakeRestarter) Invocations

func (fake *FakeRestarter) Invocations() map[string][][]interface{}

func (*FakeRestarter) MetaData

func (*FakeRestarter) MetaDataCallCount

func (fake *FakeRestarter) MetaDataCallCount() int

func (*FakeRestarter) MetaDataCalls

func (fake *FakeRestarter) MetaDataCalls(stub func() commandregistry.CommandMetadata)

func (*FakeRestarter) MetaDataReturns

func (fake *FakeRestarter) MetaDataReturns(result1 commandregistry.CommandMetadata)

func (*FakeRestarter) MetaDataReturnsOnCall

func (fake *FakeRestarter) MetaDataReturnsOnCall(i int, result1 commandregistry.CommandMetadata)

func (*FakeRestarter) Requirements

func (fake *FakeRestarter) Requirements(arg1 requirements.Factory, arg2 flags.FlagContext) ([]requirements.Requirement, error)

func (*FakeRestarter) RequirementsArgsForCall

func (fake *FakeRestarter) RequirementsArgsForCall(i int) (requirements.Factory, flags.FlagContext)

func (*FakeRestarter) RequirementsCallCount

func (fake *FakeRestarter) RequirementsCallCount() int

func (*FakeRestarter) RequirementsCalls

func (fake *FakeRestarter) RequirementsCalls(stub func(requirements.Factory, flags.FlagContext) ([]requirements.Requirement, error))

func (*FakeRestarter) RequirementsReturns

func (fake *FakeRestarter) RequirementsReturns(result1 []requirements.Requirement, result2 error)

func (*FakeRestarter) RequirementsReturnsOnCall

func (fake *FakeRestarter) RequirementsReturnsOnCall(i int, result1 []requirements.Requirement, result2 error)

func (*FakeRestarter) SetDependency

func (fake *FakeRestarter) SetDependency(arg1 commandregistry.Dependency, arg2 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) SetDependencyCalls

func (fake *FakeRestarter) SetDependencyCalls(stub func(commandregistry.Dependency, bool) commandregistry.Command)

func (*FakeRestarter) SetDependencyReturns

func (fake *FakeRestarter) SetDependencyReturns(result1 commandregistry.Command)

func (*FakeRestarter) SetDependencyReturnsOnCall

func (fake *FakeRestarter) SetDependencyReturnsOnCall(i int, result1 commandregistry.Command)

type FakeStagingWatcher

type FakeStagingWatcher struct {
	WatchStagingStub func(models.Application, string, string, func(app models.Application) (models.Application, error)) (models.Application, error)
	// contains filtered or unexported fields
}

func (*FakeStagingWatcher) Invocations

func (fake *FakeStagingWatcher) Invocations() map[string][][]interface{}

func (*FakeStagingWatcher) WatchStaging

func (fake *FakeStagingWatcher) WatchStaging(arg1 models.Application, arg2 string, arg3 string, arg4 func(app models.Application) (models.Application, error)) (models.Application, 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) WatchStagingCalls

func (fake *FakeStagingWatcher) WatchStagingCalls(stub func(models.Application, string, string, func(app models.Application) (models.Application, error)) (models.Application, error))

func (*FakeStagingWatcher) WatchStagingReturns

func (fake *FakeStagingWatcher) WatchStagingReturns(result1 models.Application, result2 error)

func (*FakeStagingWatcher) WatchStagingReturnsOnCall

func (fake *FakeStagingWatcher) WatchStagingReturnsOnCall(i int, result1 models.Application, result2 error)

type FakeStarter

type FakeStarter struct {
	ApplicationStartStub func(models.Application, string, string) (models.Application, error)

	ExecuteStub func(flags.FlagContext) error

	MetaDataStub func() commandregistry.CommandMetadata

	RequirementsStub func(requirements.Factory, flags.FlagContext) ([]requirements.Requirement, error)

	SetDependencyStub func(commandregistry.Dependency, bool) commandregistry.Command

	SetStartTimeoutInSecondsStub func(int)
	// contains filtered or unexported fields
}

func (*FakeStarter) ApplicationStart

func (fake *FakeStarter) ApplicationStart(arg1 models.Application, arg2 string, arg3 string) (models.Application, error)

func (*FakeStarter) ApplicationStartArgsForCall

func (fake *FakeStarter) ApplicationStartArgsForCall(i int) (models.Application, string, string)

func (*FakeStarter) ApplicationStartCallCount

func (fake *FakeStarter) ApplicationStartCallCount() int

func (*FakeStarter) ApplicationStartCalls

func (fake *FakeStarter) ApplicationStartCalls(stub func(models.Application, string, string) (models.Application, error))

func (*FakeStarter) ApplicationStartReturns

func (fake *FakeStarter) ApplicationStartReturns(result1 models.Application, result2 error)

func (*FakeStarter) ApplicationStartReturnsOnCall

func (fake *FakeStarter) ApplicationStartReturnsOnCall(i int, result1 models.Application, result2 error)

func (*FakeStarter) Execute

func (fake *FakeStarter) Execute(arg1 flags.FlagContext) error

func (*FakeStarter) ExecuteArgsForCall

func (fake *FakeStarter) ExecuteArgsForCall(i int) flags.FlagContext

func (*FakeStarter) ExecuteCallCount

func (fake *FakeStarter) ExecuteCallCount() int

func (*FakeStarter) ExecuteCalls

func (fake *FakeStarter) ExecuteCalls(stub func(flags.FlagContext) error)

func (*FakeStarter) ExecuteReturns

func (fake *FakeStarter) ExecuteReturns(result1 error)

func (*FakeStarter) ExecuteReturnsOnCall

func (fake *FakeStarter) ExecuteReturnsOnCall(i int, result1 error)

func (*FakeStarter) Invocations

func (fake *FakeStarter) Invocations() map[string][][]interface{}

func (*FakeStarter) MetaData

func (fake *FakeStarter) MetaData() commandregistry.CommandMetadata

func (*FakeStarter) MetaDataCallCount

func (fake *FakeStarter) MetaDataCallCount() int

func (*FakeStarter) MetaDataCalls

func (fake *FakeStarter) MetaDataCalls(stub func() commandregistry.CommandMetadata)

func (*FakeStarter) MetaDataReturns

func (fake *FakeStarter) MetaDataReturns(result1 commandregistry.CommandMetadata)

func (*FakeStarter) MetaDataReturnsOnCall

func (fake *FakeStarter) MetaDataReturnsOnCall(i int, result1 commandregistry.CommandMetadata)

func (*FakeStarter) Requirements

func (fake *FakeStarter) Requirements(arg1 requirements.Factory, arg2 flags.FlagContext) ([]requirements.Requirement, error)

func (*FakeStarter) RequirementsArgsForCall

func (fake *FakeStarter) RequirementsArgsForCall(i int) (requirements.Factory, flags.FlagContext)

func (*FakeStarter) RequirementsCallCount

func (fake *FakeStarter) RequirementsCallCount() int

func (*FakeStarter) RequirementsCalls

func (fake *FakeStarter) RequirementsCalls(stub func(requirements.Factory, flags.FlagContext) ([]requirements.Requirement, error))

func (*FakeStarter) RequirementsReturns

func (fake *FakeStarter) RequirementsReturns(result1 []requirements.Requirement, result2 error)

func (*FakeStarter) RequirementsReturnsOnCall

func (fake *FakeStarter) RequirementsReturnsOnCall(i int, result1 []requirements.Requirement, result2 error)

func (*FakeStarter) SetDependency

func (fake *FakeStarter) SetDependency(arg1 commandregistry.Dependency, arg2 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) SetDependencyCalls

func (fake *FakeStarter) SetDependencyCalls(stub func(commandregistry.Dependency, bool) commandregistry.Command)

func (*FakeStarter) SetDependencyReturns

func (fake *FakeStarter) SetDependencyReturns(result1 commandregistry.Command)

func (*FakeStarter) SetDependencyReturnsOnCall

func (fake *FakeStarter) SetDependencyReturnsOnCall(i int, result1 commandregistry.Command)

func (*FakeStarter) SetStartTimeoutInSeconds

func (fake *FakeStarter) SetStartTimeoutInSeconds(arg1 int)

func (*FakeStarter) SetStartTimeoutInSecondsArgsForCall

func (fake *FakeStarter) SetStartTimeoutInSecondsArgsForCall(i int) int

func (*FakeStarter) SetStartTimeoutInSecondsCallCount

func (fake *FakeStarter) SetStartTimeoutInSecondsCallCount() int

func (*FakeStarter) SetStartTimeoutInSecondsCalls

func (fake *FakeStarter) SetStartTimeoutInSecondsCalls(stub func(int))

type FakeStopper

type FakeStopper struct {
	ApplicationStopStub func(models.Application, string, string) (models.Application, error)

	ExecuteStub func(flags.FlagContext) error

	MetaDataStub func() commandregistry.CommandMetadata

	RequirementsStub func(requirements.Factory, flags.FlagContext) ([]requirements.Requirement, error)

	SetDependencyStub func(commandregistry.Dependency, bool) commandregistry.Command
	// contains filtered or unexported fields
}

func (*FakeStopper) ApplicationStop

func (fake *FakeStopper) ApplicationStop(arg1 models.Application, arg2 string, arg3 string) (models.Application, error)

func (*FakeStopper) ApplicationStopArgsForCall

func (fake *FakeStopper) ApplicationStopArgsForCall(i int) (models.Application, string, string)

func (*FakeStopper) ApplicationStopCallCount

func (fake *FakeStopper) ApplicationStopCallCount() int

func (*FakeStopper) ApplicationStopCalls

func (fake *FakeStopper) ApplicationStopCalls(stub func(models.Application, string, string) (models.Application, error))

func (*FakeStopper) ApplicationStopReturns

func (fake *FakeStopper) ApplicationStopReturns(result1 models.Application, result2 error)

func (*FakeStopper) ApplicationStopReturnsOnCall

func (fake *FakeStopper) ApplicationStopReturnsOnCall(i int, result1 models.Application, result2 error)

func (*FakeStopper) Execute

func (fake *FakeStopper) Execute(arg1 flags.FlagContext) error

func (*FakeStopper) ExecuteArgsForCall

func (fake *FakeStopper) ExecuteArgsForCall(i int) flags.FlagContext

func (*FakeStopper) ExecuteCallCount

func (fake *FakeStopper) ExecuteCallCount() int

func (*FakeStopper) ExecuteCalls

func (fake *FakeStopper) ExecuteCalls(stub func(flags.FlagContext) error)

func (*FakeStopper) ExecuteReturns

func (fake *FakeStopper) ExecuteReturns(result1 error)

func (*FakeStopper) ExecuteReturnsOnCall

func (fake *FakeStopper) ExecuteReturnsOnCall(i int, result1 error)

func (*FakeStopper) Invocations

func (fake *FakeStopper) Invocations() map[string][][]interface{}

func (*FakeStopper) MetaData

func (fake *FakeStopper) MetaData() commandregistry.CommandMetadata

func (*FakeStopper) MetaDataCallCount

func (fake *FakeStopper) MetaDataCallCount() int

func (*FakeStopper) MetaDataCalls

func (fake *FakeStopper) MetaDataCalls(stub func() commandregistry.CommandMetadata)

func (*FakeStopper) MetaDataReturns

func (fake *FakeStopper) MetaDataReturns(result1 commandregistry.CommandMetadata)

func (*FakeStopper) MetaDataReturnsOnCall

func (fake *FakeStopper) MetaDataReturnsOnCall(i int, result1 commandregistry.CommandMetadata)

func (*FakeStopper) Requirements

func (fake *FakeStopper) Requirements(arg1 requirements.Factory, arg2 flags.FlagContext) ([]requirements.Requirement, error)

func (*FakeStopper) RequirementsArgsForCall

func (fake *FakeStopper) RequirementsArgsForCall(i int) (requirements.Factory, flags.FlagContext)

func (*FakeStopper) RequirementsCallCount

func (fake *FakeStopper) RequirementsCallCount() int

func (*FakeStopper) RequirementsCalls

func (fake *FakeStopper) RequirementsCalls(stub func(requirements.Factory, flags.FlagContext) ([]requirements.Requirement, error))

func (*FakeStopper) RequirementsReturns

func (fake *FakeStopper) RequirementsReturns(result1 []requirements.Requirement, result2 error)

func (*FakeStopper) RequirementsReturnsOnCall

func (fake *FakeStopper) RequirementsReturnsOnCall(i int, result1 []requirements.Requirement, result2 error)

func (*FakeStopper) SetDependency

func (fake *FakeStopper) SetDependency(arg1 commandregistry.Dependency, arg2 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) SetDependencyCalls

func (fake *FakeStopper) SetDependencyCalls(stub func(commandregistry.Dependency, bool) commandregistry.Command)

func (*FakeStopper) SetDependencyReturns

func (fake *FakeStopper) SetDependencyReturns(result1 commandregistry.Command)

func (*FakeStopper) SetDependencyReturnsOnCall

func (fake *FakeStopper) SetDependencyReturnsOnCall(i int, result1 commandregistry.Command)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL