Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Inflight ¶
type Inflight struct { s3iface.S3API Bucket Bucket KeyPath KeyPath // ObjectKeyFunc will be called when Inflight#Write(io.ReadSeeker) is invoked. // The data will be given the name that this function generates. ObjectKeyFunc ObjectKeyFunc }
Inflight is a structure which provides an interface to retrieving and writing data to s3, it doesn't care about what data you're writing, just provides an easy way to get to it
func NewInflight ¶
NewInflight Creates a reference to an Inflight struct
type KeyPath ¶
type KeyPath string
KeyPath is a string value which represents the s3 name space objects will be written to
type ObjectKeyFunc ¶
ObjectKeyFunc is a function which generates the string to be used as the object key.
type Ref ¶
type Ref struct { Bucket string `json:"bucket"` Path string `json:"path"` Object string `json:"object"` }
Ref represents the path to an object in S3 broken down by bucket, Path, and Object Bucket = "my-s3-bucket" Path = "some/path/within" Object = "an-object-in-s3.json" s3://my-s3-bucket/some/path/within/an-object-in-s3.json
Click to show internal directories.
Click to hide internal directories.