upload

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: May 13, 2014 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Upload

func Upload(opts *Options, log *logrus.Logger) error

Upload does the deed!

Types

type Options

type Options struct {
	AccessKey    string
	BucketName   string
	CacheControl string
	Concurrency  int
	Paths        []string
	Perm         s3.ACL
	Private      bool
	Retries      int
	SecretKey    string
	TargetPaths  []string
	WorkingDir   string
}

Options is used in the call to Upload

func NewOptions

func NewOptions() *Options

NewOptions makes some *Options with defaults!

func (*Options) Validate added in v0.3.0

func (opts *Options) Validate() error

Validate checks for validity!

Jump to

Keyboard shortcuts

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