s3

package
v0.0.0-...-c728838 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2017 License: MIT Imports: 12 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValidateOptions

func ValidateOptions(options *Options)

Types

type Options

type Options struct {
	CredsPath  string
	Region     string
	BucketName string
	Endpoint   string
}

type S3Connection

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

func NewS3Connection

func NewS3Connection(opts *Options, configPath string) *S3Connection

func (*S3Connection) DeletePath

func (conn *S3Connection) DeletePath(path string)

func (*S3Connection) DownloadPath

func (conn *S3Connection) DownloadPath(path string) io.ReadCloser

func (*S3Connection) ListPaths

func (conn *S3Connection) ListPaths(prefix string, maxKeys int64) []string

Jump to

Keyboard shortcuts

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