internal

package
v2.1.0-pre.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 3, 2023 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddFositeExamples

func AddFositeExamples(r driver.Registry)

func CleanAndMigrate

func CleanAndMigrate(reg driver.Registry) func(*testing.T)

func ConnectDatabases

func ConnectDatabases(t *testing.T, migrate bool, ctxer contextx.Contextualizer) (pg, mysql, crdb driver.Registry, clean func(*testing.T))

func ConnectToCRDB

func ConnectToCRDB(t *testing.T) string

func ConnectToMySQL

func ConnectToMySQL(t *testing.T) string

func ConnectToPG

func ConnectToPG(t *testing.T) string

func MustEnsureRegistryKeys

func MustEnsureRegistryKeys(r driver.Registry, key string)

func NewConfigurationWithDefaults

func NewConfigurationWithDefaults() *config.DefaultProvider

func NewConfigurationWithDefaultsAndHTTPS

func NewConfigurationWithDefaultsAndHTTPS() *config.DefaultProvider

func NewMockedRegistry

func NewMockedRegistry(t *testing.T, ctxer contextx.Contextualizer) driver.Registry

func NewRegistrySQLFromURL

func NewRegistrySQLFromURL(t *testing.T, url string, migrate bool, ctxer contextx.Contextualizer) driver.Registry

Types

This section is empty.

Directories

Path Synopsis
Package mock is a generated GoMock package.
Package mock is a generated GoMock package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL