Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Service ¶
type Service struct { MetaStore interface { IsLeader() bool VisitRetentionPolicies(f func(d meta.DatabaseInfo, r meta.RetentionPolicyInfo)) DeleteShardGroup(database, policy string, id uint64) error } TSDBStore interface { ShardIDs() []uint64 DeleteShard(shardID uint64) error } // contains filtered or unexported fields }
Service represents the retention policy enforcement service.
func NewService ¶
NewService returns a configure retention policy enforcement service.
Click to show internal directories.
Click to hide internal directories.