Documentation ¶
Index ¶
- type ComponentMetadatum
- type DBTX
- type Owner
- type Queries
- func (q *Queries) ReportFunding(ctx context.Context) ([]ReportFundingRow, error)
- func (q *Queries) ReportHacktoberfestForRepoKey(ctx context.Context, repoKey domain.RepoKey, ...) ([]ReportHacktoberfestRow, error)
- func (q *Queries) RetrieveDistinctPackagesForRepoKeyWithoutSensitivePackages(ctx context.Context, ...) ([]RetrieveDistinctPackagesForRepoKeyWithoutSensitivePackagesRow, error)
- func (q *Queries) RetrieveReposDependentOn(ctx context.Context, arg RetrieveReposDependentOnParams) ([]RetrieveReposDependentOnRow, error)
- func (q *Queries) RetrieveReposDependentOnForCurrentVersion(ctx context.Context, arg RetrieveReposDependentOnForCurrentVersionParams) ([]RetrieveReposDependentOnForCurrentVersionRow, error)
- func (q *Queries) RetrieveReposDependentOnForVersion(ctx context.Context, arg RetrieveReposDependentOnForVersionParams) ([]RetrieveReposDependentOnForVersionRow, error)
- func (q *Queries) WithTx(tx *sql.Tx) *Queries
- type Renovate
- type RenovateUpdate
- type ReportFundingRow
- type ReportHacktoberfestForRepoKeyParams
- type ReportHacktoberfestRow
- type RetrieveDistinctPackagesForRepoKeyWithoutSensitivePackagesParams
- type RetrieveDistinctPackagesForRepoKeyWithoutSensitivePackagesRow
- type RetrieveReposDependentOnForCurrentVersionParams
- type RetrieveReposDependentOnForCurrentVersionRow
- type RetrieveReposDependentOnForVersionParams
- type RetrieveReposDependentOnForVersionRow
- type RetrieveReposDependentOnParams
- type RetrieveReposDependentOnRow
- type Sbom
- type SensitivePackage
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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 Queries ¶
type Queries struct {
// contains filtered or unexported fields
}
func (*Queries) ReportFunding ¶ added in v0.87.0
func (q *Queries) ReportFunding(ctx context.Context) ([]ReportFundingRow, error)
func (*Queries) ReportHacktoberfestForRepoKey ¶ added in v0.106.0
func (q *Queries) ReportHacktoberfestForRepoKey(ctx context.Context, repoKey domain.RepoKey, packageParams []ReportHacktoberfestForRepoKeyParams) ([]ReportHacktoberfestRow, error)
func (*Queries) RetrieveDistinctPackagesForRepoKeyWithoutSensitivePackages ¶ added in v0.106.0
func (q *Queries) RetrieveDistinctPackagesForRepoKeyWithoutSensitivePackages(ctx context.Context, arg RetrieveDistinctPackagesForRepoKeyWithoutSensitivePackagesParams) ([]RetrieveDistinctPackagesForRepoKeyWithoutSensitivePackagesRow, error)
func (*Queries) RetrieveReposDependentOn ¶
func (q *Queries) RetrieveReposDependentOn(ctx context.Context, arg RetrieveReposDependentOnParams) ([]RetrieveReposDependentOnRow, error)
func (*Queries) RetrieveReposDependentOnForCurrentVersion ¶
func (q *Queries) RetrieveReposDependentOnForCurrentVersion(ctx context.Context, arg RetrieveReposDependentOnForCurrentVersionParams) ([]RetrieveReposDependentOnForCurrentVersionRow, error)
func (*Queries) RetrieveReposDependentOnForVersion ¶
func (q *Queries) RetrieveReposDependentOnForVersion(ctx context.Context, arg RetrieveReposDependentOnForVersionParams) ([]RetrieveReposDependentOnForVersionRow, error)
type RenovateUpdate ¶
type ReportFundingRow ¶ added in v0.87.0
type ReportHacktoberfestForRepoKeyParams ¶ added in v0.106.0
type ReportHacktoberfestRow ¶ added in v0.106.0
type RetrieveDistinctPackagesForRepoKeyWithoutSensitivePackagesParams ¶ added in v0.106.0
type RetrieveDistinctPackagesForRepoKeyWithoutSensitivePackagesRow ¶ added in v0.106.0
type RetrieveReposDependentOnForCurrentVersionParams ¶
type RetrieveReposDependentOnForCurrentVersionParams struct { PackageName string PackageManager string CurrentVersion sql.NullString }
type RetrieveReposDependentOnForCurrentVersionRow ¶
type RetrieveReposDependentOnForCurrentVersionRow struct { Platform sql.NullString Organisation sql.NullString Repo sql.NullString Version sql.NullString DepTypes string PackageFilePath string Owner sql.NullString OwnerNotes sql.NullString }
type RetrieveReposDependentOnForVersionParams ¶
type RetrieveReposDependentOnForVersionParams struct { PackageName string PackageManager string Version sql.NullString }
type RetrieveReposDependentOnForVersionRow ¶
type RetrieveReposDependentOnForVersionRow struct { Platform sql.NullString Organisation sql.NullString Repo sql.NullString CurrentVersion sql.NullString DepTypes string PackageFilePath string Owner sql.NullString OwnerNotes sql.NullString }
type RetrieveReposDependentOnRow ¶
type RetrieveReposDependentOnRow struct { Platform sql.NullString Organisation sql.NullString Repo sql.NullString Version sql.NullString CurrentVersion sql.NullString DepTypes string PackageFilePath string Owner sql.NullString OwnerNotes sql.NullString }
type Sbom ¶
type Sbom struct { ComponentName string PackageName string Version sql.NullString CurrentVersion sql.NullString PackageType string PackageUrl string }
type SensitivePackage ¶ added in v0.106.0
type SensitivePackage struct { PackagePattern string PackageManager sql.NullString MatchStrategy string }
Click to show internal directories.
Click to hide internal directories.