Documentation ¶
Overview ¶
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) AccessTokenReturns(result1 string)
- func (fake *FakeConfig) AccessTokenReturnsOnCall(i int, result1 string)
- func (fake *FakeConfig) BinaryName() string
- func (fake *FakeConfig) BinaryNameCallCount() int
- func (fake *FakeConfig) BinaryNameReturns(result1 string)
- func (fake *FakeConfig) BinaryNameReturnsOnCall(i int, result1 string)
- func (fake *FakeConfig) HasTargetedOrganization() bool
- func (fake *FakeConfig) HasTargetedOrganizationCallCount() int
- 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) HasTargetedSpaceReturns(result1 bool)
- func (fake *FakeConfig) HasTargetedSpaceReturnsOnCall(i int, result1 bool)
- func (fake *FakeConfig) Invocations() map[string][][]interface{}
- func (fake *FakeConfig) RefreshToken() string
- func (fake *FakeConfig) RefreshTokenCallCount() int
- func (fake *FakeConfig) RefreshTokenReturns(result1 string)
- func (fake *FakeConfig) RefreshTokenReturnsOnCall(i int, result1 string)
- func (fake *FakeConfig) Verbose() (bool, []string)
- func (fake *FakeConfig) VerboseCallCount() int
- func (fake *FakeConfig) VerboseReturns(result1 bool, result2 []string)
- func (fake *FakeConfig) VerboseReturnsOnCall(i int, result1 bool, result2 []string)
- type FakeSecureShellClient
- func (fake *FakeSecureShellClient) Close() error
- func (fake *FakeSecureShellClient) CloseCallCount() int
- func (fake *FakeSecureShellClient) CloseReturns(result1 error)
- func (fake *FakeSecureShellClient) CloseReturnsOnCall(i int, result1 error)
- func (fake *FakeSecureShellClient) Connect(username string, passcode string, sshEndpoint string, ...) error
- func (fake *FakeSecureShellClient) ConnectArgsForCall(i int) (string, string, string, string, bool)
- func (fake *FakeSecureShellClient) ConnectCallCount() int
- func (fake *FakeSecureShellClient) ConnectReturns(result1 error)
- func (fake *FakeSecureShellClient) ConnectReturnsOnCall(i int, result1 error)
- func (fake *FakeSecureShellClient) InteractiveSession(commands []string, terminalRequest clissh.TTYRequest) error
- func (fake *FakeSecureShellClient) InteractiveSessionArgsForCall(i int) ([]string, clissh.TTYRequest)
- func (fake *FakeSecureShellClient) InteractiveSessionCallCount() int
- 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(localPortForwardSpecs []clissh.LocalPortForward) error
- func (fake *FakeSecureShellClient) LocalPortForwardArgsForCall(i int) []clissh.LocalPortForward
- func (fake *FakeSecureShellClient) LocalPortForwardCallCount() int
- 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) 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 HasTargetedOrganizationStub func() bool HasTargetedSpaceStub func() bool RefreshTokenStub 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) 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) BinaryNameReturns ¶
func (fake *FakeConfig) BinaryNameReturns(result1 string)
func (*FakeConfig) BinaryNameReturnsOnCall ¶
func (fake *FakeConfig) BinaryNameReturnsOnCall(i int, result1 string)
func (*FakeConfig) HasTargetedOrganization ¶
func (fake *FakeConfig) HasTargetedOrganization() bool
func (*FakeConfig) HasTargetedOrganizationCallCount ¶
func (fake *FakeConfig) HasTargetedOrganizationCallCount() int
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) 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) RefreshToken ¶
func (fake *FakeConfig) RefreshToken() string
func (*FakeConfig) RefreshTokenCallCount ¶
func (fake *FakeConfig) RefreshTokenCallCount() int
func (*FakeConfig) RefreshTokenReturns ¶
func (fake *FakeConfig) RefreshTokenReturns(result1 string)
func (*FakeConfig) RefreshTokenReturnsOnCall ¶
func (fake *FakeConfig) RefreshTokenReturnsOnCall(i int, result1 string)
func (*FakeConfig) Verbose ¶
func (fake *FakeConfig) Verbose() (bool, []string)
func (*FakeConfig) VerboseCallCount ¶
func (fake *FakeConfig) VerboseCallCount() int
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 FakeSecureShellClient ¶
type FakeSecureShellClient struct { ConnectStub func(username string, passcode string, sshEndpoint string, sshHostKeyFingerprint string, skipHostValidation bool) error CloseStub func() error InteractiveSessionStub func(commands []string, terminalRequest clissh.TTYRequest) error LocalPortForwardStub func(localPortForwardSpecs []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) 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) 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(commands []string, terminalRequest 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) 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(localPortForwardSpecs []clissh.LocalPortForward) error
func (*FakeSecureShellClient) LocalPortForwardArgsForCall ¶
func (fake *FakeSecureShellClient) LocalPortForwardArgsForCall(i int) []clissh.LocalPortForward
func (*FakeSecureShellClient) LocalPortForwardCallCount ¶
func (fake *FakeSecureShellClient) LocalPortForwardCallCount() int
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) 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.