Documentation ¶
Index ¶
Constants ¶
View Source
const (
RedisDefaultImage = "redis:7.2.4"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RedisDB ¶
type RedisDB struct { Client *docker.Client Image string HostIP string HostPort int ContainerPort docker.Port Name string StartTimeout time.Duration Binds []string ErrorStream io.Writer OutputStream io.Writer // contains filtered or unexported fields }
RedisDB manages the execution of an instance of a dockerized RedisDB for tests.
func (*RedisDB) ContainerAddress ¶
ContainerAddress returns the container address where this RedisDB instance is available.
func (*RedisDB) ContainerID ¶
ContainerID returns the container ID of this RedisDB
func (*RedisDB) HostAddress ¶
HostAddress returns the host address where this RedisDB instance is available.
Click to show internal directories.
Click to hide internal directories.