mock_job_store

package
v0.12.12-rc10 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2021 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package mock_job_store is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockJobStore

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

MockJobStore is a mock of JobStore interface

func NewMockJobStore

func NewMockJobStore(ctrl *gomock.Controller) *MockJobStore

NewMockJobStore creates a new mock instance

func (*MockJobStore) Delete

func (m *MockJobStore) Delete(arg0 string) error

Delete mocks base method

func (*MockJobStore) EXPECT

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

func (*MockJobStore) Init

func (m *MockJobStore) Init() error

Init mocks base method

func (*MockJobStore) Insert

func (m *MockJobStore) Insert(arg0 *models.Job) error

Insert mocks base method

func (*MockJobStore) SelectAll

func (m *MockJobStore) SelectAll() ([]*models.Job, error)

SelectAll mocks base method

func (*MockJobStore) SelectByID

func (m *MockJobStore) SelectByID(arg0 string) (*models.Job, error)

SelectByID mocks base method

func (*MockJobStore) SetJobMeta

func (m *MockJobStore) SetJobMeta(arg0 string, arg1 map[string]string) error

SetJobMeta mocks base method

func (*MockJobStore) UpdateJobStatus

func (m *MockJobStore) UpdateJobStatus(arg0 string, arg1 types.JobStatus) error

UpdateJobStatus mocks base method

type MockJobStoreMockRecorder added in v0.10.4

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

MockJobStoreMockRecorder is the mock recorder for MockJobStore

func (*MockJobStoreMockRecorder) Delete added in v0.10.4

func (mr *MockJobStoreMockRecorder) Delete(arg0 interface{}) *gomock.Call

Delete indicates an expected call of Delete

func (*MockJobStoreMockRecorder) Init added in v0.10.4

func (mr *MockJobStoreMockRecorder) Init() *gomock.Call

Init indicates an expected call of Init

func (*MockJobStoreMockRecorder) Insert added in v0.10.4

func (mr *MockJobStoreMockRecorder) Insert(arg0 interface{}) *gomock.Call

Insert indicates an expected call of Insert

func (*MockJobStoreMockRecorder) SelectAll added in v0.10.4

func (mr *MockJobStoreMockRecorder) SelectAll() *gomock.Call

SelectAll indicates an expected call of SelectAll

func (*MockJobStoreMockRecorder) SelectByID added in v0.10.4

func (mr *MockJobStoreMockRecorder) SelectByID(arg0 interface{}) *gomock.Call

SelectByID indicates an expected call of SelectByID

func (*MockJobStoreMockRecorder) SetJobMeta added in v0.10.4

func (mr *MockJobStoreMockRecorder) SetJobMeta(arg0, arg1 interface{}) *gomock.Call

SetJobMeta indicates an expected call of SetJobMeta

func (*MockJobStoreMockRecorder) UpdateJobStatus added in v0.10.4

func (mr *MockJobStoreMockRecorder) UpdateJobStatus(arg0, arg1 interface{}) *gomock.Call

UpdateJobStatus indicates an expected call of UpdateJobStatus

Jump to

Keyboard shortcuts

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