Versions in this module Expand all Collapse all v0 v0.1.0 Apr 19, 2020 Changes in this version + type Job interface + Bytes func() []byte + Execute func() + ID func() ids.ID + MissingDependencies func() ids.Set + type Jobs struct + func New(db database.Database) (*Jobs, error) + func (j *Jobs) Commit() error + func (j *Jobs) Execute(job Job) error + func (j *Jobs) HasNext() (bool, error) + func (j *Jobs) Pop() (Job, error) + func (j *Jobs) Push(job Job) error + func (j *Jobs) SetParser(parser Parser) + type Parser interface + Parse func([]byte) (Job, error) + type TestJob struct + BytesF func() []byte + CantBytes bool + CantExecute bool + CantID bool + CantMissingDependencies bool + ExecuteF func() + IDF func() ids.ID + MissingDependenciesF func() ids.Set + T *testing.T + func (j *TestJob) Bytes() []byte + func (j *TestJob) Default(cant bool) + func (j *TestJob) Execute() + func (j *TestJob) ID() ids.ID + func (j *TestJob) MissingDependencies() ids.Set + type TestParser struct + CantParse bool + ParseF func([]byte) (Job, error) + T *testing.T + func (p *TestParser) Default(cant bool) + func (p *TestParser) Parse(b []byte) (Job, error)