mock_common_utils

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_common_utils is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockServiceAdapterInterface

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

MockServiceAdapterInterface is a mock of ServiceAdapterInterface interface.

func NewMockServiceAdapterInterface

func NewMockServiceAdapterInterface(ctrl *gomock.Controller) *MockServiceAdapterInterface

NewMockServiceAdapterInterface creates a new mock instance.

func (*MockServiceAdapterInterface) CopyData

func (m *MockServiceAdapterInterface) CopyData(ctx context.Context, sourceUrl, destPath string) error

CopyData mocks base method.

func (*MockServiceAdapterInterface) CreateDirectories

func (m *MockServiceAdapterInterface) CreateDirectories(ctx context.Context, dirs []string) error

CreateDirectories mocks base method.

func (*MockServiceAdapterInterface) DeleteDirectory

func (m *MockServiceAdapterInterface) DeleteDirectory(ctx context.Context, dir string) error

DeleteDirectory mocks base method.

func (*MockServiceAdapterInterface) EXPECT

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

func (*MockServiceAdapterInterface) FetchFile

FetchFile mocks base method.

func (*MockServiceAdapterInterface) ForceReconnectWithBackoff

func (m *MockServiceAdapterInterface) ForceReconnectWithBackoff(ctx context.Context) error

ForceReconnectWithBackoff mocks base method.

func (*MockServiceAdapterInterface) PathExists

func (m *MockServiceAdapterInterface) PathExists(ctx context.Context, path string) (bool, error)

PathExists mocks base method.

func (*MockServiceAdapterInterface) PipeData

func (m *MockServiceAdapterInterface) PipeData(ctx context.Context, sourceUrl, pipeCommand string) error

PipeData mocks base method.

func (*MockServiceAdapterInterface) Restart

Restart mocks base method.

func (*MockServiceAdapterInterface) RunCmd

func (m *MockServiceAdapterInterface) RunCmd(ctx context.Context, cmd string, args []string) (string, error)

RunCmd mocks base method.

type MockServiceAdapterInterfaceMockRecorder

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

MockServiceAdapterInterfaceMockRecorder is the mock recorder for MockServiceAdapterInterface.

func (*MockServiceAdapterInterfaceMockRecorder) CopyData

func (mr *MockServiceAdapterInterfaceMockRecorder) CopyData(ctx, sourceUrl, destPath interface{}) *gomock.Call

CopyData indicates an expected call of CopyData.

func (*MockServiceAdapterInterfaceMockRecorder) CreateDirectories

func (mr *MockServiceAdapterInterfaceMockRecorder) CreateDirectories(ctx, dirs interface{}) *gomock.Call

CreateDirectories indicates an expected call of CreateDirectories.

func (*MockServiceAdapterInterfaceMockRecorder) DeleteDirectory

func (mr *MockServiceAdapterInterfaceMockRecorder) DeleteDirectory(ctx, dir interface{}) *gomock.Call

DeleteDirectory indicates an expected call of DeleteDirectory.

func (*MockServiceAdapterInterfaceMockRecorder) FetchFile

func (mr *MockServiceAdapterInterfaceMockRecorder) FetchFile(ctx, path interface{}) *gomock.Call

FetchFile indicates an expected call of FetchFile.

func (*MockServiceAdapterInterfaceMockRecorder) ForceReconnectWithBackoff

func (mr *MockServiceAdapterInterfaceMockRecorder) ForceReconnectWithBackoff(ctx interface{}) *gomock.Call

ForceReconnectWithBackoff indicates an expected call of ForceReconnectWithBackoff.

func (*MockServiceAdapterInterfaceMockRecorder) PathExists

func (mr *MockServiceAdapterInterfaceMockRecorder) PathExists(ctx, path interface{}) *gomock.Call

PathExists indicates an expected call of PathExists.

func (*MockServiceAdapterInterfaceMockRecorder) PipeData

func (mr *MockServiceAdapterInterfaceMockRecorder) PipeData(ctx, sourceUrl, pipeCommand interface{}) *gomock.Call

PipeData indicates an expected call of PipeData.

func (*MockServiceAdapterInterfaceMockRecorder) Restart

func (mr *MockServiceAdapterInterfaceMockRecorder) Restart(ctx interface{}) *gomock.Call

Restart indicates an expected call of Restart.

func (*MockServiceAdapterInterfaceMockRecorder) RunCmd

func (mr *MockServiceAdapterInterfaceMockRecorder) RunCmd(ctx, cmd, args interface{}) *gomock.Call

RunCmd indicates an expected call of RunCmd.

Jump to

Keyboard shortcuts

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