Documentation ¶
Index ¶
- Constants
- func New() types.BackendFactory
- type Factory
- type Remote
- func (r *Remote) Close() error
- func (r *Remote) Expand(size int64) (err error)
- func (r *Remote) GetHeadFileSize() (int64, error)
- func (r *Remote) GetLastModifyTime() (int64, error)
- func (r *Remote) GetMonitorChannel() types.MonitorChannel
- func (r *Remote) GetRevisionCounter() (int64, error)
- func (r *Remote) GetState() (string, error)
- func (r *Remote) GetUnmapMarkSnapChainRemoved() (bool, error)
- func (r *Remote) IsRevisionCounterDisabled() (bool, error)
- func (r *Remote) RemainSnapshots() (int, error)
- func (r *Remote) SectorSize() (int64, error)
- func (r *Remote) SetRevisionCounter(counter int64) error
- func (r *Remote) SetUnmapMarkSnapChainRemoved(enabled bool) error
- func (r *Remote) Size() (int64, error)
- func (r *Remote) Snapshot(name string, userCreated bool, created string, labels map[string]string) error
- func (r *Remote) StopMonitoring()
- type RevisionCounter
Constants ¶
View Source
const (
PingInterval = 2 * time.Second
)
Variables ¶
This section is empty.
Functions ¶
func New ¶
func New() types.BackendFactory
Types ¶
type Remote ¶
type Remote struct { types.ReaderWriterUnmapperAt // contains filtered or unexported fields }
func (*Remote) GetHeadFileSize ¶ added in v1.1.0
func (*Remote) GetLastModifyTime ¶ added in v1.1.0
func (*Remote) GetMonitorChannel ¶
func (r *Remote) GetMonitorChannel() types.MonitorChannel
func (*Remote) GetRevisionCounter ¶
func (*Remote) GetUnmapMarkSnapChainRemoved ¶ added in v1.4.0
func (*Remote) IsRevisionCounterDisabled ¶ added in v1.1.0
func (*Remote) RemainSnapshots ¶
func (*Remote) SectorSize ¶
func (*Remote) SetRevisionCounter ¶
func (*Remote) SetUnmapMarkSnapChainRemoved ¶ added in v1.4.0
func (*Remote) StopMonitoring ¶
func (r *Remote) StopMonitoring()
type RevisionCounter ¶
type RevisionCounter struct {
Counter int64 `json:"counter,string"`
}
Click to show internal directories.
Click to hide internal directories.