miniofixture

package
v1.0.4412-9831faf Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2022 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BucketName

func BucketName(t testing.TB) string

Types

type Config

type Config struct {
	Key    secret.String
	Secret secret.String
	URL    string

	// optional
	Bucket string
	Region string
}

type Fixture

type Fixture struct {
	Bucket string
	Client *s3.Client
}

func Setup

func Setup(ctx context.Context, t testing.TB, cfg Config) *Fixture

Jump to

Keyboard shortcuts

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