Documentation ¶
Index ¶
- func New() types.BackendFactory
- type Factory
- type Wrapper
- func (f *Wrapper) Close() error
- func (f *Wrapper) Expand(size int64) (err error)
- func (f *Wrapper) GetHeadFileSize() (int64, error)
- func (f *Wrapper) GetLastModifyTime() (int64, error)
- func (f *Wrapper) GetMonitorChannel() types.MonitorChannel
- func (f *Wrapper) GetRevisionCounter() (int64, error)
- func (f *Wrapper) GetState() (string, error)
- func (f *Wrapper) GetUnmapMarkSnapChainRemoved() (bool, error)
- func (f *Wrapper) IsRevisionCounterDisabled() (bool, error)
- func (f *Wrapper) PingResponse() error
- func (f *Wrapper) RemainSnapshots() (int, error)
- func (f *Wrapper) SectorSize() (int64, error)
- func (f *Wrapper) SetRevisionCounter(counter int64) error
- func (f *Wrapper) SetUnmapMarkSnapChainRemoved(enabled bool) error
- func (f *Wrapper) Size() (int64, error)
- func (f *Wrapper) Snapshot(name string, userCreated bool, created string, labels map[string]string) error
- func (f *Wrapper) StopMonitoring()
- func (f *Wrapper) UnmapAt(length uint32, off int64) (int, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New() types.BackendFactory
Types ¶
type Wrapper ¶
type Wrapper struct { *os.File types.UnmapperAt }
func (*Wrapper) GetHeadFileSize ¶ added in v1.1.0
GetHeadFileSize uses dummy head file size for file backend
func (*Wrapper) GetLastModifyTime ¶ added in v1.1.0
func (*Wrapper) GetMonitorChannel ¶
func (f *Wrapper) GetMonitorChannel() types.MonitorChannel
func (*Wrapper) GetRevisionCounter ¶
func (*Wrapper) GetUnmapMarkSnapChainRemoved ¶ added in v1.4.0
func (*Wrapper) IsRevisionCounterDisabled ¶ added in v1.1.0
func (*Wrapper) PingResponse ¶
func (*Wrapper) RemainSnapshots ¶
func (*Wrapper) SectorSize ¶
func (*Wrapper) SetRevisionCounter ¶
func (*Wrapper) SetUnmapMarkSnapChainRemoved ¶ added in v1.4.0
func (*Wrapper) StopMonitoring ¶
func (f *Wrapper) StopMonitoring()
Click to show internal directories.
Click to hide internal directories.