cfssl: github.com/cloudflare/cfssl/certdb/testdb Index | Files

package testdb

import "github.com/cloudflare/cfssl/certdb/testdb"

Index

Package Files

testdb.go

func MySQLDB Uses

func MySQLDB() *sqlx.DB

MySQLDB returns a MySQL db instance for certdb testing.

func PostgreSQLDB Uses

func PostgreSQLDB() *sqlx.DB

PostgreSQLDB returns a PostgreSQL db instance for certdb testing.

func SQLiteDB Uses

func SQLiteDB(dbpath string) *sqlx.DB

SQLiteDB returns a SQLite db instance for certdb testing.

func Truncate Uses

func Truncate(db *sqlx.DB)

Truncate truncates the DB

Package testdb imports 6 packages (graph). Updated 2020-10-22. Refresh now. Tools for package owners.