Documentation ¶
Overview ¶
This file was generated by counterfeiter
Index ¶
- type FakeCliConnection
- func (fake *FakeCliConnection) AccessToken() (string, error)
- func (fake *FakeCliConnection) AccessTokenCallCount() int
- func (fake *FakeCliConnection) AccessTokenReturns(result1 string, result2 error)
- func (fake *FakeCliConnection) ApiEndpoint() (string, error)
- func (fake *FakeCliConnection) ApiEndpointCallCount() int
- func (fake *FakeCliConnection) ApiEndpointReturns(result1 string, result2 error)
- func (fake *FakeCliConnection) ApiVersion() (string, error)
- func (fake *FakeCliConnection) ApiVersionCallCount() int
- func (fake *FakeCliConnection) ApiVersionReturns(result1 string, result2 error)
- func (fake *FakeCliConnection) CliCommand(args ...string) ([]string, error)
- func (fake *FakeCliConnection) CliCommandArgsForCall(i int) []string
- func (fake *FakeCliConnection) CliCommandCallCount() int
- func (fake *FakeCliConnection) CliCommandReturns(result1 []string, result2 error)
- func (fake *FakeCliConnection) CliCommandWithoutTerminalOutput(args ...string) ([]string, error)
- func (fake *FakeCliConnection) CliCommandWithoutTerminalOutputArgsForCall(i int) []string
- func (fake *FakeCliConnection) CliCommandWithoutTerminalOutputCallCount() int
- func (fake *FakeCliConnection) CliCommandWithoutTerminalOutputReturns(result1 []string, result2 error)
- func (fake *FakeCliConnection) DopplerEndpoint() (string, error)
- func (fake *FakeCliConnection) DopplerEndpointCallCount() int
- func (fake *FakeCliConnection) DopplerEndpointReturns(result1 string, result2 error)
- func (fake *FakeCliConnection) GetCurrentOrg() (plugin_models.Organization, error)
- func (fake *FakeCliConnection) GetCurrentOrgCallCount() int
- func (fake *FakeCliConnection) GetCurrentOrgReturns(result1 plugin_models.Organization, result2 error)
- func (fake *FakeCliConnection) GetCurrentSpace() (plugin_models.Space, error)
- func (fake *FakeCliConnection) GetCurrentSpaceCallCount() int
- func (fake *FakeCliConnection) GetCurrentSpaceReturns(result1 plugin_models.Space, result2 error)
- func (fake *FakeCliConnection) HasAPIEndpoint() (bool, error)
- func (fake *FakeCliConnection) HasAPIEndpointCallCount() int
- func (fake *FakeCliConnection) HasAPIEndpointReturns(result1 bool, result2 error)
- func (fake *FakeCliConnection) HasOrganization() (bool, error)
- func (fake *FakeCliConnection) HasOrganizationCallCount() int
- func (fake *FakeCliConnection) HasOrganizationReturns(result1 bool, result2 error)
- func (fake *FakeCliConnection) HasSpace() (bool, error)
- func (fake *FakeCliConnection) HasSpaceCallCount() int
- func (fake *FakeCliConnection) HasSpaceReturns(result1 bool, result2 error)
- func (fake *FakeCliConnection) IsLoggedIn() (bool, error)
- func (fake *FakeCliConnection) IsLoggedInCallCount() int
- func (fake *FakeCliConnection) IsLoggedInReturns(result1 bool, result2 error)
- func (fake *FakeCliConnection) IsSSLDisabled() (bool, error)
- func (fake *FakeCliConnection) IsSSLDisabledCallCount() int
- func (fake *FakeCliConnection) IsSSLDisabledReturns(result1 bool, result2 error)
- func (fake *FakeCliConnection) LoggregatorEndpoint() (string, error)
- func (fake *FakeCliConnection) LoggregatorEndpointCallCount() int
- func (fake *FakeCliConnection) LoggregatorEndpointReturns(result1 string, result2 error)
- func (fake *FakeCliConnection) UserEmail() (string, error)
- func (fake *FakeCliConnection) UserEmailCallCount() int
- func (fake *FakeCliConnection) UserEmailReturns(result1 string, result2 error)
- func (fake *FakeCliConnection) UserGuid() (string, error)
- func (fake *FakeCliConnection) UserGuidCallCount() int
- func (fake *FakeCliConnection) UserGuidReturns(result1 string, result2 error)
- func (fake *FakeCliConnection) Username() (string, error)
- func (fake *FakeCliConnection) UsernameCallCount() int
- func (fake *FakeCliConnection) UsernameReturns(result1 string, result2 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeCliConnection ¶
type FakeCliConnection struct { CliCommandWithoutTerminalOutputStub func(args ...string) ([]string, error) CliCommandStub func(args ...string) ([]string, error) GetCurrentOrgStub func() (plugin_models.Organization, error) GetCurrentSpaceStub func() (plugin_models.Space, error) UsernameStub func() (string, error) UserGuidStub func() (string, error) UserEmailStub func() (string, error) IsLoggedInStub func() (bool, error) IsSSLDisabledStub func() (bool, error) HasOrganizationStub func() (bool, error) HasSpaceStub func() (bool, error) ApiEndpointStub func() (string, error) ApiVersionStub func() (string, error) HasAPIEndpointStub func() (bool, error) LoggregatorEndpointStub func() (string, error) DopplerEndpointStub func() (string, error) AccessTokenStub func() (string, error) // contains filtered or unexported fields }
func (*FakeCliConnection) AccessToken ¶
func (fake *FakeCliConnection) AccessToken() (string, error)
func (*FakeCliConnection) AccessTokenCallCount ¶
func (fake *FakeCliConnection) AccessTokenCallCount() int
func (*FakeCliConnection) AccessTokenReturns ¶
func (fake *FakeCliConnection) AccessTokenReturns(result1 string, result2 error)
func (*FakeCliConnection) ApiEndpoint ¶
func (fake *FakeCliConnection) ApiEndpoint() (string, error)
func (*FakeCliConnection) ApiEndpointCallCount ¶
func (fake *FakeCliConnection) ApiEndpointCallCount() int
func (*FakeCliConnection) ApiEndpointReturns ¶
func (fake *FakeCliConnection) ApiEndpointReturns(result1 string, result2 error)
func (*FakeCliConnection) ApiVersion ¶
func (fake *FakeCliConnection) ApiVersion() (string, error)
func (*FakeCliConnection) ApiVersionCallCount ¶
func (fake *FakeCliConnection) ApiVersionCallCount() int
func (*FakeCliConnection) ApiVersionReturns ¶
func (fake *FakeCliConnection) ApiVersionReturns(result1 string, result2 error)
func (*FakeCliConnection) CliCommand ¶
func (fake *FakeCliConnection) CliCommand(args ...string) ([]string, error)
func (*FakeCliConnection) CliCommandArgsForCall ¶
func (fake *FakeCliConnection) CliCommandArgsForCall(i int) []string
func (*FakeCliConnection) CliCommandCallCount ¶
func (fake *FakeCliConnection) CliCommandCallCount() int
func (*FakeCliConnection) CliCommandReturns ¶
func (fake *FakeCliConnection) CliCommandReturns(result1 []string, result2 error)
func (*FakeCliConnection) CliCommandWithoutTerminalOutput ¶
func (fake *FakeCliConnection) CliCommandWithoutTerminalOutput(args ...string) ([]string, error)
func (*FakeCliConnection) CliCommandWithoutTerminalOutputArgsForCall ¶
func (fake *FakeCliConnection) CliCommandWithoutTerminalOutputArgsForCall(i int) []string
func (*FakeCliConnection) CliCommandWithoutTerminalOutputCallCount ¶
func (fake *FakeCliConnection) CliCommandWithoutTerminalOutputCallCount() int
func (*FakeCliConnection) CliCommandWithoutTerminalOutputReturns ¶
func (fake *FakeCliConnection) CliCommandWithoutTerminalOutputReturns(result1 []string, result2 error)
func (*FakeCliConnection) DopplerEndpoint ¶
func (fake *FakeCliConnection) DopplerEndpoint() (string, error)
func (*FakeCliConnection) DopplerEndpointCallCount ¶
func (fake *FakeCliConnection) DopplerEndpointCallCount() int
func (*FakeCliConnection) DopplerEndpointReturns ¶
func (fake *FakeCliConnection) DopplerEndpointReturns(result1 string, result2 error)
func (*FakeCliConnection) GetCurrentOrg ¶
func (fake *FakeCliConnection) GetCurrentOrg() (plugin_models.Organization, error)
func (*FakeCliConnection) GetCurrentOrgCallCount ¶
func (fake *FakeCliConnection) GetCurrentOrgCallCount() int
func (*FakeCliConnection) GetCurrentOrgReturns ¶
func (fake *FakeCliConnection) GetCurrentOrgReturns(result1 plugin_models.Organization, result2 error)
func (*FakeCliConnection) GetCurrentSpace ¶
func (fake *FakeCliConnection) GetCurrentSpace() (plugin_models.Space, error)
func (*FakeCliConnection) GetCurrentSpaceCallCount ¶
func (fake *FakeCliConnection) GetCurrentSpaceCallCount() int
func (*FakeCliConnection) GetCurrentSpaceReturns ¶
func (fake *FakeCliConnection) GetCurrentSpaceReturns(result1 plugin_models.Space, result2 error)
func (*FakeCliConnection) HasAPIEndpoint ¶
func (fake *FakeCliConnection) HasAPIEndpoint() (bool, error)
func (*FakeCliConnection) HasAPIEndpointCallCount ¶
func (fake *FakeCliConnection) HasAPIEndpointCallCount() int
func (*FakeCliConnection) HasAPIEndpointReturns ¶
func (fake *FakeCliConnection) HasAPIEndpointReturns(result1 bool, result2 error)
func (*FakeCliConnection) HasOrganization ¶
func (fake *FakeCliConnection) HasOrganization() (bool, error)
func (*FakeCliConnection) HasOrganizationCallCount ¶
func (fake *FakeCliConnection) HasOrganizationCallCount() int
func (*FakeCliConnection) HasOrganizationReturns ¶
func (fake *FakeCliConnection) HasOrganizationReturns(result1 bool, result2 error)
func (*FakeCliConnection) HasSpace ¶
func (fake *FakeCliConnection) HasSpace() (bool, error)
func (*FakeCliConnection) HasSpaceCallCount ¶
func (fake *FakeCliConnection) HasSpaceCallCount() int
func (*FakeCliConnection) HasSpaceReturns ¶
func (fake *FakeCliConnection) HasSpaceReturns(result1 bool, result2 error)
func (*FakeCliConnection) IsLoggedIn ¶
func (fake *FakeCliConnection) IsLoggedIn() (bool, error)
func (*FakeCliConnection) IsLoggedInCallCount ¶
func (fake *FakeCliConnection) IsLoggedInCallCount() int
func (*FakeCliConnection) IsLoggedInReturns ¶
func (fake *FakeCliConnection) IsLoggedInReturns(result1 bool, result2 error)
func (*FakeCliConnection) IsSSLDisabled ¶
func (fake *FakeCliConnection) IsSSLDisabled() (bool, error)
func (*FakeCliConnection) IsSSLDisabledCallCount ¶
func (fake *FakeCliConnection) IsSSLDisabledCallCount() int
func (*FakeCliConnection) IsSSLDisabledReturns ¶
func (fake *FakeCliConnection) IsSSLDisabledReturns(result1 bool, result2 error)
func (*FakeCliConnection) LoggregatorEndpoint ¶
func (fake *FakeCliConnection) LoggregatorEndpoint() (string, error)
func (*FakeCliConnection) LoggregatorEndpointCallCount ¶
func (fake *FakeCliConnection) LoggregatorEndpointCallCount() int
func (*FakeCliConnection) LoggregatorEndpointReturns ¶
func (fake *FakeCliConnection) LoggregatorEndpointReturns(result1 string, result2 error)
func (*FakeCliConnection) UserEmail ¶
func (fake *FakeCliConnection) UserEmail() (string, error)
func (*FakeCliConnection) UserEmailCallCount ¶
func (fake *FakeCliConnection) UserEmailCallCount() int
func (*FakeCliConnection) UserEmailReturns ¶
func (fake *FakeCliConnection) UserEmailReturns(result1 string, result2 error)
func (*FakeCliConnection) UserGuid ¶
func (fake *FakeCliConnection) UserGuid() (string, error)
func (*FakeCliConnection) UserGuidCallCount ¶
func (fake *FakeCliConnection) UserGuidCallCount() int
func (*FakeCliConnection) UserGuidReturns ¶
func (fake *FakeCliConnection) UserGuidReturns(result1 string, result2 error)
func (*FakeCliConnection) Username ¶
func (fake *FakeCliConnection) Username() (string, error)
func (*FakeCliConnection) UsernameCallCount ¶
func (fake *FakeCliConnection) UsernameCallCount() int
func (*FakeCliConnection) UsernameReturns ¶
func (fake *FakeCliConnection) UsernameReturns(result1 string, result2 error)
Click to show internal directories.
Click to hide internal directories.