fakes

package
v0.10.2 Latest Latest
Warning

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

Go to latest
Published: May 14, 2024 License: Apache-2.0 Imports: 7 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.

Index

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 (FakeCliConnection) GetApps

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 (FakeCliConnection) GetOrgUsers

func (f FakeCliConnection) GetOrgUsers(s string, s2 ...string) ([]plugin_models.GetOrgUsers_Model, error)

func (FakeCliConnection) GetOrgs

func (FakeCliConnection) GetService

func (FakeCliConnection) GetServices

func (FakeCliConnection) GetSpace

func (FakeCliConnection) GetSpaceUsers

func (FakeCliConnection) GetSpaces

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 (fake *FakeMultisiteConfig) SaveConfig(arg1 string, arg2 string) (multisite.Target, error)

func (*FakeMultisiteConfig) SaveConfigArgsForCall

func (fake *FakeMultisiteConfig) SaveConfigArgsForCall(i int) (string, string)

func (*FakeMultisiteConfig) SaveConfigCallCount

func (fake *FakeMultisiteConfig) SaveConfigCallCount() int

func (*FakeMultisiteConfig) SaveConfigCalls

func (fake *FakeMultisiteConfig) SaveConfigCalls(stub func(string, string) (multisite.Target, error))

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)

Jump to

Keyboard shortcuts

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