s3

package
v0.60.0 Latest Latest
Warning

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

Go to latest
Published: May 24, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client added in v0.59.0

Client is an interface for S3 client.

type S3

type S3 struct {
	// contains filtered or unexported fields
}

func New

func New(client Client, bucket, prefix string) (*S3, error)

func (*S3) FS

func (s *S3) FS() (fs.FS, error)

func (*S3) Put added in v0.27.0

func (s *S3) Put(ctx context.Context, path string, content []byte) error

func (*S3) StoreReport added in v0.27.0

func (s *S3) StoreReport(ctx context.Context, r *report.Report) error

Jump to

Keyboard shortcuts

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