Documentation ¶
Index ¶
- Variables
- type DBTX
- type Dependabot
- type DependabotEndoflife
- type EndoflifedateProduct
- type InsertDependabotEndOfLifeParams
- type InsertProductCycleParams
- type InsertRenovateEndOfLifeParams
- type InsertSBOMEndOfLifeParams
- type Queries
- func (q *Queries) AnonymiseDependabotOrgAndRepo(ctx context.Context) error
- func (q *Queries) AnonymiseRenovatePackageNameByOrg(ctx context.Context, packageName string) error
- func (q *Queries) AnonymiseRenovateVersionByOrg(ctx context.Context, version string) error
- func (q *Queries) AnonymiseSBOMCurrentVersionByOrg(ctx context.Context, currentVersion sql.NullString) error
- func (q *Queries) AnonymiseSBOMOrgAndRepo(ctx context.Context) error
- func (q *Queries) AnonymiseSBOMPackageNameByOrg(ctx context.Context, packageName string) error
- func (q *Queries) AnonymiseSBOMVersionByOrg(ctx context.Context, version sql.NullString) error
- func (q *Queries) InsertDependabotEndOfLife(ctx context.Context, arg InsertDependabotEndOfLifeParams) error
- func (q *Queries) InsertProductCycle(ctx context.Context, arg InsertProductCycleParams) error
- func (q *Queries) InsertRenovateEndOfLife(ctx context.Context, arg InsertRenovateEndOfLifeParams) error
- func (q *Queries) InsertSBOMEndOfLife(ctx context.Context, arg InsertSBOMEndOfLifeParams) error
- func (q *Queries) RetrieveDistinctRenovateDeps(ctx context.Context) ([]RetrieveDistinctRenovateDepsRow, error)
- func (q *Queries) RetrieveDistinctSBOMDeps(ctx context.Context) ([]RetrieveDistinctSBOMDepsRow, error)
- func (q *Queries) WithTx(tx *sql.Tx) *Queries
- type Renovate
- type RenovateEndoflife
- type RenovateUpdate
- type RetrieveDistinctRenovateDepsRow
- type RetrieveDistinctSBOMDepsRow
- type Sbom
- type SbomsEndoflife
- type SensitivePackage
Constants ¶
This section is empty.
Variables ¶
View Source
var CreateTablesQuery string
Functions ¶
This section is empty.
Types ¶
type Dependabot ¶ added in v0.27.0
type DependabotEndoflife ¶
type EndoflifedateProduct ¶
type EndoflifedateProduct struct { ProductName string Cycle string SupportedUntil sql.NullString EolFrom sql.NullString InsertedAt string }
type InsertProductCycleParams ¶
type InsertProductCycleParams struct { ProductName string Cycle string SupportedUntil sql.NullString EolFrom sql.NullString InsertedAt string }
type InsertSBOMEndOfLifeParams ¶ added in v0.43.0
type InsertSBOMEndOfLifeParams struct { PackageName string Version sql.NullString CurrentVersion sql.NullString PackageType string ProductName string Cycle string }
type Queries ¶
type Queries struct {
// contains filtered or unexported fields
}
func (*Queries) AnonymiseDependabotOrgAndRepo ¶ added in v0.13.0
func (*Queries) AnonymiseRenovatePackageNameByOrg ¶ added in v0.43.0
func (*Queries) AnonymiseRenovateVersionByOrg ¶ added in v0.13.0
func (*Queries) AnonymiseSBOMCurrentVersionByOrg ¶ added in v0.43.0
func (*Queries) AnonymiseSBOMOrgAndRepo ¶ added in v0.43.0
func (*Queries) AnonymiseSBOMPackageNameByOrg ¶ added in v0.43.0
func (*Queries) AnonymiseSBOMVersionByOrg ¶ added in v0.43.0
func (*Queries) InsertDependabotEndOfLife ¶
func (q *Queries) InsertDependabotEndOfLife(ctx context.Context, arg InsertDependabotEndOfLifeParams) error
---------- Dependabot
func (*Queries) InsertProductCycle ¶
func (q *Queries) InsertProductCycle(ctx context.Context, arg InsertProductCycleParams) error
func (*Queries) InsertRenovateEndOfLife ¶
func (q *Queries) InsertRenovateEndOfLife(ctx context.Context, arg InsertRenovateEndOfLifeParams) error
func (*Queries) InsertSBOMEndOfLife ¶ added in v0.43.0
func (q *Queries) InsertSBOMEndOfLife(ctx context.Context, arg InsertSBOMEndOfLifeParams) error
func (*Queries) RetrieveDistinctRenovateDeps ¶ added in v0.27.0
func (q *Queries) RetrieveDistinctRenovateDeps(ctx context.Context) ([]RetrieveDistinctRenovateDepsRow, error)
---------- Renovate
func (*Queries) RetrieveDistinctSBOMDeps ¶ added in v0.43.0
func (q *Queries) RetrieveDistinctSBOMDeps(ctx context.Context) ([]RetrieveDistinctSBOMDepsRow, error)
---------- SBOMs
type RenovateEndoflife ¶
type RenovateUpdate ¶ added in v0.27.0
type RetrieveDistinctRenovateDepsRow ¶ added in v0.27.0
type RetrieveDistinctRenovateDepsRow struct { PackageName string Version string CurrentVersion sql.NullString PackageManager string Datasource string }
func (RetrieveDistinctRenovateDepsRow) DependencyDetails ¶ added in v0.27.0
func (d RetrieveDistinctRenovateDepsRow) DependencyDetails() string
type RetrieveDistinctSBOMDepsRow ¶ added in v0.43.0
type RetrieveDistinctSBOMDepsRow struct { PackageName string Version sql.NullString CurrentVersion sql.NullString PackageType string }
type Sbom ¶ added in v0.43.0
type Sbom struct { Platform string Organisation string Repo string PackageName string Version sql.NullString CurrentVersion sql.NullString PackageType string }
type SbomsEndoflife ¶ added in v0.43.0
type SbomsEndoflife struct { PackageName string Version sql.NullString CurrentVersion sql.NullString PackageType string ProductName string Cycle string }
type SensitivePackage ¶ added in v0.47.0
type SensitivePackage struct { PackagePattern string PackageManager sql.NullString MatchStrategy string }
Click to show internal directories.
Click to hide internal directories.