sbomrepository

package
v0.0.0-...-25be970 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2024 License: MIT Imports: 17 Imported by: 0

Documentation

Overview

Package sbomrepository provides SBOMs

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SBOM

type SBOM interface {
	// GetSBOMURL returns the URL to a SBOM
	GetSBOMURL(ctx context.Context, ref string) (string, error)
	// GetSBOM returns a SBOM
	GetSBOM(location string) ([]byte, error)
}

SBOM is an interface to access/generate SBOMs.

func NewSyftFSSBOM

func NewSyftFSSBOM() SBOM

NewSyftFSSBOM is a filesystem based implementation of SBOM.

func NewSyftImageSBOM

func NewSyftImageSBOM(imgSrc image.Source, getImgProvider func(namespace, ref string, insecure bool) image.Provider, namespace string, insecure bool) SBOM

Jump to

Keyboard shortcuts

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