mirror of
https://github.com/aquasecurity/trivy.git
synced 2025-12-22 07:10:41 -08:00
* refactor: wrap errors * feat(db): add the metadata file * test(db): re-generate mocks * fix(app): read metadata from the file in showVersion * fix: open the database after downloading it * fix(operation): use UpdateMetadata * chore(mod): update dependency * test(integration): fix tests * fix(conf): rename TRIVY_NONSSL to TRIVY_NON_SSL
14 lines
231 B
Go
14 lines
231 B
Go
// +build wireinject
|
|
|
|
package operation
|
|
|
|
import (
|
|
"github.com/aquasecurity/trivy/pkg/db"
|
|
"github.com/google/wire"
|
|
)
|
|
|
|
func initializeDBClient(cacheDir string, quiet bool) db.Client {
|
|
wire.Build(db.SuperSet)
|
|
return db.Client{}
|
|
}
|