Versions in this module Expand all Collapse all v0 v0.1.0 Sep 18, 2021 v0.0.1 Sep 13, 2021 Changes in this version + func Compress(groups []*rulefmt.RuleGroups, maxRule int, maxGroup int) (*rulefmt.RuleGroups, error) + type GroupOutput struct + Interval model.Duration + Name string + Rules []rulefmt.Rule + type GroupsOutput struct + Groups []GroupOutput + func Format(groups *rulefmt.RuleGroups) *GroupsOutput