Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MemoryIterator ¶
type MemoryIterator struct {
// contains filtered or unexported fields
}
MemoryIterator is an iterator that iterates over a preloaded slice of SBOMs.
func NewMemoryIterator ¶
func NewMemoryIterator(sboms []*SBOM) *MemoryIterator
NewMemoryIterator creates a new MemoryIterator from a slice of SBOMs.
type SBOM ¶
type SBOM struct {
Path string // File path (empty if stored in memory)
Data []byte // SBOM data stored in memory (nil if using Path)
Namespace string // It could be Repo, or Dir (helps track multi-repo or multi-folder processing)
Version string // Version of the SBOM (e.g., "latest" or "v1.2.3")
Branch string // github repo main, master, or any specific branch
}
SBOM represents a single SBOM file
Click to show internal directories.
Click to hide internal directories.