Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FS ¶
type FS struct {
// contains filtered or unexported fields
}
FS is only for accessing files in a single bucket. The directory entries are cached. It is specifically intended for use by a source that calls fs.WalkDir and does not fully implement all fs operations
func (*FS) Open ¶
Open implements fs.FS. For the S3 filesystem, it fetches the object contents from s3.
func (*FS) ReadDir ¶
ReadDir implements fs.ReadDirFS. For the s3 filesystem, this returns the previously fetched objects in the bucket. This can only be called on the current directory as the s3 filesystem does not support any kind of recursive directory structure
type S3ClientAPI ¶
type S3ClientAPI interface { ListObjectsV2(context.Context, *s3.ListObjectsV2Input, ...func(*s3.Options)) (*s3.ListObjectsV2Output, error) GetObject(context.Context, *s3.GetObjectInput, ...func(*s3.Options)) (*s3.GetObjectOutput, error) }
Click to show internal directories.
Click to hide internal directories.