Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IndexBomRefInDependencySlice ¶
func IndexBomRefInDependencySlice(slice []cdx.Dependency, bomRef cdx.BOMReference) int
Return index in slice if bomRef is found in slice or -1 if not present
func MergeDependencyStructSlice ¶
func MergeDependencyStructSlice(a []cdx.Dependency, b []cdx.Dependency) []cdx.Dependency
func NewCertificatePlugin ¶
Parse all certificates from the given filesystem
Types ¶
type CertificatesPlugin ¶
type CertificatesPlugin struct{}
Plugin to parse certificates from the filesystem
func (CertificatesPlugin) GetExplanation ¶
func (CertificatesPlugin) GetExplanation() string
func (CertificatesPlugin) GetName ¶
func (CertificatesPlugin) GetName() string
Get the name of the plugin
func (CertificatesPlugin) GetType ¶
func (CertificatesPlugin) GetType() plugins.PluginType
Get the type of the plugin
func (*CertificatesPlugin) UpdateBOM ¶
func (certificatesPlugin *CertificatesPlugin) UpdateBOM(fs filesystem.Filesystem, bom *cdx.BOM) error
Add the found certificates to the slice of components
Click to show internal directories.
Click to hide internal directories.