in pkg/registry/fixtures.go [121:131]
func fakeCustomMetricSet(names ...string) map[provider.CustomMetricInfo]struct{} {
result := make(map[provider.CustomMetricInfo]struct{}, len(names))
for _, name := range names {
result[provider.CustomMetricInfo{
GroupResource: schema.GroupResource{},
Namespaced: false,
Metric: name,
}] = struct{}{}
}
return result
}