test

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2025 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	IMAGE_NAME = "redis/redis-stack:latest"
	HOSTNAME   = "redis-testcontainer"
	REDIS_PORT = 6379

	REDIS_PORT_ENV = "REDIS_PORT"
	REDIS_URL_ENV  = "REDIS_URL"

	CWD = "../"
)

Variables

This section is empty.

Functions

func CreateContainer

func CreateContainer(ctx context.Context, t *testing.T) (container *redis.RedisContainer, err error)

func TerminateContainer

func TerminateContainer(container *redis.RedisContainer, t *testing.T)

Types

This section is empty.

Jump to

Keyboard shortcuts

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