Introduce structs/interfacess for new storage units

This commit simply splits the interfaces but introduces no new structs

     - Introduce the QueryPackStore, mrvacommander/pkg/qpstore
     - Introduce the CodeQL database store, pkg/qldbstore/interfaces.go
This commit is contained in:
Michael Hohn
2024-06-11 14:16:41 -07:00
committed by =Michael Hohn
parent fc29fc5653
commit 2d88b351ff
8 changed files with 176 additions and 31 deletions

View File

@@ -3,6 +3,7 @@ package agent
import (
"mrvacommander/pkg/common"
"mrvacommander/pkg/logger"
"mrvacommander/pkg/qpstore"
"mrvacommander/pkg/queue"
"mrvacommander/pkg/storage"
@@ -36,7 +37,7 @@ type RunnerVisibles struct {
Logger logger.Logger
Queue queue.Queue
// TODO extra package for query pack storage
QueryPackStore storage.Storage
QueryPackStore qpstore.Storage
// TODO extra package for ql db storage
QLDBStore storage.Storage
}