s3

package
v0.0.0-...-6fbd81c Latest Latest
Warning

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

Go to latest
Published: Jan 26, 2023 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Bucket string
}

type Repository

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

func NewS3Repository

func NewS3Repository(config Config, client *s3.Client) Repository

func (Repository) Delete

func (repo Repository) Delete(ctx context.Context, remotePath string) error

func (Repository) Get

func (repo Repository) Get(ctx context.Context, remotePath string) (string, error)

func (Repository) PutEditable

func (repo Repository) PutEditable(ctx context.Context, localPath string, remotePath string) error

func (Repository) PutGlacier

func (repo Repository) PutGlacier(ctx context.Context, localPath string) error

Jump to

Keyboard shortcuts

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