Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Initialize ¶
func RegisterCIDatabaseFactory ¶
RegisterCIDatabaseFactory registers a storage factory driver by name. If RegisterCIDatabaseFactory is called twice with the same name or if driver is nil, it panics.
Types ¶
type CIDatabase ¶
type CIDatabase interface {
// Init initializes the database or database file for ci tests
Init() error
// DeInit remove the database or database file for ci tests
DeInit() error
// GetName get database name
GetName() enums.Database
}
CIDatabase is the interface for the database in ci tests
var DB CIDatabase
DB is the database for ci tests
type Factory ¶
type Factory interface {
New() CIDatabase
}
Click to show internal directories.
Click to hide internal directories.