Documentation ¶
Index ¶
- func CopyFile(srcPath string, targetPath string) error
- func DownloadDatabase(task models.DownloadTask) error
- func DownloadResults(task models.DownloadTask) error
- func DownloadWorker(wg *sync.WaitGroup, taskChannel <-chan models.DownloadTask, ...)
- func FindPackRoot(queryFile string) string
- func FixPackFile(queryPackDir string, packRelativePath string) error
- func GenerateQueryPack(queryFile string, language string, additionalPacks string) (string, string, error)
- func GetConfig() (models.Config, error)
- func GetConfigFilePath() string
- func GetRunDetails(controller string, runId int) (map[string]interface{}, error)
- func GetRunRepositoryDetails(controller string, runId int, nwo string) (map[string]interface{}, error)
- func GetSessions() (map[string]models.Session, error)
- func GetSessionsFilePath() string
- func GetSessionsStartingWith(prefix string) ([]string, error)
- func LoadRun(id int) (string, []models.Run, string, error)
- func LoadSession(name string) (string, []models.Run, string, error)
- func PackPacklist(dir string, includeQueries bool) []string
- func ResolveQueries(additionalPacks string, querySuite string) []string
- func ResolveQueryId(queryFile string) (string, error)
- func ResolveRepositories(listFile string, list string) ([]string, error)
- func RunCodeQLCommand(additionalPacks string, combined bool, args ...string) ([]byte, error)
- func SaveSession(name string, controller string, runs []models.Run, language string, ...) error
- func SetConfigFilePath(path string)
- func SetSessionsFilePath(path string)
- func SubmitRun(controller string, language string, repoChunk []string, bundle string) (int, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DownloadDatabase ¶
func DownloadDatabase(task models.DownloadTask) error
func DownloadResults ¶
func DownloadResults(task models.DownloadTask) error
func DownloadWorker ¶
func DownloadWorker(wg *sync.WaitGroup, taskChannel <-chan models.DownloadTask, resultChannel chan models.DownloadTask)
func FindPackRoot ¶
func FixPackFile ¶
func GenerateQueryPack ¶
func GetConfigFilePath ¶
func GetConfigFilePath() string
func GetRunDetails ¶
func GetRunRepositoryDetails ¶
func GetSessionsFilePath ¶
func GetSessionsFilePath() string
func GetSessionsStartingWith ¶ added in v1.0.7
func PackPacklist ¶
func ResolveQueries ¶
func ResolveQueryId ¶ added in v1.0.8
func RunCodeQLCommand ¶
func SaveSession ¶
func SetConfigFilePath ¶
func SetConfigFilePath(path string)
func SetSessionsFilePath ¶
func SetSessionsFilePath(path string)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.