e2edb

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2026 License: Apache-2.0 Imports: 12 Imported by: 0

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

Jump to

Keyboard shortcuts

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