s3test

package
v0.5.2 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2026 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Overview

Package s3test runs the S3-compatible server live tests share. Every test package of one go test run shares one server: a reusable container by name, which Ryuk removes when the run ends. Each test gets a bucket of its own.

Index

Constants

View Source
const Image = "rustfs/rustfs:1.0.4"

Image is an S3-compatible server. MinIO no longer publishes images.

Variables

This section is empty.

Functions

func Proxy

func Proxy(t testing.TB) (*faultproxy.Proxy, *s3.Client)

Proxy starts a fault proxy in front of the shared server and returns it with a client that goes through it.

func Start

func Start(t testing.TB) (*s3.Client, string)

Start returns a client of the shared server and a new bucket on it that no other test uses.

Types

This section is empty.

Jump to

Keyboard shortcuts

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