pluginfakes

package
v6.22.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Sep 23, 2016 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

This file was generated by counterfeiter

Index

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)

	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 (*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) 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) GetAppReturns

func (fake *FakeCliConnection) GetAppReturns(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) GetAppsReturns

func (fake *FakeCliConnection) GetAppsReturns(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) 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) GetOrg

func (fake *FakeCliConnection) GetOrg(arg1 string) (plugin_models.GetOrg_Model, error)

func (*FakeCliConnection) GetOrgArgsForCall

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

func (*FakeCliConnection) GetOrgCallCount

func (fake *FakeCliConnection) GetOrgCallCount() int

func (*FakeCliConnection) GetOrgReturns

func (fake *FakeCliConnection) GetOrgReturns(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) GetOrgUsersReturns

func (fake *FakeCliConnection) GetOrgUsersReturns(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) GetOrgsReturns

func (fake *FakeCliConnection) GetOrgsReturns(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) GetServiceReturns

func (fake *FakeCliConnection) GetServiceReturns(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) GetServicesReturns

func (fake *FakeCliConnection) GetServicesReturns(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) GetSpaceReturns

func (fake *FakeCliConnection) GetSpaceReturns(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) GetSpaceUsersReturns

func (fake *FakeCliConnection) GetSpaceUsersReturns(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) GetSpacesReturns

func (fake *FakeCliConnection) GetSpacesReturns(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) 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) 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) 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)

Jump to

Keyboard shortcuts

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