Documentation
¶
Index ¶
Constants ¶
View Source
const ( DepsCollector = "deps.dev" GetProjectDurationHistogram = "http_deps_dev_project_duration" GetVersionErrorsCounter = "http_deps_dev_version_errors" )
Variables ¶
This section is empty.
Functions ¶
func NewDepsCollector ¶
func NewDepsCollector(ctx context.Context, collectDataSource datasource.CollectSource, poll bool, retrieveDependencies bool, interval time.Duration) (*depsCollector, error)
Types ¶
type IsDepPackage ¶
type IsDepPackage struct {
CurrentPackageInput *model.PkgInputSpec
DepPackageInput *model.PkgInputSpec
IsDependency *model.IsDependencyInputSpec
}
type PackageComponent ¶
type PackageComponent struct {
CurrentPackage *model.PkgInputSpec
Source *model.SourceInputSpec
Scorecard *model.ScorecardInputSpec
IsDepPackages []*IsDepPackage
DepPackages []*PackageComponent
UpdateTime time.Time
}
Click to show internal directories.
Click to hide internal directories.