e2edb

package
v0.5.0-rc.4-linux-arm64 Latest Latest
Warning

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

Go to latest
Published: Nov 30, 2026 License: Apache-2.0 Imports: 13 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnableGitHubProof

func EnableGitHubProof(t testing.TB, pool *pgxpool.Pool, org, source slug.Slug, repositoryID string) string

EnableGitHubProof binds an existing test source to a managed installation.

func OpenIsolatedPostgresPool

func OpenIsolatedPostgresPool(t testing.TB, testName string) *pgxpool.Pool

OpenIsolatedPostgresPool creates a fresh migrated database on the package-owned fixture server.

func OpenPostgresPool

func OpenPostgresPool(t testing.TB, testName string) *pgxpool.Pool

Types

type PostgresConfig

type PostgresConfig struct {
	DatabaseURL string
}

func PostgresConfigFromEnv

func PostgresConfigFromEnv() PostgresConfig

func (PostgresConfig) DatabaseURLFor

func (c PostgresConfig) DatabaseURLFor(database string) (string, error)

DatabaseURLFor selects an isolated fixture database, including when the base URL sets a query override.

Jump to

Keyboard shortcuts

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