mirror of
https://github.com/anchore/syft.git
synced 2026-02-12 02:26:42 +01:00
12 lines
176 B
Go
12 lines
176 B
Go
package source
|
|
|
|
import (
|
|
"context"
|
|
)
|
|
|
|
// Provider is able to resolve a source request
|
|
type Provider interface {
|
|
Name() string
|
|
Provide(ctx context.Context) (Source, error)
|
|
}
|