func TestSlowAPIServiceOpenAPIDoesNotBlockHealthCheck(t *testing.T) { … } func TestFetchingOpenAPIBeforeReady(t *testing.T) { … } type kubeClientSet … type aggegatorClientSet … type apiextensionsClientSet … type dynamicClientset … type testClientSet … type testClient … var _ … func (t testClientSet) Discovery() discovery.DiscoveryInterface { … } func generateTestClient(t *testing.T, server *kubeapiservertesting.TestServer) testClient { … } func registerAPIService(ctx context.Context, client aggregator.Interface, gv metav1.GroupVersion, service testdiscovery.FakeService) error { … } func unregisterAPIService(ctx context.Context, client aggregator.Interface, gv metav1.GroupVersion) error { … }