Documentation
¶
Overview ¶
Package s3clienttest provides a reusable MinIO test server via Docker.
Index ¶
Constants ¶
View Source
const ( Port = "19000" Addr = "localhost:" + Port Username = "minioadmin" Password = "minioadmin" )
Variables ¶
This section is empty.
Functions ¶
func CleanBucket ¶
CleanBucket removes all objects from the given bucket.
func Start ¶
Start ensures a shared MinIO container is running, creates a deterministic bucket for this test, and returns its name. The bucket name is derived from the calling package and t.Name() so that different test packages cannot collide even when run in parallel.
Any stale objects left over from a previous (possibly crashed) run are removed up front, and t.Cleanup removes objects when the test finishes normally.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.