Versions in this module Expand all Collapse all v0 v0.14.2 Feb 24, 2022 v0.14.1 Feb 24, 2022 Changes in this version + const CloneComplete + const CloneFailed + const CloneInProgress + const ClonePending + const Infinite + const NoGroup + const SnapshotAutoprotectFeature + const SnapshotCloneFeature + const SnapshotRetentionFeature + const StateCanceled + const StateComplete + const StateFailed + const StateInProgress + const StateInit + const StatePending + const StateSnapRetained + const StateUnset + var ErrBodyNotEmpty = commands.ErrBodyNotEmpty + var ErrStatusNotEmpty = commands.ErrStatusNotEmpty + type ByteCount uint64 + type CloneOptions struct + PoolLayout string + TargetGroup string + type CloneSource struct + Group string + Snapshot string + SubVolume string + Volume string + type CloneState string + type CloneStatus struct + Source CloneSource + State CloneState + type DaemonID uint + type DaemonStatusFileSystemInfo struct + DirectoryCount int64 + FileSystemID FileSystemID + Name string + Peers []DaemonStatusPeerInfo + type DaemonStatusInfo struct + DaemonID DaemonID + FileSystems []DaemonStatusFileSystemInfo + type DaemonStatusPeer struct + ClientName string + ClusterName string + FSName string + type DaemonStatusPeerInfo struct + Remote DaemonStatusPeer + Stats DaemonStatusPeerStats + UUID PeerUUID + type DaemonStatusPeerStats struct + FailureCount uint64 + RecoveryCount uint64 + type DaemonStatusResults []DaemonStatusInfo + type FSAdmin struct + func New() (*FSAdmin, error) + func NewFromConn(conn RadosCommander) *FSAdmin + func (fsa *FSAdmin) CancelClone(volume, group, clone string) error + func (fsa *FSAdmin) CloneStatus(volume, group, clone string) (*CloneStatus, error) + func (fsa *FSAdmin) CloneSubVolumeSnapshot(volume, group, subvolume, snapshot, name string, o *CloneOptions) error + func (fsa *FSAdmin) CreateSubVolume(volume, group, name string, o *SubVolumeOptions) error + func (fsa *FSAdmin) CreateSubVolumeGroup(volume, name string, o *SubVolumeGroupOptions) error + func (fsa *FSAdmin) CreateSubVolumeSnapshot(volume, group, source, name string) error + func (fsa *FSAdmin) DisableMirroringModule() error + func (fsa *FSAdmin) DisableModule(module string) error + func (fsa *FSAdmin) EnableMirroringModule(force bool) error + func (fsa *FSAdmin) EnableModule(module string, force bool) error + func (fsa *FSAdmin) EnumerateVolumes() ([]VolumeIdent, error) + func (fsa *FSAdmin) ForceRemoveSubVolume(volume, group, name string) error + func (fsa *FSAdmin) ForceRemoveSubVolumeGroup(volume, name string) error + func (fsa *FSAdmin) ForceRemoveSubVolumeSnapshot(volume, group, subvolume, name string) error + func (fsa *FSAdmin) ListFileSystems() ([]FSPoolInfo, error) + func (fsa *FSAdmin) ListSubVolumeGroups(volume string) ([]string, error) + func (fsa *FSAdmin) ListSubVolumeSnapshots(volume, group, name string) ([]string, error) + func (fsa *FSAdmin) ListSubVolumes(volume, group string) ([]string, error) + func (fsa *FSAdmin) ListVolumes() ([]string, error) + func (fsa *FSAdmin) ProtectSubVolumeSnapshot(volume, group, subvolume, name string) error + func (fsa *FSAdmin) RemoveSubVolume(volume, group, name string) error + func (fsa *FSAdmin) RemoveSubVolumeGroup(volume, name string) error + func (fsa *FSAdmin) RemoveSubVolumeSnapshot(volume, group, subvolume, name string) error + func (fsa *FSAdmin) RemoveSubVolumeWithFlags(volume, group, name string, o SubVolRmFlags) error + func (fsa *FSAdmin) ResizeSubVolume(volume, group, name string, newSize QuotaSize, noShrink bool) (*SubVolumeResizeResult, error) + func (fsa *FSAdmin) SnapshotMirror() *SnapshotMirrorAdmin + func (fsa *FSAdmin) SubVolumeGroupPath(volume, name string) (string, error) + func (fsa *FSAdmin) SubVolumeInfo(volume, group, name string) (*SubVolumeInfo, error) + func (fsa *FSAdmin) SubVolumePath(volume, group, name string) (string, error) + func (fsa *FSAdmin) SubVolumeSnapshotInfo(volume, group, subvolume, name string) (*SubVolumeSnapshotInfo, error) + func (fsa *FSAdmin) UnprotectSubVolumeSnapshot(volume, group, subvolume, name string) error + func (fsa *FSAdmin) VolumeStatus(name string) (*VolumeStatus, error) + type FSPoolInfo struct + DataPoolIDs []int + DataPools []string + MetadataPool string + MetadataPoolID int + Name string + type Feature string + type FileSystemID uint + type NotImplementedError = commands.NotImplementedError + type NotProtectedError struct + type PeerInfo struct + ClientName string + FSName string + MonHost string + SiteName string + type PeerListResults map[PeerUUID]PeerInfo + type PeerUUID string + type QuotaSize interface + type RadosCommander = ccom.RadosCommander + type SnapshotMirrorAdmin struct + func (sma *SnapshotMirrorAdmin) Add(fsname, path string) error + func (sma *SnapshotMirrorAdmin) CreatePeerBootstrapToken(fsname, client, site string) (string, error) + func (sma *SnapshotMirrorAdmin) DaemonStatus(fsname string) (DaemonStatusResults, error) + func (sma *SnapshotMirrorAdmin) Disable(fsname string) error + func (sma *SnapshotMirrorAdmin) Enable(fsname string) error + func (sma *SnapshotMirrorAdmin) ImportPeerBoostrapToken(fsname, token string) error + func (sma *SnapshotMirrorAdmin) PeerList(fsname string) (PeerListResults, error) + func (sma *SnapshotMirrorAdmin) Remove(fsname, path string) error + type SubVolRmFlags struct + Force bool + RetainSnapshots bool + type SubVolumeGroupOptions struct + Gid int + Mode int + PoolLayout string + Uid int + type SubVolumeInfo struct + Atime TimeStamp + BytesPercent string + BytesQuota QuotaSize + BytesUsed ByteCount + CreatedAt TimeStamp + Ctime TimeStamp + DataPool string + Features []Feature + Gid int + Mode int + Mtime TimeStamp + Path string + PoolNamespace string + State SubVolumeState + Type string + Uid int + type SubVolumeOptions struct + Gid int + Mode int + NamespaceIsolated bool + PoolLayout string + Size ByteCount + Uid int + type SubVolumeResizeResult struct + BytesPercent string + BytesQuota ByteCount + BytesUsed ByteCount + type SubVolumeSnapshotInfo struct + CreatedAt TimeStamp + DataPool string + HasPendingClones string + Protected string + Size ByteCount + type SubVolumeState string + type TimeStamp struct + func (ts *TimeStamp) UnmarshalJSON(b []byte) error + func (ts TimeStamp) String() string + type VolumeIdent struct + ID int64 + Name string + type VolumePool struct + Available uint64 + ID int + Name string + Type string + Used uint64 + type VolumeStatus struct + MDSVersion string + Pools []VolumePool