mocks

package
v0.0.1-alpha Latest Latest
Warning

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

Go to latest
Published: Feb 28, 2022 License: Apache-2.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) Abort

func (m *MockService) Abort(arg0 runner.RunID) (runner.RunStatus, error)

Abort 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) Query

Query mocks base method

func (*MockService) QueryNow

QueryNow mocks base method

func (*MockService) Release

func (m *MockService) Release()

Release mocks base method

func (*MockService) Run

func (m *MockService) Run(arg0 *runner.Command) (runner.RunStatus, error)

Run mocks base method

func (*MockService) Status

Status mocks base method

func (*MockService) StatusAll

func (m *MockService) StatusAll() ([]runner.RunStatus, runner.ServiceStatus, error)

StatusAll mocks base method

type MockServiceMockRecorder

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

MockServiceMockRecorder is the mock recorder for MockService

func (*MockServiceMockRecorder) Abort

func (mr *MockServiceMockRecorder) Abort(arg0 interface{}) *gomock.Call

Abort indicates an expected call of Abort

func (*MockServiceMockRecorder) Query

func (mr *MockServiceMockRecorder) Query(arg0, arg1 interface{}) *gomock.Call

Query indicates an expected call of Query

func (*MockServiceMockRecorder) QueryNow

func (mr *MockServiceMockRecorder) QueryNow(arg0 interface{}) *gomock.Call

QueryNow indicates an expected call of QueryNow

func (*MockServiceMockRecorder) Release

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

Release indicates an expected call of Release

func (*MockServiceMockRecorder) Run

func (mr *MockServiceMockRecorder) Run(arg0 interface{}) *gomock.Call

Run indicates an expected call of Run

func (*MockServiceMockRecorder) Status

func (mr *MockServiceMockRecorder) Status(arg0 interface{}) *gomock.Call

Status indicates an expected call of Status

func (*MockServiceMockRecorder) StatusAll

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

StatusAll indicates an expected call of StatusAll

Jump to

Keyboard shortcuts

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