manager

command
v0.112.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 1, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

manager is a CLI tool for creating and maintaining test fixtures from vunnel SQLite caches.

Subcommands:

extract - Extract records from vunnel caches to create test fixtures
status  - Show the status of all test fixtures
regenerate - Regenerate test fixtures from their db.yaml configs

Usage:

# extract debian CVEs to new fixture
go run ./internal/dbtest/cmd/manager extract \
    --vunnel-data /path/to/vunnel/data \
    --provider debian \
    --select "CVE-2024-1234" \
    --output internal/dbtest/testdata/shared/new-fixture

# show status of all fixtures
go run ./internal/dbtest/cmd/manager status

# regenerate all fixtures
go run ./internal/dbtest/cmd/manager regenerate --vunnel-data /path/to/vunnel/data

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL