Documentation ¶
Index ¶
- func CreateForDevel(ctx context.Context, dsn string, recreate bool) (*stdsql.DB, error)
- func PostgresDSN(ctx context.Context, port int) string
- func SetUpRedPanda(ctx context.Context) error
- func SetupGrafana(ctx context.Context, image string) error
- func SetupMySQL(ctx context.Context, port int) (string, error)
- func SetupPostgres(ctx context.Context, image optional.Option[string], port int, recreate bool) error
- func SetupRegistry(ctx context.Context, image string, port int) error
- func WaitForPortReady(ctx context.Context, port int) error
- type LocalEndpoint
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateForDevel ¶
CreateForDevel creates and migrates a new database for development or testing.
If "recreate" is true, the database will be dropped and recreated.
func SetUpRedPanda ¶
func SetupPostgres ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.