Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client interface { NewSession(stdout io.Writer, stderr io.Writer) (session.Session, error) Disconnect() error }
func NewConnectClient ¶
type MockClient ¶
MockClient is an autogenerated mock type for the Client type
func NewMockClient ¶ added in v0.3.0
func NewMockClient(t interface { mock.TestingT Cleanup(func()) }) *MockClient
NewMockClient creates a new instance of MockClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*MockClient) Disconnect ¶
func (_m *MockClient) Disconnect() error
Disconnect provides a mock function with given fields:
func (*MockClient) NewSession ¶
NewSession provides a mock function with given fields: stdout, stderr
Click to show internal directories.
Click to hide internal directories.