Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeBindingFinder
- func (fake *FakeBindingFinder) FindBindings(arg1 string) ([]find_bindings.Binding, error)
- func (fake *FakeBindingFinder) FindBindingsArgsForCall(i int) string
- func (fake *FakeBindingFinder) FindBindingsCallCount() int
- func (fake *FakeBindingFinder) FindBindingsCalls(stub func(string) ([]find_bindings.Binding, error))
- func (fake *FakeBindingFinder) FindBindingsReturns(result1 []find_bindings.Binding, result2 error)
- func (fake *FakeBindingFinder) FindBindingsReturnsOnCall(i int, result1 []find_bindings.Binding, result2 error)
- func (fake *FakeBindingFinder) Invocations() map[string][][]interface{}
- type FakeCliConnection
- func (f FakeCliConnection) AccessToken() (string, error)
- func (f FakeCliConnection) ApiEndpoint() (string, error)
- func (f FakeCliConnection) ApiVersion() (string, error)
- func (f FakeCliConnection) CliCommand(args ...string) ([]string, error)
- func (f FakeCliConnection) CliCommandWithoutTerminalOutput(args ...string) ([]string, error)
- func (f FakeCliConnection) DopplerEndpoint() (string, error)
- func (f FakeCliConnection) GetApp(s string) (plugin_models.GetAppModel, error)
- func (f FakeCliConnection) GetApps() ([]plugin_models.GetAppsModel, error)
- func (f FakeCliConnection) GetCurrentOrg() (plugin_models.Organization, error)
- func (f FakeCliConnection) GetCurrentSpace() (plugin_models.Space, error)
- func (f FakeCliConnection) GetOrg(s string) (plugin_models.GetOrg_Model, error)
- func (f FakeCliConnection) GetOrgUsers(s string, s2 ...string) ([]plugin_models.GetOrgUsers_Model, error)
- func (f FakeCliConnection) GetOrgs() ([]plugin_models.GetOrgs_Model, error)
- func (f FakeCliConnection) GetService(s string) (plugin_models.GetService_Model, error)
- func (f FakeCliConnection) GetServices() ([]plugin_models.GetServices_Model, error)
- func (f FakeCliConnection) GetSpace(s string) (plugin_models.GetSpace_Model, error)
- func (f FakeCliConnection) GetSpaceUsers(s string, s2 string) ([]plugin_models.GetSpaceUsers_Model, error)
- func (f FakeCliConnection) GetSpaces() ([]plugin_models.GetSpaces_Model, error)
- func (f FakeCliConnection) HasAPIEndpoint() (bool, error)
- func (f FakeCliConnection) HasOrganization() (bool, error)
- func (f FakeCliConnection) HasSpace() (bool, error)
- func (f FakeCliConnection) IsLoggedIn() (bool, error)
- func (f FakeCliConnection) IsSSLDisabled() (bool, error)
- func (f FakeCliConnection) LoggregatorEndpoint() (string, error)
- func (f FakeCliConnection) UserEmail() (string, error)
- func (f FakeCliConnection) UserGuid() (string, error)
- func (f FakeCliConnection) Username() (string, error)
- type FakeMigrator
- func (fake *FakeMigrator) CheckServiceExists(arg1 string) error
- func (fake *FakeMigrator) CheckServiceExistsArgsForCall(i int) string
- func (fake *FakeMigrator) CheckServiceExistsCallCount() int
- func (fake *FakeMigrator) CheckServiceExistsCalls(stub func(string) error)
- func (fake *FakeMigrator) CheckServiceExistsReturns(result1 error)
- func (fake *FakeMigrator) CheckServiceExistsReturnsOnCall(i int, result1 error)
- func (fake *FakeMigrator) CleanupOnError(arg1 string) error
- func (fake *FakeMigrator) CleanupOnErrorArgsForCall(i int) string
- func (fake *FakeMigrator) CleanupOnErrorCallCount() int
- func (fake *FakeMigrator) CleanupOnErrorCalls(stub func(string) error)
- func (fake *FakeMigrator) CleanupOnErrorReturns(result1 error)
- func (fake *FakeMigrator) CleanupOnErrorReturnsOnCall(i int, result1 error)
- func (fake *FakeMigrator) CreateServiceInstance(arg1 string, arg2 string) error
- func (fake *FakeMigrator) CreateServiceInstanceArgsForCall(i int) (string, string)
- func (fake *FakeMigrator) CreateServiceInstanceCallCount() int
- func (fake *FakeMigrator) CreateServiceInstanceCalls(stub func(string, string) error)
- func (fake *FakeMigrator) CreateServiceInstanceReturns(result1 error)
- func (fake *FakeMigrator) CreateServiceInstanceReturnsOnCall(i int, result1 error)
- func (fake *FakeMigrator) Invocations() map[string][][]interface{}
- func (fake *FakeMigrator) MigrateData(arg1 migrate.MigrateOptions) error
- func (fake *FakeMigrator) MigrateDataArgsForCall(i int) migrate.MigrateOptions
- func (fake *FakeMigrator) MigrateDataCallCount() int
- func (fake *FakeMigrator) MigrateDataCalls(stub func(migrate.MigrateOptions) error)
- func (fake *FakeMigrator) MigrateDataReturns(result1 error)
- func (fake *FakeMigrator) MigrateDataReturnsOnCall(i int, result1 error)
- func (fake *FakeMigrator) RenameServiceInstances(arg1 string, arg2 string) error
- func (fake *FakeMigrator) RenameServiceInstancesArgsForCall(i int) (string, string)
- func (fake *FakeMigrator) RenameServiceInstancesCallCount() int
- func (fake *FakeMigrator) RenameServiceInstancesCalls(stub func(string, string) error)
- func (fake *FakeMigrator) RenameServiceInstancesReturns(result1 error)
- func (fake *FakeMigrator) RenameServiceInstancesReturnsOnCall(i int, result1 error)
- type FakeMultisiteConfig
- func (fake *FakeMultisiteConfig) ConfigDir(arg1 string) string
- func (fake *FakeMultisiteConfig) ConfigDirArgsForCall(i int) string
- func (fake *FakeMultisiteConfig) ConfigDirCallCount() int
- func (fake *FakeMultisiteConfig) ConfigDirCalls(stub func(string) string)
- func (fake *FakeMultisiteConfig) ConfigDirReturns(result1 string)
- func (fake *FakeMultisiteConfig) ConfigDirReturnsOnCall(i int, result1 string)
- func (fake *FakeMultisiteConfig) Invocations() map[string][][]interface{}
- func (fake *FakeMultisiteConfig) ListConfigs() ([]multisite.Target, error)
- func (fake *FakeMultisiteConfig) ListConfigsCallCount() int
- func (fake *FakeMultisiteConfig) ListConfigsCalls(stub func() ([]multisite.Target, error))
- func (fake *FakeMultisiteConfig) ListConfigsReturns(result1 []multisite.Target, result2 error)
- func (fake *FakeMultisiteConfig) ListConfigsReturnsOnCall(i int, result1 []multisite.Target, result2 error)
- func (fake *FakeMultisiteConfig) RemoveConfig(arg1 string) error
- func (fake *FakeMultisiteConfig) RemoveConfigArgsForCall(i int) string
- func (fake *FakeMultisiteConfig) RemoveConfigCallCount() int
- func (fake *FakeMultisiteConfig) RemoveConfigCalls(stub func(string) error)
- func (fake *FakeMultisiteConfig) RemoveConfigReturns(result1 error)
- func (fake *FakeMultisiteConfig) RemoveConfigReturnsOnCall(i int, result1 error)
- func (fake *FakeMultisiteConfig) SaveConfig(arg1 string, arg2 string) (multisite.Target, error)
- func (fake *FakeMultisiteConfig) SaveConfigArgsForCall(i int) (string, string)
- func (fake *FakeMultisiteConfig) SaveConfigCallCount() int
- func (fake *FakeMultisiteConfig) SaveConfigCalls(stub func(string, string) (multisite.Target, error))
- func (fake *FakeMultisiteConfig) SaveConfigReturns(result1 multisite.Target, result2 error)
- func (fake *FakeMultisiteConfig) SaveConfigReturnsOnCall(i int, result1 multisite.Target, result2 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeBindingFinder ¶
type FakeBindingFinder struct { FindBindingsStub func(string) ([]find_bindings.Binding, error) // contains filtered or unexported fields }
func (*FakeBindingFinder) FindBindings ¶
func (fake *FakeBindingFinder) FindBindings(arg1 string) ([]find_bindings.Binding, error)
func (*FakeBindingFinder) FindBindingsArgsForCall ¶
func (fake *FakeBindingFinder) FindBindingsArgsForCall(i int) string
func (*FakeBindingFinder) FindBindingsCallCount ¶
func (fake *FakeBindingFinder) FindBindingsCallCount() int
func (*FakeBindingFinder) FindBindingsCalls ¶
func (fake *FakeBindingFinder) FindBindingsCalls(stub func(string) ([]find_bindings.Binding, error))
func (*FakeBindingFinder) FindBindingsReturns ¶
func (fake *FakeBindingFinder) FindBindingsReturns(result1 []find_bindings.Binding, result2 error)
func (*FakeBindingFinder) FindBindingsReturnsOnCall ¶
func (fake *FakeBindingFinder) FindBindingsReturnsOnCall(i int, result1 []find_bindings.Binding, result2 error)
func (*FakeBindingFinder) Invocations ¶
func (fake *FakeBindingFinder) Invocations() map[string][][]interface{}
type FakeCliConnection ¶
type FakeCliConnection struct{}
func (FakeCliConnection) AccessToken ¶
func (f FakeCliConnection) AccessToken() (string, error)
func (FakeCliConnection) ApiEndpoint ¶
func (f FakeCliConnection) ApiEndpoint() (string, error)
func (FakeCliConnection) ApiVersion ¶
func (f FakeCliConnection) ApiVersion() (string, error)
func (FakeCliConnection) CliCommand ¶
func (f FakeCliConnection) CliCommand(args ...string) ([]string, error)
func (FakeCliConnection) CliCommandWithoutTerminalOutput ¶
func (f FakeCliConnection) CliCommandWithoutTerminalOutput(args ...string) ([]string, error)
func (FakeCliConnection) DopplerEndpoint ¶
func (f FakeCliConnection) DopplerEndpoint() (string, error)
func (FakeCliConnection) GetApp ¶
func (f FakeCliConnection) GetApp(s string) (plugin_models.GetAppModel, error)
func (FakeCliConnection) GetApps ¶
func (f FakeCliConnection) GetApps() ([]plugin_models.GetAppsModel, error)
func (FakeCliConnection) GetCurrentOrg ¶
func (f FakeCliConnection) GetCurrentOrg() (plugin_models.Organization, error)
func (FakeCliConnection) GetCurrentSpace ¶
func (f FakeCliConnection) GetCurrentSpace() (plugin_models.Space, error)
func (FakeCliConnection) GetOrg ¶
func (f FakeCliConnection) GetOrg(s string) (plugin_models.GetOrg_Model, error)
func (FakeCliConnection) GetOrgUsers ¶
func (f FakeCliConnection) GetOrgUsers(s string, s2 ...string) ([]plugin_models.GetOrgUsers_Model, error)
func (FakeCliConnection) GetOrgs ¶
func (f FakeCliConnection) GetOrgs() ([]plugin_models.GetOrgs_Model, error)
func (FakeCliConnection) GetService ¶
func (f FakeCliConnection) GetService(s string) (plugin_models.GetService_Model, error)
func (FakeCliConnection) GetServices ¶
func (f FakeCliConnection) GetServices() ([]plugin_models.GetServices_Model, error)
func (FakeCliConnection) GetSpace ¶
func (f FakeCliConnection) GetSpace(s string) (plugin_models.GetSpace_Model, error)
func (FakeCliConnection) GetSpaceUsers ¶
func (f FakeCliConnection) GetSpaceUsers(s string, s2 string) ([]plugin_models.GetSpaceUsers_Model, error)
func (FakeCliConnection) GetSpaces ¶
func (f FakeCliConnection) GetSpaces() ([]plugin_models.GetSpaces_Model, error)
func (FakeCliConnection) HasAPIEndpoint ¶
func (f FakeCliConnection) HasAPIEndpoint() (bool, error)
func (FakeCliConnection) HasOrganization ¶
func (f FakeCliConnection) HasOrganization() (bool, error)
func (FakeCliConnection) HasSpace ¶
func (f FakeCliConnection) HasSpace() (bool, error)
func (FakeCliConnection) IsLoggedIn ¶
func (f FakeCliConnection) IsLoggedIn() (bool, error)
func (FakeCliConnection) IsSSLDisabled ¶
func (f FakeCliConnection) IsSSLDisabled() (bool, error)
func (FakeCliConnection) LoggregatorEndpoint ¶
func (f FakeCliConnection) LoggregatorEndpoint() (string, error)
func (FakeCliConnection) UserEmail ¶
func (f FakeCliConnection) UserEmail() (string, error)
func (FakeCliConnection) UserGuid ¶
func (f FakeCliConnection) UserGuid() (string, error)
func (FakeCliConnection) Username ¶
func (f FakeCliConnection) Username() (string, error)
type FakeMigrator ¶
type FakeMigrator struct { CheckServiceExistsStub func(string) error CleanupOnErrorStub func(string) error CreateServiceInstanceStub func(string, string) error MigrateDataStub func(migrate.MigrateOptions) error RenameServiceInstancesStub func(string, string) error // contains filtered or unexported fields }
func (*FakeMigrator) CheckServiceExists ¶
func (fake *FakeMigrator) CheckServiceExists(arg1 string) error
func (*FakeMigrator) CheckServiceExistsArgsForCall ¶
func (fake *FakeMigrator) CheckServiceExistsArgsForCall(i int) string
func (*FakeMigrator) CheckServiceExistsCallCount ¶
func (fake *FakeMigrator) CheckServiceExistsCallCount() int
func (*FakeMigrator) CheckServiceExistsCalls ¶
func (fake *FakeMigrator) CheckServiceExistsCalls(stub func(string) error)
func (*FakeMigrator) CheckServiceExistsReturns ¶
func (fake *FakeMigrator) CheckServiceExistsReturns(result1 error)
func (*FakeMigrator) CheckServiceExistsReturnsOnCall ¶
func (fake *FakeMigrator) CheckServiceExistsReturnsOnCall(i int, result1 error)
func (*FakeMigrator) CleanupOnError ¶
func (fake *FakeMigrator) CleanupOnError(arg1 string) error
func (*FakeMigrator) CleanupOnErrorArgsForCall ¶
func (fake *FakeMigrator) CleanupOnErrorArgsForCall(i int) string
func (*FakeMigrator) CleanupOnErrorCallCount ¶
func (fake *FakeMigrator) CleanupOnErrorCallCount() int
func (*FakeMigrator) CleanupOnErrorCalls ¶
func (fake *FakeMigrator) CleanupOnErrorCalls(stub func(string) error)
func (*FakeMigrator) CleanupOnErrorReturns ¶
func (fake *FakeMigrator) CleanupOnErrorReturns(result1 error)
func (*FakeMigrator) CleanupOnErrorReturnsOnCall ¶
func (fake *FakeMigrator) CleanupOnErrorReturnsOnCall(i int, result1 error)
func (*FakeMigrator) CreateServiceInstance ¶
func (fake *FakeMigrator) CreateServiceInstance(arg1 string, arg2 string) error
func (*FakeMigrator) CreateServiceInstanceArgsForCall ¶
func (fake *FakeMigrator) CreateServiceInstanceArgsForCall(i int) (string, string)
func (*FakeMigrator) CreateServiceInstanceCallCount ¶
func (fake *FakeMigrator) CreateServiceInstanceCallCount() int
func (*FakeMigrator) CreateServiceInstanceCalls ¶
func (fake *FakeMigrator) CreateServiceInstanceCalls(stub func(string, string) error)
func (*FakeMigrator) CreateServiceInstanceReturns ¶
func (fake *FakeMigrator) CreateServiceInstanceReturns(result1 error)
func (*FakeMigrator) CreateServiceInstanceReturnsOnCall ¶
func (fake *FakeMigrator) CreateServiceInstanceReturnsOnCall(i int, result1 error)
func (*FakeMigrator) Invocations ¶
func (fake *FakeMigrator) Invocations() map[string][][]interface{}
func (*FakeMigrator) MigrateData ¶
func (fake *FakeMigrator) MigrateData(arg1 migrate.MigrateOptions) error
func (*FakeMigrator) MigrateDataArgsForCall ¶
func (fake *FakeMigrator) MigrateDataArgsForCall(i int) migrate.MigrateOptions
func (*FakeMigrator) MigrateDataCallCount ¶
func (fake *FakeMigrator) MigrateDataCallCount() int
func (*FakeMigrator) MigrateDataCalls ¶
func (fake *FakeMigrator) MigrateDataCalls(stub func(migrate.MigrateOptions) error)
func (*FakeMigrator) MigrateDataReturns ¶
func (fake *FakeMigrator) MigrateDataReturns(result1 error)
func (*FakeMigrator) MigrateDataReturnsOnCall ¶
func (fake *FakeMigrator) MigrateDataReturnsOnCall(i int, result1 error)
func (*FakeMigrator) RenameServiceInstances ¶
func (fake *FakeMigrator) RenameServiceInstances(arg1 string, arg2 string) error
func (*FakeMigrator) RenameServiceInstancesArgsForCall ¶
func (fake *FakeMigrator) RenameServiceInstancesArgsForCall(i int) (string, string)
func (*FakeMigrator) RenameServiceInstancesCallCount ¶
func (fake *FakeMigrator) RenameServiceInstancesCallCount() int
func (*FakeMigrator) RenameServiceInstancesCalls ¶
func (fake *FakeMigrator) RenameServiceInstancesCalls(stub func(string, string) error)
func (*FakeMigrator) RenameServiceInstancesReturns ¶
func (fake *FakeMigrator) RenameServiceInstancesReturns(result1 error)
func (*FakeMigrator) RenameServiceInstancesReturnsOnCall ¶
func (fake *FakeMigrator) RenameServiceInstancesReturnsOnCall(i int, result1 error)
type FakeMultisiteConfig ¶
type FakeMultisiteConfig struct { ConfigDirStub func(string) string ListConfigsStub func() ([]multisite.Target, error) RemoveConfigStub func(string) error SaveConfigStub func(string, string) (multisite.Target, error) // contains filtered or unexported fields }
func (*FakeMultisiteConfig) ConfigDir ¶
func (fake *FakeMultisiteConfig) ConfigDir(arg1 string) string
func (*FakeMultisiteConfig) ConfigDirArgsForCall ¶
func (fake *FakeMultisiteConfig) ConfigDirArgsForCall(i int) string
func (*FakeMultisiteConfig) ConfigDirCallCount ¶
func (fake *FakeMultisiteConfig) ConfigDirCallCount() int
func (*FakeMultisiteConfig) ConfigDirCalls ¶
func (fake *FakeMultisiteConfig) ConfigDirCalls(stub func(string) string)
func (*FakeMultisiteConfig) ConfigDirReturns ¶
func (fake *FakeMultisiteConfig) ConfigDirReturns(result1 string)
func (*FakeMultisiteConfig) ConfigDirReturnsOnCall ¶
func (fake *FakeMultisiteConfig) ConfigDirReturnsOnCall(i int, result1 string)
func (*FakeMultisiteConfig) Invocations ¶
func (fake *FakeMultisiteConfig) Invocations() map[string][][]interface{}
func (*FakeMultisiteConfig) ListConfigs ¶
func (fake *FakeMultisiteConfig) ListConfigs() ([]multisite.Target, error)
func (*FakeMultisiteConfig) ListConfigsCallCount ¶
func (fake *FakeMultisiteConfig) ListConfigsCallCount() int
func (*FakeMultisiteConfig) ListConfigsCalls ¶
func (fake *FakeMultisiteConfig) ListConfigsCalls(stub func() ([]multisite.Target, error))
func (*FakeMultisiteConfig) ListConfigsReturns ¶
func (fake *FakeMultisiteConfig) ListConfigsReturns(result1 []multisite.Target, result2 error)
func (*FakeMultisiteConfig) ListConfigsReturnsOnCall ¶
func (fake *FakeMultisiteConfig) ListConfigsReturnsOnCall(i int, result1 []multisite.Target, result2 error)
func (*FakeMultisiteConfig) RemoveConfig ¶
func (fake *FakeMultisiteConfig) RemoveConfig(arg1 string) error
func (*FakeMultisiteConfig) RemoveConfigArgsForCall ¶
func (fake *FakeMultisiteConfig) RemoveConfigArgsForCall(i int) string
func (*FakeMultisiteConfig) RemoveConfigCallCount ¶
func (fake *FakeMultisiteConfig) RemoveConfigCallCount() int
func (*FakeMultisiteConfig) RemoveConfigCalls ¶
func (fake *FakeMultisiteConfig) RemoveConfigCalls(stub func(string) error)
func (*FakeMultisiteConfig) RemoveConfigReturns ¶
func (fake *FakeMultisiteConfig) RemoveConfigReturns(result1 error)
func (*FakeMultisiteConfig) RemoveConfigReturnsOnCall ¶
func (fake *FakeMultisiteConfig) RemoveConfigReturnsOnCall(i int, result1 error)
func (*FakeMultisiteConfig) SaveConfig ¶
func (*FakeMultisiteConfig) SaveConfigArgsForCall ¶
func (fake *FakeMultisiteConfig) SaveConfigArgsForCall(i int) (string, string)
func (*FakeMultisiteConfig) SaveConfigCallCount ¶
func (fake *FakeMultisiteConfig) SaveConfigCallCount() int
func (*FakeMultisiteConfig) SaveConfigCalls ¶
func (*FakeMultisiteConfig) SaveConfigReturns ¶
func (fake *FakeMultisiteConfig) SaveConfigReturns(result1 multisite.Target, result2 error)
func (*FakeMultisiteConfig) SaveConfigReturnsOnCall ¶
func (fake *FakeMultisiteConfig) SaveConfigReturnsOnCall(i int, result1 multisite.Target, result2 error)
Click to show internal directories.
Click to hide internal directories.