pluginfakes

package
v7.0.0-beta.23+incompa... Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2019 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Code generated by counterfeiter. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FakeCliConnection

type FakeCliConnection struct {
	AccessTokenStub func() (string, error)

	ApiEndpointStub func() (string, error)

	ApiVersionStub func() (string, error)

	CliCommandStub func(...string) ([]string, error)

	CliCommandWithoutTerminalOutputStub func(...string) ([]string, error)

	DopplerEndpointStub func() (string, error)

	GetAppStub func(string) (plugin_models.GetAppModel, error)

	GetAppsStub func() ([]plugin_models.GetAppsModel, error)

	GetCurrentOrgStub func() (plugin_models.Organization, error)

	GetCurrentSpaceStub func() (plugin_models.Space, error)

	GetOrgStub func(string) (plugin_models.GetOrg_Model, error)

	GetOrgUsersStub func(string, ...string) ([]plugin_models.GetOrgUsers_Model, error)

	GetOrgsStub func() ([]plugin_models.GetOrgs_Model, error)

	GetServiceStub func(string) (plugin_models.GetService_Model, error)

	GetServicesStub func() ([]plugin_models.GetServices_Model, error)

	GetSpaceStub func(string) (plugin_models.GetSpace_Model, error)

	GetSpaceUsersStub func(string, string) ([]plugin_models.GetSpaceUsers_Model, error)

	GetSpacesStub func() ([]plugin_models.GetSpaces_Model, error)

	HasAPIEndpointStub func() (bool, error)

	HasOrganizationStub func() (bool, error)

	HasSpaceStub func() (bool, error)

	IsLoggedInStub func() (bool, error)

	IsSSLDisabledStub func() (bool, error)

	LoggregatorEndpointStub func() (string, error)

	UserEmailStub func() (string, error)

	UserGuidStub func() (string, error)

	UsernameStub 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) AccessTokenCalls

func (fake *FakeCliConnection) AccessTokenCalls(stub func() (string, error))

func (*FakeCliConnection) AccessTokenReturns

func (fake *FakeCliConnection) AccessTokenReturns(result1 string, result2 error)

func (*FakeCliConnection) AccessTokenReturnsOnCall

func (fake *FakeCliConnection) AccessTokenReturnsOnCall(i int, result1 string, result2 error)

func (*FakeCliConnection) ApiEndpoint

func (fake *FakeCliConnection) ApiEndpoint() (string, error)

func (*FakeCliConnection) ApiEndpointCallCount

func (fake *FakeCliConnection) ApiEndpointCallCount() int

func (*FakeCliConnection) ApiEndpointCalls

func (fake *FakeCliConnection) ApiEndpointCalls(stub func() (string, error))

func (*FakeCliConnection) ApiEndpointReturns

func (fake *FakeCliConnection) ApiEndpointReturns(result1 string, result2 error)

func (*FakeCliConnection) ApiEndpointReturnsOnCall

func (fake *FakeCliConnection) ApiEndpointReturnsOnCall(i int, result1 string, result2 error)

func (*FakeCliConnection) ApiVersion

func (fake *FakeCliConnection) ApiVersion() (string, error)

func (*FakeCliConnection) ApiVersionCallCount

func (fake *FakeCliConnection) ApiVersionCallCount() int

func (*FakeCliConnection) ApiVersionCalls

func (fake *FakeCliConnection) ApiVersionCalls(stub func() (string, error))

func (*FakeCliConnection) ApiVersionReturns

func (fake *FakeCliConnection) ApiVersionReturns(result1 string, result2 error)

func (*FakeCliConnection) ApiVersionReturnsOnCall

func (fake *FakeCliConnection) ApiVersionReturnsOnCall(i int, result1 string, result2 error)

func (*FakeCliConnection) CliCommand

func (fake *FakeCliConnection) CliCommand(arg1 ...string) ([]string, error)

func (*FakeCliConnection) CliCommandArgsForCall

func (fake *FakeCliConnection) CliCommandArgsForCall(i int) []string

func (*FakeCliConnection) CliCommandCallCount

func (fake *FakeCliConnection) CliCommandCallCount() int

func (*FakeCliConnection) CliCommandCalls

func (fake *FakeCliConnection) CliCommandCalls(stub func(...string) ([]string, error))

func (*FakeCliConnection) CliCommandReturns

func (fake *FakeCliConnection) CliCommandReturns(result1 []string, result2 error)

func (*FakeCliConnection) CliCommandReturnsOnCall

func (fake *FakeCliConnection) CliCommandReturnsOnCall(i int, result1 []string, result2 error)

func (*FakeCliConnection) CliCommandWithoutTerminalOutput

func (fake *FakeCliConnection) CliCommandWithoutTerminalOutput(arg1 ...string) ([]string, error)

func (*FakeCliConnection) CliCommandWithoutTerminalOutputArgsForCall

func (fake *FakeCliConnection) CliCommandWithoutTerminalOutputArgsForCall(i int) []string

func (*FakeCliConnection) CliCommandWithoutTerminalOutputCallCount

func (fake *FakeCliConnection) CliCommandWithoutTerminalOutputCallCount() int

func (*FakeCliConnection) CliCommandWithoutTerminalOutputCalls

func (fake *FakeCliConnection) CliCommandWithoutTerminalOutputCalls(stub func(...string) ([]string, error))

func (*FakeCliConnection) CliCommandWithoutTerminalOutputReturns

func (fake *FakeCliConnection) CliCommandWithoutTerminalOutputReturns(result1 []string, result2 error)

func (*FakeCliConnection) CliCommandWithoutTerminalOutputReturnsOnCall

func (fake *FakeCliConnection) CliCommandWithoutTerminalOutputReturnsOnCall(i int, result1 []string, result2 error)

func (*FakeCliConnection) DopplerEndpoint

func (fake *FakeCliConnection) DopplerEndpoint() (string, error)

func (*FakeCliConnection) DopplerEndpointCallCount

func (fake *FakeCliConnection) DopplerEndpointCallCount() int

func (*FakeCliConnection) DopplerEndpointCalls

func (fake *FakeCliConnection) DopplerEndpointCalls(stub func() (string, error))

func (*FakeCliConnection) DopplerEndpointReturns

func (fake *FakeCliConnection) DopplerEndpointReturns(result1 string, result2 error)

func (*FakeCliConnection) DopplerEndpointReturnsOnCall

func (fake *FakeCliConnection) DopplerEndpointReturnsOnCall(i int, result1 string, result2 error)

func (*FakeCliConnection) GetApp

func (fake *FakeCliConnection) GetApp(arg1 string) (plugin_models.GetAppModel, error)

func (*FakeCliConnection) GetAppArgsForCall

func (fake *FakeCliConnection) GetAppArgsForCall(i int) string

func (*FakeCliConnection) GetAppCallCount

func (fake *FakeCliConnection) GetAppCallCount() int

func (*FakeCliConnection) GetAppCalls

func (fake *FakeCliConnection) GetAppCalls(stub func(string) (plugin_models.GetAppModel, error))

func (*FakeCliConnection) GetAppReturns

func (fake *FakeCliConnection) GetAppReturns(result1 plugin_models.GetAppModel, result2 error)

func (*FakeCliConnection) GetAppReturnsOnCall

func (fake *FakeCliConnection) GetAppReturnsOnCall(i int, result1 plugin_models.GetAppModel, result2 error)

func (*FakeCliConnection) GetApps

func (fake *FakeCliConnection) GetApps() ([]plugin_models.GetAppsModel, error)

func (*FakeCliConnection) GetAppsCallCount

func (fake *FakeCliConnection) GetAppsCallCount() int

func (*FakeCliConnection) GetAppsCalls

func (fake *FakeCliConnection) GetAppsCalls(stub func() ([]plugin_models.GetAppsModel, error))

func (*FakeCliConnection) GetAppsReturns

func (fake *FakeCliConnection) GetAppsReturns(result1 []plugin_models.GetAppsModel, result2 error)

func (*FakeCliConnection) GetAppsReturnsOnCall

func (fake *FakeCliConnection) GetAppsReturnsOnCall(i int, result1 []plugin_models.GetAppsModel, result2 error)

func (*FakeCliConnection) GetCurrentOrg

func (fake *FakeCliConnection) GetCurrentOrg() (plugin_models.Organization, error)

func (*FakeCliConnection) GetCurrentOrgCallCount

func (fake *FakeCliConnection) GetCurrentOrgCallCount() int

func (*FakeCliConnection) GetCurrentOrgCalls

func (fake *FakeCliConnection) GetCurrentOrgCalls(stub func() (plugin_models.Organization, error))

func (*FakeCliConnection) GetCurrentOrgReturns

func (fake *FakeCliConnection) GetCurrentOrgReturns(result1 plugin_models.Organization, result2 error)

func (*FakeCliConnection) GetCurrentOrgReturnsOnCall

func (fake *FakeCliConnection) GetCurrentOrgReturnsOnCall(i int, 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) GetCurrentSpaceCalls

func (fake *FakeCliConnection) GetCurrentSpaceCalls(stub func() (plugin_models.Space, error))

func (*FakeCliConnection) GetCurrentSpaceReturns

func (fake *FakeCliConnection) GetCurrentSpaceReturns(result1 plugin_models.Space, result2 error)

func (*FakeCliConnection) GetCurrentSpaceReturnsOnCall

func (fake *FakeCliConnection) GetCurrentSpaceReturnsOnCall(i int, result1 plugin_models.Space, result2 error)

func (*FakeCliConnection) GetOrg

func (*FakeCliConnection) GetOrgArgsForCall

func (fake *FakeCliConnection) GetOrgArgsForCall(i int) string

func (*FakeCliConnection) GetOrgCallCount

func (fake *FakeCliConnection) GetOrgCallCount() int

func (*FakeCliConnection) GetOrgCalls

func (fake *FakeCliConnection) GetOrgCalls(stub func(string) (plugin_models.GetOrg_Model, error))

func (*FakeCliConnection) GetOrgReturns

func (fake *FakeCliConnection) GetOrgReturns(result1 plugin_models.GetOrg_Model, result2 error)

func (*FakeCliConnection) GetOrgReturnsOnCall

func (fake *FakeCliConnection) GetOrgReturnsOnCall(i int, result1 plugin_models.GetOrg_Model, result2 error)

func (*FakeCliConnection) GetOrgUsers

func (fake *FakeCliConnection) GetOrgUsers(arg1 string, arg2 ...string) ([]plugin_models.GetOrgUsers_Model, error)

func (*FakeCliConnection) GetOrgUsersArgsForCall

func (fake *FakeCliConnection) GetOrgUsersArgsForCall(i int) (string, []string)

func (*FakeCliConnection) GetOrgUsersCallCount

func (fake *FakeCliConnection) GetOrgUsersCallCount() int

func (*FakeCliConnection) GetOrgUsersCalls

func (fake *FakeCliConnection) GetOrgUsersCalls(stub func(string, ...string) ([]plugin_models.GetOrgUsers_Model, error))

func (*FakeCliConnection) GetOrgUsersReturns

func (fake *FakeCliConnection) GetOrgUsersReturns(result1 []plugin_models.GetOrgUsers_Model, result2 error)

func (*FakeCliConnection) GetOrgUsersReturnsOnCall

func (fake *FakeCliConnection) GetOrgUsersReturnsOnCall(i int, result1 []plugin_models.GetOrgUsers_Model, result2 error)

func (*FakeCliConnection) GetOrgs

func (fake *FakeCliConnection) GetOrgs() ([]plugin_models.GetOrgs_Model, error)

func (*FakeCliConnection) GetOrgsCallCount

func (fake *FakeCliConnection) GetOrgsCallCount() int

func (*FakeCliConnection) GetOrgsCalls

func (fake *FakeCliConnection) GetOrgsCalls(stub func() ([]plugin_models.GetOrgs_Model, error))

func (*FakeCliConnection) GetOrgsReturns

func (fake *FakeCliConnection) GetOrgsReturns(result1 []plugin_models.GetOrgs_Model, result2 error)

func (*FakeCliConnection) GetOrgsReturnsOnCall

func (fake *FakeCliConnection) GetOrgsReturnsOnCall(i int, result1 []plugin_models.GetOrgs_Model, result2 error)

func (*FakeCliConnection) GetService

func (fake *FakeCliConnection) GetService(arg1 string) (plugin_models.GetService_Model, error)

func (*FakeCliConnection) GetServiceArgsForCall

func (fake *FakeCliConnection) GetServiceArgsForCall(i int) string

func (*FakeCliConnection) GetServiceCallCount

func (fake *FakeCliConnection) GetServiceCallCount() int

func (*FakeCliConnection) GetServiceCalls

func (fake *FakeCliConnection) GetServiceCalls(stub func(string) (plugin_models.GetService_Model, error))

func (*FakeCliConnection) GetServiceReturns

func (fake *FakeCliConnection) GetServiceReturns(result1 plugin_models.GetService_Model, result2 error)

func (*FakeCliConnection) GetServiceReturnsOnCall

func (fake *FakeCliConnection) GetServiceReturnsOnCall(i int, result1 plugin_models.GetService_Model, result2 error)

func (*FakeCliConnection) GetServices

func (fake *FakeCliConnection) GetServices() ([]plugin_models.GetServices_Model, error)

func (*FakeCliConnection) GetServicesCallCount

func (fake *FakeCliConnection) GetServicesCallCount() int

func (*FakeCliConnection) GetServicesCalls

func (fake *FakeCliConnection) GetServicesCalls(stub func() ([]plugin_models.GetServices_Model, error))

func (*FakeCliConnection) GetServicesReturns

func (fake *FakeCliConnection) GetServicesReturns(result1 []plugin_models.GetServices_Model, result2 error)

func (*FakeCliConnection) GetServicesReturnsOnCall

func (fake *FakeCliConnection) GetServicesReturnsOnCall(i int, result1 []plugin_models.GetServices_Model, result2 error)

func (*FakeCliConnection) GetSpace

func (fake *FakeCliConnection) GetSpace(arg1 string) (plugin_models.GetSpace_Model, error)

func (*FakeCliConnection) GetSpaceArgsForCall

func (fake *FakeCliConnection) GetSpaceArgsForCall(i int) string

func (*FakeCliConnection) GetSpaceCallCount

func (fake *FakeCliConnection) GetSpaceCallCount() int

func (*FakeCliConnection) GetSpaceCalls

func (fake *FakeCliConnection) GetSpaceCalls(stub func(string) (plugin_models.GetSpace_Model, error))

func (*FakeCliConnection) GetSpaceReturns

func (fake *FakeCliConnection) GetSpaceReturns(result1 plugin_models.GetSpace_Model, result2 error)

func (*FakeCliConnection) GetSpaceReturnsOnCall

func (fake *FakeCliConnection) GetSpaceReturnsOnCall(i int, result1 plugin_models.GetSpace_Model, result2 error)

func (*FakeCliConnection) GetSpaceUsers

func (fake *FakeCliConnection) GetSpaceUsers(arg1 string, arg2 string) ([]plugin_models.GetSpaceUsers_Model, error)

func (*FakeCliConnection) GetSpaceUsersArgsForCall

func (fake *FakeCliConnection) GetSpaceUsersArgsForCall(i int) (string, string)

func (*FakeCliConnection) GetSpaceUsersCallCount

func (fake *FakeCliConnection) GetSpaceUsersCallCount() int

func (*FakeCliConnection) GetSpaceUsersCalls

func (fake *FakeCliConnection) GetSpaceUsersCalls(stub func(string, string) ([]plugin_models.GetSpaceUsers_Model, error))

func (*FakeCliConnection) GetSpaceUsersReturns

func (fake *FakeCliConnection) GetSpaceUsersReturns(result1 []plugin_models.GetSpaceUsers_Model, result2 error)

func (*FakeCliConnection) GetSpaceUsersReturnsOnCall

func (fake *FakeCliConnection) GetSpaceUsersReturnsOnCall(i int, result1 []plugin_models.GetSpaceUsers_Model, result2 error)

func (*FakeCliConnection) GetSpaces

func (fake *FakeCliConnection) GetSpaces() ([]plugin_models.GetSpaces_Model, error)

func (*FakeCliConnection) GetSpacesCallCount

func (fake *FakeCliConnection) GetSpacesCallCount() int

func (*FakeCliConnection) GetSpacesCalls

func (fake *FakeCliConnection) GetSpacesCalls(stub func() ([]plugin_models.GetSpaces_Model, error))

func (*FakeCliConnection) GetSpacesReturns

func (fake *FakeCliConnection) GetSpacesReturns(result1 []plugin_models.GetSpaces_Model, result2 error)

func (*FakeCliConnection) GetSpacesReturnsOnCall

func (fake *FakeCliConnection) GetSpacesReturnsOnCall(i int, result1 []plugin_models.GetSpaces_Model, result2 error)

func (*FakeCliConnection) HasAPIEndpoint

func (fake *FakeCliConnection) HasAPIEndpoint() (bool, error)

func (*FakeCliConnection) HasAPIEndpointCallCount

func (fake *FakeCliConnection) HasAPIEndpointCallCount() int

func (*FakeCliConnection) HasAPIEndpointCalls

func (fake *FakeCliConnection) HasAPIEndpointCalls(stub func() (bool, error))

func (*FakeCliConnection) HasAPIEndpointReturns

func (fake *FakeCliConnection) HasAPIEndpointReturns(result1 bool, result2 error)

func (*FakeCliConnection) HasAPIEndpointReturnsOnCall

func (fake *FakeCliConnection) HasAPIEndpointReturnsOnCall(i int, result1 bool, result2 error)

func (*FakeCliConnection) HasOrganization

func (fake *FakeCliConnection) HasOrganization() (bool, error)

func (*FakeCliConnection) HasOrganizationCallCount

func (fake *FakeCliConnection) HasOrganizationCallCount() int

func (*FakeCliConnection) HasOrganizationCalls

func (fake *FakeCliConnection) HasOrganizationCalls(stub func() (bool, error))

func (*FakeCliConnection) HasOrganizationReturns

func (fake *FakeCliConnection) HasOrganizationReturns(result1 bool, result2 error)

func (*FakeCliConnection) HasOrganizationReturnsOnCall

func (fake *FakeCliConnection) HasOrganizationReturnsOnCall(i int, result1 bool, result2 error)

func (*FakeCliConnection) HasSpace

func (fake *FakeCliConnection) HasSpace() (bool, error)

func (*FakeCliConnection) HasSpaceCallCount

func (fake *FakeCliConnection) HasSpaceCallCount() int

func (*FakeCliConnection) HasSpaceCalls

func (fake *FakeCliConnection) HasSpaceCalls(stub func() (bool, error))

func (*FakeCliConnection) HasSpaceReturns

func (fake *FakeCliConnection) HasSpaceReturns(result1 bool, result2 error)

func (*FakeCliConnection) HasSpaceReturnsOnCall

func (fake *FakeCliConnection) HasSpaceReturnsOnCall(i int, result1 bool, result2 error)

func (*FakeCliConnection) Invocations

func (fake *FakeCliConnection) Invocations() map[string][][]interface{}

func (*FakeCliConnection) IsLoggedIn

func (fake *FakeCliConnection) IsLoggedIn() (bool, error)

func (*FakeCliConnection) IsLoggedInCallCount

func (fake *FakeCliConnection) IsLoggedInCallCount() int

func (*FakeCliConnection) IsLoggedInCalls

func (fake *FakeCliConnection) IsLoggedInCalls(stub func() (bool, error))

func (*FakeCliConnection) IsLoggedInReturns

func (fake *FakeCliConnection) IsLoggedInReturns(result1 bool, result2 error)

func (*FakeCliConnection) IsLoggedInReturnsOnCall

func (fake *FakeCliConnection) IsLoggedInReturnsOnCall(i int, result1 bool, result2 error)

func (*FakeCliConnection) IsSSLDisabled

func (fake *FakeCliConnection) IsSSLDisabled() (bool, error)

func (*FakeCliConnection) IsSSLDisabledCallCount

func (fake *FakeCliConnection) IsSSLDisabledCallCount() int

func (*FakeCliConnection) IsSSLDisabledCalls

func (fake *FakeCliConnection) IsSSLDisabledCalls(stub func() (bool, error))

func (*FakeCliConnection) IsSSLDisabledReturns

func (fake *FakeCliConnection) IsSSLDisabledReturns(result1 bool, result2 error)

func (*FakeCliConnection) IsSSLDisabledReturnsOnCall

func (fake *FakeCliConnection) IsSSLDisabledReturnsOnCall(i int, result1 bool, result2 error)

func (*FakeCliConnection) LoggregatorEndpoint

func (fake *FakeCliConnection) LoggregatorEndpoint() (string, error)

func (*FakeCliConnection) LoggregatorEndpointCallCount

func (fake *FakeCliConnection) LoggregatorEndpointCallCount() int

func (*FakeCliConnection) LoggregatorEndpointCalls

func (fake *FakeCliConnection) LoggregatorEndpointCalls(stub func() (string, error))

func (*FakeCliConnection) LoggregatorEndpointReturns

func (fake *FakeCliConnection) LoggregatorEndpointReturns(result1 string, result2 error)

func (*FakeCliConnection) LoggregatorEndpointReturnsOnCall

func (fake *FakeCliConnection) LoggregatorEndpointReturnsOnCall(i int, result1 string, result2 error)

func (*FakeCliConnection) UserEmail

func (fake *FakeCliConnection) UserEmail() (string, error)

func (*FakeCliConnection) UserEmailCallCount

func (fake *FakeCliConnection) UserEmailCallCount() int

func (*FakeCliConnection) UserEmailCalls

func (fake *FakeCliConnection) UserEmailCalls(stub func() (string, error))

func (*FakeCliConnection) UserEmailReturns

func (fake *FakeCliConnection) UserEmailReturns(result1 string, result2 error)

func (*FakeCliConnection) UserEmailReturnsOnCall

func (fake *FakeCliConnection) UserEmailReturnsOnCall(i int, result1 string, result2 error)

func (*FakeCliConnection) UserGuid

func (fake *FakeCliConnection) UserGuid() (string, error)

func (*FakeCliConnection) UserGuidCallCount

func (fake *FakeCliConnection) UserGuidCallCount() int

func (*FakeCliConnection) UserGuidCalls

func (fake *FakeCliConnection) UserGuidCalls(stub func() (string, error))

func (*FakeCliConnection) UserGuidReturns

func (fake *FakeCliConnection) UserGuidReturns(result1 string, result2 error)

func (*FakeCliConnection) UserGuidReturnsOnCall

func (fake *FakeCliConnection) UserGuidReturnsOnCall(i int, result1 string, result2 error)

func (*FakeCliConnection) Username

func (fake *FakeCliConnection) Username() (string, error)

func (*FakeCliConnection) UsernameCallCount

func (fake *FakeCliConnection) UsernameCallCount() int

func (*FakeCliConnection) UsernameCalls

func (fake *FakeCliConnection) UsernameCalls(stub func() (string, error))

func (*FakeCliConnection) UsernameReturns

func (fake *FakeCliConnection) UsernameReturns(result1 string, result2 error)

func (*FakeCliConnection) UsernameReturnsOnCall

func (fake *FakeCliConnection) UsernameReturnsOnCall(i int, result1 string, result2 error)

Jump to

Keyboard shortcuts

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