stores3

package
v0.0.0-...-f9df99f Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewWithEndpoint

func NewWithEndpoint(ctx context.Context, endpoint string) (*s3.Client, error)

Types

type S3HealthCheck

type S3HealthCheck struct {
	Client     *s3.Client
	BucketName string
}

func (*S3HealthCheck) Health

type S3Store

type S3Store struct {
	Store s3store.S3Store
}

func (*S3Store) AsConcatableUpload

func (s *S3Store) AsConcatableUpload(upload handler.Upload) handler.ConcatableUpload

func (*S3Store) AsLengthDeclarableUpload

func (s *S3Store) AsLengthDeclarableUpload(upload handler.Upload) handler.LengthDeclarableUpload

func (*S3Store) AsTerminatableUpload

func (s *S3Store) AsTerminatableUpload(upload handler.Upload) handler.TerminatableUpload

func (*S3Store) GetUpload

func (s *S3Store) GetUpload(ctx context.Context, id string) (handler.Upload, error)

func (*S3Store) NewUpload

func (s *S3Store) NewUpload(ctx context.Context, info handler.FileInfo) (handler.Upload, error)

func (*S3Store) UseIn

func (s *S3Store) UseIn(composer *handler.StoreComposer)

type S3StoreUpload

type S3StoreUpload struct {
	handler.Upload
}

func (*S3StoreUpload) GetInfo

func (su *S3StoreUpload) GetInfo(ctx context.Context) (handler.FileInfo, error)

Jump to

Keyboard shortcuts

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