Help us shape the future of Go! Take the 2026 Go Developer Survey

buildinfo

package
v1.41.0 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2026 License: Apache-2.0 Imports: 37 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetResolutionRepoInParamsIfExists

func SetResolutionRepoInParamsIfExists(params *technologies.BuildInfoBomGeneratorParams, tech techutils.Technology) (serverDetails *config.ServerDetails, err error)

func WithDescriptors

func WithDescriptors(descriptors []string) bom.SbomGeneratorOption

Types

type BuildInfoBomGenerator

type BuildInfoBomGenerator struct {
	// contains filtered or unexported fields
}

func NewBuildInfoBomGenerator

func NewBuildInfoBomGenerator() *BuildInfoBomGenerator

func (*BuildInfoBomGenerator) CleanUp

func (b *BuildInfoBomGenerator) CleanUp() error

func (*BuildInfoBomGenerator) GenerateSbom

func (b *BuildInfoBomGenerator) GenerateSbom(target results.ScanTarget) (sbom *cyclonedx.BOM, err error)

func (*BuildInfoBomGenerator) PrepareGenerator

func (b *BuildInfoBomGenerator) PrepareGenerator() error

func (*BuildInfoBomGenerator) WithOptions

func (b *BuildInfoBomGenerator) WithOptions(options ...bom.SbomGeneratorOption) bom.SbomGenerator

type DependencyTreeResult

type DependencyTreeResult struct {
	FlatTree     *xrayUtils.GraphNode
	FullDepTrees []*xrayUtils.GraphNode
	DownloadUrls map[string]string
	// Warnings holds user-facing messages from tree-build (e.g. unresolved HF references).
	Warnings []string
}

func GetDiffDependencyTree

func GetDiffDependencyTree(scanResults *results.TargetResults, resultsToCompare *results.TargetResults, fullDepTrees ...*xrayUtils.GraphNode) (*DependencyTreeResult, error)

Collect dependencies exists in target and not in resultsToCompare

func GetTechDependencyTree

func GetTechDependencyTree(params technologies.BuildInfoBomGeneratorParams, artifactoryServerDetails *config.ServerDetails, tech techutils.Technology) (depTreeResult DependencyTreeResult, err error)

Jump to

Keyboard shortcuts

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