Documentation ¶
Index ¶
- type ClientBase
- type DirectoryInfo
- type Node
- func (r *Node) Create(ctx context.Context, name string, flags uint32, mode uint32, ...) (node *fs.Inode, fh fs.FileHandle, fuseFlags uint32, errno syscall.Errno)
- func (r *Node) Getattr(ctx context.Context, fh fs.FileHandle, out *fuse.AttrOut) syscall.Errno
- func (r *Node) Lookup(ctx context.Context, name string, out *fuse.EntryOut) (*fs.Inode, syscall.Errno)
- func (r *Node) Readdir(ctx context.Context) (fs.DirStream, syscall.Errno)
- func (r *Node) Unlink(ctx context.Context, name string) syscall.Errno
- type Object
- type S3Client
- func (receiver *S3Client) Close()
- func (receiver *S3Client) CreateObject(ctx context.Context, key string) (*Object, error)
- func (receiver *S3Client) DeleteObject(ctx context.Context, key string) error
- func (receiver *S3Client) GetDirectoryInfo(ctx context.Context, key string) (*DirectoryInfo, error)
- func (receiver *S3Client) GetObject(ctx context.Context, key string) (*Object, error)
- func (receiver *S3Client) IsDirectory(ctx context.Context, key string) (bool, error)
- func (receiver *S3Client) List(ctx context.Context, key string) ([]string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientBase ¶
type ClientBase interface { List(ctx context.Context, key string) ([]string, error) GetObject(ctx context.Context, key string) (*Object, error) IsDirectory(ctx context.Context, key string) (bool, error) GetDirectoryInfo(ctx context.Context, key string) (*DirectoryInfo, error) CreateObject(ctx context.Context, key string) (*Object, error) DeleteObject(ctx context.Context, key string) error Close() }
type DirectoryInfo ¶
type Node ¶
type Node struct { fs.Inode Client ClientBase IsDirectory bool DirectoryInfo *DirectoryInfo // contains filtered or unexported fields }
type S3Client ¶
func (*S3Client) CreateObject ¶
func (*S3Client) DeleteObject ¶
func (*S3Client) GetDirectoryInfo ¶
func (*S3Client) IsDirectory ¶
Click to show internal directories.
Click to hide internal directories.