s3

package
v0.0.0-...-90deddd Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2023 License: Apache-2.0 Imports: 12 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateS3Bucket

func CreateS3Bucket(sess *session.Session, bucketName string, log *log.Logger) error

func InitRepo

func InitRepo(sess *session.Session, bucketName string) (*blobrepo.Repository, error)

Types

type Repository

type Repository struct {
	// Repository is the underlying blob repository implementation for s3.
	*blobrepo.Repository
	infra2.BucketNameFlagsTrait
}

Repository is a s3 backed blob repository.

func (Repository) Help

func (Repository) Help() string

Help implements infra.Provider

func (*Repository) Init

func (r *Repository) Init(sess *session.Session) (err error)

Init implements infra.Provider

func (*Repository) Setup

func (r *Repository) Setup(sess *session.Session, log *log.Logger) error

Setup implements infra.Provider

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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