Documentation ¶
Overview ¶
This file was generated by counterfeiter
This file was generated by counterfeiter ¶
This file was generated by counterfeiter ¶
This file was generated by counterfeiter ¶
This file was generated by counterfeiter
Index ¶
- type FakeCloudControllerClient
- func (fake *FakeCloudControllerClient) Do(arg1 *http.Request) (*http.Response, error)
- func (fake *FakeCloudControllerClient) DoArgsForCall(i int) *http.Request
- func (fake *FakeCloudControllerClient) DoCallCount() int
- func (fake *FakeCloudControllerClient) DoReturns(result1 *http.Response, result2 error)
- type FakeConnection
- func (fake *FakeConnection) AccessToken() (string, error)
- func (fake *FakeConnection) AccessTokenCallCount() int
- func (fake *FakeConnection) AccessTokenReturns(result1 string, result2 error)
- func (fake *FakeConnection) ApiEndpoint() (string, error)
- func (fake *FakeConnection) ApiEndpointCallCount() int
- func (fake *FakeConnection) ApiEndpointReturns(result1 string, result2 error)
- func (fake *FakeConnection) CliCommandWithoutTerminalOutput(args ...string) ([]string, error)
- func (fake *FakeConnection) CliCommandWithoutTerminalOutputArgsForCall(i int) []string
- func (fake *FakeConnection) CliCommandWithoutTerminalOutputCallCount() int
- func (fake *FakeConnection) CliCommandWithoutTerminalOutputReturns(result1 []string, result2 error)
- func (fake *FakeConnection) GetApp(arg1 string) (plugin_models.GetAppModel, error)
- func (fake *FakeConnection) GetAppArgsForCall(i int) string
- func (fake *FakeConnection) GetAppCallCount() int
- func (fake *FakeConnection) GetAppReturns(result1 plugin_models.GetAppModel, result2 error)
- func (fake *FakeConnection) GetCurrentSpace() (plugin_models.Space, error)
- func (fake *FakeConnection) GetCurrentSpaceCallCount() int
- func (fake *FakeConnection) GetCurrentSpaceReturns(result1 plugin_models.Space, result2 error)
- func (fake *FakeConnection) GetOrg(arg1 string) (plugin_models.GetOrg_Model, error)
- func (fake *FakeConnection) GetOrgArgsForCall(i int) string
- func (fake *FakeConnection) GetOrgCallCount() int
- func (fake *FakeConnection) GetOrgReturns(result1 plugin_models.GetOrg_Model, result2 error)
- func (fake *FakeConnection) GetSpace(arg1 string) (plugin_models.GetSpace_Model, error)
- func (fake *FakeConnection) GetSpaceArgsForCall(i int) string
- func (fake *FakeConnection) GetSpaceCallCount() int
- func (fake *FakeConnection) GetSpaceReturns(result1 plugin_models.GetSpace_Model, result2 error)
- func (fake *FakeConnection) Invocations() map[string][][]interface{}
- func (fake *FakeConnection) IsLoggedIn() (bool, error)
- func (fake *FakeConnection) IsLoggedInCallCount() int
- func (fake *FakeConnection) IsLoggedInReturns(result1 bool, result2 error)
- func (fake *FakeConnection) IsSSLDisabled() (bool, error)
- func (fake *FakeConnection) IsSSLDisabledCallCount() int
- func (fake *FakeConnection) IsSSLDisabledReturns(result1 bool, result2 error)
- func (fake *FakeConnection) Username() (string, error)
- func (fake *FakeConnection) UsernameCallCount() int
- func (fake *FakeConnection) UsernameReturns(result1 string, result2 error)
- type FakeFilter
- type FakePaginatedParser
- type FakeRequestFactory
- func (fake *FakeRequestFactory) ArgsForCall(i int) (api.Filter, map[string]interface{})
- func (fake *FakeRequestFactory) CallCount() int
- func (fake *FakeRequestFactory) Returns(result1 *http.Request, result2 error)
- func (fake *FakeRequestFactory) Spy(arg1 api.Filter, arg2 map[string]interface{}) (*http.Request, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeCloudControllerClient ¶
type FakeCloudControllerClient struct { DoStub func(*http.Request) (*http.Response, error) // contains filtered or unexported fields }
func (*FakeCloudControllerClient) DoArgsForCall ¶
func (fake *FakeCloudControllerClient) DoArgsForCall(i int) *http.Request
func (*FakeCloudControllerClient) DoCallCount ¶
func (fake *FakeCloudControllerClient) DoCallCount() int
type FakeConnection ¶
type FakeConnection struct { IsLoggedInStub func() (bool, error) IsSSLDisabledStub func() (bool, error) ApiEndpointStub func() (string, error) AccessTokenStub func() (string, error) UsernameStub func() (string, error) CliCommandWithoutTerminalOutputStub func(args ...string) ([]string, error) GetAppStub func(string) (plugin_models.GetAppModel, error) GetOrgStub func(string) (plugin_models.GetOrg_Model, error) GetSpaceStub func(string) (plugin_models.GetSpace_Model, error) GetCurrentSpaceStub func() (plugin_models.Space, error) // contains filtered or unexported fields }
func (*FakeConnection) AccessToken ¶
func (fake *FakeConnection) AccessToken() (string, error)
func (*FakeConnection) AccessTokenCallCount ¶
func (fake *FakeConnection) AccessTokenCallCount() int
func (*FakeConnection) AccessTokenReturns ¶
func (fake *FakeConnection) AccessTokenReturns(result1 string, result2 error)
func (*FakeConnection) ApiEndpoint ¶
func (fake *FakeConnection) ApiEndpoint() (string, error)
func (*FakeConnection) ApiEndpointCallCount ¶
func (fake *FakeConnection) ApiEndpointCallCount() int
func (*FakeConnection) ApiEndpointReturns ¶
func (fake *FakeConnection) ApiEndpointReturns(result1 string, result2 error)
func (*FakeConnection) CliCommandWithoutTerminalOutput ¶
func (fake *FakeConnection) CliCommandWithoutTerminalOutput(args ...string) ([]string, error)
func (*FakeConnection) CliCommandWithoutTerminalOutputArgsForCall ¶
func (fake *FakeConnection) CliCommandWithoutTerminalOutputArgsForCall(i int) []string
func (*FakeConnection) CliCommandWithoutTerminalOutputCallCount ¶
func (fake *FakeConnection) CliCommandWithoutTerminalOutputCallCount() int
func (*FakeConnection) CliCommandWithoutTerminalOutputReturns ¶
func (fake *FakeConnection) CliCommandWithoutTerminalOutputReturns(result1 []string, result2 error)
func (*FakeConnection) GetApp ¶
func (fake *FakeConnection) GetApp(arg1 string) (plugin_models.GetAppModel, error)
func (*FakeConnection) GetAppArgsForCall ¶
func (fake *FakeConnection) GetAppArgsForCall(i int) string
func (*FakeConnection) GetAppCallCount ¶
func (fake *FakeConnection) GetAppCallCount() int
func (*FakeConnection) GetAppReturns ¶
func (fake *FakeConnection) GetAppReturns(result1 plugin_models.GetAppModel, result2 error)
func (*FakeConnection) GetCurrentSpace ¶ added in v1.2.3
func (fake *FakeConnection) GetCurrentSpace() (plugin_models.Space, error)
func (*FakeConnection) GetCurrentSpaceCallCount ¶ added in v1.2.3
func (fake *FakeConnection) GetCurrentSpaceCallCount() int
func (*FakeConnection) GetCurrentSpaceReturns ¶ added in v1.2.3
func (fake *FakeConnection) GetCurrentSpaceReturns(result1 plugin_models.Space, result2 error)
func (*FakeConnection) GetOrg ¶
func (fake *FakeConnection) GetOrg(arg1 string) (plugin_models.GetOrg_Model, error)
func (*FakeConnection) GetOrgArgsForCall ¶
func (fake *FakeConnection) GetOrgArgsForCall(i int) string
func (*FakeConnection) GetOrgCallCount ¶
func (fake *FakeConnection) GetOrgCallCount() int
func (*FakeConnection) GetOrgReturns ¶
func (fake *FakeConnection) GetOrgReturns(result1 plugin_models.GetOrg_Model, result2 error)
func (*FakeConnection) GetSpace ¶
func (fake *FakeConnection) GetSpace(arg1 string) (plugin_models.GetSpace_Model, error)
func (*FakeConnection) GetSpaceArgsForCall ¶
func (fake *FakeConnection) GetSpaceArgsForCall(i int) string
func (*FakeConnection) GetSpaceCallCount ¶
func (fake *FakeConnection) GetSpaceCallCount() int
func (*FakeConnection) GetSpaceReturns ¶
func (fake *FakeConnection) GetSpaceReturns(result1 plugin_models.GetSpace_Model, result2 error)
func (*FakeConnection) Invocations ¶ added in v1.2.3
func (fake *FakeConnection) Invocations() map[string][][]interface{}
func (*FakeConnection) IsLoggedIn ¶
func (fake *FakeConnection) IsLoggedIn() (bool, error)
func (*FakeConnection) IsLoggedInCallCount ¶
func (fake *FakeConnection) IsLoggedInCallCount() int
func (*FakeConnection) IsLoggedInReturns ¶
func (fake *FakeConnection) IsLoggedInReturns(result1 bool, result2 error)
func (*FakeConnection) IsSSLDisabled ¶
func (fake *FakeConnection) IsSSLDisabled() (bool, error)
func (*FakeConnection) IsSSLDisabledCallCount ¶
func (fake *FakeConnection) IsSSLDisabledCallCount() int
func (*FakeConnection) IsSSLDisabledReturns ¶
func (fake *FakeConnection) IsSSLDisabledReturns(result1 bool, result2 error)
func (*FakeConnection) Username ¶
func (fake *FakeConnection) Username() (string, error)
func (*FakeConnection) UsernameCallCount ¶
func (fake *FakeConnection) UsernameCallCount() int
func (*FakeConnection) UsernameReturns ¶
func (fake *FakeConnection) UsernameReturns(result1 string, result2 error)
type FakeFilter ¶
type FakeFilter struct { ToFilterQueryParamStub func() string // contains filtered or unexported fields }
func (*FakeFilter) ToFilterQueryParam ¶
func (fake *FakeFilter) ToFilterQueryParam() string
func (*FakeFilter) ToFilterQueryParamCallCount ¶
func (fake *FakeFilter) ToFilterQueryParamCallCount() int
func (*FakeFilter) ToFilterQueryParamReturns ¶
func (fake *FakeFilter) ToFilterQueryParamReturns(result1 string)
type FakePaginatedParser ¶
type FakePaginatedParser struct { ParseStub func([]byte) (api.PaginatedResponse, error) // contains filtered or unexported fields }
func (*FakePaginatedParser) Parse ¶
func (fake *FakePaginatedParser) Parse(arg1 []byte) (api.PaginatedResponse, error)
func (*FakePaginatedParser) ParseArgsForCall ¶
func (fake *FakePaginatedParser) ParseArgsForCall(i int) []byte
func (*FakePaginatedParser) ParseCallCount ¶
func (fake *FakePaginatedParser) ParseCallCount() int
func (*FakePaginatedParser) ParseReturns ¶
func (fake *FakePaginatedParser) ParseReturns(result1 api.PaginatedResponse, result2 error)
type FakeRequestFactory ¶
type FakeRequestFactory struct { Stub func(api.Filter, map[string]interface{}) (*http.Request, error) // contains filtered or unexported fields }
func (*FakeRequestFactory) ArgsForCall ¶
func (fake *FakeRequestFactory) ArgsForCall(i int) (api.Filter, map[string]interface{})
func (*FakeRequestFactory) CallCount ¶
func (fake *FakeRequestFactory) CallCount() int
Click to show internal directories.
Click to hide internal directories.