Major release with numerous API changes.
harshavardhana
released this
18 Feb 06:28
·
1199 commits
to master
since this release
Bucket Operations.
- MakeBucket(bucketName, BucketACL, location) error
- BucketExists(bucketName) error
- RemoveBucket(bucketName) error
- GetBucketACL(bucketName) (BucketACL, error)
- SetBucketACL(bucketName, BucketACL) error)
- ListBuckets() []BucketInfo
- ListObjects(bucketName, objectPrefix, recursive, chan<- struct{}) <-chan ObjectInfo
- ListIncompleteUploads(bucketName, prefix, recursive, chan<- struct{}) <-chan ObjectMultipartInfo
Object Operations.
- PutObject(bucketName, objectName, io.Reader, contentType) error
- GetObject(bucketName, objectName) (*Object, error)
- StatObject(bucketName, objectName) (ObjectInfo, error)
- RemoveObject(bucketName, objectName) error
- RemoveIncompleteUpload(bucketName, objectName) <-chan error
File Object Operations.
- FPutObject(bucketName, objectName, filePath, contentType) (size, error)
- FGetObject(bucketName, objectName, filePath) error