Documentation ¶
Overview ¶
This file was generated by counterfeiter
Index ¶
- type FakeConfig
- func (fake *FakeConfig) APIVersion() string
- func (fake *FakeConfig) APIVersionCallCount() int
- func (fake *FakeConfig) APIVersionReturns(result1 string)
- func (fake *FakeConfig) BinaryName() string
- func (fake *FakeConfig) BinaryNameCallCount() int
- func (fake *FakeConfig) BinaryNameReturns(result1 string)
- func (fake *FakeConfig) ColorEnabled() config.ColorSetting
- func (fake *FakeConfig) ColorEnabledCallCount() int
- func (fake *FakeConfig) ColorEnabledReturns(result1 config.ColorSetting)
- func (fake *FakeConfig) CurrentUser() (config.User, error)
- func (fake *FakeConfig) CurrentUserCallCount() int
- func (fake *FakeConfig) CurrentUserReturns(result1 config.User, result2 error)
- func (fake *FakeConfig) Experimental() bool
- func (fake *FakeConfig) ExperimentalCallCount() int
- func (fake *FakeConfig) ExperimentalReturns(result1 bool)
- func (fake *FakeConfig) Invocations() map[string][][]interface{}
- func (fake *FakeConfig) Locale() string
- func (fake *FakeConfig) LocaleCallCount() int
- func (fake *FakeConfig) LocaleReturns(result1 string)
- func (fake *FakeConfig) Plugins() map[string]config.Plugin
- func (fake *FakeConfig) PluginsCallCount() int
- func (fake *FakeConfig) PluginsReturns(result1 map[string]config.Plugin)
- func (fake *FakeConfig) SetTargetInformation(api string, apiVersion string, auth string, loggregator string, doppler string, ...)
- func (fake *FakeConfig) SetTargetInformationArgsForCall(i int) (string, string, string, string, string, string, string, bool)
- func (fake *FakeConfig) SetTargetInformationCallCount() int
- func (fake *FakeConfig) SetTokenInformation(accessToken string, refreshToken string, sshOAuthClient string)
- func (fake *FakeConfig) SetTokenInformationArgsForCall(i int) (string, string, string)
- func (fake *FakeConfig) SetTokenInformationCallCount() int
- func (fake *FakeConfig) Target() string
- func (fake *FakeConfig) TargetCallCount() int
- func (fake *FakeConfig) TargetReturns(result1 string)
- func (fake *FakeConfig) TargetedOrganization() config.Organization
- func (fake *FakeConfig) TargetedOrganizationCallCount() int
- func (fake *FakeConfig) TargetedOrganizationReturns(result1 config.Organization)
- func (fake *FakeConfig) TargetedSpace() config.Space
- func (fake *FakeConfig) TargetedSpaceCallCount() int
- func (fake *FakeConfig) TargetedSpaceReturns(result1 config.Space)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeConfig ¶
type FakeConfig struct { APIVersionStub func() string BinaryNameStub func() string ColorEnabledStub func() config.ColorSetting CurrentUserStub func() (config.User, error) LocaleStub func() string PluginsStub func() map[string]config.Plugin SetTargetInformationStub func(api string, apiVersion string, auth string, loggregator string, doppler string, uaa string, routing string, skipSSLValidation bool) SetTokenInformationStub func(accessToken string, refreshToken string, sshOAuthClient string) TargetStub func() string TargetedOrganizationStub func() config.Organization TargetedSpaceStub func() config.Space ExperimentalStub func() bool // contains filtered or unexported fields }
func (*FakeConfig) APIVersion ¶
func (fake *FakeConfig) APIVersion() string
func (*FakeConfig) APIVersionCallCount ¶
func (fake *FakeConfig) APIVersionCallCount() int
func (*FakeConfig) APIVersionReturns ¶
func (fake *FakeConfig) APIVersionReturns(result1 string)
func (*FakeConfig) BinaryName ¶
func (fake *FakeConfig) BinaryName() string
func (*FakeConfig) BinaryNameCallCount ¶
func (fake *FakeConfig) BinaryNameCallCount() int
func (*FakeConfig) BinaryNameReturns ¶
func (fake *FakeConfig) BinaryNameReturns(result1 string)
func (*FakeConfig) ColorEnabled ¶
func (fake *FakeConfig) ColorEnabled() config.ColorSetting
func (*FakeConfig) ColorEnabledCallCount ¶
func (fake *FakeConfig) ColorEnabledCallCount() int
func (*FakeConfig) ColorEnabledReturns ¶
func (fake *FakeConfig) ColorEnabledReturns(result1 config.ColorSetting)
func (*FakeConfig) CurrentUser ¶
func (fake *FakeConfig) CurrentUser() (config.User, error)
func (*FakeConfig) CurrentUserCallCount ¶
func (fake *FakeConfig) CurrentUserCallCount() int
func (*FakeConfig) CurrentUserReturns ¶
func (fake *FakeConfig) CurrentUserReturns(result1 config.User, result2 error)
func (*FakeConfig) Experimental ¶
func (fake *FakeConfig) Experimental() bool
func (*FakeConfig) ExperimentalCallCount ¶
func (fake *FakeConfig) ExperimentalCallCount() int
func (*FakeConfig) ExperimentalReturns ¶
func (fake *FakeConfig) ExperimentalReturns(result1 bool)
func (*FakeConfig) Invocations ¶
func (fake *FakeConfig) Invocations() map[string][][]interface{}
func (*FakeConfig) Locale ¶
func (fake *FakeConfig) Locale() string
func (*FakeConfig) LocaleCallCount ¶
func (fake *FakeConfig) LocaleCallCount() int
func (*FakeConfig) LocaleReturns ¶
func (fake *FakeConfig) LocaleReturns(result1 string)
func (*FakeConfig) PluginsCallCount ¶
func (fake *FakeConfig) PluginsCallCount() int
func (*FakeConfig) PluginsReturns ¶
func (fake *FakeConfig) PluginsReturns(result1 map[string]config.Plugin)
func (*FakeConfig) SetTargetInformation ¶
func (*FakeConfig) SetTargetInformationArgsForCall ¶
func (*FakeConfig) SetTargetInformationCallCount ¶
func (fake *FakeConfig) SetTargetInformationCallCount() int
func (*FakeConfig) SetTokenInformation ¶
func (fake *FakeConfig) SetTokenInformation(accessToken string, refreshToken string, sshOAuthClient string)
func (*FakeConfig) SetTokenInformationArgsForCall ¶
func (fake *FakeConfig) SetTokenInformationArgsForCall(i int) (string, string, string)
func (*FakeConfig) SetTokenInformationCallCount ¶
func (fake *FakeConfig) SetTokenInformationCallCount() int
func (*FakeConfig) Target ¶
func (fake *FakeConfig) Target() string
func (*FakeConfig) TargetCallCount ¶
func (fake *FakeConfig) TargetCallCount() int
func (*FakeConfig) TargetReturns ¶
func (fake *FakeConfig) TargetReturns(result1 string)
func (*FakeConfig) TargetedOrganization ¶
func (fake *FakeConfig) TargetedOrganization() config.Organization
func (*FakeConfig) TargetedOrganizationCallCount ¶
func (fake *FakeConfig) TargetedOrganizationCallCount() int
func (*FakeConfig) TargetedOrganizationReturns ¶
func (fake *FakeConfig) TargetedOrganizationReturns(result1 config.Organization)
func (*FakeConfig) TargetedSpace ¶
func (fake *FakeConfig) TargetedSpace() config.Space
func (*FakeConfig) TargetedSpaceCallCount ¶
func (fake *FakeConfig) TargetedSpaceCallCount() int
func (*FakeConfig) TargetedSpaceReturns ¶
func (fake *FakeConfig) TargetedSpaceReturns(result1 config.Space)
Click to show internal directories.
Click to hide internal directories.