wip: port most of MirvaRequest from ghes-mirva-server

This commit is contained in:
Michael Hohn
2024-05-14 18:57:30 -07:00
committed by =Michael Hohn
parent f1dd151891
commit 198453ee90
6 changed files with 184 additions and 25 deletions

View File

@@ -1,5 +1,13 @@
package mci
import (
"github.com/advanced-security/mrvacommander/types/tsto"
co "github.com/hohn/ghes-mirva-server/common"
)
type Storage interface {
NextID() int
SaveQueryPack(tgz []byte, sessionID int) (storagePath string, error error)
FindAvailableDBs(analysisReposRequested []co.OwnerRepo) (not_found_repos []co.OwnerRepo,
analysisRepos *map[co.OwnerRepo]tsto.DBLocation)
}