Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MinioContainer ¶
type MinioContainer struct {
*minio.MinioContainer
// contains filtered or unexported fields
}
MinioContainer - обёртка докер контейнера Minio.
func NewMinioContainer ¶
func NewMinioContainer(ctx context.Context, dockerImage, username, password string) (*MinioContainer, error)
NewMinioContainer - создаёт объект MinioContainer.
func (*MinioContainer) DSN ¶
func (h *MinioContainer) DSN() string
DSN - возвращает строку соединения с контейнером Minio.
type PostgresContainer ¶
type PostgresContainer struct {
*postgres.PostgresContainer
// contains filtered or unexported fields
}
PostgresContainer - обёртка докер контейнера Postgres.
func NewPostgresContainer ¶
func NewPostgresContainer(ctx context.Context, dockerImage, database, username, password string) (*PostgresContainer, error)
NewPostgresContainer - создаёт объект PostgresContainer.
func (*PostgresContainer) DSN ¶
func (h *PostgresContainer) DSN() string
DSN - возвращает строку соединения с контейнером Postgres.
type RedisContainer ¶
type RedisContainer struct {
*redis.RedisContainer
// contains filtered or unexported fields
}
RedisContainer - обёртка докер контейнера Redis.
func NewRedisContainer ¶
func NewRedisContainer(ctx context.Context, dockerImage string) (*RedisContainer, error)
NewRedisContainer - создаёт объект RedisContainer.
func (*RedisContainer) DSN ¶
func (h *RedisContainer) DSN() string
DSN - возвращает строку соединения с контейнером Redis.
Click to show internal directories.
Click to hide internal directories.