Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FileSystem ¶
type FileSystem struct {
// contains filtered or unexported fields
}
FileSystem is an abstraction over an s3 bucket which allows for the creation, opening and removal of objects.
func New ¶
func New(bucket string, config *aws.Config) (*FileSystem, error)
New creates a new aws session and s3 client.
func (*FileSystem) Open ¶
func (fs *FileSystem) Open(ctx context.Context, name string) (filesystem.Reader, error)
Open gets the object with the specified key, name.
Click to show internal directories.
Click to hide internal directories.