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) GetSnapshotCountAndSizeUsage() (int, int64, error)
- func (r *Remote) GetState() (string, error)
- func (r *Remote) GetUnmapMarkSnapChainRemoved() (bool, error)
- func (r *Remote) IsReplicaRebuilding() (bool, error)
- func (r *Remote) IsRevisionCounterDisabled() (bool, error)
- func (r *Remote) ResetRebuild() error
- func (r *Remote) SectorSize() (int64, error)
- func (r *Remote) SetRevisionCounter(counter int64) error
- func (r *Remote) SetSnapshotMaxCount(count int) error
- func (r *Remote) SetSnapshotMaxSize(size 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 NumberOfConnections = 2 )
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) GetSnapshotCountAndSizeUsage ¶ added in v1.6.0
func (*Remote) GetUnmapMarkSnapChainRemoved ¶ added in v1.4.0
func (*Remote) IsReplicaRebuilding ¶ added in v1.4.4
func (*Remote) IsRevisionCounterDisabled ¶ added in v1.1.0
func (*Remote) ResetRebuild ¶ added in v1.4.4
func (*Remote) SectorSize ¶
func (*Remote) SetRevisionCounter ¶
func (*Remote) SetSnapshotMaxCount ¶ added in v1.6.0
func (*Remote) SetSnapshotMaxSize ¶ added in v1.6.0
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.