Documentation ¶
Index ¶
- func BuildGroupLabels(labels map[string]string, groupBy []string) map[string]string
- func ConditionJSONString(raw []byte) string
- func GroupByLabels[S any](collection []S, groupBy []string, getLabels func(S) map[string]string) (map[uint64][]S, error)
- func HashGroupKey(groupKey string, hashKey uint64) string
- func RemoveDuplicate[T comparable](aSlice []T) []T
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildGroupLabels ¶
func ConditionJSONString ¶
func GroupByLabels ¶
func HashGroupKey ¶
HashGroupKey hash groupKey from alert and hashKey from labels
func RemoveDuplicate ¶
func RemoveDuplicate[T comparable](aSlice []T) []T
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.