Revert "Move discovery client to its own package"

This commit is contained in:
Abhi Shah
2016-03-04 09:24:54 -08:00
parent 57670edc15
commit b25a48d605
18 changed files with 85 additions and 91 deletions

View File

@@ -92,13 +92,3 @@ func FormatLabelSelector(labelSelector *LabelSelector) string {
}
return l
}
func ExtractGroupVersions(l *APIGroupList) []string {
var groupVersions []string
for _, g := range l.Groups {
for _, gv := range g.Versions {
groupVersions = append(groupVersions, gv.GroupVersion)
}
}
return groupVersions
}