mocks

package
v0.0.0-...-2f78cd6 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2024 License: AGPL-3.0 Imports: 3 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 MockService

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

MockService is a mock of Service interface.

func NewMockService

func NewMockService(ctrl *gomock.Controller) *MockService

NewMockService creates a new mock instance.

func (*MockService) Conf

func (m *MockService) Conf() common.Conf

Conf mocks base method.

func (*MockService) EXPECT

func (m *MockService) EXPECT() *MockServiceMockRecorder

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

func (*MockService) Exists

func (m *MockService) Exists() (bool, error)

Exists mocks base method.

func (*MockService) Install

func (m *MockService) Install() error

Install mocks base method.

func (*MockService) InstallCommands

func (m *MockService) InstallCommands() ([]string, error)

InstallCommands mocks base method.

func (*MockService) Installed

func (m *MockService) Installed() (bool, error)

Installed mocks base method.

func (*MockService) Name

func (m *MockService) Name() string

Name mocks base method.

func (*MockService) Remove

func (m *MockService) Remove() error

Remove mocks base method.

func (*MockService) Running

func (m *MockService) Running() (bool, error)

Running mocks base method.

func (*MockService) Start

func (m *MockService) Start() error

Start mocks base method.

func (*MockService) StartCommands

func (m *MockService) StartCommands() ([]string, error)

StartCommands mocks base method.

func (*MockService) Stop

func (m *MockService) Stop() error

Stop mocks base method.

func (*MockService) WriteService

func (m *MockService) WriteService() error

WriteService mocks base method.

type MockServiceMockRecorder

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

MockServiceMockRecorder is the mock recorder for MockService.

func (*MockServiceMockRecorder) Conf

func (mr *MockServiceMockRecorder) Conf() *gomock.Call

Conf indicates an expected call of Conf.

func (*MockServiceMockRecorder) Exists

func (mr *MockServiceMockRecorder) Exists() *gomock.Call

Exists indicates an expected call of Exists.

func (*MockServiceMockRecorder) Install

func (mr *MockServiceMockRecorder) Install() *gomock.Call

Install indicates an expected call of Install.

func (*MockServiceMockRecorder) InstallCommands

func (mr *MockServiceMockRecorder) InstallCommands() *gomock.Call

InstallCommands indicates an expected call of InstallCommands.

func (*MockServiceMockRecorder) Installed

func (mr *MockServiceMockRecorder) Installed() *gomock.Call

Installed indicates an expected call of Installed.

func (*MockServiceMockRecorder) Name

func (mr *MockServiceMockRecorder) Name() *gomock.Call

Name indicates an expected call of Name.

func (*MockServiceMockRecorder) Remove

func (mr *MockServiceMockRecorder) Remove() *gomock.Call

Remove indicates an expected call of Remove.

func (*MockServiceMockRecorder) Running

func (mr *MockServiceMockRecorder) Running() *gomock.Call

Running indicates an expected call of Running.

func (*MockServiceMockRecorder) Start

func (mr *MockServiceMockRecorder) Start() *gomock.Call

Start indicates an expected call of Start.

func (*MockServiceMockRecorder) StartCommands

func (mr *MockServiceMockRecorder) StartCommands() *gomock.Call

StartCommands indicates an expected call of StartCommands.

func (*MockServiceMockRecorder) Stop

func (mr *MockServiceMockRecorder) Stop() *gomock.Call

Stop indicates an expected call of Stop.

func (*MockServiceMockRecorder) WriteService

func (mr *MockServiceMockRecorder) WriteService() *gomock.Call

WriteService indicates an expected call of WriteService.

Jump to

Keyboard shortcuts

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