Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewHttpClient ¶
func NewHttpClient() aws.HTTPClient
Types ¶
type S3Client ¶
type S3Client struct {
// contains filtered or unexported fields
}
S3Client provides methods to interact with S3-compatible storage.
func NewS3Client ¶
func NewS3Client(ctx context.Context, endpoint, region, accessKeyID, secretKey string) (*S3Client, error)
NewS3Client creates a new S3Client with the provided credentials.
func (*S3Client) ListBuckets ¶
ListBuckets lists all S3 buckets in the configured account.
func (*S3Client) ProbeAnyBucketRW ¶
ProbeAnyBucketRW tries to write + read a probe object in the first bucket the credentials can see. If every step succeeds it returns nil. All SDK errors are normalised via mapS3Error so callers get the domain-specific errors they expect.
Click to show internal directories.
Click to hide internal directories.