Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetupRedisClient ¶
Types ¶
type KafkaContainer ¶
func CreateKafkaContainer ¶
func CreateKafkaContainer() (*KafkaContainer, error)
func (*KafkaContainer) CreateTopic ¶
func (k *KafkaContainer) CreateTopic(topic string) error
func (*KafkaContainer) Purge ¶
func (k *KafkaContainer) Purge() error
type PostgresContainer ¶
type PostgresContainer struct {
// contains filtered or unexported fields
}
func CreatePostgres ¶
func CreatePostgres() (*PostgresContainer, error)
func (*PostgresContainer) CreateConnPool ¶
func (pg *PostgresContainer) CreateConnPool() (*pgxpool.Pool, error)
func (*PostgresContainer) Purge ¶
func (pg *PostgresContainer) Purge() error
func (*PostgresContainer) RunMigrations ¶
func (pg *PostgresContainer) RunMigrations() error
type RedisServer ¶
type RedisServer struct {
// contains filtered or unexported fields
}
func SetupRedisServer ¶
func SetupRedisServer() (*RedisServer, error)
func (*RedisServer) FastForward ¶
func (rs *RedisServer) FastForward(d time.Duration)
func (*RedisServer) Purge ¶
func (rs *RedisServer) Purge()
func (*RedisServer) SetupRedisClient ¶
func (rs *RedisServer) SetupRedisClient() *redis.Client
Click to show internal directories.
Click to hide internal directories.