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 ¶
OpenIsolatedPostgresPool creates a fresh migrated database on the package-owned fixture server.
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.