Documentation
¶
Overview ¶
Package sbom contains the logic for fetching and listing SBOMs needed for ace-dt sbom subcommands.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FetchImageSBOM ¶
func FetchImageSBOM(ctx context.Context, ref string, repository oras.GraphTarget, platforms []string) (map[string]*io.ReadCloser, error)
FetchImageSBOM accepts a reference, repository, and optional platforms and returns a map of platform-->SBOM ReadCloser for printing to stdout or saving to file.
func GetListofSBOMS ¶
func GetListofSBOMS(ctx context.Context, artifact, image string, repository *remote.Repository, concurrency int, platforms []string) ([][]string, error)
GetListofSBOMS accepts a mirror gather artifact and/or image string reference and creates a slice of string slices of references and SBOMS that are compatible with the table printer functions.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.