Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PackageManifestReader ¶
type PackageManifestReader interface {
EnumManifests(func(*models.PackageManifest) error) error
}
Contract for implementing package manifest readers such as lockfile parser, SBOM parser etc. Reader should stop enumeration and return error if handler returns an error
type PackageReader ¶
Contract for implementing a package reader. Enumerator should fail and return error if handler fails
func NewManifestModelReader ¶
func NewManifestModelReader(manifest *models.PackageManifest) PackageReader
Click to show internal directories.
Click to hide internal directories.