Add archive test and fix fsBackend test

This commit is contained in:
2023-05-11 16:17:17 +02:00
parent 19e3ba7290
commit cfafd5aa08
6 changed files with 182 additions and 10 deletions

View File

@@ -18,6 +18,8 @@ const Version uint64 = 1
type ArchiveBackend interface {
Init(rawConfig json.RawMessage) (uint64, error)
Exists(job *schema.Job) bool
LoadJobMeta(job *schema.Job) (*schema.JobMeta, error)
LoadJobData(job *schema.Job) (schema.JobData, error)