renovate

package
v0.84.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var PurlModifiers []PurlModifier
View Source
var PurlTypeDerivers []PurlTypeDeriver

Functions

func IsKnownType added in v0.76.0

func IsKnownType(purlType string) bool

func NewImporter

func NewImporter() importer

func NewParser

func NewParser() parser

func ToPurl added in v0.76.0

func ToPurl(dep Dependency) *packageurl.PackageURL

Types

type Dependency

type Dependency struct {
	domain.Dependency

	Datasource string
	DepTypes   []string
}

func RetrieveAll added in v0.4.0

func RetrieveAll(ctx context.Context, sqlDB *sql.DB) ([]Dependency, error)

type DependencyUpdate added in v0.14.0

type DependencyUpdate struct {
	domain.DependencyUpdate

	Datasource string
}

type PurlModifier added in v0.78.0

type PurlModifier func(in PurlModifierOpts, dep Dependency) (result PurlModifierOpts, found bool)

type PurlModifierOpts added in v0.78.0

type PurlModifierOpts struct {
	PurlType  string
	Namespace string
	Name      string
	Version   string
}

type PurlTypeDeriver added in v0.76.0

type PurlTypeDeriver func(packageManager string, datasource string) (purlType string, found bool)

type Renovate added in v0.15.1

type Renovate struct{}

func (*Renovate) AnonymiseData added in v0.15.1

func (*Renovate) AnonymiseData(ctx context.Context, sqlDB *sql.DB, orgs []string) (err error)

func (*Renovate) CreateTables added in v0.15.1

func (*Renovate) CreateTables(ctx context.Context, sqlDB *sql.DB) error

func (*Renovate) Name added in v0.15.1

func (*Renovate) Name() string

func (*Renovate) QueryDistinctProjects added in v0.18.0

func (*Renovate) QueryDistinctProjects(ctx context.Context, sqlDB *sql.DB, queryParams queries.DistinctProjectParams) ([]queries.DistinctProject, error)

func (*Renovate) QueryGolangCILint added in v0.15.1

func (*Renovate) QueryGolangCILint(ctx context.Context, sqlDB *sql.DB) (result queries.GolangCILintResult, err error)

func (*Renovate) QueryMostPopularDockerImages added in v0.15.1

func (*Renovate) QueryMostPopularDockerImages(ctx context.Context, sqlDB *sql.DB) (result queries.MostPopularDockerImagesResult, err error)

func (*Renovate) QueryMostPopularPackageManagers added in v0.15.1

func (*Renovate) QueryMostPopularPackageManagers(ctx context.Context, sqlDB *sql.DB) ([]queries.MostPopularPackageManagersRow, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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