s3

package
v0.1.5 Latest Latest
Warning

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

Go to latest
Published: May 27, 2021 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClientConfig added in v0.0.9

func ClientConfig(region, assumeRoleArn string, sess *session.Session) *aws.Config

func Delete

func Delete(bucket, region, path string) bool

func Download

func Download(bucket, region, pathsArg, s3VersionID, gitBranch string, gitFlow bool) (err error)

func Get

func Get(bucket, region, path, versionID string) (fields map[string]*string, err error)

func GetMetadata

func GetMetadata(client *s3.S3, bucket, path string, versionID string) (map[string]*string, string, *time.Time, error)

func List

func List(bucket, region, path, specTag string) error

func NewClient

func NewClient(region string) *s3.S3

func NewSession added in v0.0.7

func NewSession(region string, debug bool) *session.Session

func PrepareMergedFile

func PrepareMergedFile(partContext parts.Context, bucket, region, filename string, ctx speccontext.GitContext) parts.Context

func Tag

func Tag(client s3iface.S3API, bucket string, path, versionId string, tags map[string]*string) (err error)

func Upload

func Upload(bucket, region, filesPath string, partContext parts.Context, ctx speccontext.GitContext) (err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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