Documentation ¶
Index ¶
- func AddEntryToTar(source *os.File, entryName string, entryContents string) error
- func DownloadS3File(ctx context.Context, s3Downloader S3Downloader, launchRoleArn string, ...) (*os.File, error)
- func UnzipFile(compressed *os.File) (*os.File, error)
- func ZipFile(uncompressed *os.File) (*os.File, error)
- type S3ClientProvider
- type S3Downloader
- type S3ManagerDownloader
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddEntryToTar ¶
func DownloadS3File ¶
Types ¶
type S3Downloader ¶
type S3ManagerDownloader ¶
type S3ManagerDownloader struct {
S3ClientProvider S3ClientProvider
}
func NewS3DownloaderWithAssumedRole ¶
func NewS3DownloaderWithAssumedRole(ctx context.Context, sdkConfig aws.Config) S3ManagerDownloader
NewS3DownloaderWithAssumedRole creates a new S3 Downloader that will assume the provided launch role to make requests to fetch files from S3
Click to show internal directories.
Click to hide internal directories.