Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeClient
- func (fake *FakeClient) AppSSHEndpoint() string
- func (fake *FakeClient) AppSSHEndpointCallCount() int
- func (fake *FakeClient) AppSSHEndpointCalls(stub func() string)
- func (fake *FakeClient) AppSSHEndpointReturns(result1 string)
- func (fake *FakeClient) AppSSHEndpointReturnsOnCall(i int, result1 string)
- func (fake *FakeClient) AppSSHHostKeyFingerprint() string
- func (fake *FakeClient) AppSSHHostKeyFingerprintCallCount() int
- func (fake *FakeClient) AppSSHHostKeyFingerprintCalls(stub func() string)
- func (fake *FakeClient) AppSSHHostKeyFingerprintReturns(result1 string)
- func (fake *FakeClient) AppSSHHostKeyFingerprintReturnsOnCall(i int, result1 string)
- func (fake *FakeClient) BindService(arg1 string, arg2 string, arg3 map[string]interface{}) (*client.Credentials, error)
- func (fake *FakeClient) BindServiceArgsForCall(i int) (string, string, map[string]interface{})
- func (fake *FakeClient) BindServiceCallCount() int
- func (fake *FakeClient) BindServiceCalls(stub func(string, string, map[string]interface{}) (*client.Credentials, error))
- func (fake *FakeClient) BindServiceReturns(result1 *client.Credentials, result2 error)
- func (fake *FakeClient) BindServiceReturnsOnCall(i int, result1 *client.Credentials, result2 error)
- func (fake *FakeClient) CreateApp(arg1 string, arg2 string) (string, error)
- func (fake *FakeClient) CreateAppArgsForCall(i int) (string, string)
- func (fake *FakeClient) CreateAppCallCount() int
- func (fake *FakeClient) CreateAppCalls(stub func(string, string) (string, error))
- func (fake *FakeClient) CreateAppReturns(result1 string, result2 error)
- func (fake *FakeClient) CreateAppReturnsOnCall(i int, result1 string, result2 error)
- func (fake *FakeClient) DestroyApp(arg1 string) error
- func (fake *FakeClient) DestroyAppArgsForCall(i int) string
- func (fake *FakeClient) DestroyAppCallCount() int
- func (fake *FakeClient) DestroyAppCalls(stub func(string) error)
- func (fake *FakeClient) DestroyAppReturns(result1 error)
- func (fake *FakeClient) DestroyAppReturnsOnCall(i int, result1 error)
- func (fake *FakeClient) GetAppByName(arg1 string, arg2 string, arg3 string) (*cfclient.App, error)
- func (fake *FakeClient) GetAppByNameArgsForCall(i int) (string, string, string)
- func (fake *FakeClient) GetAppByNameCallCount() int
- func (fake *FakeClient) GetAppByNameCalls(stub func(string, string, string) (*cfclient.App, error))
- func (fake *FakeClient) GetAppByNameReturns(result1 *cfclient.App, result2 error)
- func (fake *FakeClient) GetAppByNameReturnsOnCall(i int, result1 *cfclient.App, result2 error)
- func (fake *FakeClient) GetAppEnv(arg1 string) (*client.Env, error)
- func (fake *FakeClient) GetAppEnvArgsForCall(i int) string
- func (fake *FakeClient) GetAppEnvCallCount() int
- func (fake *FakeClient) GetAppEnvCalls(stub func(string) (*client.Env, error))
- func (fake *FakeClient) GetAppEnvReturns(result1 *client.Env, result2 error)
- func (fake *FakeClient) GetAppEnvReturnsOnCall(i int, result1 *client.Env, result2 error)
- func (fake *FakeClient) GetOrgByName(arg1 string) (*cfclient.Org, error)
- func (fake *FakeClient) GetOrgByNameArgsForCall(i int) string
- func (fake *FakeClient) GetOrgByNameCallCount() int
- func (fake *FakeClient) GetOrgByNameCalls(stub func(string) (*cfclient.Org, error))
- func (fake *FakeClient) GetOrgByNameReturns(result1 *cfclient.Org, result2 error)
- func (fake *FakeClient) GetOrgByNameReturnsOnCall(i int, result1 *cfclient.Org, result2 error)
- func (fake *FakeClient) GetServiceBindings(arg1 ...string) (map[string]*cfclient.ServiceBinding, error)
- func (fake *FakeClient) GetServiceBindingsArgsForCall(i int) []string
- func (fake *FakeClient) GetServiceBindingsCallCount() int
- func (fake *FakeClient) GetServiceBindingsCalls(stub func(...string) (map[string]*cfclient.ServiceBinding, error))
- func (fake *FakeClient) GetServiceBindingsReturns(result1 map[string]*cfclient.ServiceBinding, result2 error)
- func (fake *FakeClient) GetServiceBindingsReturnsOnCall(i int, result1 map[string]*cfclient.ServiceBinding, result2 error)
- func (fake *FakeClient) GetServiceInstances(arg1 ...string) (map[string]*cfclient.ServiceInstance, error)
- func (fake *FakeClient) GetServiceInstancesArgsForCall(i int) []string
- func (fake *FakeClient) GetServiceInstancesCallCount() int
- func (fake *FakeClient) GetServiceInstancesCalls(stub func(...string) (map[string]*cfclient.ServiceInstance, error))
- func (fake *FakeClient) GetServiceInstancesReturns(result1 map[string]*cfclient.ServiceInstance, result2 error)
- func (fake *FakeClient) GetServiceInstancesReturnsOnCall(i int, result1 map[string]*cfclient.ServiceInstance, result2 error)
- func (fake *FakeClient) GetSpaceByName(arg1 string, arg2 string) (*cfclient.Space, error)
- func (fake *FakeClient) GetSpaceByNameArgsForCall(i int) (string, string)
- func (fake *FakeClient) GetSpaceByNameCallCount() int
- func (fake *FakeClient) GetSpaceByNameCalls(stub func(string, string) (*cfclient.Space, error))
- func (fake *FakeClient) GetSpaceByNameReturns(result1 *cfclient.Space, result2 error)
- func (fake *FakeClient) GetSpaceByNameReturnsOnCall(i int, result1 *cfclient.Space, result2 error)
- func (fake *FakeClient) Invocations() map[string][][]interface{}
- func (fake *FakeClient) PollForAppState(arg1 string, arg2 string, arg3 int) error
- func (fake *FakeClient) PollForAppStateArgsForCall(i int) (string, string, int)
- func (fake *FakeClient) PollForAppStateCallCount() int
- func (fake *FakeClient) PollForAppStateCalls(stub func(string, string, int) error)
- func (fake *FakeClient) PollForAppStateReturns(result1 error)
- func (fake *FakeClient) PollForAppStateReturnsOnCall(i int, result1 error)
- func (fake *FakeClient) RefreshAccessToken() error
- func (fake *FakeClient) RefreshAccessTokenCallCount() int
- func (fake *FakeClient) RefreshAccessTokenCalls(stub func() error)
- func (fake *FakeClient) RefreshAccessTokenReturns(result1 error)
- func (fake *FakeClient) RefreshAccessTokenReturnsOnCall(i int, result1 error)
- func (fake *FakeClient) SSHCode() (string, error)
- func (fake *FakeClient) SSHCodeCallCount() int
- func (fake *FakeClient) SSHCodeCalls(stub func() (string, error))
- func (fake *FakeClient) SSHCodeReturns(result1 string, result2 error)
- func (fake *FakeClient) SSHCodeReturnsOnCall(i int, result1 string, result2 error)
- func (fake *FakeClient) StartApp(arg1 string) error
- func (fake *FakeClient) StartAppArgsForCall(i int) string
- func (fake *FakeClient) StartAppCallCount() int
- func (fake *FakeClient) StartAppCalls(stub func(string) error)
- func (fake *FakeClient) StartAppReturns(result1 error)
- func (fake *FakeClient) StartAppReturnsOnCall(i int, result1 error)
- func (fake *FakeClient) UploadStaticAppBits(arg1 string) error
- func (fake *FakeClient) UploadStaticAppBitsArgsForCall(i int) string
- func (fake *FakeClient) UploadStaticAppBitsCallCount() int
- func (fake *FakeClient) UploadStaticAppBitsCalls(stub func(string) error)
- func (fake *FakeClient) UploadStaticAppBitsReturns(result1 error)
- func (fake *FakeClient) UploadStaticAppBitsReturnsOnCall(i int, result1 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeClient ¶
type FakeClient struct { AppSSHEndpointStub func() string AppSSHHostKeyFingerprintStub func() string BindServiceStub func(string, string, map[string]interface{}) (*client.Credentials, error) CreateAppStub func(string, string) (string, error) DestroyAppStub func(string) error GetAppByNameStub func(string, string, string) (*cfclient.App, error) GetAppEnvStub func(string) (*client.Env, error) GetOrgByNameStub func(string) (*cfclient.Org, error) GetServiceBindingsStub func(...string) (map[string]*cfclient.ServiceBinding, error) GetServiceInstancesStub func(...string) (map[string]*cfclient.ServiceInstance, error) GetSpaceByNameStub func(string, string) (*cfclient.Space, error) PollForAppStateStub func(string, string, int) error RefreshAccessTokenStub func() error SSHCodeStub func() (string, error) StartAppStub func(string) error UploadStaticAppBitsStub func(string) error // contains filtered or unexported fields }
func (*FakeClient) AppSSHEndpoint ¶
func (fake *FakeClient) AppSSHEndpoint() string
func (*FakeClient) AppSSHEndpointCallCount ¶
func (fake *FakeClient) AppSSHEndpointCallCount() int
func (*FakeClient) AppSSHEndpointCalls ¶
func (fake *FakeClient) AppSSHEndpointCalls(stub func() string)
func (*FakeClient) AppSSHEndpointReturns ¶
func (fake *FakeClient) AppSSHEndpointReturns(result1 string)
func (*FakeClient) AppSSHEndpointReturnsOnCall ¶
func (fake *FakeClient) AppSSHEndpointReturnsOnCall(i int, result1 string)
func (*FakeClient) AppSSHHostKeyFingerprint ¶
func (fake *FakeClient) AppSSHHostKeyFingerprint() string
func (*FakeClient) AppSSHHostKeyFingerprintCallCount ¶
func (fake *FakeClient) AppSSHHostKeyFingerprintCallCount() int
func (*FakeClient) AppSSHHostKeyFingerprintCalls ¶
func (fake *FakeClient) AppSSHHostKeyFingerprintCalls(stub func() string)
func (*FakeClient) AppSSHHostKeyFingerprintReturns ¶
func (fake *FakeClient) AppSSHHostKeyFingerprintReturns(result1 string)
func (*FakeClient) AppSSHHostKeyFingerprintReturnsOnCall ¶
func (fake *FakeClient) AppSSHHostKeyFingerprintReturnsOnCall(i int, result1 string)
func (*FakeClient) BindService ¶
func (fake *FakeClient) BindService(arg1 string, arg2 string, arg3 map[string]interface{}) (*client.Credentials, error)
func (*FakeClient) BindServiceArgsForCall ¶
func (fake *FakeClient) BindServiceArgsForCall(i int) (string, string, map[string]interface{})
func (*FakeClient) BindServiceCallCount ¶
func (fake *FakeClient) BindServiceCallCount() int
func (*FakeClient) BindServiceCalls ¶
func (fake *FakeClient) BindServiceCalls(stub func(string, string, map[string]interface{}) (*client.Credentials, error))
func (*FakeClient) BindServiceReturns ¶
func (fake *FakeClient) BindServiceReturns(result1 *client.Credentials, result2 error)
func (*FakeClient) BindServiceReturnsOnCall ¶
func (fake *FakeClient) BindServiceReturnsOnCall(i int, result1 *client.Credentials, result2 error)
func (*FakeClient) CreateApp ¶
func (fake *FakeClient) CreateApp(arg1 string, arg2 string) (string, error)
func (*FakeClient) CreateAppArgsForCall ¶
func (fake *FakeClient) CreateAppArgsForCall(i int) (string, string)
func (*FakeClient) CreateAppCallCount ¶
func (fake *FakeClient) CreateAppCallCount() int
func (*FakeClient) CreateAppCalls ¶
func (fake *FakeClient) CreateAppCalls(stub func(string, string) (string, error))
func (*FakeClient) CreateAppReturns ¶
func (fake *FakeClient) CreateAppReturns(result1 string, result2 error)
func (*FakeClient) CreateAppReturnsOnCall ¶
func (fake *FakeClient) CreateAppReturnsOnCall(i int, result1 string, result2 error)
func (*FakeClient) DestroyApp ¶
func (fake *FakeClient) DestroyApp(arg1 string) error
func (*FakeClient) DestroyAppArgsForCall ¶
func (fake *FakeClient) DestroyAppArgsForCall(i int) string
func (*FakeClient) DestroyAppCallCount ¶
func (fake *FakeClient) DestroyAppCallCount() int
func (*FakeClient) DestroyAppCalls ¶
func (fake *FakeClient) DestroyAppCalls(stub func(string) error)
func (*FakeClient) DestroyAppReturns ¶
func (fake *FakeClient) DestroyAppReturns(result1 error)
func (*FakeClient) DestroyAppReturnsOnCall ¶
func (fake *FakeClient) DestroyAppReturnsOnCall(i int, result1 error)
func (*FakeClient) GetAppByName ¶
func (*FakeClient) GetAppByNameArgsForCall ¶
func (fake *FakeClient) GetAppByNameArgsForCall(i int) (string, string, string)
func (*FakeClient) GetAppByNameCallCount ¶
func (fake *FakeClient) GetAppByNameCallCount() int
func (*FakeClient) GetAppByNameCalls ¶
func (*FakeClient) GetAppByNameReturns ¶
func (fake *FakeClient) GetAppByNameReturns(result1 *cfclient.App, result2 error)
func (*FakeClient) GetAppByNameReturnsOnCall ¶
func (fake *FakeClient) GetAppByNameReturnsOnCall(i int, result1 *cfclient.App, result2 error)
func (*FakeClient) GetAppEnvArgsForCall ¶
func (fake *FakeClient) GetAppEnvArgsForCall(i int) string
func (*FakeClient) GetAppEnvCallCount ¶
func (fake *FakeClient) GetAppEnvCallCount() int
func (*FakeClient) GetAppEnvCalls ¶
func (fake *FakeClient) GetAppEnvCalls(stub func(string) (*client.Env, error))
func (*FakeClient) GetAppEnvReturns ¶
func (fake *FakeClient) GetAppEnvReturns(result1 *client.Env, result2 error)
func (*FakeClient) GetAppEnvReturnsOnCall ¶
func (fake *FakeClient) GetAppEnvReturnsOnCall(i int, result1 *client.Env, result2 error)
func (*FakeClient) GetOrgByName ¶
func (fake *FakeClient) GetOrgByName(arg1 string) (*cfclient.Org, error)
func (*FakeClient) GetOrgByNameArgsForCall ¶
func (fake *FakeClient) GetOrgByNameArgsForCall(i int) string
func (*FakeClient) GetOrgByNameCallCount ¶
func (fake *FakeClient) GetOrgByNameCallCount() int
func (*FakeClient) GetOrgByNameCalls ¶
func (fake *FakeClient) GetOrgByNameCalls(stub func(string) (*cfclient.Org, error))
func (*FakeClient) GetOrgByNameReturns ¶
func (fake *FakeClient) GetOrgByNameReturns(result1 *cfclient.Org, result2 error)
func (*FakeClient) GetOrgByNameReturnsOnCall ¶
func (fake *FakeClient) GetOrgByNameReturnsOnCall(i int, result1 *cfclient.Org, result2 error)
func (*FakeClient) GetServiceBindings ¶
func (fake *FakeClient) GetServiceBindings(arg1 ...string) (map[string]*cfclient.ServiceBinding, error)
func (*FakeClient) GetServiceBindingsArgsForCall ¶
func (fake *FakeClient) GetServiceBindingsArgsForCall(i int) []string
func (*FakeClient) GetServiceBindingsCallCount ¶
func (fake *FakeClient) GetServiceBindingsCallCount() int
func (*FakeClient) GetServiceBindingsCalls ¶
func (fake *FakeClient) GetServiceBindingsCalls(stub func(...string) (map[string]*cfclient.ServiceBinding, error))
func (*FakeClient) GetServiceBindingsReturns ¶
func (fake *FakeClient) GetServiceBindingsReturns(result1 map[string]*cfclient.ServiceBinding, result2 error)
func (*FakeClient) GetServiceBindingsReturnsOnCall ¶
func (fake *FakeClient) GetServiceBindingsReturnsOnCall(i int, result1 map[string]*cfclient.ServiceBinding, result2 error)
func (*FakeClient) GetServiceInstances ¶
func (fake *FakeClient) GetServiceInstances(arg1 ...string) (map[string]*cfclient.ServiceInstance, error)
func (*FakeClient) GetServiceInstancesArgsForCall ¶
func (fake *FakeClient) GetServiceInstancesArgsForCall(i int) []string
func (*FakeClient) GetServiceInstancesCallCount ¶
func (fake *FakeClient) GetServiceInstancesCallCount() int
func (*FakeClient) GetServiceInstancesCalls ¶
func (fake *FakeClient) GetServiceInstancesCalls(stub func(...string) (map[string]*cfclient.ServiceInstance, error))
func (*FakeClient) GetServiceInstancesReturns ¶
func (fake *FakeClient) GetServiceInstancesReturns(result1 map[string]*cfclient.ServiceInstance, result2 error)
func (*FakeClient) GetServiceInstancesReturnsOnCall ¶
func (fake *FakeClient) GetServiceInstancesReturnsOnCall(i int, result1 map[string]*cfclient.ServiceInstance, result2 error)
func (*FakeClient) GetSpaceByName ¶
func (*FakeClient) GetSpaceByNameArgsForCall ¶
func (fake *FakeClient) GetSpaceByNameArgsForCall(i int) (string, string)
func (*FakeClient) GetSpaceByNameCallCount ¶
func (fake *FakeClient) GetSpaceByNameCallCount() int
func (*FakeClient) GetSpaceByNameCalls ¶
func (*FakeClient) GetSpaceByNameReturns ¶
func (fake *FakeClient) GetSpaceByNameReturns(result1 *cfclient.Space, result2 error)
func (*FakeClient) GetSpaceByNameReturnsOnCall ¶
func (fake *FakeClient) GetSpaceByNameReturnsOnCall(i int, result1 *cfclient.Space, result2 error)
func (*FakeClient) Invocations ¶
func (fake *FakeClient) Invocations() map[string][][]interface{}
func (*FakeClient) PollForAppState ¶
func (fake *FakeClient) PollForAppState(arg1 string, arg2 string, arg3 int) error
func (*FakeClient) PollForAppStateArgsForCall ¶
func (fake *FakeClient) PollForAppStateArgsForCall(i int) (string, string, int)
func (*FakeClient) PollForAppStateCallCount ¶
func (fake *FakeClient) PollForAppStateCallCount() int
func (*FakeClient) PollForAppStateCalls ¶
func (fake *FakeClient) PollForAppStateCalls(stub func(string, string, int) error)
func (*FakeClient) PollForAppStateReturns ¶
func (fake *FakeClient) PollForAppStateReturns(result1 error)
func (*FakeClient) PollForAppStateReturnsOnCall ¶
func (fake *FakeClient) PollForAppStateReturnsOnCall(i int, result1 error)
func (*FakeClient) RefreshAccessToken ¶
func (fake *FakeClient) RefreshAccessToken() error
func (*FakeClient) RefreshAccessTokenCallCount ¶
func (fake *FakeClient) RefreshAccessTokenCallCount() int
func (*FakeClient) RefreshAccessTokenCalls ¶
func (fake *FakeClient) RefreshAccessTokenCalls(stub func() error)
func (*FakeClient) RefreshAccessTokenReturns ¶
func (fake *FakeClient) RefreshAccessTokenReturns(result1 error)
func (*FakeClient) RefreshAccessTokenReturnsOnCall ¶
func (fake *FakeClient) RefreshAccessTokenReturnsOnCall(i int, result1 error)
func (*FakeClient) SSHCode ¶
func (fake *FakeClient) SSHCode() (string, error)
func (*FakeClient) SSHCodeCallCount ¶
func (fake *FakeClient) SSHCodeCallCount() int
func (*FakeClient) SSHCodeCalls ¶
func (fake *FakeClient) SSHCodeCalls(stub func() (string, error))
func (*FakeClient) SSHCodeReturns ¶
func (fake *FakeClient) SSHCodeReturns(result1 string, result2 error)
func (*FakeClient) SSHCodeReturnsOnCall ¶
func (fake *FakeClient) SSHCodeReturnsOnCall(i int, result1 string, result2 error)
func (*FakeClient) StartApp ¶
func (fake *FakeClient) StartApp(arg1 string) error
func (*FakeClient) StartAppArgsForCall ¶
func (fake *FakeClient) StartAppArgsForCall(i int) string
func (*FakeClient) StartAppCallCount ¶
func (fake *FakeClient) StartAppCallCount() int
func (*FakeClient) StartAppCalls ¶
func (fake *FakeClient) StartAppCalls(stub func(string) error)
func (*FakeClient) StartAppReturns ¶
func (fake *FakeClient) StartAppReturns(result1 error)
func (*FakeClient) StartAppReturnsOnCall ¶
func (fake *FakeClient) StartAppReturnsOnCall(i int, result1 error)
func (*FakeClient) UploadStaticAppBits ¶
func (fake *FakeClient) UploadStaticAppBits(arg1 string) error
func (*FakeClient) UploadStaticAppBitsArgsForCall ¶
func (fake *FakeClient) UploadStaticAppBitsArgsForCall(i int) string
func (*FakeClient) UploadStaticAppBitsCallCount ¶
func (fake *FakeClient) UploadStaticAppBitsCallCount() int
func (*FakeClient) UploadStaticAppBitsCalls ¶
func (fake *FakeClient) UploadStaticAppBitsCalls(stub func(string) error)
func (*FakeClient) UploadStaticAppBitsReturns ¶
func (fake *FakeClient) UploadStaticAppBitsReturns(result1 error)
func (*FakeClient) UploadStaticAppBitsReturnsOnCall ¶
func (fake *FakeClient) UploadStaticAppBitsReturnsOnCall(i int, result1 error)
Click to show internal directories.
Click to hide internal directories.