grominio

package module
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Feb 11, 2026 License: MIT Imports: 16 Imported by: 0

README

grominio

codecov Go Report Card License

minio with test containers support for groat integration toolkit

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New[T any](all ...Option) integration.Bootstrap[T]

Types

type Container

type Container[T any] struct {
	// contains filtered or unexported fields
}

func (*Container[T]) Injector

func (c *Container[T]) Injector(t *testing.T, to T) T

type MinioContainer

type MinioContainer interface {
	ConnectionString(ctx context.Context) (string, error)
	Terminate(ctx context.Context, opts ...testcontainers.TerminateOption) error
	UserName() string
	Password() string
}

type Option

type Option func(*config)

func WithBucketPrefix added in v0.0.2

func WithBucketPrefix(prefix string) Option

func WithTerminator

func WithTerminator(terminator Terminator) Option

type Terminator

type Terminator func(
	ctx context.Context,
	terminate func(context.Context,
		...testcontainers.TerminateOption) error,
) func()

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

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