rhcc

package
v1.4.8 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2022 License: Apache-2.0 Imports: 28 Imported by: 3

Documentation

Index

Constants

View Source
const DefaultName2ReposMappingURL = "https://access.redhat.com/security/data/metrics/container-name-repos-map.json"

DefaultRepo2CPEMappingURL is default URL with a mapping file provided by Red Hat.

Variables

View Source
var Matcher driver.Matcher = &matcher{}

Functions

func NewEcosystem

func NewEcosystem(_ context.Context) *indexer.Ecosystem

func UpdaterSet

func UpdaterSet(_ context.Context) (driver.UpdaterSet, error)

Types

type ScannerConfig

type ScannerConfig struct {
	Name2ReposMappingURL  string        `json:"name2repos_mapping_url" yaml:"name2repos_mapping_url"`
	Name2ReposMappingFile string        `json:"name2repos_mapping_file" yaml:"name2repos_mapping_file"`
	Timeout               time.Duration `json:"timeout" yaml:"timeout"`
}

type UpdaterConfig

type UpdaterConfig struct {
	URL string `json:"url" yaml:"url"`
}

Jump to

Keyboard shortcuts

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