Documentation ¶
Index ¶
- type LocalFileBucket
- func (*LocalFileBucket) Info() (stat fio.BucketStat, err error)
- func (l *LocalFileBucket) Init() error
- func (*LocalFileBucket) List(path string) ([]fs.FileInfo, error)
- func (l *LocalFileBucket) Open(name string) (io.ReadCloser, error)
- func (l *LocalFileBucket) OpenFile(name string) (fio.IFile, error)
- func (l *LocalFileBucket) Remove(name string) error
- func (*LocalFileBucket) SetConfig(conf fio.BucketConfig) (err error)
- func (l *LocalFileBucket) Stat(name string) (fs.FileInfo, error)
- type LocalFileSystem
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LocalFileBucket ¶
type LocalFileBucket struct {
// contains filtered or unexported fields
}
本地文件系统(需要被 minio相关实现覆盖)
func (*LocalFileBucket) Info ¶
func (*LocalFileBucket) Info() (stat fio.BucketStat, err error)
Info implements fio.IFileBucket.
func (*LocalFileBucket) Init ¶
func (l *LocalFileBucket) Init() error
func (*LocalFileBucket) List ¶
func (*LocalFileBucket) List(path string) ([]fs.FileInfo, error)
List implements fio.IFileBucket.
func (*LocalFileBucket) Open ¶
func (l *LocalFileBucket) Open(name string) (io.ReadCloser, error)
OpenReadOnly implements IFileSystem
func (*LocalFileBucket) OpenFile ¶
func (l *LocalFileBucket) OpenFile(name string) (fio.IFile, error)
OpenFile implements IFileSystem
func (*LocalFileBucket) Remove ¶
func (l *LocalFileBucket) Remove(name string) error
func (*LocalFileBucket) SetConfig ¶
func (*LocalFileBucket) SetConfig(conf fio.BucketConfig) (err error)
SetConfig implements fio.IFileBucket.
type LocalFileSystem ¶
type LocalFileSystem struct { BasePath string // contains filtered or unexported fields }
func (*LocalFileSystem) Bucket ¶
func (l *LocalFileSystem) Bucket(name string) (fio.IFileBucket, error)
Bucket implements fio.IFileSystem.
func (*LocalFileSystem) Init ¶
func (l *LocalFileSystem) Init()
func (*LocalFileSystem) IsOnline ¶
func (l *LocalFileSystem) IsOnline() bool
Click to show internal directories.
Click to hide internal directories.