mocks

package
v0.23.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 4, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

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

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) Close

func (m *MocksshClient) Close() error

Close mocks base method.

func (*MocksshClient) EXPECT

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL