Documentation ¶
Index ¶
- Variables
- func NewMinio(ctx context.Context, client *minio.Client, bucket string) afero.Fs
- type ByName
- type FileInfo
- type Fs
- func (fs *Fs) Chmod(_ string, _ os.FileMode) error
- func (fs *Fs) Chown(_ string, _, _ int) error
- func (fs *Fs) Chtimes(_ string, _, _ time.Time) error
- func (fs *Fs) Create(name string) (afero.File, error)
- func (fs *Fs) Mkdir(name string, _ os.FileMode) error
- func (fs *Fs) MkdirAll(_ string, _ os.FileMode) error
- func (fs *Fs) Name() string
- func (fs *Fs) Open(name string) (afero.File, error)
- func (fs *Fs) OpenFile(name string, flag int, fileMode os.FileMode) (afero.File, error)
- func (fs *Fs) Remove(name string) error
- func (fs *Fs) RemoveAll(path string) error
- func (fs *Fs) Rename(oldName, newName string) error
- func (fs *Fs) Stat(name string) (os.FileInfo, error)
- type MinioFile
- func (o *MinioFile) Close() error
- func (o *MinioFile) Name() string
- func (o *MinioFile) Read(p []byte) (n int, err error)
- func (o *MinioFile) ReadAt(p []byte, off int64) (n int, err error)
- func (o *MinioFile) Readdir(count int) ([]os.FileInfo, error)
- func (o *MinioFile) Readdirnames(n int) ([]string, error)
- func (o *MinioFile) Seek(newOffset int64, whence int) (int64, error)
- func (o *MinioFile) Stat() (os.FileInfo, error)
- func (o *MinioFile) Sync() error
- func (o *MinioFile) Truncate(wantedSize int64) error
- func (o *MinioFile) Write(p []byte) (n int, err error)
- func (o *MinioFile) WriteAt(b []byte, off int64) (n int, err error)
- func (o *MinioFile) WriteString(s string) (ret int, err error)
- type MinioFs
- func (fs *MinioFs) Chmod(name string, mode os.FileMode) error
- func (fs *MinioFs) Chown(name string, uid, gid int) error
- func (fs *MinioFs) Chtimes(name string, atime time.Time, mtime time.Time) error
- func (fs *MinioFs) Create(name string) (afero.File, error)
- func (fs *MinioFs) Mkdir(name string, perm os.FileMode) error
- func (fs *MinioFs) MkdirAll(path string, perm os.FileMode) error
- func (fs *MinioFs) Name() string
- func (fs *MinioFs) Open(name string) (afero.File, error)
- func (fs *MinioFs) OpenFile(name string, flag int, perm os.FileMode) (afero.File, error)
- func (fs *MinioFs) Remove(name string) error
- func (fs *MinioFs) RemoveAll(path string) error
- func (fs *MinioFs) Rename(oldname, newname string) error
- func (fs *MinioFs) Stat(name string) (os.FileInfo, error)
Constants ¶
This section is empty.
Variables ¶
Functions ¶
Types ¶
type Fs ¶
type Fs struct {
// contains filtered or unexported fields
}
Fs is a Fs implementation that uses functions provided by google cloud storage
func NewMinioFs ¶
func NewMinioFsWithSeparator ¶
type MinioFile ¶
type MinioFile struct {
// contains filtered or unexported fields
}
MinioFile is the Afero version adapted for Minio
func NewMinioFile ¶
func NewMinioFileFromOldFH ¶
Click to show internal directories.
Click to hide internal directories.