package
1.3.51
Repository: https://github.com/adevinta/vulcan-api.git
Documentation: pkg.go.dev

# Functions

NewAsyncTxParser builds a new CDC log parser to handle distributed transactions for VulnDB and other API asynchronous jobs.
NewBrokerProxy builds a new CDC broker proxy around VulcanitoStore.
NewPQDB creates a new PostgreSQL DB handle for CDC related operations.

# Constants

CDCLogTag is a tag to use for logging.
OutboxVersion specifies the schema version used to store data in outbox table.

# Structs

AsyncTxParser implements a CDC log parser to handle distributed transactions for VulnDB and other API asynchronous jobs.
BrokerProxy is a proxy applied to the storage component which acts as a broker following Change Data Capture pattern.
Lock represents an advisory lock.
OpCreateAssetDTO represents the data to store as part of CDC log for a CreateAsset operation.
OpDeleteAllAssetsDTO represents the data to store as part of CDC log for a DeleteAllAssets operation.
OpDeleteAssetDTO represents the data to store as part of CDC log for a DeleteAsset operation.
OpDeleteTeamDTO represents the data to store as part of CDC log for a DeleteTeam operation.
OpFindingOverwriteDTO represents the data to store as part of CDC log for a FindingOverwrite operation.
OpMergeDiscoveredAssetsDTO represents the data to store as part of CDC log for a MergeDiscoveredAsset operation.
OpUpdateAssetDTO represents the data to store as part of CDC log for a UpdateAsset operation.
Outbox represents an entry in the outbox table.
PQDB represents the PostgreSQL implementation of DB handle to retrieve data from an outbox table.

# Interfaces

AsyncAPI defines the methods of Vulcan Async API needed by the AyncTxParser.
DB represents a database handle to perform CDC related operations synchronized across different instances.
Event represents an event retrieved from CDC log.
Parser defines a CDC log parser.