Documentation ¶
Index ¶
Constants ¶
View Source
const (
TypeOCI = "oci"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PackageURL ¶
type PackageURL struct { packageurl.PackageURL FilePath string }
func FromString ¶
func FromString(purl string) (*PackageURL, error)
func NewPackageURL ¶
nolint: gocyclo
func (*PackageURL) AppType ¶
func (p *PackageURL) AppType() string
AppType returns an application type in Trivy
func (PackageURL) BOMRef ¶
func (purl PackageURL) BOMRef() string
func (*PackageURL) Package ¶
func (p *PackageURL) Package() *ftypes.Package
Click to show internal directories.
Click to hide internal directories.