Documentation ¶
Index ¶
- type DBTX
- type MetaGithubRepository
- type NullTargetClass
- type Package
- type Queries
- func (q *Queries) GetPackages(ctx context.Context, dollar_1 []string) ([]Package, error)
- func (q *Queries) GetVulnerabilities(ctx context.Context, dollar_1 []string) ([]Vulnerability, error)
- func (q *Queries) SaveMetaGithubRepository(ctx context.Context, arg SaveMetaGithubRepositoryParams) error
- func (q *Queries) SavePackage(ctx context.Context, arg SavePackageParams) error
- func (q *Queries) SaveResult(ctx context.Context, arg SaveResultParams) error
- func (q *Queries) SaveResultPackage(ctx context.Context, arg SaveResultPackageParams) error
- func (q *Queries) SaveResultVulnerability(ctx context.Context, arg SaveResultVulnerabilityParams) error
- func (q *Queries) SaveScan(ctx context.Context, arg SaveScanParams) error
- func (q *Queries) SaveVulnerability(ctx context.Context, arg SaveVulnerabilityParams) error
- func (q *Queries) UpdateVulnerability(ctx context.Context, arg UpdateVulnerabilityParams) error
- func (q *Queries) WithTx(tx *sql.Tx) *Queries
- type Result
- type ResultPackage
- type ResultVulnerability
- type SaveMetaGithubRepositoryParams
- type SavePackageParams
- type SaveResultPackageParams
- type SaveResultParams
- type SaveResultVulnerabilityParams
- type SaveScanParams
- type SaveVulnerabilityParams
- type Scan
- type TargetClass
- type UpdateVulnerabilityParams
- type Vulnerability
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MetaGithubRepository ¶ added in v0.2.0
type NullTargetClass ¶ added in v0.2.0
type NullTargetClass struct { TargetClass TargetClass Valid bool // Valid is true if TargetClass is not NULL }
func (*NullTargetClass) Scan ¶ added in v0.2.0
func (ns *NullTargetClass) Scan(value interface{}) error
Scan implements the Scanner interface.
type Queries ¶ added in v0.2.0
type Queries struct {
// contains filtered or unexported fields
}
func (*Queries) GetPackages ¶ added in v0.2.0
func (*Queries) GetVulnerabilities ¶ added in v0.2.0
func (*Queries) SaveMetaGithubRepository ¶ added in v0.2.0
func (q *Queries) SaveMetaGithubRepository(ctx context.Context, arg SaveMetaGithubRepositoryParams) error
func (*Queries) SavePackage ¶ added in v0.2.0
func (q *Queries) SavePackage(ctx context.Context, arg SavePackageParams) error
func (*Queries) SaveResult ¶ added in v0.2.0
func (q *Queries) SaveResult(ctx context.Context, arg SaveResultParams) error
func (*Queries) SaveResultPackage ¶ added in v0.2.0
func (q *Queries) SaveResultPackage(ctx context.Context, arg SaveResultPackageParams) error
func (*Queries) SaveResultVulnerability ¶ added in v0.2.0
func (q *Queries) SaveResultVulnerability(ctx context.Context, arg SaveResultVulnerabilityParams) error
func (*Queries) SaveScan ¶ added in v0.2.0
func (q *Queries) SaveScan(ctx context.Context, arg SaveScanParams) error
func (*Queries) SaveVulnerability ¶ added in v0.2.0
func (q *Queries) SaveVulnerability(ctx context.Context, arg SaveVulnerabilityParams) error
func (*Queries) UpdateVulnerability ¶ added in v0.2.0
func (q *Queries) UpdateVulnerability(ctx context.Context, arg UpdateVulnerabilityParams) error
type ResultPackage ¶ added in v0.2.0
type ResultVulnerability ¶ added in v0.2.0
type ResultVulnerability struct { ID uuid.UUID ResultID uuid.UUID VulnID string PkgID string FixedVersion sql.NullString PrimaryUrl sql.NullString }
type SaveMetaGithubRepositoryParams ¶ added in v0.2.0
type SavePackageParams ¶ added in v0.2.0
type SaveResultPackageParams ¶ added in v0.2.0
type SaveResultParams ¶ added in v0.2.0
type SaveResultVulnerabilityParams ¶ added in v0.2.0
type SaveResultVulnerabilityParams struct { ID uuid.UUID ResultID uuid.UUID VulnID string PkgID string FixedVersion sql.NullString PrimaryUrl sql.NullString }
type SaveScanParams ¶ added in v0.2.0
type SaveVulnerabilityParams ¶ added in v0.2.0
type TargetClass ¶ added in v0.2.0
type TargetClass string
const ( TargetClassOsPkgs TargetClass = "os-pkgs" TargetClassLangPkgs TargetClass = "lang-pkgs" )
func (*TargetClass) Scan ¶ added in v0.2.0
func (e *TargetClass) Scan(src interface{}) error
type UpdateVulnerabilityParams ¶ added in v0.2.0
Click to show internal directories.
Click to hide internal directories.