Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MappingFile ¶
MappingFile is a data struct for mapping file between repositories and CPEs
type Repo ¶
type Repo struct {
CPEs []string `json:"cpes"`
}
Repo structure holds information about CPEs for given repo
type UpdatingMapper ¶ added in v0.4.2
type UpdatingMapper struct { URL string Client *http.Client // contains filtered or unexported fields }
UpdatingMapper provides local repo -> cpe mapping via a continually updated local mapping file
func NewUpdatingMapper ¶ added in v0.4.2
func NewUpdatingMapper(client *http.Client, url string, init *MappingFile) *UpdatingMapper
NewUpdatingMapper returns an UpdatingMapper.
Click to show internal directories.
Click to hide internal directories.