(i, j int)
| 9 | |
| 10 | func (gi PaginatedGroupStates) Swap(i, j int) { gi[i], gi[j] = gi[j], gi[i] } |
| 11 | func (gi PaginatedGroupStates) Less(i, j int) bool { |
| 12 | return GetRuleGroupNextToken(gi[i].Group.Namespace, gi[i].Group.Name) < GetRuleGroupNextToken(gi[j].Group.Namespace, gi[j].Group.Name) |
| 13 | } |
| 14 | func (gi PaginatedGroupStates) Len() int { return len(gi) } |
| 15 | |
| 16 | func GetRuleGroupNextToken(namespace string, group string) string { |
nothing calls this directly
no test coverage detected