Documentation ¶
Overview ¶
Datasources are a source of data for a list of dependencies that a project(s) may have, and are likely an implementation of a `repository`
Index ¶
- func QueryDistinctProjects(ctx context.Context, db *sql.DB, params queries.DistinctProjectParams) (map[string][]queries.DistinctProject, error)
- func QueryGolangCILint(ctx context.Context, db *sql.DB) (map[string]queries.GolangCILintResult, error)
- func QueryGorillaToolkit(ctx context.Context, db *sql.DB) (map[string]queries.GorillaToolkitResult, error)
- func QueryMostPopularDockerImages(ctx context.Context, db *sql.DB) (map[string]queries.MostPopularDockerImagesResult, error)
- func QueryMostPopularPackageManagers(ctx context.Context, db *sql.DB) (map[string][]queries.MostPopularPackageManagersRow, error)
- type Datasource
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func QueryDistinctProjects ¶ added in v0.18.0
func QueryDistinctProjects(ctx context.Context, db *sql.DB, params queries.DistinctProjectParams) (map[string][]queries.DistinctProject, error)
func QueryGolangCILint ¶ added in v0.10.0
func QueryGorillaToolkit ¶ added in v0.7.0
func QueryMostPopularDockerImages ¶ added in v0.6.0
func QueryMostPopularPackageManagers ¶ added in v0.5.0
Types ¶
type Datasource ¶ added in v0.15.1
type Datasource interface{}
Click to show internal directories.
Click to hide internal directories.