Documentation ¶
Index ¶
- type Advisory
- type ComponentMetadatum
- type CountDependenciesForParams
- type CountPackageAdvisoriesForRepoParams
- type CountPolicyViolationsForRepoParams
- type CustomAdvisory
- type DBTX
- type DependencyHealth
- type Libyear
- type ListReposLikeParams
- type ListReposLikeRow
- type Owner
- type Queries
- func (q *Queries) CountDependenciesFor(ctx context.Context, arg CountDependenciesForParams) ([]int64, error)
- func (q *Queries) CountPackageAdvisoriesForRepo(ctx context.Context, arg CountPackageAdvisoriesForRepoParams) ([]int64, error)
- func (q *Queries) CountPolicyViolationsForRepo(ctx context.Context, arg CountPolicyViolationsForRepoParams) ([]int64, error)
- func (q *Queries) ListReposLike(ctx context.Context, arg ListReposLikeParams) ([]ListReposLikeRow, error)
- func (q *Queries) RetrieveDependenciesFor(ctx context.Context, arg RetrieveDependenciesForParams) ([]RetrieveDependenciesForRow, error)
- func (q *Queries) RetrieveDependencyHealthFor(ctx context.Context, arg RetrieveDependencyHealthForParams) (DependencyHealth, error)
- func (q *Queries) RetrieveLibyearsForRepo(ctx context.Context, arg RetrieveLibyearsForRepoParams) (sql.NullFloat64, error)
- func (q *Queries) RetrieveOwner(ctx context.Context, arg RetrieveOwnerParams) (RetrieveOwnerRow, error)
- func (q *Queries) RetrievePackageAdvisoriesForRepo(ctx context.Context, arg RetrievePackageAdvisoriesForRepoParams) ([]RetrievePackageAdvisoriesForRepoRow, error)
- func (q *Queries) RetrievePolicyViolationsForRepo(ctx context.Context, arg RetrievePolicyViolationsForRepoParams) ([]RetrievePolicyViolationsForRepoRow, error)
- func (q *Queries) RetrieveRepositoryMetadata(ctx context.Context, arg RetrieveRepositoryMetadataParams) (RetrieveRepositoryMetadataRow, error)
- func (q *Queries) WithTx(tx *sql.Tx) *Queries
- type Renovate
- type RenovateUpdate
- type RepositoryMetadatum
- type RetrieveDependenciesForParams
- type RetrieveDependenciesForRow
- type RetrieveDependencyHealthForParams
- type RetrieveLibyearsForRepoParams
- type RetrieveOwnerParams
- type RetrieveOwnerRow
- type RetrievePackageAdvisoriesForRepoParams
- type RetrievePackageAdvisoriesForRepoRow
- type RetrievePolicyViolationsForRepoParams
- type RetrievePolicyViolationsForRepoRow
- type RetrieveRepositoryMetadataParams
- type RetrieveRepositoryMetadataRow
- type Sbom
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Advisory ¶
type Advisory struct { Platform string Organisation string Repo string PackageName string Version string CurrentVersion sql.NullString PackageManager string PackageFilePath string DepTypes string Level string AdvisoryType string Description string SupportedUntil sql.NullString EolFrom sql.NullString }
type ComponentMetadatum ¶ added in v0.100.0
type ComponentMetadatum struct { ComponentName string ParentComponentName sql.NullString Platform sql.NullString Organisation sql.NullString Repo sql.NullString Path sql.NullString Vendor sql.NullString Product sql.NullString ProductVersion sql.NullString Owner sql.NullString OwnerNotes sql.NullString ComponentType sql.NullString ComponentUsage sql.NullString Description sql.NullString AdditionalMetadata sql.NullString }
type CustomAdvisory ¶ added in v0.71.0
type CustomAdvisory struct { PackagePattern string PackageManager string Version sql.NullString VersionMatchStrategy sql.NullString Level string AdvisoryType string Description string }
type DependencyHealth ¶ added in v0.76.0
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 ListReposLikeParams ¶
type ListReposLikeRow ¶
type Queries ¶
type Queries struct {
// contains filtered or unexported fields
}
func (*Queries) CountDependenciesFor ¶
func (*Queries) CountPackageAdvisoriesForRepo ¶
func (*Queries) CountPolicyViolationsForRepo ¶
func (*Queries) ListReposLike ¶
func (q *Queries) ListReposLike(ctx context.Context, arg ListReposLikeParams) ([]ListReposLikeRow, error)
func (*Queries) RetrieveDependenciesFor ¶
func (q *Queries) RetrieveDependenciesFor(ctx context.Context, arg RetrieveDependenciesForParams) ([]RetrieveDependenciesForRow, error)
func (*Queries) RetrieveDependencyHealthFor ¶ added in v0.76.0
func (q *Queries) RetrieveDependencyHealthFor(ctx context.Context, arg RetrieveDependencyHealthForParams) (DependencyHealth, error)
func (*Queries) RetrieveLibyearsForRepo ¶ added in v0.82.0
func (q *Queries) RetrieveLibyearsForRepo(ctx context.Context, arg RetrieveLibyearsForRepoParams) (sql.NullFloat64, error)
func (*Queries) RetrieveOwner ¶
func (q *Queries) RetrieveOwner(ctx context.Context, arg RetrieveOwnerParams) (RetrieveOwnerRow, error)
func (*Queries) RetrievePackageAdvisoriesForRepo ¶
func (q *Queries) RetrievePackageAdvisoriesForRepo(ctx context.Context, arg RetrievePackageAdvisoriesForRepoParams) ([]RetrievePackageAdvisoriesForRepoRow, error)
func (*Queries) RetrievePolicyViolationsForRepo ¶
func (q *Queries) RetrievePolicyViolationsForRepo(ctx context.Context, arg RetrievePolicyViolationsForRepoParams) ([]RetrievePolicyViolationsForRepoRow, error)
func (*Queries) RetrieveRepositoryMetadata ¶ added in v0.67.0
func (q *Queries) RetrieveRepositoryMetadata(ctx context.Context, arg RetrieveRepositoryMetadataParams) (RetrieveRepositoryMetadataRow, error)
type RenovateUpdate ¶
type RepositoryMetadatum ¶ added in v0.67.0
type RepositoryMetadatum struct { Platform string Organisation string Repo string IsMonorepo bool IsFork bool RepositoryType string RepositoryUsage sql.NullString Visibility string Description sql.NullString AdditionalMetadata sql.NullString }
type RetrieveDependencyHealthForParams ¶ added in v0.76.0
type RetrieveLibyearsForRepoParams ¶ added in v0.82.0
type RetrieveOwnerParams ¶
type RetrieveOwnerRow ¶ added in v0.66.0
type RetrieveOwnerRow struct { Owner string Notes sql.NullString }
type RetrievePackageAdvisoriesForRepoRow ¶
type RetrievePackageAdvisoriesForRepoRow struct { PackageName string Version string CurrentVersion sql.NullString PackageManager string DepTypes string PackageFilePath string AdvisoryType string Description string SupportedUntil sql.NullString EolFrom sql.NullString }
type RetrieveRepositoryMetadataParams ¶ added in v0.67.0
type RetrieveRepositoryMetadataRow ¶ added in v0.67.0
type RetrieveRepositoryMetadataRow struct { IsMonorepo bool IsFork bool RepositoryType string RepositoryUsage sql.NullString Visibility string Description sql.NullString AdditionalMetadata sql.NullString }
type Sbom ¶
type Sbom struct { ComponentName string PackageName string Version sql.NullString CurrentVersion sql.NullString PackageType string PackageUrl string }
Click to show internal directories.
Click to hide internal directories.