Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MinioContainer ¶
type MinioContainer struct { Container testcontainers.Container Context context.Context Host string Port int AccessKey string SecretKey string }
MinioContainer is a Min.IO testcontainer
func NewMinioContainer ¶
func NewMinioContainer(ctx context.Context, bucketName string) (*MinioContainer, error)
NewMinioContainer creates new MySQL test container if MYSQL_TEST_PORT is not defined. Otherwise uses db at defined port. This logic is required for running test at CI environment
func (*MinioContainer) Close ¶
func (mc *MinioContainer) Close() error
Close terminates underlying mysql docker container
func (*MinioContainer) Start ¶
func (mc *MinioContainer) Start() error
func (*MinioContainer) Stop ¶
func (mc *MinioContainer) Stop() error
Click to show internal directories.
Click to hide internal directories.