mock_dutssh

package
v0.0.0-...-19f3ddf Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Overview

Package mock_dutssh is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockClientInterface

type MockClientInterface struct {
	// contains filtered or unexported fields
}

MockClientInterface is a mock of ClientInterface interface.

func NewMockClientInterface

func NewMockClientInterface(ctrl *gomock.Controller) *MockClientInterface

NewMockClientInterface creates a new mock instance.

func (*MockClientInterface) Close

func (m *MockClientInterface) Close() error

Close mocks base method.

func (*MockClientInterface) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockClientInterface) IsAlive

func (m *MockClientInterface) IsAlive() bool

IsAlive mocks base method.

func (*MockClientInterface) NewSession

func (m *MockClientInterface) NewSession() (dutssh.SessionInterface, error)

NewSession mocks base method.

func (*MockClientInterface) Wait

func (m *MockClientInterface) Wait() error

Wait mocks base method.

type MockClientInterfaceMockRecorder

type MockClientInterfaceMockRecorder struct {
	// contains filtered or unexported fields
}

MockClientInterfaceMockRecorder is the mock recorder for MockClientInterface.

func (*MockClientInterfaceMockRecorder) Close

Close indicates an expected call of Close.

func (*MockClientInterfaceMockRecorder) IsAlive

IsAlive indicates an expected call of IsAlive.

func (*MockClientInterfaceMockRecorder) NewSession

func (mr *MockClientInterfaceMockRecorder) NewSession() *gomock.Call

NewSession indicates an expected call of NewSession.

func (*MockClientInterfaceMockRecorder) Wait

Wait indicates an expected call of Wait.

type MockSessionInterface

type MockSessionInterface struct {
	// contains filtered or unexported fields
}

MockSessionInterface is a mock of SessionInterface interface.

func NewMockSessionInterface

func NewMockSessionInterface(ctrl *gomock.Controller) *MockSessionInterface

NewMockSessionInterface creates a new mock instance.

func (*MockSessionInterface) Close

func (m *MockSessionInterface) Close() error

Close mocks base method.

func (*MockSessionInterface) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockSessionInterface) Output

func (m *MockSessionInterface) Output(cmd string) ([]byte, error)

Output mocks base method.

func (*MockSessionInterface) Run

func (m *MockSessionInterface) Run(cmd string) error

Run mocks base method.

func (*MockSessionInterface) SetStderr

func (m *MockSessionInterface) SetStderr(writer io.Writer)

SetStderr mocks base method.

func (*MockSessionInterface) SetStdin

func (m *MockSessionInterface) SetStdin(reader io.Reader)

SetStdin mocks base method.

func (*MockSessionInterface) SetStdout

func (m *MockSessionInterface) SetStdout(writer io.Writer)

SetStdout mocks base method.

func (*MockSessionInterface) Start

func (m *MockSessionInterface) Start(cmd string) error

Start mocks base method.

func (*MockSessionInterface) StderrPipe

func (m *MockSessionInterface) StderrPipe() (io.Reader, error)

StderrPipe mocks base method.

func (*MockSessionInterface) StdoutPipe

func (m *MockSessionInterface) StdoutPipe() (io.Reader, error)

StdoutPipe mocks base method.

type MockSessionInterfaceMockRecorder

type MockSessionInterfaceMockRecorder struct {
	// contains filtered or unexported fields
}

MockSessionInterfaceMockRecorder is the mock recorder for MockSessionInterface.

func (*MockSessionInterfaceMockRecorder) Close

Close indicates an expected call of Close.

func (*MockSessionInterfaceMockRecorder) Output

func (mr *MockSessionInterfaceMockRecorder) Output(cmd interface{}) *gomock.Call

Output indicates an expected call of Output.

func (*MockSessionInterfaceMockRecorder) Run

func (mr *MockSessionInterfaceMockRecorder) Run(cmd interface{}) *gomock.Call

Run indicates an expected call of Run.

func (*MockSessionInterfaceMockRecorder) SetStderr

func (mr *MockSessionInterfaceMockRecorder) SetStderr(writer interface{}) *gomock.Call

SetStderr indicates an expected call of SetStderr.

func (*MockSessionInterfaceMockRecorder) SetStdin

func (mr *MockSessionInterfaceMockRecorder) SetStdin(reader interface{}) *gomock.Call

SetStdin indicates an expected call of SetStdin.

func (*MockSessionInterfaceMockRecorder) SetStdout

func (mr *MockSessionInterfaceMockRecorder) SetStdout(writer interface{}) *gomock.Call

SetStdout indicates an expected call of SetStdout.

func (*MockSessionInterfaceMockRecorder) Start

func (mr *MockSessionInterfaceMockRecorder) Start(cmd interface{}) *gomock.Call

Start indicates an expected call of Start.

func (*MockSessionInterfaceMockRecorder) StderrPipe

func (mr *MockSessionInterfaceMockRecorder) StderrPipe() *gomock.Call

StderrPipe indicates an expected call of StderrPipe.

func (*MockSessionInterfaceMockRecorder) StdoutPipe

func (mr *MockSessionInterfaceMockRecorder) StdoutPipe() *gomock.Call

StdoutPipe indicates an expected call of StdoutPipe.

Jump to

Keyboard shortcuts

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