helpers

package
v0.17.1 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

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.

Jump to

Keyboard shortcuts

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