miniorunner

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2025 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Reusable

func Reusable() *minioenv.Reusable

func Run

func Run(
	ctx context.Context,
	buckets ...minioenv.Bucket,
) (minioClient *minio.Client, term func(), err error)

func RunConfig

func RunConfig(
	ctx context.Context,
	cfg *Config,
	buckets ...minioenv.Bucket,
) (minioClient *minio.Client, term func(), err error)

func RunContainer

func RunContainer(cfg *Config) minioenv.ProvideEnvironmentFunc

func RunForTesting

func RunForTesting(
	t *testing.T,
	buckets ...minioenv.Bucket,
) *minio.Client

func RunForTestingConfig

func RunForTestingConfig(
	t *testing.T,
	cfg *Config,
	buckets ...minioenv.Bucket,
) *minio.Client

Types

type Config

type Config struct {
	MinioImage string
	Username   string
	Password   string
}

Jump to

Keyboard shortcuts

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