Documentation
¶
Overview ¶
Package s3 simulates an administrative interface for people who maintain ostor this package wraps around ostor and minio/minio-go to executes calls on behalf of accounts in the system. This is achieved by returning an account's credential pair and using it for calls. It requires that an account has one. You can call the key management features in the ostor CLI to achieve that or use the user methods in the ostor package to achieve the same.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type S3 ¶
type S3 struct {
// contains filtered or unexported fields
}
S3 wraps the s3 client to provide shorthands for common ops.
func (*S3) DeleteBucket ¶
DeleteBucket does a recursive delete on all objects within a bucket to empty it, before deleting it.
func (*S3) IsDeletable ¶
IsDeletable determines if a bucket exists and if is empty
func (*S3) ListContents ¶
ListContents (recursively) lists the contents of a bucket and returns a channel to "range" on.