Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type ConfigContents
- type FakeConfig
- func (fake *FakeConfig) AliasEnvironment(arg1 string, arg2 string, arg3 string) (config.Config, error)
- func (fake *FakeConfig) AliasEnvironmentArgsForCall(i int) (string, string, string)
- func (fake *FakeConfig) AliasEnvironmentCallCount() int
- func (fake *FakeConfig) AliasEnvironmentCalls(stub func(string, string, string) (config.Config, error))
- func (fake *FakeConfig) AliasEnvironmentReturns(result1 config.Config, result2 error)
- func (fake *FakeConfig) AliasEnvironmentReturnsOnCall(i int, result1 config.Config, result2 error)
- func (fake *FakeConfig) CACert(arg1 string) string
- func (fake *FakeConfig) CACertArgsForCall(i int) string
- func (fake *FakeConfig) CACertCallCount() int
- func (fake *FakeConfig) CACertCalls(stub func(string) string)
- func (fake *FakeConfig) CACertReturns(result1 string)
- func (fake *FakeConfig) CACertReturnsOnCall(i int, result1 string)
- func (fake *FakeConfig) Credentials(arg1 string) config.Creds
- func (fake *FakeConfig) CredentialsArgsForCall(i int) string
- func (fake *FakeConfig) CredentialsCallCount() int
- func (fake *FakeConfig) CredentialsCalls(stub func(string) config.Creds)
- func (fake *FakeConfig) CredentialsReturns(result1 config.Creds)
- func (fake *FakeConfig) CredentialsReturnsOnCall(i int, result1 config.Creds)
- func (fake *FakeConfig) Environments() []config.Environment
- func (fake *FakeConfig) EnvironmentsCallCount() int
- func (fake *FakeConfig) EnvironmentsCalls(stub func() []config.Environment)
- func (fake *FakeConfig) EnvironmentsReturns(result1 []config.Environment)
- func (fake *FakeConfig) EnvironmentsReturnsOnCall(i int, result1 []config.Environment)
- func (fake *FakeConfig) Invocations() map[string][][]interface{}
- func (fake *FakeConfig) ResolveEnvironment(arg1 string) string
- func (fake *FakeConfig) ResolveEnvironmentArgsForCall(i int) string
- func (fake *FakeConfig) ResolveEnvironmentCallCount() int
- func (fake *FakeConfig) ResolveEnvironmentCalls(stub func(string) string)
- func (fake *FakeConfig) ResolveEnvironmentReturns(result1 string)
- func (fake *FakeConfig) ResolveEnvironmentReturnsOnCall(i int, result1 string)
- func (fake *FakeConfig) Save() error
- func (fake *FakeConfig) SaveCallCount() int
- func (fake *FakeConfig) SaveCalls(stub func() error)
- func (fake *FakeConfig) SaveReturns(result1 error)
- func (fake *FakeConfig) SaveReturnsOnCall(i int, result1 error)
- func (fake *FakeConfig) SetCredentials(arg1 string, arg2 config.Creds) config.Config
- func (fake *FakeConfig) SetCredentialsArgsForCall(i int) (string, config.Creds)
- func (fake *FakeConfig) SetCredentialsCallCount() int
- func (fake *FakeConfig) SetCredentialsCalls(stub func(string, config.Creds) config.Config)
- func (fake *FakeConfig) SetCredentialsReturns(result1 config.Config)
- func (fake *FakeConfig) SetCredentialsReturnsOnCall(i int, result1 config.Config)
- func (fake *FakeConfig) UnaliasEnvironment(arg1 string) (config.Config, error)
- func (fake *FakeConfig) UnaliasEnvironmentArgsForCall(i int) string
- func (fake *FakeConfig) UnaliasEnvironmentCallCount() int
- func (fake *FakeConfig) UnaliasEnvironmentCalls(stub func(string) (config.Config, error))
- func (fake *FakeConfig) UnaliasEnvironmentReturns(result1 config.Config, result2 error)
- func (fake *FakeConfig) UnaliasEnvironmentReturnsOnCall(i int, result1 config.Config, result2 error)
- func (fake *FakeConfig) UnsetCredentials(arg1 string) config.Config
- func (fake *FakeConfig) UnsetCredentialsArgsForCall(i int) string
- func (fake *FakeConfig) UnsetCredentialsCallCount() int
- func (fake *FakeConfig) UnsetCredentialsCalls(stub func(string) config.Config)
- func (fake *FakeConfig) UnsetCredentialsReturns(result1 config.Config)
- func (fake *FakeConfig) UnsetCredentialsReturnsOnCall(i int, result1 config.Config)
- func (fake *FakeConfig) UpdateConfigWithToken(arg1 string, arg2 uaa.AccessToken) error
- func (fake *FakeConfig) UpdateConfigWithTokenArgsForCall(i int) (string, uaa.AccessToken)
- func (fake *FakeConfig) UpdateConfigWithTokenCallCount() int
- func (fake *FakeConfig) UpdateConfigWithTokenCalls(stub func(string, uaa.AccessToken) error)
- func (fake *FakeConfig) UpdateConfigWithTokenReturns(result1 error)
- func (fake *FakeConfig) UpdateConfigWithTokenReturnsOnCall(i int, result1 error)
- type FakeConfig2
- func (f *FakeConfig2) AliasEnvironment(environment, alias, caCert string) (config.Config, error)
- func (f *FakeConfig2) CACert(environment string) string
- func (f *FakeConfig2) Credentials(environment string) config.Creds
- func (f *FakeConfig2) Deployment(environment string) string
- func (f *FakeConfig2) Environment() string
- func (f *FakeConfig2) Environments() []config.Environment
- func (f *FakeConfig2) ResolveEnvironment(environmentOrName string) string
- func (f *FakeConfig2) Save() error
- func (f *FakeConfig2) SetCredentials(environment string, creds config.Creds) config.Config
- func (f *FakeConfig2) SetDeployment(environment string, nameOrPath string) config.Config
- func (f *FakeConfig2) UnaliasEnvironment(alias string) (config.Config, error)
- func (f *FakeConfig2) UnsetCredentials(environment string) config.Config
- func (f *FakeConfig2) UpdateConfigWithToken(environment string, t uaa.AccessToken) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConfigContents ¶
type FakeConfig ¶
type FakeConfig struct { AliasEnvironmentStub func(string, string, string) (config.Config, error) CACertStub func(string) string CredentialsStub func(string) config.Creds EnvironmentsStub func() []config.Environment ResolveEnvironmentStub func(string) string SaveStub func() error SetCredentialsStub func(string, config.Creds) config.Config UnaliasEnvironmentStub func(string) (config.Config, error) UnsetCredentialsStub func(string) config.Config UpdateConfigWithTokenStub func(string, uaa.AccessToken) error // contains filtered or unexported fields }
func (*FakeConfig) AliasEnvironment ¶
func (*FakeConfig) AliasEnvironmentArgsForCall ¶
func (fake *FakeConfig) AliasEnvironmentArgsForCall(i int) (string, string, string)
func (*FakeConfig) AliasEnvironmentCallCount ¶
func (fake *FakeConfig) AliasEnvironmentCallCount() int
func (*FakeConfig) AliasEnvironmentCalls ¶
func (*FakeConfig) AliasEnvironmentReturns ¶
func (fake *FakeConfig) AliasEnvironmentReturns(result1 config.Config, result2 error)
func (*FakeConfig) AliasEnvironmentReturnsOnCall ¶
func (fake *FakeConfig) AliasEnvironmentReturnsOnCall(i int, result1 config.Config, result2 error)
func (*FakeConfig) CACert ¶
func (fake *FakeConfig) CACert(arg1 string) string
func (*FakeConfig) CACertArgsForCall ¶
func (fake *FakeConfig) CACertArgsForCall(i int) string
func (*FakeConfig) CACertCallCount ¶
func (fake *FakeConfig) CACertCallCount() int
func (*FakeConfig) CACertCalls ¶
func (fake *FakeConfig) CACertCalls(stub func(string) string)
func (*FakeConfig) CACertReturns ¶
func (fake *FakeConfig) CACertReturns(result1 string)
func (*FakeConfig) CACertReturnsOnCall ¶
func (fake *FakeConfig) CACertReturnsOnCall(i int, result1 string)
func (*FakeConfig) Credentials ¶
func (fake *FakeConfig) Credentials(arg1 string) config.Creds
func (*FakeConfig) CredentialsArgsForCall ¶
func (fake *FakeConfig) CredentialsArgsForCall(i int) string
func (*FakeConfig) CredentialsCallCount ¶
func (fake *FakeConfig) CredentialsCallCount() int
func (*FakeConfig) CredentialsCalls ¶
func (fake *FakeConfig) CredentialsCalls(stub func(string) config.Creds)
func (*FakeConfig) CredentialsReturns ¶
func (fake *FakeConfig) CredentialsReturns(result1 config.Creds)
func (*FakeConfig) CredentialsReturnsOnCall ¶
func (fake *FakeConfig) CredentialsReturnsOnCall(i int, result1 config.Creds)
func (*FakeConfig) Environments ¶
func (fake *FakeConfig) Environments() []config.Environment
func (*FakeConfig) EnvironmentsCallCount ¶
func (fake *FakeConfig) EnvironmentsCallCount() int
func (*FakeConfig) EnvironmentsCalls ¶
func (fake *FakeConfig) EnvironmentsCalls(stub func() []config.Environment)
func (*FakeConfig) EnvironmentsReturns ¶
func (fake *FakeConfig) EnvironmentsReturns(result1 []config.Environment)
func (*FakeConfig) EnvironmentsReturnsOnCall ¶
func (fake *FakeConfig) EnvironmentsReturnsOnCall(i int, result1 []config.Environment)
func (*FakeConfig) Invocations ¶
func (fake *FakeConfig) Invocations() map[string][][]interface{}
func (*FakeConfig) ResolveEnvironment ¶
func (fake *FakeConfig) ResolveEnvironment(arg1 string) string
func (*FakeConfig) ResolveEnvironmentArgsForCall ¶
func (fake *FakeConfig) ResolveEnvironmentArgsForCall(i int) string
func (*FakeConfig) ResolveEnvironmentCallCount ¶
func (fake *FakeConfig) ResolveEnvironmentCallCount() int
func (*FakeConfig) ResolveEnvironmentCalls ¶
func (fake *FakeConfig) ResolveEnvironmentCalls(stub func(string) string)
func (*FakeConfig) ResolveEnvironmentReturns ¶
func (fake *FakeConfig) ResolveEnvironmentReturns(result1 string)
func (*FakeConfig) ResolveEnvironmentReturnsOnCall ¶
func (fake *FakeConfig) ResolveEnvironmentReturnsOnCall(i int, result1 string)
func (*FakeConfig) Save ¶
func (fake *FakeConfig) Save() error
func (*FakeConfig) SaveCallCount ¶
func (fake *FakeConfig) SaveCallCount() int
func (*FakeConfig) SaveCalls ¶
func (fake *FakeConfig) SaveCalls(stub func() error)
func (*FakeConfig) SaveReturns ¶
func (fake *FakeConfig) SaveReturns(result1 error)
func (*FakeConfig) SaveReturnsOnCall ¶
func (fake *FakeConfig) SaveReturnsOnCall(i int, result1 error)
func (*FakeConfig) SetCredentials ¶
func (*FakeConfig) SetCredentialsArgsForCall ¶
func (fake *FakeConfig) SetCredentialsArgsForCall(i int) (string, config.Creds)
func (*FakeConfig) SetCredentialsCallCount ¶
func (fake *FakeConfig) SetCredentialsCallCount() int
func (*FakeConfig) SetCredentialsCalls ¶
func (*FakeConfig) SetCredentialsReturns ¶
func (fake *FakeConfig) SetCredentialsReturns(result1 config.Config)
func (*FakeConfig) SetCredentialsReturnsOnCall ¶
func (fake *FakeConfig) SetCredentialsReturnsOnCall(i int, result1 config.Config)
func (*FakeConfig) UnaliasEnvironment ¶
func (fake *FakeConfig) UnaliasEnvironment(arg1 string) (config.Config, error)
func (*FakeConfig) UnaliasEnvironmentArgsForCall ¶
func (fake *FakeConfig) UnaliasEnvironmentArgsForCall(i int) string
func (*FakeConfig) UnaliasEnvironmentCallCount ¶
func (fake *FakeConfig) UnaliasEnvironmentCallCount() int
func (*FakeConfig) UnaliasEnvironmentCalls ¶
func (fake *FakeConfig) UnaliasEnvironmentCalls(stub func(string) (config.Config, error))
func (*FakeConfig) UnaliasEnvironmentReturns ¶
func (fake *FakeConfig) UnaliasEnvironmentReturns(result1 config.Config, result2 error)
func (*FakeConfig) UnaliasEnvironmentReturnsOnCall ¶
func (fake *FakeConfig) UnaliasEnvironmentReturnsOnCall(i int, result1 config.Config, result2 error)
func (*FakeConfig) UnsetCredentials ¶
func (fake *FakeConfig) UnsetCredentials(arg1 string) config.Config
func (*FakeConfig) UnsetCredentialsArgsForCall ¶
func (fake *FakeConfig) UnsetCredentialsArgsForCall(i int) string
func (*FakeConfig) UnsetCredentialsCallCount ¶
func (fake *FakeConfig) UnsetCredentialsCallCount() int
func (*FakeConfig) UnsetCredentialsCalls ¶
func (fake *FakeConfig) UnsetCredentialsCalls(stub func(string) config.Config)
func (*FakeConfig) UnsetCredentialsReturns ¶
func (fake *FakeConfig) UnsetCredentialsReturns(result1 config.Config)
func (*FakeConfig) UnsetCredentialsReturnsOnCall ¶
func (fake *FakeConfig) UnsetCredentialsReturnsOnCall(i int, result1 config.Config)
func (*FakeConfig) UpdateConfigWithToken ¶
func (fake *FakeConfig) UpdateConfigWithToken(arg1 string, arg2 uaa.AccessToken) error
func (*FakeConfig) UpdateConfigWithTokenArgsForCall ¶
func (fake *FakeConfig) UpdateConfigWithTokenArgsForCall(i int) (string, uaa.AccessToken)
func (*FakeConfig) UpdateConfigWithTokenCallCount ¶
func (fake *FakeConfig) UpdateConfigWithTokenCallCount() int
func (*FakeConfig) UpdateConfigWithTokenCalls ¶
func (fake *FakeConfig) UpdateConfigWithTokenCalls(stub func(string, uaa.AccessToken) error)
func (*FakeConfig) UpdateConfigWithTokenReturns ¶
func (fake *FakeConfig) UpdateConfigWithTokenReturns(result1 error)
func (*FakeConfig) UpdateConfigWithTokenReturnsOnCall ¶
func (fake *FakeConfig) UpdateConfigWithTokenReturnsOnCall(i int, result1 error)
type FakeConfig2 ¶
type FakeConfig2 struct { Existing ConfigContents AliasEnvironmentErr error Saved *ConfigContents SaveErr error }
func (*FakeConfig2) AliasEnvironment ¶
func (f *FakeConfig2) AliasEnvironment(environment, alias, caCert string) (config.Config, error)
func (*FakeConfig2) CACert ¶
func (f *FakeConfig2) CACert(environment string) string
func (*FakeConfig2) Credentials ¶
func (f *FakeConfig2) Credentials(environment string) config.Creds
func (*FakeConfig2) Deployment ¶
func (f *FakeConfig2) Deployment(environment string) string
func (*FakeConfig2) Environment ¶
func (f *FakeConfig2) Environment() string
func (*FakeConfig2) Environments ¶
func (f *FakeConfig2) Environments() []config.Environment
func (*FakeConfig2) ResolveEnvironment ¶
func (f *FakeConfig2) ResolveEnvironment(environmentOrName string) string
func (*FakeConfig2) Save ¶
func (f *FakeConfig2) Save() error
func (*FakeConfig2) SetCredentials ¶
func (*FakeConfig2) SetDeployment ¶
func (f *FakeConfig2) SetDeployment(environment string, nameOrPath string) config.Config
func (*FakeConfig2) UnaliasEnvironment ¶
func (f *FakeConfig2) UnaliasEnvironment(alias string) (config.Config, error)
func (*FakeConfig2) UnsetCredentials ¶
func (f *FakeConfig2) UnsetCredentials(environment string) config.Config
func (*FakeConfig2) UpdateConfigWithToken ¶
func (f *FakeConfig2) UpdateConfigWithToken(environment string, t uaa.AccessToken) error
Click to show internal directories.
Click to hide internal directories.