mock_job_store

package
v0.10.3 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2017 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

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
}

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) Insert

func (_m *MockJobStore) Insert(_param0 *models.Job) error

func (*MockJobStore) SelectAll

func (_m *MockJobStore) SelectAll() ([]*models.Job, 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

Jump to

Keyboard shortcuts

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