Documentation ¶
Overview ¶
Package mock_job_store is a generated GoMock package.
Index ¶
- type MockJobStore
- func (m *MockJobStore) Delete(arg0 string) error
- func (m *MockJobStore) EXPECT() *MockJobStoreMockRecorder
- func (m *MockJobStore) Init() error
- func (m *MockJobStore) Insert(arg0 *models.Job) error
- func (m *MockJobStore) SelectAll() ([]*models.Job, error)
- func (m *MockJobStore) SelectByID(arg0 string) (*models.Job, error)
- func (m *MockJobStore) SetJobMeta(arg0 string, arg1 map[string]string) error
- func (m *MockJobStore) UpdateJobStatus(arg0 string, arg1 types.JobStatus) error
- type MockJobStoreMockRecorder
- func (mr *MockJobStoreMockRecorder) Delete(arg0 interface{}) *gomock.Call
- func (mr *MockJobStoreMockRecorder) Init() *gomock.Call
- func (mr *MockJobStoreMockRecorder) Insert(arg0 interface{}) *gomock.Call
- func (mr *MockJobStoreMockRecorder) SelectAll() *gomock.Call
- func (mr *MockJobStoreMockRecorder) SelectByID(arg0 interface{}) *gomock.Call
- func (mr *MockJobStoreMockRecorder) SetJobMeta(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockJobStoreMockRecorder) UpdateJobStatus(arg0, arg1 interface{}) *gomock.Call
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 ¶
func (m *MockJobStore) EXPECT() *MockJobStoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
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