Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CanMergeWithVersionRange ¶
p2 is version range
func CompareVersionRange ¶
Types ¶
type Package ¶
type Package struct { Name string Version string IsVersionRange bool // Version is a version range FromFile []string FromAnalyzer []string // sha1:abc // md5:abc // sha256:abc // ... Verification string License []string // Related // id -> package UpStreamPackages map[string]*Package DownStreamPackages map[string]*Package DependsOn PackageRelationShip Potential bool // 订正 CPE 和 强制关联 CVE AmendedCPE []string AssociatedCVE []string }
func (*Package) HasVersionRange ¶
func (*Package) Identifier ¶
func (*Package) LinkDepend ¶
type PackageRelationShip ¶
type Service ¶
type Service struct { // contab / systemctl / nginx ApplicationName string // config / network / fs / command ServiceType string ServiceName string ServiceContent string }
Service for describing service config, for systemctl, crontab, rc[\d]{,2}.d/ nginx/httpd/apache2 config and docker containers ports / fs mount and soon.
Click to show internal directories.
Click to hide internal directories.