Versions in this module Expand all Collapse all v0 v0.0.2 Jan 22, 2025 Changes in this version + var ErrAccessDenied = errors.New("AccessDenied") + var ErrAlreadyExists = errors.New("ErrAlreadyExists") + var ErrInternal = errors.New("InternalError") + var ErrInvalidArg = errors.New("InvalidArg") + var ErrInvalidConfig = errors.New("InvalidConfig") + var ErrNotFound = errors.New("NotFound") + var ErrNotImplemented = errors.New("NotImplemented") + var ErrUnauthenticated = errors.New("Unauthenticated") + type CephMonDumpResponse struct + Created *time.Time + DisallowedLeaders string + ElectionStrategy int32 + Epoch int32 + Features *pb.CephMonDumpFeatures + Fsid string + MinMonRelease int32 + MinMonReleaseName string + Modified *time.Time + Mons []*pb.CephMonDumpMonInfo + Quorum []int32 + RemovedRanks string + StretchMode bool + TiebreakerMon string + type CephOsdDumpResponse struct + AllowCrimson bool + BackfillfullRatio float64 + Blocklist map[string]CephTimestamp + ClusterSnapshot string + Created CephTimestamp + CrushNodeFlags *structpb.Struct + CrushVersion int32 + DeviceClassFlags *structpb.Struct + Epoch int32 + ErasureCodeProfiles map[string]*pb.OsdDumpErasureCodeProfile + Flags string + FlagsNum int32 + FlagsSet []string + Fsid string + FullRatio float64 + LastInChange CephTimestamp + LastUpChange CephTimestamp + MaxOsd int32 + MinCompatClient string + Modified CephTimestamp + NearfullRatio float64 + NewPurgedSnaps []*structpb.Value + NewRemovedSnaps []*structpb.Value + OsdXinfo []*OsdDumpOsdXInfo + Osds []*pb.OsdDumpOsdInfo + PgTemp []*structpb.Value + PgUpmap []*structpb.Value + PgUpmapItems []*structpb.Value + PgUpmapPrimaries []*structpb.Value + PoolMax int32 + Pools []OsdDumpPool + PrimaryTemp []*structpb.Value + RangeBlocklist *structpb.Struct + RemovedSnapsQueue []*structpb.Value + RequireMinCompatClient string + RequireOsdRelease string + StretchMode *pb.OsdDumpStretchMode + type CephTimestamp struct + func (ct *CephTimestamp) UnmarshalJSON(data []byte) error + type OsdDumpOsdXInfo struct + DeadEpoch int32 + DownStamp CephTimestamp + Features uint64 + LaggyInterval float64 + LaggyProbability float64 + LastPurgedSnapsScrub CephTimestamp + OldWeight float64 + Osd int32 + type OsdDumpPool struct + ApplicationMetadata *structpb.Struct + Auid uint64 + CacheMinEvictAge uint64 + CacheMinFlushAge uint64 + CacheMode string + CacheTargetDirtyHighRatioMicro uint64 + CacheTargetDirtyRatioMicro uint64 + CacheTargetFullRatioMicro uint64 + CreateTime CephTimestamp + CrushRule int32 + ErasureCodeProfile string + ExpectedNumObjects uint64 + FastRead bool + Flags int64 + FlagsNames string + GradeTable []*structpb.Value + HitSetCount uint64 + HitSetGradeDecayRate uint64 + HitSetParams *pb.OsdDumpHitSetParams + HitSetPeriod uint64 + HitSetSearchLastN uint64 + LastChange string + LastForceOpResend string + LastForceOpResendPreluminous string + LastForceOpResendPrenautilus string + LastPgMergeMeta *pb.OsdDumpLastPgMergeMeta + MinReadRecencyForPromote uint64 + MinSize int32 + MinWriteRecencyForPromote uint64 + ObjectHash int32 + Options *structpb.Struct + PeeringCrushBucketBarrier int32 + PeeringCrushBucketCount int32 + PeeringCrushBucketMandatoryMember int32 + PeeringCrushBucketTarget int32 + PgAutoscaleMode string + PgNum int32 + PgNumPending int32 + PgNumTarget int32 + PgPlacementNum int32 + PgPlacementNumTarget int32 + Pool int32 + PoolName string + PoolSnaps []*structpb.Value + QuotaMaxBytes uint64 + QuotaMaxObjects uint64 + ReadBalance *pb.OsdDumpReadBalance + ReadTier int32 + RemovedSnaps string + Size int32 + SnapEpoch uint64 + SnapMode string + SnapSeq uint64 + StripeWidth uint64 + TargetMaxBytes uint64 + TargetMaxObjects uint64 + TierOf int32 + Tiers []int32 + Type int32 + UseGmtHitset bool + WriteTier int32 + type PGMap struct + LastOsdmapEpoch int64 + LastPgScan int64 + OsdStats []*pb.OsdStats + OsdStatsSum *pb.OSDStatsSum + PgStats []*PGStat + PgStatsDelta *pb.PGStatsDelta + PgStatsSum *pb.PGStatsSum + PoolStatfs []*pb.PoolStatFs + PoolStats []*pb.PoolStats + Stamp CephTimestamp + Version int64 + type PGStat struct + Acting []int64 + ActingPrimary int64 + AvailNoMissing []int64 + BlockedBy []int64 + Created int64 + DirtyStatsInvalid bool + HitsetBytesStatsInvalid bool + HitsetStatsInvalid bool + LastActive CephTimestamp + LastBecameActive CephTimestamp + LastBecamePeered CephTimestamp + LastChange CephTimestamp + LastClean CephTimestamp + LastCleanScrubStamp CephTimestamp + LastDeepScrub string + LastDeepScrubStamp CephTimestamp + LastEpochClean int64 + LastFresh CephTimestamp + LastFullsized CephTimestamp + LastPeered CephTimestamp + LastScrub string + LastScrubDuration int64 + LastScrubStamp CephTimestamp + LastUndegraded CephTimestamp + LastUnstale CephTimestamp + LogDupsSize int64 + LogSize int64 + LogStart string + ManifestStatsInvalid bool + MappingEpoch int64 + ObjectLocationCounts []int64 + ObjectsScrubbed int64 + ObjectsTrimmed int64 + OmapStatsInvalid bool + OndiskLogSize int64 + OndiskLogStart string + Parent string + ParentSplitBits int64 + Pgid string + PinStatsInvalid bool + PurgedSnaps []int64 + ReportedEpoch int64 + ReportedSeq int64 + ScrubDuration float64 + ScrubSchedule string + SnaptrimDuration float64 + SnaptrimqLen int64 + StatSum *pb.PGStat_PGStat_StatSum + State string + StatsInvalid bool + Up []int64 + UpPrimary int64 + Version string + type PgDumpResponse struct + PgMap *PGMap + PgReady bool