mirror of
https://github.com/anchore/syft.git
synced 2026-11-05 00:46:38 +01:00
17 lines
387 B
Go
17 lines
387 B
Go
package generic
|
|
|
|
import (
|
|
"context"
|
|
|
|
"github.com/anchore/syft/syft/artifact"
|
|
"github.com/anchore/syft/syft/file"
|
|
"github.com/anchore/syft/syft/linux"
|
|
"github.com/anchore/syft/syft/pkg"
|
|
)
|
|
|
|
type Environment struct {
|
|
LinuxRelease *linux.Release
|
|
}
|
|
|
|
type Parser func(context.Context, file.Resolver, *Environment, file.LocationReadCloser) ([]pkg.Package, []artifact.Relationship, error)
|