Documentation ¶
Index ¶
- Variables
- func NewBucketExistError(bkt string) *bucketExistError
- func NewClientMocker() *clientMocker
- func NewNoBucketError(bkt string) *noBucketError
- func NewNoObjectError(bkt, obj, path string) *noObjectError
- func NewNotEmptyBucketError(bkt string) *notEmptyBucketError
- type Method
- type ReturnError
Constants ¶
This section is empty.
Variables ¶
View Source
var ( MethodNewStorageBucket = Method("NewStorageBucket") MethodDeleteStorageBucket = Method("NewDeleteStorageBucket") MethodListChildrenFiles = Method("ListChildrenFiles") MethodListDirectChildren = Method("ListDirectChildren") MethodAttrObject = Method("AttrObject") MethodCopyObject = Method("CopyObject") MethodReadObject = Method("ReadObject") MethodWriteObject = Method("WriteObject") MethodDeleteObject = Method("DeleteObject") MethodDownload = Method("Download") MethodUpload = Method("Upload") )
Functions ¶
func NewBucketExistError ¶
func NewBucketExistError(bkt string) *bucketExistError
func NewClientMocker ¶
func NewClientMocker() *clientMocker
func NewNoBucketError ¶
func NewNoBucketError(bkt string) *noBucketError
func NewNoObjectError ¶
func NewNoObjectError(bkt, obj, path string) *noObjectError
func NewNotEmptyBucketError ¶
func NewNotEmptyBucketError(bkt string) *notEmptyBucketError
Types ¶
type ReturnError ¶
Error map to return custom errors for specific methods
Click to show internal directories.
Click to hide internal directories.