Documentation ¶
Overview ¶
This file was generated by counterfeiter
Index ¶
- type FakeHandlers
- func (fake *FakeHandlers) AccessToken() (string, error)
- func (fake *FakeHandlers) AccessTokenCallCount() int
- func (fake *FakeHandlers) AccessTokenReturns(result1 string, result2 error)
- func (fake *FakeHandlers) ApiEndpoint() (string, error)
- func (fake *FakeHandlers) ApiEndpointCallCount() int
- func (fake *FakeHandlers) ApiEndpointReturns(result1 string, result2 error)
- func (fake *FakeHandlers) ApiVersion() (string, error)
- func (fake *FakeHandlers) ApiVersionCallCount() int
- func (fake *FakeHandlers) ApiVersionReturns(result1 string, result2 error)
- func (fake *FakeHandlers) CliCommand(args ...string) ([]string, error)
- func (fake *FakeHandlers) CliCommandArgsForCall(i int) []string
- func (fake *FakeHandlers) CliCommandCallCount() int
- func (fake *FakeHandlers) CliCommandReturns(result1 []string, result2 error)
- func (fake *FakeHandlers) CliCommandWithoutTerminalOutput(args ...string) ([]string, error)
- func (fake *FakeHandlers) CliCommandWithoutTerminalOutputArgsForCall(i int) []string
- func (fake *FakeHandlers) CliCommandWithoutTerminalOutputCallCount() int
- func (fake *FakeHandlers) CliCommandWithoutTerminalOutputReturns(result1 []string, result2 error)
- func (fake *FakeHandlers) DopplerEndpoint() (string, error)
- func (fake *FakeHandlers) DopplerEndpointCallCount() int
- func (fake *FakeHandlers) DopplerEndpointReturns(result1 string, result2 error)
- func (fake *FakeHandlers) GetApp(arg1 string) (plugin_models.GetAppModel, error)
- func (fake *FakeHandlers) GetAppArgsForCall(i int) string
- func (fake *FakeHandlers) GetAppCallCount() int
- func (fake *FakeHandlers) GetAppReturns(result1 plugin_models.GetAppModel, result2 error)
- func (fake *FakeHandlers) GetApps() ([]plugin_models.GetAppsModel, error)
- func (fake *FakeHandlers) GetAppsCallCount() int
- func (fake *FakeHandlers) GetAppsReturns(result1 []plugin_models.GetAppsModel, result2 error)
- func (fake *FakeHandlers) GetCurrentOrg() (plugin_models.Organization, error)
- func (fake *FakeHandlers) GetCurrentOrgCallCount() int
- func (fake *FakeHandlers) GetCurrentOrgReturns(result1 plugin_models.Organization, result2 error)
- func (fake *FakeHandlers) GetCurrentSpace() (plugin_models.Space, error)
- func (fake *FakeHandlers) GetCurrentSpaceCallCount() int
- func (fake *FakeHandlers) GetCurrentSpaceReturns(result1 plugin_models.Space, result2 error)
- func (fake *FakeHandlers) GetOrg(arg1 string) (plugin_models.GetOrg_Model, error)
- func (fake *FakeHandlers) GetOrgArgsForCall(i int) string
- func (fake *FakeHandlers) GetOrgCallCount() int
- func (fake *FakeHandlers) GetOrgReturns(result1 plugin_models.GetOrg_Model, result2 error)
- func (fake *FakeHandlers) GetOrgUsers(arg1 string, arg2 ...string) ([]plugin_models.GetOrgUsers_Model, error)
- func (fake *FakeHandlers) GetOrgUsersArgsForCall(i int) (string, []string)
- func (fake *FakeHandlers) GetOrgUsersCallCount() int
- func (fake *FakeHandlers) GetOrgUsersReturns(result1 []plugin_models.GetOrgUsers_Model, result2 error)
- func (fake *FakeHandlers) GetOrgs() ([]plugin_models.GetOrgs_Model, error)
- func (fake *FakeHandlers) GetOrgsCallCount() int
- func (fake *FakeHandlers) GetOrgsReturns(result1 []plugin_models.GetOrgs_Model, result2 error)
- func (fake *FakeHandlers) GetService(arg1 string) (plugin_models.GetService_Model, error)
- func (fake *FakeHandlers) GetServiceArgsForCall(i int) string
- func (fake *FakeHandlers) GetServiceCallCount() int
- func (fake *FakeHandlers) GetServiceReturns(result1 plugin_models.GetService_Model, result2 error)
- func (fake *FakeHandlers) GetServices() ([]plugin_models.GetServices_Model, error)
- func (fake *FakeHandlers) GetServicesCallCount() int
- func (fake *FakeHandlers) GetServicesReturns(result1 []plugin_models.GetServices_Model, result2 error)
- func (fake *FakeHandlers) GetSpace(arg1 string) (plugin_models.GetSpace_Model, error)
- func (fake *FakeHandlers) GetSpaceArgsForCall(i int) string
- func (fake *FakeHandlers) GetSpaceCallCount() int
- func (fake *FakeHandlers) GetSpaceReturns(result1 plugin_models.GetSpace_Model, result2 error)
- func (fake *FakeHandlers) GetSpaceUsers(arg1 string, arg2 string) ([]plugin_models.GetSpaceUsers_Model, error)
- func (fake *FakeHandlers) GetSpaceUsersArgsForCall(i int) (string, string)
- func (fake *FakeHandlers) GetSpaceUsersCallCount() int
- func (fake *FakeHandlers) GetSpaceUsersReturns(result1 []plugin_models.GetSpaceUsers_Model, result2 error)
- func (fake *FakeHandlers) GetSpaces() ([]plugin_models.GetSpaces_Model, error)
- func (fake *FakeHandlers) GetSpacesCallCount() int
- func (fake *FakeHandlers) GetSpacesReturns(result1 []plugin_models.GetSpaces_Model, result2 error)
- func (fake *FakeHandlers) HasAPIEndpoint() (bool, error)
- func (fake *FakeHandlers) HasAPIEndpointCallCount() int
- func (fake *FakeHandlers) HasAPIEndpointReturns(result1 bool, result2 error)
- func (fake *FakeHandlers) HasOrganization() (bool, error)
- func (fake *FakeHandlers) HasOrganizationCallCount() int
- func (fake *FakeHandlers) HasOrganizationReturns(result1 bool, result2 error)
- func (fake *FakeHandlers) HasSpace() (bool, error)
- func (fake *FakeHandlers) HasSpaceCallCount() int
- func (fake *FakeHandlers) HasSpaceReturns(result1 bool, result2 error)
- func (fake *FakeHandlers) IsLoggedIn() (bool, error)
- func (fake *FakeHandlers) IsLoggedInCallCount() int
- func (fake *FakeHandlers) IsLoggedInReturns(result1 bool, result2 error)
- func (fake *FakeHandlers) IsMinCliVersion(args string, retVal *bool) error
- func (fake *FakeHandlers) IsMinCliVersionArgsForCall(i int) (string, *bool)
- func (fake *FakeHandlers) IsMinCliVersionCallCount() int
- func (fake *FakeHandlers) IsMinCliVersionReturns(result1 error)
- func (fake *FakeHandlers) IsSSLDisabled() (bool, error)
- func (fake *FakeHandlers) IsSSLDisabledCallCount() int
- func (fake *FakeHandlers) IsSSLDisabledReturns(result1 bool, result2 error)
- func (fake *FakeHandlers) LoggregatorEndpoint() (string, error)
- func (fake *FakeHandlers) LoggregatorEndpointCallCount() int
- func (fake *FakeHandlers) LoggregatorEndpointReturns(result1 string, result2 error)
- func (fake *FakeHandlers) SetPluginMetadata(pluginMetadata plugin.PluginMetadata, retVal *bool)
- func (fake *FakeHandlers) SetPluginMetadataArgsForCall(i int) (plugin.PluginMetadata, *bool)
- func (fake *FakeHandlers) SetPluginMetadataCallCount() int
- func (fake *FakeHandlers) UserEmail() (string, error)
- func (fake *FakeHandlers) UserEmailCallCount() int
- func (fake *FakeHandlers) UserEmailReturns(result1 string, result2 error)
- func (fake *FakeHandlers) UserGuid() (string, error)
- func (fake *FakeHandlers) UserGuidCallCount() int
- func (fake *FakeHandlers) UserGuidReturns(result1 string, result2 error)
- func (fake *FakeHandlers) Username() (string, error)
- func (fake *FakeHandlers) UsernameCallCount() int
- func (fake *FakeHandlers) UsernameReturns(result1 string, result2 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeHandlers ¶
type FakeHandlers struct { IsMinCliVersionStub func(args string, retVal *bool) error SetPluginMetadataStub func(pluginMetadata plugin.PluginMetadata, retVal *bool) 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) GetAppStub func(string) (plugin_models.GetAppModel, error) GetAppsStub func() ([]plugin_models.GetAppsModel, error) GetOrgsStub func() ([]plugin_models.GetOrgs_Model, error) GetSpacesStub func() ([]plugin_models.GetSpaces_Model, error) GetOrgUsersStub func(string, ...string) ([]plugin_models.GetOrgUsers_Model, error) GetSpaceUsersStub func(string, string) ([]plugin_models.GetSpaceUsers_Model, error) GetServicesStub func() ([]plugin_models.GetServices_Model, error) GetServiceStub func(string) (plugin_models.GetService_Model, error) GetOrgStub func(string) (plugin_models.GetOrg_Model, error) GetSpaceStub func(string) (plugin_models.GetSpace_Model, error) // contains filtered or unexported fields }
func (*FakeHandlers) AccessToken ¶
func (fake *FakeHandlers) AccessToken() (string, error)
func (*FakeHandlers) AccessTokenCallCount ¶
func (fake *FakeHandlers) AccessTokenCallCount() int
func (*FakeHandlers) AccessTokenReturns ¶
func (fake *FakeHandlers) AccessTokenReturns(result1 string, result2 error)
func (*FakeHandlers) ApiEndpoint ¶
func (fake *FakeHandlers) ApiEndpoint() (string, error)
func (*FakeHandlers) ApiEndpointCallCount ¶
func (fake *FakeHandlers) ApiEndpointCallCount() int
func (*FakeHandlers) ApiEndpointReturns ¶
func (fake *FakeHandlers) ApiEndpointReturns(result1 string, result2 error)
func (*FakeHandlers) ApiVersion ¶
func (fake *FakeHandlers) ApiVersion() (string, error)
func (*FakeHandlers) ApiVersionCallCount ¶
func (fake *FakeHandlers) ApiVersionCallCount() int
func (*FakeHandlers) ApiVersionReturns ¶
func (fake *FakeHandlers) ApiVersionReturns(result1 string, result2 error)
func (*FakeHandlers) CliCommand ¶
func (fake *FakeHandlers) CliCommand(args ...string) ([]string, error)
func (*FakeHandlers) CliCommandArgsForCall ¶
func (fake *FakeHandlers) CliCommandArgsForCall(i int) []string
func (*FakeHandlers) CliCommandCallCount ¶
func (fake *FakeHandlers) CliCommandCallCount() int
func (*FakeHandlers) CliCommandReturns ¶
func (fake *FakeHandlers) CliCommandReturns(result1 []string, result2 error)
func (*FakeHandlers) CliCommandWithoutTerminalOutput ¶
func (fake *FakeHandlers) CliCommandWithoutTerminalOutput(args ...string) ([]string, error)
func (*FakeHandlers) CliCommandWithoutTerminalOutputArgsForCall ¶
func (fake *FakeHandlers) CliCommandWithoutTerminalOutputArgsForCall(i int) []string
func (*FakeHandlers) CliCommandWithoutTerminalOutputCallCount ¶
func (fake *FakeHandlers) CliCommandWithoutTerminalOutputCallCount() int
func (*FakeHandlers) CliCommandWithoutTerminalOutputReturns ¶
func (fake *FakeHandlers) CliCommandWithoutTerminalOutputReturns(result1 []string, result2 error)
func (*FakeHandlers) DopplerEndpoint ¶
func (fake *FakeHandlers) DopplerEndpoint() (string, error)
func (*FakeHandlers) DopplerEndpointCallCount ¶
func (fake *FakeHandlers) DopplerEndpointCallCount() int
func (*FakeHandlers) DopplerEndpointReturns ¶
func (fake *FakeHandlers) DopplerEndpointReturns(result1 string, result2 error)
func (*FakeHandlers) GetApp ¶
func (fake *FakeHandlers) GetApp(arg1 string) (plugin_models.GetAppModel, error)
func (*FakeHandlers) GetAppArgsForCall ¶
func (fake *FakeHandlers) GetAppArgsForCall(i int) string
func (*FakeHandlers) GetAppCallCount ¶
func (fake *FakeHandlers) GetAppCallCount() int
func (*FakeHandlers) GetAppReturns ¶
func (fake *FakeHandlers) GetAppReturns(result1 plugin_models.GetAppModel, result2 error)
func (*FakeHandlers) GetApps ¶
func (fake *FakeHandlers) GetApps() ([]plugin_models.GetAppsModel, error)
func (*FakeHandlers) GetAppsCallCount ¶
func (fake *FakeHandlers) GetAppsCallCount() int
func (*FakeHandlers) GetAppsReturns ¶
func (fake *FakeHandlers) GetAppsReturns(result1 []plugin_models.GetAppsModel, result2 error)
func (*FakeHandlers) GetCurrentOrg ¶
func (fake *FakeHandlers) GetCurrentOrg() (plugin_models.Organization, error)
func (*FakeHandlers) GetCurrentOrgCallCount ¶
func (fake *FakeHandlers) GetCurrentOrgCallCount() int
func (*FakeHandlers) GetCurrentOrgReturns ¶
func (fake *FakeHandlers) GetCurrentOrgReturns(result1 plugin_models.Organization, result2 error)
func (*FakeHandlers) GetCurrentSpace ¶
func (fake *FakeHandlers) GetCurrentSpace() (plugin_models.Space, error)
func (*FakeHandlers) GetCurrentSpaceCallCount ¶
func (fake *FakeHandlers) GetCurrentSpaceCallCount() int
func (*FakeHandlers) GetCurrentSpaceReturns ¶
func (fake *FakeHandlers) GetCurrentSpaceReturns(result1 plugin_models.Space, result2 error)
func (*FakeHandlers) GetOrg ¶
func (fake *FakeHandlers) GetOrg(arg1 string) (plugin_models.GetOrg_Model, error)
func (*FakeHandlers) GetOrgArgsForCall ¶
func (fake *FakeHandlers) GetOrgArgsForCall(i int) string
func (*FakeHandlers) GetOrgCallCount ¶
func (fake *FakeHandlers) GetOrgCallCount() int
func (*FakeHandlers) GetOrgReturns ¶
func (fake *FakeHandlers) GetOrgReturns(result1 plugin_models.GetOrg_Model, result2 error)
func (*FakeHandlers) GetOrgUsers ¶
func (fake *FakeHandlers) GetOrgUsers(arg1 string, arg2 ...string) ([]plugin_models.GetOrgUsers_Model, error)
func (*FakeHandlers) GetOrgUsersArgsForCall ¶
func (fake *FakeHandlers) GetOrgUsersArgsForCall(i int) (string, []string)
func (*FakeHandlers) GetOrgUsersCallCount ¶
func (fake *FakeHandlers) GetOrgUsersCallCount() int
func (*FakeHandlers) GetOrgUsersReturns ¶
func (fake *FakeHandlers) GetOrgUsersReturns(result1 []plugin_models.GetOrgUsers_Model, result2 error)
func (*FakeHandlers) GetOrgs ¶
func (fake *FakeHandlers) GetOrgs() ([]plugin_models.GetOrgs_Model, error)
func (*FakeHandlers) GetOrgsCallCount ¶
func (fake *FakeHandlers) GetOrgsCallCount() int
func (*FakeHandlers) GetOrgsReturns ¶
func (fake *FakeHandlers) GetOrgsReturns(result1 []plugin_models.GetOrgs_Model, result2 error)
func (*FakeHandlers) GetService ¶
func (fake *FakeHandlers) GetService(arg1 string) (plugin_models.GetService_Model, error)
func (*FakeHandlers) GetServiceArgsForCall ¶
func (fake *FakeHandlers) GetServiceArgsForCall(i int) string
func (*FakeHandlers) GetServiceCallCount ¶
func (fake *FakeHandlers) GetServiceCallCount() int
func (*FakeHandlers) GetServiceReturns ¶
func (fake *FakeHandlers) GetServiceReturns(result1 plugin_models.GetService_Model, result2 error)
func (*FakeHandlers) GetServices ¶
func (fake *FakeHandlers) GetServices() ([]plugin_models.GetServices_Model, error)
func (*FakeHandlers) GetServicesCallCount ¶
func (fake *FakeHandlers) GetServicesCallCount() int
func (*FakeHandlers) GetServicesReturns ¶
func (fake *FakeHandlers) GetServicesReturns(result1 []plugin_models.GetServices_Model, result2 error)
func (*FakeHandlers) GetSpace ¶
func (fake *FakeHandlers) GetSpace(arg1 string) (plugin_models.GetSpace_Model, error)
func (*FakeHandlers) GetSpaceArgsForCall ¶
func (fake *FakeHandlers) GetSpaceArgsForCall(i int) string
func (*FakeHandlers) GetSpaceCallCount ¶
func (fake *FakeHandlers) GetSpaceCallCount() int
func (*FakeHandlers) GetSpaceReturns ¶
func (fake *FakeHandlers) GetSpaceReturns(result1 plugin_models.GetSpace_Model, result2 error)
func (*FakeHandlers) GetSpaceUsers ¶
func (fake *FakeHandlers) GetSpaceUsers(arg1 string, arg2 string) ([]plugin_models.GetSpaceUsers_Model, error)
func (*FakeHandlers) GetSpaceUsersArgsForCall ¶
func (fake *FakeHandlers) GetSpaceUsersArgsForCall(i int) (string, string)
func (*FakeHandlers) GetSpaceUsersCallCount ¶
func (fake *FakeHandlers) GetSpaceUsersCallCount() int
func (*FakeHandlers) GetSpaceUsersReturns ¶
func (fake *FakeHandlers) GetSpaceUsersReturns(result1 []plugin_models.GetSpaceUsers_Model, result2 error)
func (*FakeHandlers) GetSpaces ¶
func (fake *FakeHandlers) GetSpaces() ([]plugin_models.GetSpaces_Model, error)
func (*FakeHandlers) GetSpacesCallCount ¶
func (fake *FakeHandlers) GetSpacesCallCount() int
func (*FakeHandlers) GetSpacesReturns ¶
func (fake *FakeHandlers) GetSpacesReturns(result1 []plugin_models.GetSpaces_Model, result2 error)
func (*FakeHandlers) HasAPIEndpoint ¶
func (fake *FakeHandlers) HasAPIEndpoint() (bool, error)
func (*FakeHandlers) HasAPIEndpointCallCount ¶
func (fake *FakeHandlers) HasAPIEndpointCallCount() int
func (*FakeHandlers) HasAPIEndpointReturns ¶
func (fake *FakeHandlers) HasAPIEndpointReturns(result1 bool, result2 error)
func (*FakeHandlers) HasOrganization ¶
func (fake *FakeHandlers) HasOrganization() (bool, error)
func (*FakeHandlers) HasOrganizationCallCount ¶
func (fake *FakeHandlers) HasOrganizationCallCount() int
func (*FakeHandlers) HasOrganizationReturns ¶
func (fake *FakeHandlers) HasOrganizationReturns(result1 bool, result2 error)
func (*FakeHandlers) HasSpace ¶
func (fake *FakeHandlers) HasSpace() (bool, error)
func (*FakeHandlers) HasSpaceCallCount ¶
func (fake *FakeHandlers) HasSpaceCallCount() int
func (*FakeHandlers) HasSpaceReturns ¶
func (fake *FakeHandlers) HasSpaceReturns(result1 bool, result2 error)
func (*FakeHandlers) IsLoggedIn ¶
func (fake *FakeHandlers) IsLoggedIn() (bool, error)
func (*FakeHandlers) IsLoggedInCallCount ¶
func (fake *FakeHandlers) IsLoggedInCallCount() int
func (*FakeHandlers) IsLoggedInReturns ¶
func (fake *FakeHandlers) IsLoggedInReturns(result1 bool, result2 error)
func (*FakeHandlers) IsMinCliVersion ¶
func (fake *FakeHandlers) IsMinCliVersion(args string, retVal *bool) error
func (*FakeHandlers) IsMinCliVersionArgsForCall ¶
func (fake *FakeHandlers) IsMinCliVersionArgsForCall(i int) (string, *bool)
func (*FakeHandlers) IsMinCliVersionCallCount ¶
func (fake *FakeHandlers) IsMinCliVersionCallCount() int
func (*FakeHandlers) IsMinCliVersionReturns ¶
func (fake *FakeHandlers) IsMinCliVersionReturns(result1 error)
func (*FakeHandlers) IsSSLDisabled ¶
func (fake *FakeHandlers) IsSSLDisabled() (bool, error)
func (*FakeHandlers) IsSSLDisabledCallCount ¶
func (fake *FakeHandlers) IsSSLDisabledCallCount() int
func (*FakeHandlers) IsSSLDisabledReturns ¶
func (fake *FakeHandlers) IsSSLDisabledReturns(result1 bool, result2 error)
func (*FakeHandlers) LoggregatorEndpoint ¶
func (fake *FakeHandlers) LoggregatorEndpoint() (string, error)
func (*FakeHandlers) LoggregatorEndpointCallCount ¶
func (fake *FakeHandlers) LoggregatorEndpointCallCount() int
func (*FakeHandlers) LoggregatorEndpointReturns ¶
func (fake *FakeHandlers) LoggregatorEndpointReturns(result1 string, result2 error)
func (*FakeHandlers) SetPluginMetadata ¶
func (fake *FakeHandlers) SetPluginMetadata(pluginMetadata plugin.PluginMetadata, retVal *bool)
func (*FakeHandlers) SetPluginMetadataArgsForCall ¶
func (fake *FakeHandlers) SetPluginMetadataArgsForCall(i int) (plugin.PluginMetadata, *bool)
func (*FakeHandlers) SetPluginMetadataCallCount ¶
func (fake *FakeHandlers) SetPluginMetadataCallCount() int
func (*FakeHandlers) UserEmail ¶
func (fake *FakeHandlers) UserEmail() (string, error)
func (*FakeHandlers) UserEmailCallCount ¶
func (fake *FakeHandlers) UserEmailCallCount() int
func (*FakeHandlers) UserEmailReturns ¶
func (fake *FakeHandlers) UserEmailReturns(result1 string, result2 error)
func (*FakeHandlers) UserGuid ¶
func (fake *FakeHandlers) UserGuid() (string, error)
func (*FakeHandlers) UserGuidCallCount ¶
func (fake *FakeHandlers) UserGuidCallCount() int
func (*FakeHandlers) UserGuidReturns ¶
func (fake *FakeHandlers) UserGuidReturns(result1 string, result2 error)
func (*FakeHandlers) Username ¶
func (fake *FakeHandlers) Username() (string, error)
func (*FakeHandlers) UsernameCallCount ¶
func (fake *FakeHandlers) UsernameCallCount() int
func (*FakeHandlers) UsernameReturns ¶
func (fake *FakeHandlers) UsernameReturns(result1 string, result2 error)
Click to show internal directories.
Click to hide internal directories.