package
0.0.0-20250304205905-b47799d07ddf
Repository: https://github.com/aws/amazon-ssm-agent.git
Documentation: pkg.go.dev
# Functions
CanGetS3Object returns true if it is possible to fetch an object because it exists, is not deleted, and read permissions exist for this request.
Download is a generic utility which attempts to download smartly.
FileCopy copies the content from reader to destinationPath file.
ListS3Directory returns all the objects (files and folders) under a given S3 URL where folders are keys whose prefix is the URL key and contain a / after the prefix.
ListS3Folders returns the folders under a given S3 URL where folders are keys whose prefix is the URL key and contain a / after the prefix.
Md5HashValue gets the md5 hash value.
S3FileRead attempts to read a file content from S3 via s3 client.
Sha256HashValue gets the sha256 hash value.
VerifyHash verifies the hash of the url file as per specified hash algorithm type and its value.
# Structs
DownloadInput specifies the input to file download operation.
DownloadOutput holds the result of file download operation.