dev

package
v0.437.0 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2025 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateForDevel

func CreateForDevel(ctx context.Context, dsn string, recreate bool) (*stdsql.DB, error)

CreateForDevel creates and migrates a new database for development or testing.

If "recreate" is true, the database will be dropped and recreated.

func PostgresDSN

func PostgresDSN(ctx context.Context, port int) string

func SetUpRedPanda

func SetUpRedPanda(ctx context.Context) error

func SetupGrafana

func SetupGrafana(ctx context.Context, image string) error

func SetupMySQL

func SetupMySQL(ctx context.Context, port int) (string, error)

func SetupPostgres

func SetupPostgres(ctx context.Context, image optional.Option[string], port int, recreate bool) error

func SetupRegistry

func SetupRegistry(ctx context.Context, image string, port int) error

func WaitForPortReady

func WaitForPortReady(ctx context.Context, port int) error

Types

type LocalEndpoint

type LocalEndpoint struct {
	Module            string
	Endpoint          string
	DebugPort         int
	Language          string
	HotReloadEndpoint string
}

Jump to

Keyboard shortcuts

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