configs

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2026 License: Apache-2.0 Imports: 17 Imported by: 0 modules, 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 ApplyMigrations added in v0.17.0

func ApplyMigrations(t *testing.T, cfg *config.Config)

ApplyMigrations runs all pending SQL and Redis migrations for the given config. E2E tests must call this before starting the app, since the app refuses to start when migrations are pending.

func Basic

func Basic(t *testing.T, opts BasicOpts) config.Config

func CreateRedisClusterConfig added in v0.6.0

func CreateRedisClusterConfig(t *testing.T) *redis.RedisConfig

CreateRedisClusterConfig creates a Redis cluster configuration for testing Returns nil if TEST_REDIS_CLUSTER_URL is not set

Types

type BasicOpts

type BasicOpts struct {
	LogStorage   LogStorageType
	MQ           MQType             // Internal MQ; default NATS
	RedisConfig  *redis.RedisConfig // Optional Redis config override
	DeploymentID string             // Optional deployment ID for multi-tenancy testing
}

type LogStorageType

type LogStorageType string
const (
	LogStorageTypePostgres   LogStorageType = "postgres"
	LogStorageTypeClickHouse LogStorageType = "clickhouse"
)

type MQType added in v1.7.0

type MQType string

MQType is the internal message queue an e2e config runs on.

const (
	MQTypeNATS     MQType = "nats"
	MQTypeRabbitMQ MQType = "rabbitmq"
)

Jump to

Keyboard shortcuts

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