Documentation ¶
Index ¶
- Variables
- type DBTX
- type InsertPackageParams
- type InsertPackageUpdateParams
- type Owner
- type Queries
- func (q *Queries) AnonymiseOrgAndRepo(ctx context.Context) error
- func (q *Queries) AnonymisePackageFilePathByOrg(ctx context.Context, packageFilePath string) error
- func (q *Queries) AnonymisePackageNameByOrg(ctx context.Context, packageName string) error
- func (q *Queries) AnonymiseUpdatesOrgAndRepo(ctx context.Context) error
- func (q *Queries) AnonymiseUpdatesPackageFilePathByOrg(ctx context.Context, packageFilePath string) error
- func (q *Queries) AnonymiseUpdatesPackageNameByOrg(ctx context.Context, packageName string) error
- func (q *Queries) AnonymiseUpdatesVersionByOrg(ctx context.Context, version string) error
- func (q *Queries) AnonymiseVersionByOrg(ctx context.Context, version string) error
- func (q *Queries) InsertPackage(ctx context.Context, arg InsertPackageParams) error
- func (q *Queries) InsertPackageUpdate(ctx context.Context, arg InsertPackageUpdateParams) error
- func (q *Queries) QueryDistinctProjects(ctx context.Context, arg QueryDistinctProjectsParams) ([]QueryDistinctProjectsRow, error)
- func (q *Queries) QueryGolangCILintDirect(ctx context.Context) ([]QueryGolangCILintDirectRow, error)
- func (q *Queries) QueryGolangCILintIndirect(ctx context.Context) ([]QueryGolangCILintIndirectRow, error)
- func (q *Queries) QueryMostPopularDockerImages(ctx context.Context) ([]QueryMostPopularDockerImagesRow, error)
- func (q *Queries) QueryMostPopularPackageManagers(ctx context.Context) ([]QueryMostPopularPackageManagersRow, error)
- func (q *Queries) RetrieveAll(ctx context.Context) ([]Renovate, error)
- func (q *Queries) RetrieveDistinctPackages(ctx context.Context) ([]RetrieveDistinctPackagesRow, error)
- func (q *Queries) RetrieveDistinctPackagesWithoutSensitivePackages(ctx context.Context) ([]RetrieveDistinctPackagesWithoutSensitivePackagesRow, error)
- func (q *Queries) RetrieveReposAndPackagesForMissingData(ctx context.Context) ([]Renovate, error)
- func (q *Queries) WithTx(tx *sql.Tx) *Queries
- type QueryDistinctProjectsParams
- type QueryDistinctProjectsRow
- type QueryGolangCILintDirectRow
- type QueryGolangCILintIndirectRow
- type QueryMostPopularDockerImagesRow
- type QueryMostPopularPackageManagersRow
- type Renovate
- type RenovateUpdate
- type RetrieveDistinctPackagesRow
- type RetrieveDistinctPackagesWithoutSensitivePackagesRow
- type SensitivePackage
Constants ¶
This section is empty.
Variables ¶
View Source
var CreateTablesQuery string
Functions ¶
This section is empty.
Types ¶
type InsertPackageParams ¶
type InsertPackageUpdateParams ¶ added in v0.14.0
type Queries ¶
type Queries struct {
// contains filtered or unexported fields
}
func (*Queries) AnonymiseOrgAndRepo ¶ added in v0.13.0
func (*Queries) AnonymisePackageFilePathByOrg ¶ added in v0.13.0
func (*Queries) AnonymisePackageNameByOrg ¶ added in v0.13.0
func (*Queries) AnonymiseUpdatesOrgAndRepo ¶ added in v0.14.0
func (*Queries) AnonymiseUpdatesPackageFilePathByOrg ¶ added in v0.14.0
func (*Queries) AnonymiseUpdatesPackageNameByOrg ¶ added in v0.14.0
func (*Queries) AnonymiseUpdatesVersionByOrg ¶ added in v0.14.0
func (*Queries) AnonymiseVersionByOrg ¶ added in v0.13.0
func (*Queries) InsertPackage ¶
func (q *Queries) InsertPackage(ctx context.Context, arg InsertPackageParams) error
func (*Queries) InsertPackageUpdate ¶ added in v0.14.0
func (q *Queries) InsertPackageUpdate(ctx context.Context, arg InsertPackageUpdateParams) error
func (*Queries) QueryDistinctProjects ¶ added in v0.18.0
func (q *Queries) QueryDistinctProjects(ctx context.Context, arg QueryDistinctProjectsParams) ([]QueryDistinctProjectsRow, error)
func (*Queries) QueryGolangCILintDirect ¶ added in v0.10.0
func (q *Queries) QueryGolangCILintDirect(ctx context.Context) ([]QueryGolangCILintDirectRow, error)
preferably with a `json_each` but due to https://github.com/sqlc-dev/sqlc/issues/1830 we need to handle it like this
func (*Queries) QueryGolangCILintIndirect ¶ added in v0.10.0
func (q *Queries) QueryGolangCILintIndirect(ctx context.Context) ([]QueryGolangCILintIndirectRow, error)
preferably with a `json_each` but due to https://github.com/sqlc-dev/sqlc/issues/1830 we need to handle it like this
func (*Queries) QueryMostPopularDockerImages ¶ added in v0.6.0
func (q *Queries) QueryMostPopularDockerImages(ctx context.Context) ([]QueryMostPopularDockerImagesRow, error)
func (*Queries) QueryMostPopularPackageManagers ¶ added in v0.5.0
func (q *Queries) QueryMostPopularPackageManagers(ctx context.Context) ([]QueryMostPopularPackageManagersRow, error)
func (*Queries) RetrieveAll ¶ added in v0.4.0
func (*Queries) RetrieveDistinctPackages ¶ added in v0.19.0
func (q *Queries) RetrieveDistinctPackages(ctx context.Context) ([]RetrieveDistinctPackagesRow, error)
func (*Queries) RetrieveDistinctPackagesWithoutSensitivePackages ¶ added in v0.47.0
func (q *Queries) RetrieveDistinctPackagesWithoutSensitivePackages(ctx context.Context) ([]RetrieveDistinctPackagesWithoutSensitivePackagesRow, error)
func (*Queries) RetrieveReposAndPackagesForMissingData ¶ added in v0.46.0
type QueryDistinctProjectsParams ¶ added in v0.18.0
type QueryDistinctProjectsRow ¶ added in v0.18.0
type QueryGolangCILintDirectRow ¶ added in v0.10.0
type QueryGolangCILintDirectRow struct { Platform string Organisation string Repo string Owner sql.NullString }
type QueryGolangCILintIndirectRow ¶ added in v0.10.0
type QueryGolangCILintIndirectRow struct { Platform string Organisation string Repo string Owner sql.NullString }
type QueryMostPopularDockerImagesRow ¶ added in v0.6.0
type QueryMostPopularPackageManagersRow ¶ added in v0.5.0
type RenovateUpdate ¶ added in v0.14.0
type RetrieveDistinctPackagesRow ¶ added in v0.19.0
type RetrieveDistinctPackagesWithoutSensitivePackagesRow ¶ added in v0.47.0
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.