wip: port most of MirvaRequest from ghes-mirva-server
This commit is contained in:
committed by
=Michael Hohn
parent
f1dd151891
commit
198453ee90
@@ -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)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user