package
0.0.0-20241228150345-f34914471809
Repository: https://github.com/swarajkumarsingh/turbo-deploy.git
Documentation: pkg.go.dev

# Functions

CopyBetweenBuckets copies file between buckets.
DeleteObject deletes an object from s3.
DownloadFile from s3 and return error (if any) and local file path */.
GetBase64FromS3 gets the base64 encoded value of a file on s3.
Returns result pointer for an s3 object */.
GetLocalFilePath downloads the file locally and shares the file path */.
GetPresignedURLForHTML generates a presigned url for HTML File objectKey is the file name / path for the file in S3 and timeInMin indicates time in minutes for which link will be active */.
Generates a presigned URL for S3 Object from given bucket objectKey is the file name / path for the file in S3 and timeInMin indicates time in minutes for which link will be active */.
Generates a presigned URL for S3 Object objectKey is the file name / path for the file in S3 and timeInMin indicates time in minutes for which link will be active */.
GetPresignedURLS3CustomName generates a presigned URL for S3 Object with custom file name objectKey is the file name / path for the file in S3 timeInMin indicates time in minutes for which link will be active fileName indicates how the file will look on downloading */.
Checks if file is in S3.
Uploads a file to S3 Accepts file object and objectKey indicating the file name in S3 */.
Uploads a file to S3 Accepts file object, objectKey indicating the file name in S3 and bucket name */.
Uploads a file to S3 Accepts http req objec and attribute key name and objectKey indicating the file name in S3 */.
ReadFromURLAndUploadFileS3 reads the file from a URL and uploads it to specified objectKey.
Uploads a file to S3 Accepts filePath of local file and objectKey indicating the file name in S3 */.
Uploads a file to S3 to specific bucket Accepts filePath of local file and objectKey indicating the file name in S3 */.
UploadFromPublicURL gets the file from URL and uploads in s3 to specified key.
Uploads file to S3 based on io Reader */.