Documentation ¶
Index ¶
- type MockJobStore
- func (_m *MockJobStore) Delete(_param0 string) error
- func (_m *MockJobStore) EXPECT() *_MockJobStoreRecorder
- func (_m *MockJobStore) Init() error
- func (_m *MockJobStore) Insert(_param0 *models.Job) error
- func (_m *MockJobStore) SelectAll() ([]*models.Job, error)
- func (_m *MockJobStore) SelectByID(_param0 string) (*models.Job, error)
- func (_m *MockJobStore) SetJobMeta(_param0 string, _param1 map[string]string) error
- func (_m *MockJobStore) UpdateJobStatus(_param0 string, _param1 types.JobStatus) error
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
}
Mock of JobStore interface
func NewMockJobStore ¶
func NewMockJobStore(ctrl *gomock.Controller) *MockJobStore
func (*MockJobStore) Delete ¶
func (_m *MockJobStore) Delete(_param0 string) error
func (*MockJobStore) EXPECT ¶
func (_m *MockJobStore) EXPECT() *_MockJobStoreRecorder
func (*MockJobStore) Init ¶
func (_m *MockJobStore) Init() error
func (*MockJobStore) SelectByID ¶
func (_m *MockJobStore) SelectByID(_param0 string) (*models.Job, error)
func (*MockJobStore) SetJobMeta ¶
func (_m *MockJobStore) SetJobMeta(_param0 string, _param1 map[string]string) error
func (*MockJobStore) UpdateJobStatus ¶
func (_m *MockJobStore) UpdateJobStatus(_param0 string, _param1 types.JobStatus) error
Click to show internal directories.
Click to hide internal directories.