Documentation ¶
Index ¶
- func CopyObject(client s3Client, sourceBucket string, destBucket string, fileName string) error
- func CreateBucket(client s3Client, bucket string) error
- func CreateSession() (*session.Session, error)
- func DeleteBucket(client s3Client, bucket string) error
- func DeleteObject(client s3Client, bucket string, fileName string) error
- func DownloadObject(client s3Client, bucket string, file *os.File, fileName string) (int64, error)
- func ListBuckets(client s3Client) ([]*s3.Bucket, error)
- func ListObjects(client s3Client, bucket string) ([]*s3.Object, error)
- func UploadObject(client s3Client, bucket string, file *os.File, fileName string) error
- type MockS3Client
- type S3Client
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CopyObject ¶
func CreateBucket ¶
func CreateSession ¶
func DeleteBucket ¶
func DeleteObject ¶
func DownloadObject ¶
func ListBuckets ¶
Types ¶
type MockS3Client ¶
type MockS3Client struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.