Documentation ¶
Index ¶
- type S3Driver
- func (d *S3Driver) Authenticate(username string, password string) bool
- func (d *S3Driver) Bytes(path string) int64
- func (d *S3Driver) ChangeDir(path string) bool
- func (d *S3Driver) DeleteDir(path string) bool
- func (d *S3Driver) DeleteFile(path string) bool
- func (d *S3Driver) DirContents(path string) ([]os.FileInfo, bool)
- func (d *S3Driver) GetFile(path string, position int64) (io.ReadCloser, bool)
- func (d *S3Driver) MakeDir(path string) bool
- func (d *S3Driver) ModifiedTime(path string) (time.Time, bool)
- func (d *S3Driver) PutFile(path string, reader io.Reader) bool
- func (d *S3Driver) Rename(fromPath string, toPath string) bool
- type S3DriverFactory
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type S3Driver ¶
type S3Driver struct { Username string Password string AWSRegion string AWSCredentialsProvider aws.CredentialsProvider AWSBucketName string WorkingDirectory string }
S3Driver ...
func (*S3Driver) Authenticate ¶
Authenticate checks that the FTP username and password match
func (*S3Driver) ChangeDir ¶
ChangeDir “changes directories” on S3 if there are files under the given path
func (*S3Driver) DeleteFile ¶
DeleteFile deletes the files from the given path
func (*S3Driver) DirContents ¶
DirContents lists “directory” contents on S3
func (*S3Driver) ModifiedTime ¶
ModifiedTime returns the LastModifiedTime for the path if the key exists
type S3DriverFactory ¶
Click to show internal directories.
Click to hide internal directories.