s3

package
v1.2.3-fred.11 Latest Latest
Warning

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

Go to latest
Published: Oct 31, 2022 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type APIMetrics

type APIMetrics struct {
	s3iface.S3API
}

func NewAPIMetrics

func NewAPIMetrics(api s3iface.S3API) (*APIMetrics, error)

func (*APIMetrics) AbortMultipartUploadWithContext

func (m *APIMetrics) AbortMultipartUploadWithContext(ctx context.Context, input *s3.AbortMultipartUploadInput, opts ...request.Option) (*s3.AbortMultipartUploadOutput, error)

func (*APIMetrics) CompleteMultipartUploadWithContext

func (m *APIMetrics) CompleteMultipartUploadWithContext(ctx context.Context, input *s3.CompleteMultipartUploadInput, opts ...request.Option) (*s3.CompleteMultipartUploadOutput, error)

func (*APIMetrics) CreateBucketWithContext

func (m *APIMetrics) CreateBucketWithContext(ctx context.Context, input *s3.CreateBucketInput, opts ...request.Option) (*s3.CreateBucketOutput, error)

func (*APIMetrics) CreateMultipartUploadWithContext

func (m *APIMetrics) CreateMultipartUploadWithContext(ctx context.Context, input *s3.CreateMultipartUploadInput, opts ...request.Option) (*s3.CreateMultipartUploadOutput, error)

func (*APIMetrics) DeleteBucketWithContext

func (m *APIMetrics) DeleteBucketWithContext(ctx context.Context, input *s3.DeleteBucketInput, opts ...request.Option) (*s3.DeleteBucketOutput, error)

func (*APIMetrics) DeleteObjectWithContext

func (m *APIMetrics) DeleteObjectWithContext(ctx context.Context, input *s3.DeleteObjectInput, opts ...request.Option) (*s3.DeleteObjectOutput, error)

func (*APIMetrics) HeadBucketWithContext

func (m *APIMetrics) HeadBucketWithContext(ctx context.Context, input *s3.HeadBucketInput, opts ...request.Option) (*s3.HeadBucketOutput, error)

func (*APIMetrics) ListMultipartUploadsWithContext

func (m *APIMetrics) ListMultipartUploadsWithContext(ctx context.Context, input *s3.ListMultipartUploadsInput, opts ...request.Option) (*s3.ListMultipartUploadsOutput, error)

func (*APIMetrics) ListObjectVersionsPagesWithContext

func (m *APIMetrics) ListObjectVersionsPagesWithContext(ctx context.Context, input *s3.ListObjectVersionsInput, f func(*s3.ListObjectVersionsOutput, bool) bool, opts ...request.Option) error

func (*APIMetrics) ListObjectVersionsWithContext

func (m *APIMetrics) ListObjectVersionsWithContext(ctx context.Context, input *s3.ListObjectVersionsInput, opts ...request.Option) (*s3.ListObjectVersionsOutput, error)

func (*APIMetrics) ListPartsWithContext

func (m *APIMetrics) ListPartsWithContext(ctx context.Context, input *s3.ListPartsInput, opts ...request.Option) (*s3.ListPartsOutput, error)

func (*APIMetrics) PutBucketEncryptionWithContext

func (m *APIMetrics) PutBucketEncryptionWithContext(ctx context.Context, input *s3.PutBucketEncryptionInput, opts ...request.Option) (*s3.PutBucketEncryptionOutput, error)

func (*APIMetrics) PutBucketVersioningWithContext

func (m *APIMetrics) PutBucketVersioningWithContext(ctx context.Context, input *s3.PutBucketVersioningInput, opts ...request.Option) (*s3.PutBucketVersioningOutput, error)

func (*APIMetrics) UploadPartWithContext

func (m *APIMetrics) UploadPartWithContext(ctx context.Context, input *s3.UploadPartInput, opts ...request.Option) (*s3.UploadPartOutput, error)

type DownloadAPIMetrics

type DownloadAPIMetrics struct {
	s3manageriface.DownloaderAPI
}

func (*DownloadAPIMetrics) DownloadWithContext

func (m *DownloadAPIMetrics) DownloadWithContext(ctx context.Context, w io.WriterAt, input *s3.GetObjectInput, opts ...func(*s3manager.Downloader)) (int64, error)

type UploadAPIMetrics

type UploadAPIMetrics struct {
	s3manageriface.UploaderAPI
}

func NewUploadAPIMetrics

func NewUploadAPIMetrics(api s3manageriface.UploaderAPI) (*UploadAPIMetrics, error)

func (*UploadAPIMetrics) UploadWithContext

func (m *UploadAPIMetrics) UploadWithContext(ctx context.Context, input *s3manager.UploadInput, opts ...func(*s3manager.Uploader)) (*s3manager.UploadOutput, error)

Jump to

Keyboard shortcuts

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