syft/imgbom/pkg/package.go
2020-05-20 18:29:06 -04:00

18 lines
329 B
Go

package pkg
import "github.com/anchore/stereoscope/pkg/file"
// TODO: add package ID (random/incremental)
// TODO: add field to trace which analyzer detected this
type Package struct {
Name string
Version string
Source []file.Reference
Licenses []string
Type Type
Metadata interface{}
}
// TODO: stringer...