Documentation ¶
Index ¶
- func AddFositeExamples(r driver.Registry)
- func CleanAndMigrate(reg driver.Registry) func(*testing.T)
- func ConnectDatabases(t *testing.T, migrate bool, ctxer contextx.Contextualizer) (pg, mysql, crdb driver.Registry, clean func(*testing.T))
- func ConnectToCRDB(t testing.TB) string
- func ConnectToMySQL(t testing.TB) string
- func ConnectToPG(t testing.TB) string
- func MustEnsureRegistryKeys(ctx context.Context, r driver.Registry, key string)
- func NewConfigurationWithDefaults() *config.DefaultProvider
- func NewConfigurationWithDefaultsAndHTTPS() *config.DefaultProvider
- func NewMockedRegistry(t testing.TB, ctxer contextx.Contextualizer) driver.Registry
- func NewRegistryMemory(t testing.TB, c *config.DefaultProvider, ctxer contextx.Contextualizer) driver.Registry
- func NewRegistrySQLFromURL(t testing.TB, url string, migrate bool, ctxer contextx.Contextualizer) driver.Registry
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddFositeExamples ¶
func ConnectDatabases ¶
func ConnectToCRDB ¶
func ConnectToMySQL ¶
func ConnectToPG ¶
func MustEnsureRegistryKeys ¶
func NewConfigurationWithDefaults ¶
func NewConfigurationWithDefaults() *config.DefaultProvider
func NewConfigurationWithDefaultsAndHTTPS ¶
func NewConfigurationWithDefaultsAndHTTPS() *config.DefaultProvider
func NewMockedRegistry ¶
func NewRegistryMemory ¶
func NewRegistryMemory(t testing.TB, c *config.DefaultProvider, ctxer contextx.Contextualizer) driver.Registry
func NewRegistrySQLFromURL ¶
Types ¶
This section is empty.
Directories ¶
Path | Synopsis |
---|---|
Package mock is a generated GoMock package.
|
Package mock is a generated GoMock package. |
Click to show internal directories.
Click to hide internal directories.