Documentation ¶
Index ¶
- func NewImporter() importer
- type Parser
- type SBOMFormat
- type SBOMs
- func (*SBOMs) CreateTables(ctx context.Context, sqlDB *sql.DB) error
- func (*SBOMs) Name() string
- func (*SBOMs) QueryGolangCILint(ctx context.Context, sqlDB *sql.DB) (result queries.GolangCILintResult, err error)
- func (*SBOMs) QueryMostPopularDockerImages(ctx context.Context, sqlDB *sql.DB) (result queries.MostPopularDockerImagesResult, err error)
- func (*SBOMs) QueryMostPopularPackageManagers(ctx context.Context, sqlDB *sql.DB) ([]queries.MostPopularPackageManagersRow, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewImporter ¶
func NewImporter() importer
Types ¶
type SBOMFormat ¶
type SBOMFormat interface { Matches(body []byte) bool Name() string Parse(body []byte, platform string, org string, repo string) ([]domain.SBOMDependency, []domain.License) }
func Formats ¶
func Formats() []SBOMFormat
func Identify ¶
func Identify(body []byte) (SBOMFormat, bool)
type SBOMs ¶
type SBOMs struct{}
func (*SBOMs) QueryGolangCILint ¶ added in v0.65.0
func (*SBOMs) QueryMostPopularDockerImages ¶ added in v0.65.0
func (*SBOMs) QueryMostPopularPackageManagers ¶ added in v0.65.0
Click to show internal directories.
Click to hide internal directories.