Documentation ¶
Overview ¶
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Code generated by counterfeiter. DO NOT EDIT.
Index ¶
- type FakeConfig
- func (fake *FakeConfig) AccessToken() string
- func (fake *FakeConfig) AccessTokenCallCount() int
- func (fake *FakeConfig) AccessTokenCalls(stub func() string)
- func (fake *FakeConfig) AccessTokenReturns(result1 string)
- func (fake *FakeConfig) AccessTokenReturnsOnCall(i int, result1 string)
- func (fake *FakeConfig) BinaryName() string
- func (fake *FakeConfig) BinaryNameCallCount() int
- func (fake *FakeConfig) BinaryNameCalls(stub func() string)
- func (fake *FakeConfig) BinaryNameReturns(result1 string)
- func (fake *FakeConfig) BinaryNameReturnsOnCall(i int, result1 string)
- func (fake *FakeConfig) CurrentUserName() (string, error)
- func (fake *FakeConfig) CurrentUserNameCallCount() int
- func (fake *FakeConfig) CurrentUserNameCalls(stub func() (string, error))
- func (fake *FakeConfig) CurrentUserNameReturns(result1 string, result2 error)
- func (fake *FakeConfig) CurrentUserNameReturnsOnCall(i int, result1 string, result2 error)
- func (fake *FakeConfig) HasTargetedOrganization() bool
- func (fake *FakeConfig) HasTargetedOrganizationCallCount() int
- func (fake *FakeConfig) HasTargetedOrganizationCalls(stub func() bool)
- func (fake *FakeConfig) HasTargetedOrganizationReturns(result1 bool)
- func (fake *FakeConfig) HasTargetedOrganizationReturnsOnCall(i int, result1 bool)
- func (fake *FakeConfig) HasTargetedSpace() bool
- func (fake *FakeConfig) HasTargetedSpaceCallCount() int
- func (fake *FakeConfig) HasTargetedSpaceCalls(stub func() bool)
- func (fake *FakeConfig) HasTargetedSpaceReturns(result1 bool)
- func (fake *FakeConfig) HasTargetedSpaceReturnsOnCall(i int, result1 bool)
- func (fake *FakeConfig) Invocations() map[string][][]interface{}
- func (fake *FakeConfig) IsCFOnK8s() bool
- func (fake *FakeConfig) IsCFOnK8sCallCount() int
- func (fake *FakeConfig) IsCFOnK8sCalls(stub func() bool)
- func (fake *FakeConfig) IsCFOnK8sReturns(result1 bool)
- func (fake *FakeConfig) IsCFOnK8sReturnsOnCall(i int, result1 bool)
- func (fake *FakeConfig) RefreshToken() string
- func (fake *FakeConfig) RefreshTokenCallCount() int
- func (fake *FakeConfig) RefreshTokenCalls(stub func() string)
- func (fake *FakeConfig) RefreshTokenReturns(result1 string)
- func (fake *FakeConfig) RefreshTokenReturnsOnCall(i int, result1 string)
- func (fake *FakeConfig) TargetedOrganizationName() string
- func (fake *FakeConfig) TargetedOrganizationNameCallCount() int
- func (fake *FakeConfig) TargetedOrganizationNameCalls(stub func() string)
- func (fake *FakeConfig) TargetedOrganizationNameReturns(result1 string)
- func (fake *FakeConfig) TargetedOrganizationNameReturnsOnCall(i int, result1 string)
- func (fake *FakeConfig) Verbose() (bool, []string)
- func (fake *FakeConfig) VerboseCallCount() int
- func (fake *FakeConfig) VerboseCalls(stub func() (bool, []string))
- func (fake *FakeConfig) VerboseReturns(result1 bool, result2 []string)
- func (fake *FakeConfig) VerboseReturnsOnCall(i int, result1 bool, result2 []string)
- type FakeLogCacheClient
- func (fake *FakeLogCacheClient) Invocations() map[string][][]interface{}
- func (fake *FakeLogCacheClient) Read(arg1 context.Context, arg2 string, arg3 time.Time, arg4 ...client.ReadOption) ([]*loggregator_v2.Envelope, error)
- func (fake *FakeLogCacheClient) ReadArgsForCall(i int) (context.Context, string, time.Time, []client.ReadOption)
- func (fake *FakeLogCacheClient) ReadCallCount() int
- func (fake *FakeLogCacheClient) ReadCalls(...)
- func (fake *FakeLogCacheClient) ReadReturns(result1 []*loggregator_v2.Envelope, result2 error)
- func (fake *FakeLogCacheClient) ReadReturnsOnCall(i int, result1 []*loggregator_v2.Envelope, result2 error)
- type FakeSecureShellClient
- func (fake *FakeSecureShellClient) Close() error
- func (fake *FakeSecureShellClient) CloseCallCount() int
- func (fake *FakeSecureShellClient) CloseCalls(stub func() error)
- func (fake *FakeSecureShellClient) CloseReturns(result1 error)
- func (fake *FakeSecureShellClient) CloseReturnsOnCall(i int, result1 error)
- func (fake *FakeSecureShellClient) Connect(arg1 string, arg2 string, arg3 string, arg4 string, arg5 bool) error
- func (fake *FakeSecureShellClient) ConnectArgsForCall(i int) (string, string, string, string, bool)
- func (fake *FakeSecureShellClient) ConnectCallCount() int
- func (fake *FakeSecureShellClient) ConnectCalls(stub func(string, string, string, string, bool) error)
- func (fake *FakeSecureShellClient) ConnectReturns(result1 error)
- func (fake *FakeSecureShellClient) ConnectReturnsOnCall(i int, result1 error)
- func (fake *FakeSecureShellClient) InteractiveSession(arg1 []string, arg2 clissh.TTYRequest) error
- func (fake *FakeSecureShellClient) InteractiveSessionArgsForCall(i int) ([]string, clissh.TTYRequest)
- func (fake *FakeSecureShellClient) InteractiveSessionCallCount() int
- func (fake *FakeSecureShellClient) InteractiveSessionCalls(stub func([]string, clissh.TTYRequest) error)
- func (fake *FakeSecureShellClient) InteractiveSessionReturns(result1 error)
- func (fake *FakeSecureShellClient) InteractiveSessionReturnsOnCall(i int, result1 error)
- func (fake *FakeSecureShellClient) Invocations() map[string][][]interface{}
- func (fake *FakeSecureShellClient) LocalPortForward(arg1 []clissh.LocalPortForward) error
- func (fake *FakeSecureShellClient) LocalPortForwardArgsForCall(i int) []clissh.LocalPortForward
- func (fake *FakeSecureShellClient) LocalPortForwardCallCount() int
- func (fake *FakeSecureShellClient) LocalPortForwardCalls(stub func([]clissh.LocalPortForward) error)
- func (fake *FakeSecureShellClient) LocalPortForwardReturns(result1 error)
- func (fake *FakeSecureShellClient) LocalPortForwardReturnsOnCall(i int, result1 error)
- func (fake *FakeSecureShellClient) Wait() error
- func (fake *FakeSecureShellClient) WaitCallCount() int
- func (fake *FakeSecureShellClient) WaitCalls(stub func() error)
- func (fake *FakeSecureShellClient) WaitReturns(result1 error)
- func (fake *FakeSecureShellClient) WaitReturnsOnCall(i int, result1 error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FakeConfig ¶
type FakeConfig struct { AccessTokenStub func() string BinaryNameStub func() string CurrentUserNameStub func() (string, error) HasTargetedOrganizationStub func() bool HasTargetedSpaceStub func() bool IsCFOnK8sStub func() bool RefreshTokenStub func() string TargetedOrganizationNameStub func() string VerboseStub func() (bool, []string) // contains filtered or unexported fields }
func (*FakeConfig) AccessToken ¶
func (fake *FakeConfig) AccessToken() string
func (*FakeConfig) AccessTokenCallCount ¶
func (fake *FakeConfig) AccessTokenCallCount() int
func (*FakeConfig) AccessTokenCalls ¶
func (fake *FakeConfig) AccessTokenCalls(stub func() string)
func (*FakeConfig) AccessTokenReturns ¶
func (fake *FakeConfig) AccessTokenReturns(result1 string)
func (*FakeConfig) AccessTokenReturnsOnCall ¶
func (fake *FakeConfig) AccessTokenReturnsOnCall(i int, result1 string)
func (*FakeConfig) BinaryName ¶
func (fake *FakeConfig) BinaryName() string
func (*FakeConfig) BinaryNameCallCount ¶
func (fake *FakeConfig) BinaryNameCallCount() int
func (*FakeConfig) BinaryNameCalls ¶
func (fake *FakeConfig) BinaryNameCalls(stub func() string)
func (*FakeConfig) BinaryNameReturns ¶
func (fake *FakeConfig) BinaryNameReturns(result1 string)
func (*FakeConfig) BinaryNameReturnsOnCall ¶
func (fake *FakeConfig) BinaryNameReturnsOnCall(i int, result1 string)
func (*FakeConfig) CurrentUserName ¶
func (fake *FakeConfig) CurrentUserName() (string, error)
func (*FakeConfig) CurrentUserNameCallCount ¶
func (fake *FakeConfig) CurrentUserNameCallCount() int
func (*FakeConfig) CurrentUserNameCalls ¶
func (fake *FakeConfig) CurrentUserNameCalls(stub func() (string, error))
func (*FakeConfig) CurrentUserNameReturns ¶
func (fake *FakeConfig) CurrentUserNameReturns(result1 string, result2 error)
func (*FakeConfig) CurrentUserNameReturnsOnCall ¶
func (fake *FakeConfig) CurrentUserNameReturnsOnCall(i int, result1 string, result2 error)
func (*FakeConfig) HasTargetedOrganization ¶
func (fake *FakeConfig) HasTargetedOrganization() bool
func (*FakeConfig) HasTargetedOrganizationCallCount ¶
func (fake *FakeConfig) HasTargetedOrganizationCallCount() int
func (*FakeConfig) HasTargetedOrganizationCalls ¶
func (fake *FakeConfig) HasTargetedOrganizationCalls(stub func() bool)
func (*FakeConfig) HasTargetedOrganizationReturns ¶
func (fake *FakeConfig) HasTargetedOrganizationReturns(result1 bool)
func (*FakeConfig) HasTargetedOrganizationReturnsOnCall ¶
func (fake *FakeConfig) HasTargetedOrganizationReturnsOnCall(i int, result1 bool)
func (*FakeConfig) HasTargetedSpace ¶
func (fake *FakeConfig) HasTargetedSpace() bool
func (*FakeConfig) HasTargetedSpaceCallCount ¶
func (fake *FakeConfig) HasTargetedSpaceCallCount() int
func (*FakeConfig) HasTargetedSpaceCalls ¶
func (fake *FakeConfig) HasTargetedSpaceCalls(stub func() bool)
func (*FakeConfig) HasTargetedSpaceReturns ¶
func (fake *FakeConfig) HasTargetedSpaceReturns(result1 bool)
func (*FakeConfig) HasTargetedSpaceReturnsOnCall ¶
func (fake *FakeConfig) HasTargetedSpaceReturnsOnCall(i int, result1 bool)
func (*FakeConfig) Invocations ¶
func (fake *FakeConfig) Invocations() map[string][][]interface{}
func (*FakeConfig) IsCFOnK8s ¶
func (fake *FakeConfig) IsCFOnK8s() bool
func (*FakeConfig) IsCFOnK8sCallCount ¶
func (fake *FakeConfig) IsCFOnK8sCallCount() int
func (*FakeConfig) IsCFOnK8sCalls ¶
func (fake *FakeConfig) IsCFOnK8sCalls(stub func() bool)
func (*FakeConfig) IsCFOnK8sReturns ¶
func (fake *FakeConfig) IsCFOnK8sReturns(result1 bool)
func (*FakeConfig) IsCFOnK8sReturnsOnCall ¶
func (fake *FakeConfig) IsCFOnK8sReturnsOnCall(i int, result1 bool)
func (*FakeConfig) RefreshToken ¶
func (fake *FakeConfig) RefreshToken() string
func (*FakeConfig) RefreshTokenCallCount ¶
func (fake *FakeConfig) RefreshTokenCallCount() int
func (*FakeConfig) RefreshTokenCalls ¶
func (fake *FakeConfig) RefreshTokenCalls(stub func() string)
func (*FakeConfig) RefreshTokenReturns ¶
func (fake *FakeConfig) RefreshTokenReturns(result1 string)
func (*FakeConfig) RefreshTokenReturnsOnCall ¶
func (fake *FakeConfig) RefreshTokenReturnsOnCall(i int, result1 string)
func (*FakeConfig) TargetedOrganizationName ¶
func (fake *FakeConfig) TargetedOrganizationName() string
func (*FakeConfig) TargetedOrganizationNameCallCount ¶
func (fake *FakeConfig) TargetedOrganizationNameCallCount() int
func (*FakeConfig) TargetedOrganizationNameCalls ¶
func (fake *FakeConfig) TargetedOrganizationNameCalls(stub func() string)
func (*FakeConfig) TargetedOrganizationNameReturns ¶
func (fake *FakeConfig) TargetedOrganizationNameReturns(result1 string)
func (*FakeConfig) TargetedOrganizationNameReturnsOnCall ¶
func (fake *FakeConfig) TargetedOrganizationNameReturnsOnCall(i int, result1 string)
func (*FakeConfig) Verbose ¶
func (fake *FakeConfig) Verbose() (bool, []string)
func (*FakeConfig) VerboseCallCount ¶
func (fake *FakeConfig) VerboseCallCount() int
func (*FakeConfig) VerboseCalls ¶
func (fake *FakeConfig) VerboseCalls(stub func() (bool, []string))
func (*FakeConfig) VerboseReturns ¶
func (fake *FakeConfig) VerboseReturns(result1 bool, result2 []string)
func (*FakeConfig) VerboseReturnsOnCall ¶
func (fake *FakeConfig) VerboseReturnsOnCall(i int, result1 bool, result2 []string)
type FakeLogCacheClient ¶
type FakeLogCacheClient struct { ReadStub func(context.Context, string, time.Time, ...client.ReadOption) ([]*loggregator_v2.Envelope, error) // contains filtered or unexported fields }
func (*FakeLogCacheClient) Invocations ¶
func (fake *FakeLogCacheClient) Invocations() map[string][][]interface{}
func (*FakeLogCacheClient) Read ¶
func (fake *FakeLogCacheClient) Read(arg1 context.Context, arg2 string, arg3 time.Time, arg4 ...client.ReadOption) ([]*loggregator_v2.Envelope, error)
func (*FakeLogCacheClient) ReadArgsForCall ¶
func (fake *FakeLogCacheClient) ReadArgsForCall(i int) (context.Context, string, time.Time, []client.ReadOption)
func (*FakeLogCacheClient) ReadCallCount ¶
func (fake *FakeLogCacheClient) ReadCallCount() int
func (*FakeLogCacheClient) ReadCalls ¶
func (fake *FakeLogCacheClient) ReadCalls(stub func(context.Context, string, time.Time, ...client.ReadOption) ([]*loggregator_v2.Envelope, error))
func (*FakeLogCacheClient) ReadReturns ¶
func (fake *FakeLogCacheClient) ReadReturns(result1 []*loggregator_v2.Envelope, result2 error)
func (*FakeLogCacheClient) ReadReturnsOnCall ¶
func (fake *FakeLogCacheClient) ReadReturnsOnCall(i int, result1 []*loggregator_v2.Envelope, result2 error)
type FakeSecureShellClient ¶
type FakeSecureShellClient struct { CloseStub func() error ConnectStub func(string, string, string, string, bool) error InteractiveSessionStub func([]string, clissh.TTYRequest) error LocalPortForwardStub func([]clissh.LocalPortForward) error WaitStub func() error // contains filtered or unexported fields }
func (*FakeSecureShellClient) Close ¶
func (fake *FakeSecureShellClient) Close() error
func (*FakeSecureShellClient) CloseCallCount ¶
func (fake *FakeSecureShellClient) CloseCallCount() int
func (*FakeSecureShellClient) CloseCalls ¶
func (fake *FakeSecureShellClient) CloseCalls(stub func() error)
func (*FakeSecureShellClient) CloseReturns ¶
func (fake *FakeSecureShellClient) CloseReturns(result1 error)
func (*FakeSecureShellClient) CloseReturnsOnCall ¶
func (fake *FakeSecureShellClient) CloseReturnsOnCall(i int, result1 error)
func (*FakeSecureShellClient) ConnectArgsForCall ¶
func (*FakeSecureShellClient) ConnectCallCount ¶
func (fake *FakeSecureShellClient) ConnectCallCount() int
func (*FakeSecureShellClient) ConnectCalls ¶
func (*FakeSecureShellClient) ConnectReturns ¶
func (fake *FakeSecureShellClient) ConnectReturns(result1 error)
func (*FakeSecureShellClient) ConnectReturnsOnCall ¶
func (fake *FakeSecureShellClient) ConnectReturnsOnCall(i int, result1 error)
func (*FakeSecureShellClient) InteractiveSession ¶
func (fake *FakeSecureShellClient) InteractiveSession(arg1 []string, arg2 clissh.TTYRequest) error
func (*FakeSecureShellClient) InteractiveSessionArgsForCall ¶
func (fake *FakeSecureShellClient) InteractiveSessionArgsForCall(i int) ([]string, clissh.TTYRequest)
func (*FakeSecureShellClient) InteractiveSessionCallCount ¶
func (fake *FakeSecureShellClient) InteractiveSessionCallCount() int
func (*FakeSecureShellClient) InteractiveSessionCalls ¶
func (fake *FakeSecureShellClient) InteractiveSessionCalls(stub func([]string, clissh.TTYRequest) error)
func (*FakeSecureShellClient) InteractiveSessionReturns ¶
func (fake *FakeSecureShellClient) InteractiveSessionReturns(result1 error)
func (*FakeSecureShellClient) InteractiveSessionReturnsOnCall ¶
func (fake *FakeSecureShellClient) InteractiveSessionReturnsOnCall(i int, result1 error)
func (*FakeSecureShellClient) Invocations ¶
func (fake *FakeSecureShellClient) Invocations() map[string][][]interface{}
func (*FakeSecureShellClient) LocalPortForward ¶
func (fake *FakeSecureShellClient) LocalPortForward(arg1 []clissh.LocalPortForward) error
func (*FakeSecureShellClient) LocalPortForwardArgsForCall ¶
func (fake *FakeSecureShellClient) LocalPortForwardArgsForCall(i int) []clissh.LocalPortForward
func (*FakeSecureShellClient) LocalPortForwardCallCount ¶
func (fake *FakeSecureShellClient) LocalPortForwardCallCount() int
func (*FakeSecureShellClient) LocalPortForwardCalls ¶
func (fake *FakeSecureShellClient) LocalPortForwardCalls(stub func([]clissh.LocalPortForward) error)
func (*FakeSecureShellClient) LocalPortForwardReturns ¶
func (fake *FakeSecureShellClient) LocalPortForwardReturns(result1 error)
func (*FakeSecureShellClient) LocalPortForwardReturnsOnCall ¶
func (fake *FakeSecureShellClient) LocalPortForwardReturnsOnCall(i int, result1 error)
func (*FakeSecureShellClient) Wait ¶
func (fake *FakeSecureShellClient) Wait() error
func (*FakeSecureShellClient) WaitCallCount ¶
func (fake *FakeSecureShellClient) WaitCallCount() int
func (*FakeSecureShellClient) WaitCalls ¶
func (fake *FakeSecureShellClient) WaitCalls(stub func() error)
func (*FakeSecureShellClient) WaitReturns ¶
func (fake *FakeSecureShellClient) WaitReturns(result1 error)
func (*FakeSecureShellClient) WaitReturnsOnCall ¶
func (fake *FakeSecureShellClient) WaitReturnsOnCall(i int, result1 error)
Click to show internal directories.
Click to hide internal directories.