Documentation ¶
Index ¶
Constants ¶
View Source
const ( PropertySchemaVersion = "SchemaVersion" PropertyType = "Type" PropertyClass = "Class" // Image properties PropertySize = "Size" PropertyImageID = "ImageID" PropertyRepoDigest = "RepoDigest" PropertyDiffID = "DiffID" PropertyRepoTag = "RepoTag" // Package properties PropertyPkgID = "PkgID" PropertyPkgType = "PkgType" PropertySrcName = "SrcName" PropertySrcVersion = "SrcVersion" PropertySrcRelease = "SrcRelease" PropertySrcEpoch = "SrcEpoch" PropertyModularitylabel = "Modularitylabel" PropertyFilePath = "FilePath" PropertyLayerDigest = "LayerDigest" PropertyLayerDiffID = "LayerDiffID" )
Variables ¶
View Source
var (
ErrInvalidBOMLink = xerrors.New("invalid bomLink format error")
)
View Source
var (
ErrPURLEmpty = errors.New("purl empty error")
)
Functions ¶
Types ¶
type BOM ¶ added in v0.42.0
func (*BOM) UnmarshalJSON ¶ added in v0.42.0
type Marshaler ¶
type Marshaler struct {
// contains filtered or unexported fields
}
func NewMarshaler ¶
type Package ¶ added in v0.42.0
type Package struct { ftypes.Package Type ftypes.TargetType Metadata types.Metadata Vulnerabilities []types.DetectedVulnerability }
Click to show internal directories.
Click to hide internal directories.