Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type S3Downloader ¶
type S3Downloader struct {
// contains filtered or unexported fields
}
S3Downloader implements downloading a checkpoint from S3 and sends it to the client in an archive file.
func NewS3Downloader ¶
func NewS3Downloader( ctx context.Context, aw archive.ArchiveWriter, bucket string, prefix string, endpointURL *string, ) (*S3Downloader, error)
NewS3Downloader returns a new S3Downloader.
func (*S3Downloader) Close ¶
func (d *S3Downloader) Close() error
Close closes the underlying ArchiveWriter.
Click to show internal directories.
Click to hide internal directories.