safeuploader

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: May 28, 2020 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SafeUploader

type SafeUploader struct {
	S3                   s3iface.S3API
	Bucket               string
	ServerSideEncryption *string
	StorageClass         *string
}

func (*SafeUploader) UploadFile

func (u *SafeUploader) UploadFile(ctx context.Context, key string, file paranoid.File, digests digest.ForUpload) error

type UploadPartFailures

type UploadPartFailures map[int64]error

func (UploadPartFailures) Error

func (e UploadPartFailures) Error() string

Jump to

Keyboard shortcuts

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