mock_backend

package
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package mock_backend is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockBackend

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

MockBackend is a mock of Backend interface

func NewMockBackend

func NewMockBackend(ctrl *gomock.Controller) *MockBackend

NewMockBackend creates a new mock instance

func (*MockBackend) CheckInstall

func (m *MockBackend) CheckInstall(arg0 context.Context, arg1 string) bool

CheckInstall mocks base method

func (*MockBackend) Command

func (m *MockBackend) Command(arg0 context.Context, arg1 *backend.CommandParams) error

Command mocks base method

func (*MockBackend) EXPECT

func (m *MockBackend) EXPECT() *MockBackendMockRecorder

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

func (*MockBackend) FileCopy

func (m *MockBackend) FileCopy(arg0 context.Context, arg1 *backend.FileCopyParams) error

FileCopy mocks base method

func (*MockBackend) FileMove

func (m *MockBackend) FileMove(arg0 context.Context, arg1 *backend.FileMoveParams) error

FileMove mocks base method

func (*MockBackend) HTTPRequest

func (m *MockBackend) HTTPRequest(arg0 context.Context, arg1 *backend.HTTPRequestParams) error

HTTPRequest mocks base method

func (*MockBackend) Install

func (m *MockBackend) Install(arg0 context.Context, arg1 *backend.InstallParams) error

Install mocks base method

func (m *MockBackend) Symlink(arg0 context.Context, arg1 *backend.SymlinkParams) error

Symlink mocks base method

func (*MockBackend) Uninstall

func (m *MockBackend) Uninstall(arg0 context.Context, arg1 string) error

Uninstall mocks base method

type MockBackendMockRecorder

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

MockBackendMockRecorder is the mock recorder for MockBackend

func (*MockBackendMockRecorder) CheckInstall

func (mr *MockBackendMockRecorder) CheckInstall(arg0, arg1 interface{}) *gomock.Call

CheckInstall indicates an expected call of CheckInstall

func (*MockBackendMockRecorder) Command

func (mr *MockBackendMockRecorder) Command(arg0, arg1 interface{}) *gomock.Call

Command indicates an expected call of Command

func (*MockBackendMockRecorder) FileCopy

func (mr *MockBackendMockRecorder) FileCopy(arg0, arg1 interface{}) *gomock.Call

FileCopy indicates an expected call of FileCopy

func (*MockBackendMockRecorder) FileMove

func (mr *MockBackendMockRecorder) FileMove(arg0, arg1 interface{}) *gomock.Call

FileMove indicates an expected call of FileMove

func (*MockBackendMockRecorder) HTTPRequest

func (mr *MockBackendMockRecorder) HTTPRequest(arg0, arg1 interface{}) *gomock.Call

HTTPRequest indicates an expected call of HTTPRequest

func (*MockBackendMockRecorder) Install

func (mr *MockBackendMockRecorder) Install(arg0, arg1 interface{}) *gomock.Call

Install indicates an expected call of Install

func (mr *MockBackendMockRecorder) Symlink(arg0, arg1 interface{}) *gomock.Call

Symlink indicates an expected call of Symlink

func (*MockBackendMockRecorder) Uninstall

func (mr *MockBackendMockRecorder) Uninstall(arg0, arg1 interface{}) *gomock.Call

Uninstall indicates an expected call of Uninstall

Jump to

Keyboard shortcuts

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