v5

package
v0.46.1 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2025 License: Apache-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewWriter

func NewWriter(directory string, dataAge time.Time, states provider.States) (data.Writer, error)

func Processors

func Processors(cfg Config) []data.Processor

Types

type Config

type Config struct {
	NVD nvd.Config
}

func NewConfig

func NewConfig(options ...Option) Config

type Option

type Option func(cfg *Config)

func WithCPEParts

func WithCPEParts(included []string) Option

func WithInferNVDFixVersions

func WithInferNVDFixVersions(infer bool) Option

type Provider

type Provider struct {
	Name              string    `json:"name"`
	LastSuccessfulRun time.Time `json:"lastSuccessfulRun"`
}

type ProviderMetadata

type ProviderMetadata struct {
	Providers []Provider `json:"providers"`
}

func NewProviderMetadata

func NewProviderMetadata() ProviderMetadata

func (ProviderMetadata) Write

func (p ProviderMetadata) Write(path string) error

Directories

Path Synopsis
nvd
os

Jump to

Keyboard shortcuts

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