Documentation ¶
Index ¶
- Variables
- type DBTX
- type DependencyHealth
- type InsertRowParams
- type Queries
- func (q *Queries) InsertRow(ctx context.Context, arg InsertRowParams) error
- func (q *Queries) RetrieveDistinctPackagesWithoutSensitivePackages(ctx context.Context) ([]RetrieveDistinctPackagesWithoutSensitivePackagesRow, error)
- func (q *Queries) RetrieveUnmaintainedPackages(ctx context.Context) ([]RetrieveUnmaintainedPackagesRow, error)
- func (q *Queries) WithTx(tx *sql.Tx) *Queries
- type Renovate
- type RenovateUpdate
- type RetrieveDistinctPackagesWithoutSensitivePackagesRow
- type RetrieveUnmaintainedPackagesRow
- type Sbom
- type SensitivePackage
Constants ¶
This section is empty.
Variables ¶
View Source
var CreateTablesQuery string
Functions ¶
This section is empty.
Types ¶
type DependencyHealth ¶
type DependencyHealth struct { PackageName string PackageType string ScorecardScore sql.NullFloat64 ScorecardCodereview sql.NullInt64 ScorecardMaintained sql.NullInt64 ScorecardCiibestpractices sql.NullInt64 ScorecardLicense sql.NullInt64 ScorecardDangerousworkflow sql.NullInt64 ScorecardPackaging sql.NullInt64 ScorecardTokenpermissions sql.NullInt64 ScorecardSignedreleases sql.NullInt64 ScorecardBranchprotection sql.NullInt64 ScorecardBinaryartifacts sql.NullInt64 ScorecardFuzzing sql.NullInt64 ScorecardSecuritypolicy sql.NullInt64 ScorecardSast sql.NullInt64 ScorecardVulnerabilities sql.NullInt64 ScorecardPinneddependencies sql.NullInt64 EcosystemsRepoArchived sql.NullBool EcosystemsRepoPushedAt sql.NullString EcosystemsRepoUpdatedAt sql.NullString EcosystemsRepoLastSyncedAt sql.NullString EcosystemsLastSyncedAt sql.NullString EcosystemsLatestReleasePublishedAt sql.NullString EcosystemsStatus sql.NullString EcosystemsFunding sql.NullString }
type InsertRowParams ¶
type InsertRowParams struct { PackageName string PackageType string ScorecardScore sql.NullFloat64 ScorecardCodereview sql.NullInt64 ScorecardMaintained sql.NullInt64 ScorecardCiibestpractices sql.NullInt64 ScorecardLicense sql.NullInt64 ScorecardDangerousworkflow sql.NullInt64 ScorecardPackaging sql.NullInt64 ScorecardTokenpermissions sql.NullInt64 ScorecardSignedreleases sql.NullInt64 ScorecardBranchprotection sql.NullInt64 ScorecardBinaryartifacts sql.NullInt64 ScorecardFuzzing sql.NullInt64 ScorecardSecuritypolicy sql.NullInt64 ScorecardSast sql.NullInt64 ScorecardVulnerabilities sql.NullInt64 ScorecardPinneddependencies sql.NullInt64 EcosystemsRepoArchived sql.NullBool EcosystemsRepoPushedAt sql.NullString EcosystemsRepoUpdatedAt sql.NullString EcosystemsRepoLastSyncedAt sql.NullString EcosystemsLastSyncedAt sql.NullString EcosystemsLatestReleasePublishedAt sql.NullString EcosystemsStatus sql.NullString EcosystemsFunding sql.NullString }
type Queries ¶
type Queries struct {
// contains filtered or unexported fields
}
func (*Queries) InsertRow ¶
func (q *Queries) InsertRow(ctx context.Context, arg InsertRowParams) error
func (*Queries) RetrieveDistinctPackagesWithoutSensitivePackages ¶
func (q *Queries) RetrieveDistinctPackagesWithoutSensitivePackages(ctx context.Context) ([]RetrieveDistinctPackagesWithoutSensitivePackagesRow, error)
func (*Queries) RetrieveUnmaintainedPackages ¶
func (q *Queries) RetrieveUnmaintainedPackages(ctx context.Context) ([]RetrieveUnmaintainedPackagesRow, error)
type RenovateUpdate ¶
type RetrieveUnmaintainedPackagesRow ¶
type RetrieveUnmaintainedPackagesRow struct { Platform string Organisation string Repo string PackageName string Version sql.NullString CurrentVersion sql.NullString PackageManager string DepTypes string PackageFilePath string ScorecardMaintained sql.NullInt64 EcosystemsRepoArchived sql.NullBool EcosystemsStatus sql.NullString EcosystemsLastSyncedAt sql.NullString EcosystemsRepoLastSyncedAt sql.NullString }
type Sbom ¶
type Sbom struct { Platform string Organisation string Repo string PackageName string Version sql.NullString CurrentVersion sql.NullString PackageType string PackageUrl string }
type SensitivePackage ¶
type SensitivePackage struct { PackagePattern string PackageManager sql.NullString MatchStrategy string }
Click to show internal directories.
Click to hide internal directories.