Documentation ¶
Index ¶
- type Delegate
- type ORM
- func (_m *ORM) CheckForDeletedJobs(ctx context.Context) ([]int32, error)
- func (_m *ORM) ClaimUnclaimedJobs(ctx context.Context) ([]job.SpecDB, error)
- func (_m *ORM) Close() error
- func (_m *ORM) CreateJob(ctx context.Context, jobSpec *job.SpecDB, taskDAG pipeline.TaskDAG) error
- func (_m *ORM) DeleteJob(ctx context.Context, id int32) error
- func (_m *ORM) FindJob(id int32) (job.SpecDB, error)
- func (_m *ORM) JobsV2() ([]job.SpecDB, error)
- func (_m *ORM) ListenForDeletedJobs() (postgres.Subscription, error)
- func (_m *ORM) ListenForNewJobs() (postgres.Subscription, error)
- func (_m *ORM) PipelineRunsByJobID(jobID int32, offset int, size int) ([]pipeline.Run, int, error)
- func (_m *ORM) RecordError(ctx context.Context, jobID int32, description string)
- func (_m *ORM) UnclaimJob(ctx context.Context, id int32) error
- type Service
- type Spawner
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Delegate ¶
Delegate is an autogenerated mock type for the Delegate type
type ORM ¶
ORM is an autogenerated mock type for the ORM type
func (*ORM) CheckForDeletedJobs ¶ added in v0.9.6
CheckForDeletedJobs provides a mock function with given fields: ctx
func (*ORM) ClaimUnclaimedJobs ¶
ClaimUnclaimedJobs provides a mock function with given fields: ctx
func (*ORM) ListenForDeletedJobs ¶ added in v0.9.6
func (_m *ORM) ListenForDeletedJobs() (postgres.Subscription, error)
ListenForDeletedJobs provides a mock function with given fields:
func (*ORM) ListenForNewJobs ¶
func (_m *ORM) ListenForNewJobs() (postgres.Subscription, error)
ListenForNewJobs provides a mock function with given fields:
func (*ORM) PipelineRunsByJobID ¶ added in v0.9.9
PipelineRunsByJobID provides a mock function with given fields: jobID, offset, size
func (*ORM) RecordError ¶ added in v0.9.6
RecordError provides a mock function with given fields: ctx, jobID, description
type Service ¶
Service is an autogenerated mock type for the Service type
type Spawner ¶
Spawner is an autogenerated mock type for the Spawner type
func (*Spawner) RegisterDelegate ¶
RegisterDelegate provides a mock function with given fields: delegate