cyclonedx

package
v1.5.8 Latest Latest
Warning

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

Go to latest
Published: Apr 15, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AnalyzeBin

func AnalyzeBin(ctx context.Context, binPath string, w io.Writer) error

AnalyzeBin generates a BOM for the given binary and writes it to the given writer.

func AnalyzeBinToFile

func AnalyzeBinToFile(ctx context.Context, binPath, outputPath string) error

AnalyzeBinToFile generates a BOM for the given binary and, creates new file and writes bom data to it.

func AnalyzeBinToStdout

func AnalyzeBinToStdout(ctx context.Context, binPath string) error

AnalyzeBinToStdout generates a BOM for the given binary and writes it to stdout.

func FindTargets

func FindTargets(basePath string) ([]string, error)

func WriteBOM

func WriteBOM(bom *cdx.BOM, w io.Writer) error

WriteBOM writes the given bom in json format into writer.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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