Documentation ¶
Index ¶
Constants ¶
View Source
const ( IndexerMigrationTable = "libindex_migrations" MatcherMigrationTable = "libvuln_migrations" )
Variables ¶
View Source
var IndexerMigrations = []migrate.Migration{
{
ID: 1,
Up: runFile("indexer/01-init.sql"),
},
{
ID: 2,
Up: runFile("indexer/02-digests.sql"),
},
{
ID: 3,
Up: runFile("indexer/03-unique-manifest_index.sql"),
},
{
ID: 4,
Up: runFile("indexer/04-foreign-key-cascades.sql"),
},
{
ID: 5,
Up: runFile("indexer/05-delete-manifest-index-index.sql"),
},
}
View Source
var MatcherMigrations = []migrate.Migration{
{
ID: 1,
Up: runFile("matcher/01-init.sql"),
},
{
ID: 2,
Up: runFile("matcher/02-indexes.sql"),
},
{
ID: 3,
Up: runFile("matcher/03-pyup-fingerprint.sql"),
},
{
ID: 4,
Up: runFile("matcher/04-enrichments.sql"),
},
{
ID: 5,
Up: runFile("matcher/05-uo_enrich-fkey.sql"),
},
{
ID: 6,
Up: runFile("matcher/06-delete-debian-update_operation.sql"),
},
{
ID: 7,
Up: runFile("matcher/07-force-alpine-update.sql"),
},
{
ID: 8,
Up: runFile("matcher/08-updater-status.sql"),
},
}
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.