package testdb
import "github.com/cloudflare/cfssl/certdb/testdb"
Index ¶
- func MySQLDB() *sqlx.DB
- func PostgreSQLDB() *sqlx.DB
- func SQLiteDB(dbpath string) *sqlx.DB
- func Truncate(db *sqlx.DB)
Functions ¶
func MySQLDB ¶
MySQLDB returns a MySQL db instance for certdb testing.
func PostgreSQLDB ¶
PostgreSQLDB returns a PostgreSQL db instance for certdb testing.
func SQLiteDB ¶
SQLiteDB returns a SQLite db instance for certdb testing.
func Truncate ¶
Truncate truncates the DB
Source Files ¶
- Version
- v1.6.5 (latest)
- Published
- Mar 5, 2024
- Platform
- linux/amd64
- Imports
- 6 packages
- Last checked
- 6 days ago –
Tools for package owners.