s3manageriface

package
v1.33.11 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 23, 2020 License: Apache-2.0 Imports: 4 Imported by: 147

Documentation

Overview

Package s3manageriface provides an interface for the s3manager package

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BatchDelete added in v1.20.0

type BatchDelete interface {
	Delete(aws.Context, s3manager.BatchDeleteIterator) error
}

BatchDelete is the interface type for batch deleting objects from S3 using the S3 manager. (separated for user to compose).

type DownloadWithIterator added in v1.20.0

type DownloadWithIterator interface {
	DownloadWithIterator(aws.Context, s3manager.BatchDownloadIterator, ...func(*s3manager.Downloader)) error
}

DownloadWithIterator is the interface type for the contained method of the same name.

type DownloaderAPI

type DownloaderAPI interface {
	Download(io.WriterAt, *s3.GetObjectInput, ...func(*s3manager.Downloader)) (int64, error)
	DownloadWithContext(aws.Context, io.WriterAt, *s3.GetObjectInput, ...func(*s3manager.Downloader)) (int64, error)
}

DownloaderAPI is the interface type for s3manager.Downloader.

type UploadWithIterator added in v1.20.0

type UploadWithIterator interface {
	UploadWithIterator(aws.Context, s3manager.BatchUploadIterator, ...func(*s3manager.Uploader)) error
}

UploadWithIterator is the interface for uploading objects to S3 using the S3 upload manager.

type UploaderAPI

type UploaderAPI interface {
	Upload(*s3manager.UploadInput, ...func(*s3manager.Uploader)) (*s3manager.UploadOutput, error)
	UploadWithContext(aws.Context, *s3manager.UploadInput, ...func(*s3manager.Uploader)) (*s3manager.UploadOutput, error)
}

UploaderAPI is the interface type for s3manager.Uploader.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL