common

package
v0.0.0-...-9917867 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 13, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	StatusInProgress = iota
	StatusQueued
	StatusError
	StatusSuccess
	StatusFailed
)

Variables

This section is empty.

Functions

This section is empty.

Types

type AnalyzeJob

type AnalyzeJob struct {
	MirvaRequestID int

	QueryPackId   int
	QueryLanguage string

	ORL OwnerRepo
}

type AnalyzeResult

type AnalyzeResult struct {
	RunAnalysisSARIF string
	RunAnalysisBQRS  string
}

type B64GzTar

type B64GzTar struct {
	TGZFilepath string
}

type DBLocation

type DBLocation struct {
	DBPATH string
}

type DBLocationLocal

type DBLocationLocal struct {
	// contains filtered or unexported fields
}

type JobInfo

type JobInfo struct {
	QueryLanguage string
	CreatedAt     string
	UpdatedAt     string

	SkippedRepositories api.SkippedRepositories
}

type JobSpec

type JobSpec struct {
	ID int
	OwnerRepo
}

type OwnerRepo

type OwnerRepo struct {
	Owner string
	Repo  string
}

type Status

type Status int

func StatusFromString

func StatusFromString(status string) Status

func (Status) ToExternalString

func (s Status) ToExternalString() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL