Add metrics for aggregated discovery

This commit is contained in:
Jefftree
2023-02-08 21:11:15 +00:00
parent 2898a044d9
commit 387d97605e
9 changed files with 182 additions and 36 deletions

View File

@@ -199,7 +199,7 @@ func TestAggregatedAPIServiceDiscovery(t *testing.T) {
defer cleanup()
// Create a resource manager whichs serves our GroupVersion
resourceManager := discoveryendpoint.NewResourceManager()
resourceManager := discoveryendpoint.NewResourceManager("apis")
resourceManager.SetGroups([]apidiscoveryv2beta1.APIGroupDiscovery{basicTestGroup})
// Install our ResourceManager as an Aggregated APIService to the