Documentation ¶
Index ¶
Constants ¶
View Source
const (
QL_DB_BUCKETNAME = "qldb"
)
XX: static types: split by type? Restrict the keys / values and centralize the common ones here
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FilesystemCodeQLDatabaseStore ¶
type FilesystemCodeQLDatabaseStore struct {
// contains filtered or unexported fields
}
func NewLocalFilesystemCodeQLDatabaseStore ¶
func NewLocalFilesystemCodeQLDatabaseStore(basePath string) *FilesystemCodeQLDatabaseStore
func (*FilesystemCodeQLDatabaseStore) FindAvailableDBs ¶
func (store *FilesystemCodeQLDatabaseStore) FindAvailableDBs(analysisReposRequested []common.NameWithOwner) ( notFoundRepos []common.NameWithOwner, foundRepos []common.NameWithOwner)
func (*FilesystemCodeQLDatabaseStore) GetDatabase ¶
func (store *FilesystemCodeQLDatabaseStore) GetDatabase(location common.NameWithOwner) ([]byte, error)
type MinIOCodeQLDatabaseStore ¶
type MinIOCodeQLDatabaseStore struct {
// contains filtered or unexported fields
}
func NewMinIOCodeQLDatabaseStore ¶
func NewMinIOCodeQLDatabaseStore(endpoint, id, secret string) (*MinIOCodeQLDatabaseStore, error)
func (*MinIOCodeQLDatabaseStore) FindAvailableDBs ¶
func (store *MinIOCodeQLDatabaseStore) FindAvailableDBs(analysisReposRequested []common.NameWithOwner) ( notFoundRepos []common.NameWithOwner, foundRepos []common.NameWithOwner)
func (*MinIOCodeQLDatabaseStore) GetDatabase ¶
func (store *MinIOCodeQLDatabaseStore) GetDatabase(location common.NameWithOwner) ([]byte, error)
type Store ¶
type Store interface { FindAvailableDBs(analysisReposRequested []common.NameWithOwner) ( notFoundRepos []common.NameWithOwner, foundRepos []common.NameWithOwner) // GetDatabase: return the database as a byte slice for the specified repository. // The slice is a CodeQL database -- a zip archive to be processed by the CodeQL CLI. GetDatabase(location common.NameWithOwner) ([]byte, error) }
Click to show internal directories.
Click to hide internal directories.