datasources

package
v0.80.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 1, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

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

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 QueryGolangCILint(ctx context.Context, db *sql.DB) (map[string]queries.GolangCILintResult, error)

func QueryMostPopularDockerImages added in v0.6.0

func QueryMostPopularDockerImages(ctx context.Context, db *sql.DB) (map[string]queries.MostPopularDockerImagesResult, error)

func QueryMostPopularPackageManagers added in v0.5.0

func QueryMostPopularPackageManagers(ctx context.Context, db *sql.DB) (map[string][]queries.MostPopularPackageManagersRow, error)

Types

type BulkImportRow added in v0.79.0

type BulkImportRow struct {
	Platform     string
	Organisation string
	Repo         string

	Filename string
}

type Datasource added in v0.15.1

type Datasource interface{}

Directories

Path Synopsis
db
db
db
db
db

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL