fakes

package
v6.14.1+incompatible Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2015 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

This file was generated by counterfeiter

This file was generated by counterfeiter

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakePersistor

type FakePersistor struct {
	DeleteStub func()

	ExistsStub func() bool

	LoadStub func(configuration.DataInterface) error

	SaveStub func(configuration.DataInterface) error
	// contains filtered or unexported fields
}

func (*FakePersistor) Delete

func (fake *FakePersistor) Delete()

func (*FakePersistor) DeleteCallCount

func (fake *FakePersistor) DeleteCallCount() int

func (*FakePersistor) Exists

func (fake *FakePersistor) Exists() bool

func (*FakePersistor) ExistsCallCount

func (fake *FakePersistor) ExistsCallCount() int

func (*FakePersistor) ExistsReturns

func (fake *FakePersistor) ExistsReturns(result1 bool)

func (*FakePersistor) Load

func (*FakePersistor) LoadArgsForCall

func (fake *FakePersistor) LoadArgsForCall(i int) configuration.DataInterface

func (*FakePersistor) LoadCallCount

func (fake *FakePersistor) LoadCallCount() int

func (*FakePersistor) LoadReturns

func (fake *FakePersistor) LoadReturns(result1 error)

func (*FakePersistor) Save

func (*FakePersistor) SaveArgsForCall

func (fake *FakePersistor) SaveArgsForCall(i int) configuration.DataInterface

func (*FakePersistor) SaveCallCount

func (fake *FakePersistor) SaveCallCount() int

func (*FakePersistor) SaveReturns

func (fake *FakePersistor) SaveReturns(result1 error)

type FakeReadWriter

type FakeReadWriter struct {
	ApiEndpointStub func() string

	ApiVersionStub func() string

	HasAPIEndpointStub func() bool

	AuthenticationEndpointStub func() string

	LoggregatorEndpointStub func() string

	DopplerEndpointStub func() string

	UaaEndpointStub func() string

	RoutingApiEndpointStub func() string

	AccessTokenStub func() string

	SSHOAuthClientStub func() string

	RefreshTokenStub func() string

	OrganizationFieldsStub func() models.OrganizationFields

	HasOrganizationStub func() bool

	SpaceFieldsStub func() models.SpaceFields

	HasSpaceStub func() bool

	UsernameStub func() string

	UserGuidStub func() string

	UserEmailStub func() string

	IsLoggedInStub func() bool

	IsSSLDisabledStub func() bool

	IsMinApiVersionStub func(string) bool

	IsMinCliVersionStub func(string) bool

	MinCliVersionStub func() string

	MinRecommendedCliVersionStub func() string

	AsyncTimeoutStub func() uint

	TraceStub func() string

	ColorEnabledStub func() string

	LocaleStub func() string

	PluginReposStub func() []models.PluginRepo

	ClearSessionStub func()

	SetApiEndpointStub func(string)

	SetApiVersionStub func(string)

	SetMinCliVersionStub func(string)

	SetMinRecommendedCliVersionStub func(string)

	SetAuthenticationEndpointStub func(string)

	SetLoggregatorEndpointStub func(string)

	SetDopplerEndpointStub func(string)

	SetUaaEndpointStub func(string)

	SetRoutingApiEndpointStub func(string)

	SetAccessTokenStub func(string)

	SetSSHOAuthClientStub func(string)

	SetRefreshTokenStub func(string)

	SetOrganizationFieldsStub func(models.OrganizationFields)

	SetSpaceFieldsStub func(models.SpaceFields)

	SetSSLDisabledStub func(bool)

	SetAsyncTimeoutStub func(uint)

	SetTraceStub func(string)

	SetColorEnabledStub func(string)

	SetLocaleStub func(string)

	SetPluginRepoStub func(models.PluginRepo)

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

func (*FakeReadWriter) AccessToken

func (fake *FakeReadWriter) AccessToken() string

func (*FakeReadWriter) AccessTokenCallCount

func (fake *FakeReadWriter) AccessTokenCallCount() int

func (*FakeReadWriter) AccessTokenReturns

func (fake *FakeReadWriter) AccessTokenReturns(result1 string)

func (*FakeReadWriter) ApiEndpoint

func (fake *FakeReadWriter) ApiEndpoint() string

func (*FakeReadWriter) ApiEndpointCallCount

func (fake *FakeReadWriter) ApiEndpointCallCount() int

func (*FakeReadWriter) ApiEndpointReturns

func (fake *FakeReadWriter) ApiEndpointReturns(result1 string)

func (*FakeReadWriter) ApiVersion

func (fake *FakeReadWriter) ApiVersion() string

func (*FakeReadWriter) ApiVersionCallCount

func (fake *FakeReadWriter) ApiVersionCallCount() int

func (*FakeReadWriter) ApiVersionReturns

func (fake *FakeReadWriter) ApiVersionReturns(result1 string)

func (*FakeReadWriter) AsyncTimeout

func (fake *FakeReadWriter) AsyncTimeout() uint

func (*FakeReadWriter) AsyncTimeoutCallCount

func (fake *FakeReadWriter) AsyncTimeoutCallCount() int

func (*FakeReadWriter) AsyncTimeoutReturns

func (fake *FakeReadWriter) AsyncTimeoutReturns(result1 uint)

func (*FakeReadWriter) AuthenticationEndpoint

func (fake *FakeReadWriter) AuthenticationEndpoint() string

func (*FakeReadWriter) AuthenticationEndpointCallCount

func (fake *FakeReadWriter) AuthenticationEndpointCallCount() int

func (*FakeReadWriter) AuthenticationEndpointReturns

func (fake *FakeReadWriter) AuthenticationEndpointReturns(result1 string)

func (*FakeReadWriter) ClearSession

func (fake *FakeReadWriter) ClearSession()

func (*FakeReadWriter) ClearSessionCallCount

func (fake *FakeReadWriter) ClearSessionCallCount() int

func (*FakeReadWriter) ColorEnabled

func (fake *FakeReadWriter) ColorEnabled() string

func (*FakeReadWriter) ColorEnabledCallCount

func (fake *FakeReadWriter) ColorEnabledCallCount() int

func (*FakeReadWriter) ColorEnabledReturns

func (fake *FakeReadWriter) ColorEnabledReturns(result1 string)

func (*FakeReadWriter) DopplerEndpoint

func (fake *FakeReadWriter) DopplerEndpoint() string

func (*FakeReadWriter) DopplerEndpointCallCount

func (fake *FakeReadWriter) DopplerEndpointCallCount() int

func (*FakeReadWriter) DopplerEndpointReturns

func (fake *FakeReadWriter) DopplerEndpointReturns(result1 string)

func (*FakeReadWriter) HasAPIEndpoint

func (fake *FakeReadWriter) HasAPIEndpoint() bool

func (*FakeReadWriter) HasAPIEndpointCallCount

func (fake *FakeReadWriter) HasAPIEndpointCallCount() int

func (*FakeReadWriter) HasAPIEndpointReturns

func (fake *FakeReadWriter) HasAPIEndpointReturns(result1 bool)

func (*FakeReadWriter) HasOrganization

func (fake *FakeReadWriter) HasOrganization() bool

func (*FakeReadWriter) HasOrganizationCallCount

func (fake *FakeReadWriter) HasOrganizationCallCount() int

func (*FakeReadWriter) HasOrganizationReturns

func (fake *FakeReadWriter) HasOrganizationReturns(result1 bool)

func (*FakeReadWriter) HasSpace

func (fake *FakeReadWriter) HasSpace() bool

func (*FakeReadWriter) HasSpaceCallCount

func (fake *FakeReadWriter) HasSpaceCallCount() int

func (*FakeReadWriter) HasSpaceReturns

func (fake *FakeReadWriter) HasSpaceReturns(result1 bool)

func (*FakeReadWriter) IsLoggedIn

func (fake *FakeReadWriter) IsLoggedIn() bool

func (*FakeReadWriter) IsLoggedInCallCount

func (fake *FakeReadWriter) IsLoggedInCallCount() int

func (*FakeReadWriter) IsLoggedInReturns

func (fake *FakeReadWriter) IsLoggedInReturns(result1 bool)

func (*FakeReadWriter) IsMinApiVersion

func (fake *FakeReadWriter) IsMinApiVersion(arg1 string) bool

func (*FakeReadWriter) IsMinApiVersionArgsForCall

func (fake *FakeReadWriter) IsMinApiVersionArgsForCall(i int) string

func (*FakeReadWriter) IsMinApiVersionCallCount

func (fake *FakeReadWriter) IsMinApiVersionCallCount() int

func (*FakeReadWriter) IsMinApiVersionReturns

func (fake *FakeReadWriter) IsMinApiVersionReturns(result1 bool)

func (*FakeReadWriter) IsMinCliVersion

func (fake *FakeReadWriter) IsMinCliVersion(arg1 string) bool

func (*FakeReadWriter) IsMinCliVersionArgsForCall

func (fake *FakeReadWriter) IsMinCliVersionArgsForCall(i int) string

func (*FakeReadWriter) IsMinCliVersionCallCount

func (fake *FakeReadWriter) IsMinCliVersionCallCount() int

func (*FakeReadWriter) IsMinCliVersionReturns

func (fake *FakeReadWriter) IsMinCliVersionReturns(result1 bool)

func (*FakeReadWriter) IsSSLDisabled

func (fake *FakeReadWriter) IsSSLDisabled() bool

func (*FakeReadWriter) IsSSLDisabledCallCount

func (fake *FakeReadWriter) IsSSLDisabledCallCount() int

func (*FakeReadWriter) IsSSLDisabledReturns

func (fake *FakeReadWriter) IsSSLDisabledReturns(result1 bool)

func (*FakeReadWriter) Locale

func (fake *FakeReadWriter) Locale() string

func (*FakeReadWriter) LocaleCallCount

func (fake *FakeReadWriter) LocaleCallCount() int

func (*FakeReadWriter) LocaleReturns

func (fake *FakeReadWriter) LocaleReturns(result1 string)

func (*FakeReadWriter) LoggregatorEndpoint

func (fake *FakeReadWriter) LoggregatorEndpoint() string

func (*FakeReadWriter) LoggregatorEndpointCallCount

func (fake *FakeReadWriter) LoggregatorEndpointCallCount() int

func (*FakeReadWriter) LoggregatorEndpointReturns

func (fake *FakeReadWriter) LoggregatorEndpointReturns(result1 string)

func (*FakeReadWriter) MinCliVersion

func (fake *FakeReadWriter) MinCliVersion() string

func (*FakeReadWriter) MinCliVersionCallCount

func (fake *FakeReadWriter) MinCliVersionCallCount() int

func (*FakeReadWriter) MinCliVersionReturns

func (fake *FakeReadWriter) MinCliVersionReturns(result1 string)

func (*FakeReadWriter) MinRecommendedCliVersion

func (fake *FakeReadWriter) MinRecommendedCliVersion() string

func (*FakeReadWriter) MinRecommendedCliVersionCallCount

func (fake *FakeReadWriter) MinRecommendedCliVersionCallCount() int

func (*FakeReadWriter) MinRecommendedCliVersionReturns

func (fake *FakeReadWriter) MinRecommendedCliVersionReturns(result1 string)

func (*FakeReadWriter) OrganizationFields

func (fake *FakeReadWriter) OrganizationFields() models.OrganizationFields

func (*FakeReadWriter) OrganizationFieldsCallCount

func (fake *FakeReadWriter) OrganizationFieldsCallCount() int

func (*FakeReadWriter) OrganizationFieldsReturns

func (fake *FakeReadWriter) OrganizationFieldsReturns(result1 models.OrganizationFields)

func (*FakeReadWriter) PluginRepos

func (fake *FakeReadWriter) PluginRepos() []models.PluginRepo

func (*FakeReadWriter) PluginReposCallCount

func (fake *FakeReadWriter) PluginReposCallCount() int

func (*FakeReadWriter) PluginReposReturns

func (fake *FakeReadWriter) PluginReposReturns(result1 []models.PluginRepo)

func (*FakeReadWriter) RefreshToken

func (fake *FakeReadWriter) RefreshToken() string

func (*FakeReadWriter) RefreshTokenCallCount

func (fake *FakeReadWriter) RefreshTokenCallCount() int

func (*FakeReadWriter) RefreshTokenReturns

func (fake *FakeReadWriter) RefreshTokenReturns(result1 string)

func (*FakeReadWriter) RoutingApiEndpoint

func (fake *FakeReadWriter) RoutingApiEndpoint() string

func (*FakeReadWriter) RoutingApiEndpointCallCount

func (fake *FakeReadWriter) RoutingApiEndpointCallCount() int

func (*FakeReadWriter) RoutingApiEndpointReturns

func (fake *FakeReadWriter) RoutingApiEndpointReturns(result1 string)

func (*FakeReadWriter) SSHOAuthClient

func (fake *FakeReadWriter) SSHOAuthClient() string

func (*FakeReadWriter) SSHOAuthClientCallCount

func (fake *FakeReadWriter) SSHOAuthClientCallCount() int

func (*FakeReadWriter) SSHOAuthClientReturns

func (fake *FakeReadWriter) SSHOAuthClientReturns(result1 string)

func (*FakeReadWriter) SetAccessToken

func (fake *FakeReadWriter) SetAccessToken(arg1 string)

func (*FakeReadWriter) SetAccessTokenArgsForCall

func (fake *FakeReadWriter) SetAccessTokenArgsForCall(i int) string

func (*FakeReadWriter) SetAccessTokenCallCount

func (fake *FakeReadWriter) SetAccessTokenCallCount() int

func (*FakeReadWriter) SetApiEndpoint

func (fake *FakeReadWriter) SetApiEndpoint(arg1 string)

func (*FakeReadWriter) SetApiEndpointArgsForCall

func (fake *FakeReadWriter) SetApiEndpointArgsForCall(i int) string

func (*FakeReadWriter) SetApiEndpointCallCount

func (fake *FakeReadWriter) SetApiEndpointCallCount() int

func (*FakeReadWriter) SetApiVersion

func (fake *FakeReadWriter) SetApiVersion(arg1 string)

func (*FakeReadWriter) SetApiVersionArgsForCall

func (fake *FakeReadWriter) SetApiVersionArgsForCall(i int) string

func (*FakeReadWriter) SetApiVersionCallCount

func (fake *FakeReadWriter) SetApiVersionCallCount() int

func (*FakeReadWriter) SetAsyncTimeout

func (fake *FakeReadWriter) SetAsyncTimeout(arg1 uint)

func (*FakeReadWriter) SetAsyncTimeoutArgsForCall

func (fake *FakeReadWriter) SetAsyncTimeoutArgsForCall(i int) uint

func (*FakeReadWriter) SetAsyncTimeoutCallCount

func (fake *FakeReadWriter) SetAsyncTimeoutCallCount() int

func (*FakeReadWriter) SetAuthenticationEndpoint

func (fake *FakeReadWriter) SetAuthenticationEndpoint(arg1 string)

func (*FakeReadWriter) SetAuthenticationEndpointArgsForCall

func (fake *FakeReadWriter) SetAuthenticationEndpointArgsForCall(i int) string

func (*FakeReadWriter) SetAuthenticationEndpointCallCount

func (fake *FakeReadWriter) SetAuthenticationEndpointCallCount() int

func (*FakeReadWriter) SetColorEnabled

func (fake *FakeReadWriter) SetColorEnabled(arg1 string)

func (*FakeReadWriter) SetColorEnabledArgsForCall

func (fake *FakeReadWriter) SetColorEnabledArgsForCall(i int) string

func (*FakeReadWriter) SetColorEnabledCallCount

func (fake *FakeReadWriter) SetColorEnabledCallCount() int

func (*FakeReadWriter) SetDopplerEndpoint

func (fake *FakeReadWriter) SetDopplerEndpoint(arg1 string)

func (*FakeReadWriter) SetDopplerEndpointArgsForCall

func (fake *FakeReadWriter) SetDopplerEndpointArgsForCall(i int) string

func (*FakeReadWriter) SetDopplerEndpointCallCount

func (fake *FakeReadWriter) SetDopplerEndpointCallCount() int

func (*FakeReadWriter) SetLocale

func (fake *FakeReadWriter) SetLocale(arg1 string)

func (*FakeReadWriter) SetLocaleArgsForCall

func (fake *FakeReadWriter) SetLocaleArgsForCall(i int) string

func (*FakeReadWriter) SetLocaleCallCount

func (fake *FakeReadWriter) SetLocaleCallCount() int

func (*FakeReadWriter) SetLoggregatorEndpoint

func (fake *FakeReadWriter) SetLoggregatorEndpoint(arg1 string)

func (*FakeReadWriter) SetLoggregatorEndpointArgsForCall

func (fake *FakeReadWriter) SetLoggregatorEndpointArgsForCall(i int) string

func (*FakeReadWriter) SetLoggregatorEndpointCallCount

func (fake *FakeReadWriter) SetLoggregatorEndpointCallCount() int

func (*FakeReadWriter) SetMinCliVersion

func (fake *FakeReadWriter) SetMinCliVersion(arg1 string)

func (*FakeReadWriter) SetMinCliVersionArgsForCall

func (fake *FakeReadWriter) SetMinCliVersionArgsForCall(i int) string

func (*FakeReadWriter) SetMinCliVersionCallCount

func (fake *FakeReadWriter) SetMinCliVersionCallCount() int

func (*FakeReadWriter) SetMinRecommendedCliVersion

func (fake *FakeReadWriter) SetMinRecommendedCliVersion(arg1 string)

func (*FakeReadWriter) SetMinRecommendedCliVersionArgsForCall

func (fake *FakeReadWriter) SetMinRecommendedCliVersionArgsForCall(i int) string

func (*FakeReadWriter) SetMinRecommendedCliVersionCallCount

func (fake *FakeReadWriter) SetMinRecommendedCliVersionCallCount() int

func (*FakeReadWriter) SetOrganizationFields

func (fake *FakeReadWriter) SetOrganizationFields(arg1 models.OrganizationFields)

func (*FakeReadWriter) SetOrganizationFieldsArgsForCall

func (fake *FakeReadWriter) SetOrganizationFieldsArgsForCall(i int) models.OrganizationFields

func (*FakeReadWriter) SetOrganizationFieldsCallCount

func (fake *FakeReadWriter) SetOrganizationFieldsCallCount() int

func (*FakeReadWriter) SetPluginRepo

func (fake *FakeReadWriter) SetPluginRepo(arg1 models.PluginRepo)

func (*FakeReadWriter) SetPluginRepoArgsForCall

func (fake *FakeReadWriter) SetPluginRepoArgsForCall(i int) models.PluginRepo

func (*FakeReadWriter) SetPluginRepoCallCount

func (fake *FakeReadWriter) SetPluginRepoCallCount() int

func (*FakeReadWriter) SetRefreshToken

func (fake *FakeReadWriter) SetRefreshToken(arg1 string)

func (*FakeReadWriter) SetRefreshTokenArgsForCall

func (fake *FakeReadWriter) SetRefreshTokenArgsForCall(i int) string

func (*FakeReadWriter) SetRefreshTokenCallCount

func (fake *FakeReadWriter) SetRefreshTokenCallCount() int

func (*FakeReadWriter) SetRoutingApiEndpoint

func (fake *FakeReadWriter) SetRoutingApiEndpoint(arg1 string)

func (*FakeReadWriter) SetRoutingApiEndpointArgsForCall

func (fake *FakeReadWriter) SetRoutingApiEndpointArgsForCall(i int) string

func (*FakeReadWriter) SetRoutingApiEndpointCallCount

func (fake *FakeReadWriter) SetRoutingApiEndpointCallCount() int

func (*FakeReadWriter) SetSSHOAuthClient

func (fake *FakeReadWriter) SetSSHOAuthClient(arg1 string)

func (*FakeReadWriter) SetSSHOAuthClientArgsForCall

func (fake *FakeReadWriter) SetSSHOAuthClientArgsForCall(i int) string

func (*FakeReadWriter) SetSSHOAuthClientCallCount

func (fake *FakeReadWriter) SetSSHOAuthClientCallCount() int

func (*FakeReadWriter) SetSSLDisabled

func (fake *FakeReadWriter) SetSSLDisabled(arg1 bool)

func (*FakeReadWriter) SetSSLDisabledArgsForCall

func (fake *FakeReadWriter) SetSSLDisabledArgsForCall(i int) bool

func (*FakeReadWriter) SetSSLDisabledCallCount

func (fake *FakeReadWriter) SetSSLDisabledCallCount() int

func (*FakeReadWriter) SetSpaceFields

func (fake *FakeReadWriter) SetSpaceFields(arg1 models.SpaceFields)

func (*FakeReadWriter) SetSpaceFieldsArgsForCall

func (fake *FakeReadWriter) SetSpaceFieldsArgsForCall(i int) models.SpaceFields

func (*FakeReadWriter) SetSpaceFieldsCallCount

func (fake *FakeReadWriter) SetSpaceFieldsCallCount() int

func (*FakeReadWriter) SetTrace

func (fake *FakeReadWriter) SetTrace(arg1 string)

func (*FakeReadWriter) SetTraceArgsForCall

func (fake *FakeReadWriter) SetTraceArgsForCall(i int) string

func (*FakeReadWriter) SetTraceCallCount

func (fake *FakeReadWriter) SetTraceCallCount() int

func (*FakeReadWriter) SetUaaEndpoint

func (fake *FakeReadWriter) SetUaaEndpoint(arg1 string)

func (*FakeReadWriter) SetUaaEndpointArgsForCall

func (fake *FakeReadWriter) SetUaaEndpointArgsForCall(i int) string

func (*FakeReadWriter) SetUaaEndpointCallCount

func (fake *FakeReadWriter) SetUaaEndpointCallCount() int

func (*FakeReadWriter) SpaceFields

func (fake *FakeReadWriter) SpaceFields() models.SpaceFields

func (*FakeReadWriter) SpaceFieldsCallCount

func (fake *FakeReadWriter) SpaceFieldsCallCount() int

func (*FakeReadWriter) SpaceFieldsReturns

func (fake *FakeReadWriter) SpaceFieldsReturns(result1 models.SpaceFields)

func (*FakeReadWriter) Trace

func (fake *FakeReadWriter) Trace() string

func (*FakeReadWriter) TraceCallCount

func (fake *FakeReadWriter) TraceCallCount() int

func (*FakeReadWriter) TraceReturns

func (fake *FakeReadWriter) TraceReturns(result1 string)

func (*FakeReadWriter) UaaEndpoint

func (fake *FakeReadWriter) UaaEndpoint() string

func (*FakeReadWriter) UaaEndpointCallCount

func (fake *FakeReadWriter) UaaEndpointCallCount() int

func (*FakeReadWriter) UaaEndpointReturns

func (fake *FakeReadWriter) UaaEndpointReturns(result1 string)

func (*FakeReadWriter) UnSetPluginRepo

func (fake *FakeReadWriter) UnSetPluginRepo(arg1 int)

func (*FakeReadWriter) UnSetPluginRepoArgsForCall

func (fake *FakeReadWriter) UnSetPluginRepoArgsForCall(i int) int

func (*FakeReadWriter) UnSetPluginRepoCallCount

func (fake *FakeReadWriter) UnSetPluginRepoCallCount() int

func (*FakeReadWriter) UserEmail

func (fake *FakeReadWriter) UserEmail() string

func (*FakeReadWriter) UserEmailCallCount

func (fake *FakeReadWriter) UserEmailCallCount() int

func (*FakeReadWriter) UserEmailReturns

func (fake *FakeReadWriter) UserEmailReturns(result1 string)

func (*FakeReadWriter) UserGuid

func (fake *FakeReadWriter) UserGuid() string

func (*FakeReadWriter) UserGuidCallCount

func (fake *FakeReadWriter) UserGuidCallCount() int

func (*FakeReadWriter) UserGuidReturns

func (fake *FakeReadWriter) UserGuidReturns(result1 string)

func (*FakeReadWriter) Username

func (fake *FakeReadWriter) Username() string

func (*FakeReadWriter) UsernameCallCount

func (fake *FakeReadWriter) UsernameCallCount() int

func (*FakeReadWriter) UsernameReturns

func (fake *FakeReadWriter) UsernameReturns(result1 string)

Jump to

Keyboard shortcuts

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