Documentation
¶
Overview ¶
Package mocks is a generated GoMock package.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockSSHRunner ¶
type MockSSHRunner struct {
// contains filtered or unexported fields
}
MockSSHRunner is a mock of SSHRunner interface.
func NewMockSSHRunner ¶
func NewMockSSHRunner(ctrl *gomock.Controller) *MockSSHRunner
NewMockSSHRunner creates a new mock instance.
func (*MockSSHRunner) EXPECT ¶
func (m *MockSSHRunner) EXPECT() *MockSSHRunnerMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MockSSHRunner) RunCommand ¶
func (m *MockSSHRunner) RunCommand(ctx context.Context, node, cmd string, opts ...certificates.SSHOption) (string, error)
RunCommand mocks base method.
type MockSSHRunnerMockRecorder ¶
type MockSSHRunnerMockRecorder struct {
// contains filtered or unexported fields
}
MockSSHRunnerMockRecorder is the mock recorder for MockSSHRunner.
func (*MockSSHRunnerMockRecorder) RunCommand ¶
func (mr *MockSSHRunnerMockRecorder) RunCommand(ctx, node, cmd interface{}, opts ...interface{}) *gomock.Call
RunCommand indicates an expected call of RunCommand.
type MocksshClient ¶
type MocksshClient struct {
// contains filtered or unexported fields
}
MocksshClient is a mock of sshClient interface.
func NewMocksshClient ¶
func NewMocksshClient(ctrl *gomock.Controller) *MocksshClient
NewMocksshClient creates a new mock instance.
func (*MocksshClient) EXPECT ¶
func (m *MocksshClient) EXPECT() *MocksshClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use.
func (*MocksshClient) NewSession ¶
func (m *MocksshClient) NewSession() (*ssh.Session, error)
NewSession mocks base method.
type MocksshClientMockRecorder ¶
type MocksshClientMockRecorder struct {
// contains filtered or unexported fields
}
MocksshClientMockRecorder is the mock recorder for MocksshClient.
func (*MocksshClientMockRecorder) Close ¶
func (mr *MocksshClientMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close.
func (*MocksshClientMockRecorder) NewSession ¶
func (mr *MocksshClientMockRecorder) NewSession() *gomock.Call
NewSession indicates an expected call of NewSession.