minio

package
v0.32.1 Latest Latest
Warning

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

Go to latest
Published: May 22, 2024 License: AGPL-3.0 Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Tag     string
	Options []string
}

type Opt

type Opt func(*Config)

func WithOptions

func WithOptions(options ...string) Opt

func WithTag

func WithTag(tag string) Opt

type Resource added in v0.20.0

type Resource struct {
	BucketName      string
	AccessKeyID     string
	AccessKeySecret string
	Endpoint        string
	Region          string
	Client          *minio.Client
}

func Setup added in v0.20.0

func Setup(pool *dockertest.Pool, d resource.Cleaner, opts ...func(*Config)) (*Resource, error)

func (*Resource) ToFileManagerConfig added in v0.20.0

func (mr *Resource) ToFileManagerConfig(prefix string) map[string]any

Jump to

Keyboard shortcuts

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