Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeApiClient
- func (fake *FakeApiClient) CreateServiceKey(cliConnection plugin.CliConnection, serviceInstanceGuid string, keyName string) (pluginModels.ServiceKey, error)
- func (fake *FakeApiClient) CreateServiceKeyArgsForCall(i int) (plugin.CliConnection, string, string)
- func (fake *FakeApiClient) CreateServiceKeyCallCount() int
- func (fake *FakeApiClient) CreateServiceKeyReturns(result1 pluginModels.ServiceKey, result2 error)
- func (fake *FakeApiClient) CreateServiceKeyReturnsOnCall(i int, result1 pluginModels.ServiceKey, result2 error)
- func (fake *FakeApiClient) GetService(cliConnection plugin.CliConnection, spaceGuid string, name string) (pluginModels.ServiceInstance, error)
- func (fake *FakeApiClient) GetServiceArgsForCall(i int) (plugin.CliConnection, string, string)
- func (fake *FakeApiClient) GetServiceCallCount() int
- func (fake *FakeApiClient) GetServiceKey(cliConnection plugin.CliConnection, serviceInstanceGuid string, keyName string) (key pluginModels.ServiceKey, found bool, err error)
- func (fake *FakeApiClient) GetServiceKeyArgsForCall(i int) (plugin.CliConnection, string, string)
- func (fake *FakeApiClient) GetServiceKeyCallCount() int
- func (fake *FakeApiClient) GetServiceKeyReturns(result1 pluginModels.ServiceKey, result2 bool, result3 error)
- func (fake *FakeApiClient) GetServiceKeyReturnsOnCall(i int, result1 pluginModels.ServiceKey, result2 bool, result3 error)
- func (fake *FakeApiClient) GetServiceReturns(result1 pluginModels.ServiceInstance, result2 error)
- func (fake *FakeApiClient) GetServiceReturnsOnCall(i int, result1 pluginModels.ServiceInstance, result2 error)
- func (fake *FakeApiClient) GetStartedApps(cliConnection plugin.CliConnection) ([]sdkModels.GetAppsModel, error)
- func (fake *FakeApiClient) GetStartedAppsArgsForCall(i int) plugin.CliConnection
- func (fake *FakeApiClient) GetStartedAppsCallCount() int
- func (fake *FakeApiClient) GetStartedAppsReturns(result1 []sdkModels.GetAppsModel, result2 error)
- func (fake *FakeApiClient) GetStartedAppsReturnsOnCall(i int, result1 []sdkModels.GetAppsModel, result2 error)
- func (fake *FakeApiClient) Invocations() map[string][][]interface{}
- type FakeCfService
- func (fake *FakeCfService) GetService(connection plugin.CliConnection, name string) (cfpsql.PsqlService, error)
- func (fake *FakeCfService) GetServiceArgsForCall(i int) (plugin.CliConnection, string)
- func (fake *FakeCfService) GetServiceCallCount() int
- func (fake *FakeCfService) GetServiceReturns(result1 cfpsql.PsqlService, result2 error)
- func (fake *FakeCfService) GetServiceReturnsOnCall(i int, result1 cfpsql.PsqlService, result2 error)
- func (fake *FakeCfService) GetStartedApps(cliConnection plugin.CliConnection) ([]sdkModels.GetAppsModel, error)
- func (fake *FakeCfService) GetStartedAppsArgsForCall(i int) plugin.CliConnection
- func (fake *FakeCfService) GetStartedAppsCallCount() int
- func (fake *FakeCfService) GetStartedAppsReturns(result1 []sdkModels.GetAppsModel, result2 error)
- func (fake *FakeCfService) GetStartedAppsReturnsOnCall(i int, result1 []sdkModels.GetAppsModel, result2 error)
- func (fake *FakeCfService) Invocations() map[string][][]interface{}
- func (fake *FakeCfService) OpenSshTunnel(cliConnection plugin.CliConnection, toService cfpsql.PsqlService, ...)
- func (fake *FakeCfService) OpenSshTunnelArgsForCall(i int) (plugin.CliConnection, cfpsql.PsqlService, []sdkModels.GetAppsModel, int)
- func (fake *FakeCfService) OpenSshTunnelCallCount() int
- type FakeExecWrapper
- func (fake *FakeExecWrapper) Invocations() map[string][][]interface{}
- func (fake *FakeExecWrapper) LookPath(file string) (string, error)
- func (fake *FakeExecWrapper) LookPathArgsForCall(i int) string
- func (fake *FakeExecWrapper) LookPathCallCount() int
- func (fake *FakeExecWrapper) LookPathReturns(result1 string, result2 error)
- func (fake *FakeExecWrapper) LookPathReturnsOnCall(i int, result1 string, result2 error)
- func (fake *FakeExecWrapper) Run(arg1 *exec.Cmd) error
- func (fake *FakeExecWrapper) RunArgsForCall(i int) *exec.Cmd
- func (fake *FakeExecWrapper) RunCallCount() int
- func (fake *FakeExecWrapper) RunReturns(result1 error)
- func (fake *FakeExecWrapper) RunReturnsOnCall(i int, result1 error)
- type FakeHttpClientFactory
- func (fake *FakeHttpClientFactory) Invocations() map[string][][]interface{}
- func (fake *FakeHttpClientFactory) NewClient(sslDisabled bool) *http.Client
- func (fake *FakeHttpClientFactory) NewClientArgsForCall(i int) bool
- func (fake *FakeHttpClientFactory) NewClientCallCount() int
- func (fake *FakeHttpClientFactory) NewClientReturns(result1 *http.Client)
- func (fake *FakeHttpClientFactory) NewClientReturnsOnCall(i int, result1 *http.Client)
- type FakeHttpWrapper
- func (fake *FakeHttpWrapper) Get(endpoint string, accessToken string, skipSsl bool) ([]byte, error)
- func (fake *FakeHttpWrapper) GetArgsForCall(i int) (string, string, bool)
- func (fake *FakeHttpWrapper) GetCallCount() int
- func (fake *FakeHttpWrapper) GetReturns(result1 []byte, result2 error)
- func (fake *FakeHttpWrapper) GetReturnsOnCall(i int, result1 []byte, result2 error)
- func (fake *FakeHttpWrapper) Invocations() map[string][][]interface{}
- func (fake *FakeHttpWrapper) Post(url string, body io.Reader, accessToken string, sslDisabled bool) ([]byte, error)
- func (fake *FakeHttpWrapper) PostArgsForCall(i int) (string, io.Reader, string, bool)
- func (fake *FakeHttpWrapper) PostCallCount() int
- func (fake *FakeHttpWrapper) PostReturns(result1 []byte, result2 error)
- func (fake *FakeHttpWrapper) PostReturnsOnCall(i int, result1 []byte, result2 error)
- type FakeNetWrapper
- func (fake *FakeNetWrapper) Close(conn net.Conn) error
- func (fake *FakeNetWrapper) CloseArgsForCall(i int) net.Conn
- func (fake *FakeNetWrapper) CloseCallCount() int
- func (fake *FakeNetWrapper) CloseReturns(result1 error)
- func (fake *FakeNetWrapper) CloseReturnsOnCall(i int, result1 error)
- func (fake *FakeNetWrapper) Dial(network string, address string) (net.Conn, error)
- func (fake *FakeNetWrapper) DialArgsForCall(i int) (string, string)
- func (fake *FakeNetWrapper) DialCallCount() int
- func (fake *FakeNetWrapper) DialReturns(result1 net.Conn, result2 error)
- func (fake *FakeNetWrapper) DialReturnsOnCall(i int, result1 net.Conn, result2 error)
- func (fake *FakeNetWrapper) Invocations() map[string][][]interface{}
- type FakeOsWrapper
- func (fake *FakeOsWrapper) Invocations() map[string][][]interface{}
- func (fake *FakeOsWrapper) LookupEnv(key string) (string, bool)
- func (fake *FakeOsWrapper) LookupEnvArgsForCall(i int) string
- func (fake *FakeOsWrapper) LookupEnvCallCount() int
- func (fake *FakeOsWrapper) LookupEnvReturns(result1 string, result2 bool)
- func (fake *FakeOsWrapper) LookupEnvReturnsOnCall(i int, result1 string, result2 bool)
- type FakePortFinder
- type FakePortWaiter
- type FakePsqlRunner
- func (fake *FakePsqlRunner) Invocations() map[string][][]interface{}
- func (fake *FakePsqlRunner) RunPsql(hostname string, port int, dbName string, username string, password string, ...) error
- func (fake *FakePsqlRunner) RunPsqlArgsForCall(i int) (string, int, string, string, string, []string)
- func (fake *FakePsqlRunner) RunPsqlCallCount() int
- func (fake *FakePsqlRunner) RunPsqlReturns(result1 error)
- func (fake *FakePsqlRunner) RunPsqlReturnsOnCall(i int, result1 error)
- type FakeRandWrapper
- func (fake *FakeRandWrapper) Intn(n int) int
- func (fake *FakeRandWrapper) IntnArgsForCall(i int) int
- func (fake *FakeRandWrapper) IntnCallCount() int
- func (fake *FakeRandWrapper) IntnReturns(result1 int)
- func (fake *FakeRandWrapper) IntnReturnsOnCall(i int, result1 int)
- func (fake *FakeRandWrapper) Invocations() map[string][][]interface{}
- type FakeSshRunner
- func (fake *FakeSshRunner) Invocations() map[string][][]interface{}
- func (fake *FakeSshRunner) OpenSshTunnel(cliConnection plugin.CliConnection, toService cfpsql.PsqlService, ...)
- func (fake *FakeSshRunner) OpenSshTunnelArgsForCall(i int) (plugin.CliConnection, cfpsql.PsqlService, string, int)
- func (fake *FakeSshRunner) OpenSshTunnelCallCount() int
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeApiClient ¶
type FakeApiClient struct { GetStartedAppsStub func(cliConnection plugin.CliConnection) ([]sdkModels.GetAppsModel, error) GetServiceStub func(cliConnection plugin.CliConnection, spaceGuid string, name string) (pluginModels.ServiceInstance, error) GetServiceKeyStub func(cliConnection plugin.CliConnection, serviceInstanceGuid string, keyName string) (key pluginModels.ServiceKey, found bool, err error) CreateServiceKeyStub func(cliConnection plugin.CliConnection, serviceInstanceGuid string, keyName string) (pluginModels.ServiceKey, error) // contains filtered or unexported fields }
func (*FakeApiClient) CreateServiceKey ¶
func (fake *FakeApiClient) CreateServiceKey(cliConnection plugin.CliConnection, serviceInstanceGuid string, keyName string) (pluginModels.ServiceKey, error)
func (*FakeApiClient) CreateServiceKeyArgsForCall ¶
func (fake *FakeApiClient) CreateServiceKeyArgsForCall(i int) (plugin.CliConnection, string, string)
func (*FakeApiClient) CreateServiceKeyCallCount ¶
func (fake *FakeApiClient) CreateServiceKeyCallCount() int
func (*FakeApiClient) CreateServiceKeyReturns ¶
func (fake *FakeApiClient) CreateServiceKeyReturns(result1 pluginModels.ServiceKey, result2 error)
func (*FakeApiClient) CreateServiceKeyReturnsOnCall ¶
func (fake *FakeApiClient) CreateServiceKeyReturnsOnCall(i int, result1 pluginModels.ServiceKey, result2 error)
func (*FakeApiClient) GetService ¶
func (fake *FakeApiClient) GetService(cliConnection plugin.CliConnection, spaceGuid string, name string) (pluginModels.ServiceInstance, error)
func (*FakeApiClient) GetServiceArgsForCall ¶
func (fake *FakeApiClient) GetServiceArgsForCall(i int) (plugin.CliConnection, string, string)
func (*FakeApiClient) GetServiceCallCount ¶
func (fake *FakeApiClient) GetServiceCallCount() int
func (*FakeApiClient) GetServiceKey ¶
func (fake *FakeApiClient) GetServiceKey(cliConnection plugin.CliConnection, serviceInstanceGuid string, keyName string) (key pluginModels.ServiceKey, found bool, err error)
func (*FakeApiClient) GetServiceKeyArgsForCall ¶
func (fake *FakeApiClient) GetServiceKeyArgsForCall(i int) (plugin.CliConnection, string, string)
func (*FakeApiClient) GetServiceKeyCallCount ¶
func (fake *FakeApiClient) GetServiceKeyCallCount() int
func (*FakeApiClient) GetServiceKeyReturns ¶
func (fake *FakeApiClient) GetServiceKeyReturns(result1 pluginModels.ServiceKey, result2 bool, result3 error)
func (*FakeApiClient) GetServiceKeyReturnsOnCall ¶
func (fake *FakeApiClient) GetServiceKeyReturnsOnCall(i int, result1 pluginModels.ServiceKey, result2 bool, result3 error)
func (*FakeApiClient) GetServiceReturns ¶
func (fake *FakeApiClient) GetServiceReturns(result1 pluginModels.ServiceInstance, result2 error)
func (*FakeApiClient) GetServiceReturnsOnCall ¶
func (fake *FakeApiClient) GetServiceReturnsOnCall(i int, result1 pluginModels.ServiceInstance, result2 error)
func (*FakeApiClient) GetStartedApps ¶
func (fake *FakeApiClient) GetStartedApps(cliConnection plugin.CliConnection) ([]sdkModels.GetAppsModel, error)
func (*FakeApiClient) GetStartedAppsArgsForCall ¶
func (fake *FakeApiClient) GetStartedAppsArgsForCall(i int) plugin.CliConnection
func (*FakeApiClient) GetStartedAppsCallCount ¶
func (fake *FakeApiClient) GetStartedAppsCallCount() int
func (*FakeApiClient) GetStartedAppsReturns ¶
func (fake *FakeApiClient) GetStartedAppsReturns(result1 []sdkModels.GetAppsModel, result2 error)
func (*FakeApiClient) GetStartedAppsReturnsOnCall ¶
func (fake *FakeApiClient) GetStartedAppsReturnsOnCall(i int, result1 []sdkModels.GetAppsModel, result2 error)
func (*FakeApiClient) Invocations ¶
func (fake *FakeApiClient) Invocations() map[string][][]interface{}
type FakeCfService ¶
type FakeCfService struct { GetStartedAppsStub func(cliConnection plugin.CliConnection) ([]sdkModels.GetAppsModel, error) OpenSshTunnelStub func(cliConnection plugin.CliConnection, toService cfpsql.PsqlService, apps []sdkModels.GetAppsModel, localPort int) GetServiceStub func(connection plugin.CliConnection, name string) (cfpsql.PsqlService, error) // contains filtered or unexported fields }
func (*FakeCfService) GetService ¶
func (fake *FakeCfService) GetService(connection plugin.CliConnection, name string) (cfpsql.PsqlService, error)
func (*FakeCfService) GetServiceArgsForCall ¶
func (fake *FakeCfService) GetServiceArgsForCall(i int) (plugin.CliConnection, string)
func (*FakeCfService) GetServiceCallCount ¶
func (fake *FakeCfService) GetServiceCallCount() int
func (*FakeCfService) GetServiceReturns ¶
func (fake *FakeCfService) GetServiceReturns(result1 cfpsql.PsqlService, result2 error)
func (*FakeCfService) GetServiceReturnsOnCall ¶
func (fake *FakeCfService) GetServiceReturnsOnCall(i int, result1 cfpsql.PsqlService, result2 error)
func (*FakeCfService) GetStartedApps ¶
func (fake *FakeCfService) GetStartedApps(cliConnection plugin.CliConnection) ([]sdkModels.GetAppsModel, error)
func (*FakeCfService) GetStartedAppsArgsForCall ¶
func (fake *FakeCfService) GetStartedAppsArgsForCall(i int) plugin.CliConnection
func (*FakeCfService) GetStartedAppsCallCount ¶
func (fake *FakeCfService) GetStartedAppsCallCount() int
func (*FakeCfService) GetStartedAppsReturns ¶
func (fake *FakeCfService) GetStartedAppsReturns(result1 []sdkModels.GetAppsModel, result2 error)
func (*FakeCfService) GetStartedAppsReturnsOnCall ¶
func (fake *FakeCfService) GetStartedAppsReturnsOnCall(i int, result1 []sdkModels.GetAppsModel, result2 error)
func (*FakeCfService) Invocations ¶
func (fake *FakeCfService) Invocations() map[string][][]interface{}
func (*FakeCfService) OpenSshTunnel ¶
func (fake *FakeCfService) OpenSshTunnel(cliConnection plugin.CliConnection, toService cfpsql.PsqlService, apps []sdkModels.GetAppsModel, localPort int)
func (*FakeCfService) OpenSshTunnelArgsForCall ¶
func (fake *FakeCfService) OpenSshTunnelArgsForCall(i int) (plugin.CliConnection, cfpsql.PsqlService, []sdkModels.GetAppsModel, int)
func (*FakeCfService) OpenSshTunnelCallCount ¶
func (fake *FakeCfService) OpenSshTunnelCallCount() int
type FakeExecWrapper ¶
type FakeExecWrapper struct { LookPathStub func(file string) (string, error) RunStub func(*exec.Cmd) error // contains filtered or unexported fields }
func (*FakeExecWrapper) Invocations ¶
func (fake *FakeExecWrapper) Invocations() map[string][][]interface{}
func (*FakeExecWrapper) LookPath ¶
func (fake *FakeExecWrapper) LookPath(file string) (string, error)
func (*FakeExecWrapper) LookPathArgsForCall ¶
func (fake *FakeExecWrapper) LookPathArgsForCall(i int) string
func (*FakeExecWrapper) LookPathCallCount ¶
func (fake *FakeExecWrapper) LookPathCallCount() int
func (*FakeExecWrapper) LookPathReturns ¶
func (fake *FakeExecWrapper) LookPathReturns(result1 string, result2 error)
func (*FakeExecWrapper) LookPathReturnsOnCall ¶
func (fake *FakeExecWrapper) LookPathReturnsOnCall(i int, result1 string, result2 error)
func (*FakeExecWrapper) RunArgsForCall ¶
func (fake *FakeExecWrapper) RunArgsForCall(i int) *exec.Cmd
func (*FakeExecWrapper) RunCallCount ¶
func (fake *FakeExecWrapper) RunCallCount() int
func (*FakeExecWrapper) RunReturns ¶
func (fake *FakeExecWrapper) RunReturns(result1 error)
func (*FakeExecWrapper) RunReturnsOnCall ¶
func (fake *FakeExecWrapper) RunReturnsOnCall(i int, result1 error)
type FakeHttpClientFactory ¶
type FakeHttpClientFactory struct { NewClientStub func(sslDisabled bool) *http.Client // contains filtered or unexported fields }
func (*FakeHttpClientFactory) Invocations ¶
func (fake *FakeHttpClientFactory) Invocations() map[string][][]interface{}
func (*FakeHttpClientFactory) NewClient ¶
func (fake *FakeHttpClientFactory) NewClient(sslDisabled bool) *http.Client
func (*FakeHttpClientFactory) NewClientArgsForCall ¶
func (fake *FakeHttpClientFactory) NewClientArgsForCall(i int) bool
func (*FakeHttpClientFactory) NewClientCallCount ¶
func (fake *FakeHttpClientFactory) NewClientCallCount() int
func (*FakeHttpClientFactory) NewClientReturns ¶
func (fake *FakeHttpClientFactory) NewClientReturns(result1 *http.Client)
func (*FakeHttpClientFactory) NewClientReturnsOnCall ¶
func (fake *FakeHttpClientFactory) NewClientReturnsOnCall(i int, result1 *http.Client)
type FakeHttpWrapper ¶
type FakeHttpWrapper struct { GetStub func(endpoint string, accessToken string, skipSsl bool) ([]byte, error) PostStub func(url string, body io.Reader, accessToken string, sslDisabled bool) ([]byte, error) // contains filtered or unexported fields }
func (*FakeHttpWrapper) GetArgsForCall ¶
func (fake *FakeHttpWrapper) GetArgsForCall(i int) (string, string, bool)
func (*FakeHttpWrapper) GetCallCount ¶
func (fake *FakeHttpWrapper) GetCallCount() int
func (*FakeHttpWrapper) GetReturns ¶
func (fake *FakeHttpWrapper) GetReturns(result1 []byte, result2 error)
func (*FakeHttpWrapper) GetReturnsOnCall ¶
func (fake *FakeHttpWrapper) GetReturnsOnCall(i int, result1 []byte, result2 error)
func (*FakeHttpWrapper) Invocations ¶
func (fake *FakeHttpWrapper) Invocations() map[string][][]interface{}
func (*FakeHttpWrapper) PostArgsForCall ¶
func (*FakeHttpWrapper) PostCallCount ¶
func (fake *FakeHttpWrapper) PostCallCount() int
func (*FakeHttpWrapper) PostReturns ¶
func (fake *FakeHttpWrapper) PostReturns(result1 []byte, result2 error)
func (*FakeHttpWrapper) PostReturnsOnCall ¶
func (fake *FakeHttpWrapper) PostReturnsOnCall(i int, result1 []byte, result2 error)
type FakeNetWrapper ¶
type FakeNetWrapper struct { DialStub func(network, address string) (net.Conn, error) CloseStub func(conn net.Conn) error // contains filtered or unexported fields }
func (*FakeNetWrapper) CloseArgsForCall ¶
func (fake *FakeNetWrapper) CloseArgsForCall(i int) net.Conn
func (*FakeNetWrapper) CloseCallCount ¶
func (fake *FakeNetWrapper) CloseCallCount() int
func (*FakeNetWrapper) CloseReturns ¶
func (fake *FakeNetWrapper) CloseReturns(result1 error)
func (*FakeNetWrapper) CloseReturnsOnCall ¶
func (fake *FakeNetWrapper) CloseReturnsOnCall(i int, result1 error)
func (*FakeNetWrapper) DialArgsForCall ¶
func (fake *FakeNetWrapper) DialArgsForCall(i int) (string, string)
func (*FakeNetWrapper) DialCallCount ¶
func (fake *FakeNetWrapper) DialCallCount() int
func (*FakeNetWrapper) DialReturns ¶
func (fake *FakeNetWrapper) DialReturns(result1 net.Conn, result2 error)
func (*FakeNetWrapper) DialReturnsOnCall ¶
func (fake *FakeNetWrapper) DialReturnsOnCall(i int, result1 net.Conn, result2 error)
func (*FakeNetWrapper) Invocations ¶
func (fake *FakeNetWrapper) Invocations() map[string][][]interface{}
type FakeOsWrapper ¶
type FakeOsWrapper struct { LookupEnvStub func(key string) (string, bool) // contains filtered or unexported fields }
func (*FakeOsWrapper) Invocations ¶
func (fake *FakeOsWrapper) Invocations() map[string][][]interface{}
func (*FakeOsWrapper) LookupEnvArgsForCall ¶
func (fake *FakeOsWrapper) LookupEnvArgsForCall(i int) string
func (*FakeOsWrapper) LookupEnvCallCount ¶
func (fake *FakeOsWrapper) LookupEnvCallCount() int
func (*FakeOsWrapper) LookupEnvReturns ¶
func (fake *FakeOsWrapper) LookupEnvReturns(result1 string, result2 bool)
func (*FakeOsWrapper) LookupEnvReturnsOnCall ¶
func (fake *FakeOsWrapper) LookupEnvReturnsOnCall(i int, result1 string, result2 bool)
type FakePortFinder ¶
type FakePortFinder struct { GetPortStub func() int // contains filtered or unexported fields }
func (*FakePortFinder) GetPort ¶
func (fake *FakePortFinder) GetPort() int
func (*FakePortFinder) GetPortCallCount ¶
func (fake *FakePortFinder) GetPortCallCount() int
func (*FakePortFinder) GetPortReturns ¶
func (fake *FakePortFinder) GetPortReturns(result1 int)
func (*FakePortFinder) GetPortReturnsOnCall ¶
func (fake *FakePortFinder) GetPortReturnsOnCall(i int, result1 int)
func (*FakePortFinder) Invocations ¶
func (fake *FakePortFinder) Invocations() map[string][][]interface{}
type FakePortWaiter ¶
type FakePortWaiter struct { WaitUntilOpenStub func(localPort int) // contains filtered or unexported fields }
func (*FakePortWaiter) Invocations ¶
func (fake *FakePortWaiter) Invocations() map[string][][]interface{}
func (*FakePortWaiter) WaitUntilOpen ¶
func (fake *FakePortWaiter) WaitUntilOpen(localPort int)
func (*FakePortWaiter) WaitUntilOpenArgsForCall ¶
func (fake *FakePortWaiter) WaitUntilOpenArgsForCall(i int) int
func (*FakePortWaiter) WaitUntilOpenCallCount ¶
func (fake *FakePortWaiter) WaitUntilOpenCallCount() int
type FakePsqlRunner ¶
type FakePsqlRunner struct { RunPsqlStub func(hostname string, port int, dbName string, username string, password string, args ...string) error RunPsqlDumpStub func(hostname string, port int, dbName string, username string, password string, args ...string) error // contains filtered or unexported fields }
func (*FakePsqlRunner) Invocations ¶
func (fake *FakePsqlRunner) Invocations() map[string][][]interface{}
func (*FakePsqlRunner) RunPsqlArgsForCall ¶
func (*FakePsqlRunner) RunPsqlCallCount ¶
func (fake *FakePsqlRunner) RunPsqlCallCount() int
func (*FakePsqlRunner) RunPsqlReturns ¶
func (fake *FakePsqlRunner) RunPsqlReturns(result1 error)
func (*FakePsqlRunner) RunPsqlReturnsOnCall ¶
func (fake *FakePsqlRunner) RunPsqlReturnsOnCall(i int, result1 error)
type FakeRandWrapper ¶
func (*FakeRandWrapper) Intn ¶
func (fake *FakeRandWrapper) Intn(n int) int
func (*FakeRandWrapper) IntnArgsForCall ¶
func (fake *FakeRandWrapper) IntnArgsForCall(i int) int
func (*FakeRandWrapper) IntnCallCount ¶
func (fake *FakeRandWrapper) IntnCallCount() int
func (*FakeRandWrapper) IntnReturns ¶
func (fake *FakeRandWrapper) IntnReturns(result1 int)
func (*FakeRandWrapper) IntnReturnsOnCall ¶
func (fake *FakeRandWrapper) IntnReturnsOnCall(i int, result1 int)
func (*FakeRandWrapper) Invocations ¶
func (fake *FakeRandWrapper) Invocations() map[string][][]interface{}
type FakeSshRunner ¶
type FakeSshRunner struct { OpenSshTunnelStub func(cliConnection plugin.CliConnection, toService cfpsql.PsqlService, throughApp string, localPort int) // contains filtered or unexported fields }
func (*FakeSshRunner) Invocations ¶
func (fake *FakeSshRunner) Invocations() map[string][][]interface{}
func (*FakeSshRunner) OpenSshTunnel ¶
func (fake *FakeSshRunner) OpenSshTunnel(cliConnection plugin.CliConnection, toService cfpsql.PsqlService, throughApp string, localPort int)
func (*FakeSshRunner) OpenSshTunnelArgsForCall ¶
func (fake *FakeSshRunner) OpenSshTunnelArgsForCall(i int) (plugin.CliConnection, cfpsql.PsqlService, string, int)
func (*FakeSshRunner) OpenSshTunnelCallCount ¶
func (fake *FakeSshRunner) OpenSshTunnelCallCount() int
Click to show internal directories.
Click to hide internal directories.