Documentation ¶
Index ¶
Constants ¶
View Source
const ( Namespace = "aquasecurity:trivy:" PropertySchemaVersion = "SchemaVersion" PropertyType = "Type" PropertyClass = "Class" // Image properties PropertySize = "Size" PropertyImageID = "ImageID" PropertyRepoDigest = "RepoDigest" PropertyDiffID = "DiffID" PropertyRepoTag = "RepoTag" // Package properties 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")
)
Functions ¶
func NewJSONUnmarshaler ¶
func NewJSONUnmarshaler() sbom.Unmarshaler
func WithNewUUID ¶
func WithNewUUID(newUUID newUUID) marshalOption
Types ¶
type Marshaler ¶
type Marshaler struct {
// contains filtered or unexported fields
}
func NewMarshaler ¶
type Unmarshaler ¶
type Unmarshaler struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.