package
2.0.0-pre.3+incompatible
Repository: https://github.com/andrewwebber/clair.git
Documentation: pkg.go.dev

# Packages

Package pgsql implements database.Datastore with PostgreSQL.

# Functions

Open opens a Datastore specified by a configuration.
Register makes a Constructor available by the provided name.

# Variables

DebianReleasesMapping translates Debian code names and class names to version numbers.
ErrBackendException is an error that occurs when the database backend does not work properly (ie.
ErrInconsistent is an error that occurs when a database consistency check fails (ie.
No description provided by the author
UbuntuReleasesMapping translates Ubuntu code names to version numbers.
No description provided by the author

# Structs

No description provided by the author
No description provided by the author
No description provided by the author
MockDatastore implements Datastore and enables overriding each available method.
ID is only meant to be used by database implementations and should never be used for anything else.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Interfaces

Datastore is the interface that describes a database backend implementation.

# Type aliases

Driver is a function that opens a Datastore specified by its database driver type and specific configuration.
No description provided by the author