Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type S3API ¶
type S3API interface { GetObject(ctx context.Context, params *s3.GetObjectInput, optFns ...func(*s3.Options)) (*s3.GetObjectOutput, error) ListObjectsV2(ctx context.Context, params *s3.ListObjectsV2Input, optFns ...func(*s3.Options)) (*s3.ListObjectsV2Output, error) HeadObject(ctx context.Context, params *s3.HeadObjectInput, optFns ...func(*s3.Options)) (*s3.HeadObjectOutput, error) DeleteObject(ctx context.Context, params *s3.DeleteObjectInput, optFns ...func(*s3.Options)) (*s3.DeleteObjectOutput, error) PutObject(ctx context.Context, params *s3.PutObjectInput, optFns ...func(*s3.Options)) (*s3.PutObjectOutput, error) }
S3API s3 calls used to build this library, this is used to enable testing.
type S3FS ¶
type S3FS struct {
// contains filtered or unexported fields
}
S3FS is a filesystem implementation using S3.
func NewWithClient ¶ added in v1.1.0
NewWithClient returns a new filesystem which provides access to the specified s3 bucket.
func (*S3FS) Remove ¶ added in v1.5.1
Remove removes the named file or directory.
Note if the file doesn't exist in the s3 bucket, Remove returns nil.
Click to show internal directories.
Click to hide internal directories.