Documentation ¶
Overview ¶
TODO(pedge): the public vs non-public needs to go away, we need to put creds somewhere managed, and consistently call out to s3
Index ¶
- Constants
- func ForEachFile(uri string, public bool, marker string, ...) error
- func GetBucket(input string) (string, error)
- func GetPath(input string) (string, error)
- func NewClient(public bool) *s3.S3
- func PutMulti(bucketUri string, path string, r io.Reader, contType string, perm ACL) error
- type ACL
Constants ¶
Variables ¶
This section is empty.
Functions ¶
func ForEachFile ¶
func ForEachFile(uri string, public bool, marker string, cont func(file string, modtime time.Time) error) error
Files calls `cont` on each file found at `uri` starting at marker. Pass `marker=""` to start from the beginning. Returns the marker that should be passed to pick-up where this call left off.
Types ¶
Click to show internal directories.
Click to hide internal directories.