package
0.0.0-20240910131244-13d20f98e541
Repository: https://github.com/redhatinsights/edge-api.git
Documentation: pkg.go.dev
# Functions
GetNewS3Client return a new S3Client.
GetNewS3Session return a new aws s3 session.
No description provided by the author
NewDownloader returns the main downloader used by Edge API.
NewExtractor returns the main extractor used by EdgeAPI.
NewS3Downloader return a new S3Downloader.
NewS3Uploader return a new S3Uploader.
NewUploader returns the uploader used by EdgeAPI based on configurations.
Sizeof receive a reflect value and returns the length and capacity of an object in memory using in Kb.
# Constants
No description provided by the author
# Structs
No description provided by the author
HTTPDownloader implements Downloader and downloads from a URL through HTTP.
LocalUploader isn't actually an uploader but implements the interface in order to allow the workflow to be done to completion on a local machine without S3.
RequestPreSigner define a request pre-signer.
S3Client a struct of the S3Client.
S3Downloader aws s3 files Downloader, download resources at aws s3 bucket via sdk.
S3Uploader defines the mechanism to upload data to S3.
TARFileExtractor implements a method to extract TAR files into a path.
# Interfaces
No description provided by the author
Downloader is the interface that downloads a source into a path.
Extractor defines methods to extract files to path.
RequestPreSignerAPI base interface for RequestPreSignerAPI.
S3ClientAPI base interface for S3ClientAPI.
S3ClientInterface base interface for S3Client.
S3DownloaderAPI base interface for S3DownloaderAPI.
S3RequestAPI base interface for S3RequestAPI.
S3UploaderAPI base interface for S3UploaderAPI.
Uploader is an interface for uploading repository.