mock_ftp

package
v0.0.0-...-dd1a141 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mock_ftp is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockExecutor

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

MockExecutor is a mock of Executor interface.

func NewMockExecutor

func NewMockExecutor(ctrl *gomock.Controller) *MockExecutor

NewMockExecutor creates a new mock instance.

func (*MockExecutor) Connection

func (m *MockExecutor) Connection(con *ssh.Client) (*sftp.Client, error)

Connection mocks base method.

func (*MockExecutor) EXPECT

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

func (*MockExecutor) GetRootPath

func (m *MockExecutor) GetRootPath(conn *sftp.Client) error

GetRootPath mocks base method.

type MockExecutorMockRecorder

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

MockExecutorMockRecorder is the mock recorder for MockExecutor.

func (*MockExecutorMockRecorder) Connection

func (mr *MockExecutorMockRecorder) Connection(con interface{}) *gomock.Call

Connection indicates an expected call of Connection.

func (*MockExecutorMockRecorder) GetRootPath

func (mr *MockExecutorMockRecorder) GetRootPath(conn interface{}) *gomock.Call

GetRootPath indicates an expected call of GetRootPath.

Jump to

Keyboard shortcuts

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