dev

package
v0.412.3 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2024 License: Apache-2.0 Imports: 15 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       url.URL
	DebugPort      int
	Language       string
	RunnerInfoFile optional.Option[string]
}

Jump to

Keyboard shortcuts

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