Registry / cloud / minio-madmin-go-v2

minio-madmin-go-v2

JSON →
library2.2.1gogounverified

Package madmin provides a Go client for MinIO server administrative operations.

go get github.com/minio/madmin-go/v2
INSTALL
IMPORT
SIG · MINIO-MADMIN-GO-V2
M
minio-madmin-go-v2
cloudgov2.2.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

madmin
github.com/minio/madmin-go/v2

Connects to a MinIO server and retrieves server info.

package main import ( "fmt" "github.com/minio/madmin-go/v2" ) func main() { client, err := madmin.New("localhost:9000", "accesskey", "secretkey", false) if err != nil { panic(err) } info, err := client.ServerInfo() if err != nil { panic(err) } fmt.Println(info) }
Debug
Known issues
breakingv2 uses a different import path (with /v2 suffix) and may have breaking API changes from v1.
fix
Use import path github.com/minio/madmin-go/v2 and update code accordingly.
affects: >=2.0.0
Upgrade
Version history
2.2.1latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
12 hits · last 30 days
node
10
Amazon
1
OpenAI (training)
1
Resources
minio-madmin-go-v2 — go get minio-madmin-go-v2 · libregistry