aofs

package module
v0.0.0-...-33dcc45 Latest Latest
Warning

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

Go to latest
Published: Jun 12, 2017 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type File

type File interface {
	Write(p []byte) (n int, err error)
	Flush() error
	Close() error
}

type FileSystem

type FileSystem interface {
	Open(name string) (File, error)
}

type S3File

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

func (*S3File) Close

func (f *S3File) Close() error

func (*S3File) Flush

func (f *S3File) Flush() error

func (*S3File) Write

func (f *S3File) Write(p []byte) (n int, err error)

type S3FileSystem

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

func NewS3FileSystem

func NewS3FileSystem(options S3FileSystemOptions) *S3FileSystem

func (*S3FileSystem) Open

func (fs *S3FileSystem) Open(name string) (File, error)

type S3FileSystemOptions

type S3FileSystemOptions struct {
	Bucket  string
	Session *session.Session
}

Jump to

Keyboard shortcuts

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