Documentation ¶
Index ¶
- Variables
- func CopyObject(bucketSource, bucketTarget, keySource, keyTarget string) error
- func DeleteObject(bucket, key string) error
- func GetAfterDate(bucket, prefix string, date time.Time) ([]string, error)
- func GetObject(bucket, fileName string) ([]byte, error)
- func HeadObject(bucket, key string) (*s3.HeadObjectOutput, error)
- func IsDifferent(bucket_base, bucket_target, key_base, key_target string) bool
- func IsDifferentLegacy(bucket_base, bucket_target, key_base, key_target string) bool
- func ListBucketObjects(bucket, prefix string) ([]string, error)
- func ListBucketObjectsDetails(bucket, prefix string) ([]types.Object, error)
- func ObjectExists(bucket, key string) bool
- func PutObject(bucket, filename string, data []byte) error
- func PutObjectStream(bucket, filename string, stream io.ReadCloser, ...) error
- func SyncBucket(bucket string, bucketsTarget ...string) ([]string, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var S3Client *s3.Client = nil
Functions ¶
func CopyObject ¶ added in v0.0.36
func DeleteObject ¶ added in v0.0.48
func GetAfterDate ¶ added in v0.0.76
func HeadObject ¶ added in v0.0.74
func HeadObject(bucket, key string) (*s3.HeadObjectOutput, error)
func IsDifferent ¶ added in v0.0.55
func IsDifferentLegacy ¶ added in v0.0.74
func ListBucketObjects ¶ added in v0.0.74
func ListBucketObjectsDetails ¶ added in v0.0.76
func ObjectExists ¶ added in v0.0.36
func PutObjectStream ¶ added in v0.0.39
func PutObjectStream(bucket, filename string, stream io.ReadCloser, contentType, encoding, md5 *string) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.