Documentation ¶
Index ¶
- type BackendFilesystem
- func (s *BackendFilesystem) Allocate(name string, size int64, ndata int, nparity int) error
- func (s *BackendFilesystem) Configure(data interface{}) error
- func (s *BackendFilesystem) Exists(name string, ndata int, nparity int) (bool, error)
- func (s *BackendFilesystem) Init(data interface{}) error
- func (s *BackendFilesystem) ReadAt(name string, buf []byte, offset int64, ndata int, nparity int) (int, error)
- func (s *BackendFilesystem) ReaderFrom(name string, r io.Reader, offset int64, size int64, ndata int, nparity int) (int64, error)
- func (s *BackendFilesystem) Remove(name string, ndata int, nparity int) error
- func (s *BackendFilesystem) WriteAt(name string, buf []byte, offset int64, ndata int, nparity int) (int, error)
- func (s *BackendFilesystem) WriterTo(name string, w io.Writer, offset int64, size int64, ndata int, nparity int) (int64, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BackendFilesystem ¶
type BackendFilesystem struct {
// contains filtered or unexported fields
}
func (*BackendFilesystem) Configure ¶
func (s *BackendFilesystem) Configure(data interface{}) error
func (*BackendFilesystem) Init ¶
func (s *BackendFilesystem) Init(data interface{}) error
func (*BackendFilesystem) ReaderFrom ¶
func (*BackendFilesystem) Remove ¶
func (s *BackendFilesystem) Remove(name string, ndata int, nparity int) error
Click to show internal directories.
Click to hide internal directories.