Documentation ¶
Index ¶
Constants ¶
View Source
const ( ToolVendor = "Deepfactor" ToolName = "dfctl" Namespace = ToolVendor + ":" + ToolName + ":" 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" PropertyPkgIsDev = "PkgIsDev" )
Variables ¶
View Source
var (
ErrInvalidBOMLink = xerrors.New("invalid bomLink format error")
)
View Source
var (
ErrPURLEmpty = errors.New("purl empty error")
)
Functions ¶
Types ¶
type BOM ¶
func (*BOM) UnmarshalJSON ¶
type Marshaler ¶
type Marshaler struct {
// contains filtered or unexported fields
}
func NewMarshaler ¶
type Package ¶
type Package struct { ftypes.Package Type ftypes.TargetType Metadata types.Metadata Vulnerabilities []types.DetectedVulnerability }
Click to show internal directories.
Click to hide internal directories.