cdx

package
v1.13.4 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2024 License: Apache-2.0 Imports: 16 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	// XMLN cyclonedx
	XMLN = fmt.Sprintf("http://cyclonedx.org/schema/bom/%+v", cyclonedx.SpecVersion1_5)
)

Functions

func AddComponent

func AddComponent(c *cyclonedx.Component, addr *urn.URN)

func AddComponents added in v1.13.3

func AddComponents(components *[]cyclonedx.Component, addr *urn.URN)

func Finalize added in v1.13.0

func Finalize(addr *urn.URN) *cyclonedx.BOM

func New

func New(addr *urn.URN)

func SetImageMetadata added in v1.13.0

func SetImageMetadata(image v1.Image, ref reader.Reference, imageTag string) *cyclonedx.Component

func SetMetadataComponent added in v1.13.0

func SetMetadataComponent(addr *urn.URN, metadataComponent *cyclonedx.Component)

func SortComponents deprecated added in v1.12.3

func SortComponents(addr *urn.URN) *cyclonedx.BOM

Deprecated: Use Finalize() instead

Types

This section is empty.

Directories

Path Synopsis
cpe

Jump to

Keyboard shortcuts

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