func newDiscoveryManager(rm discoveryendpoint.ResourceManager) *discoveryManager { … }
func waitForQueueComplete(stopCh <-chan struct{ … }
func TestBasic(t *testing.T) { … }
func checkAPIGroups(t *testing.T, api apidiscoveryv2.APIGroupDiscoveryList, response *apidiscoveryv2.APIGroupDiscoveryList) { … }
func TestInitialRunHasAllAPIServices(t *testing.T) { … }
func TestServiceGC(t *testing.T) { … }
func TestV2Beta1Skew(t *testing.T) { … }
func TestDirty(t *testing.T) { … }
func TestWaitForSync(t *testing.T) { … }
func TestRemoveAPIService(t *testing.T) { … }
func TestLegacyFallbackNoCache(t *testing.T) { … }
func testLegacyFallbackWithCustomRootHandler(t *testing.T, rootHandlerFn func(http.ResponseWriter, *http.Request)) { … }
func TestLegacyFallback(t *testing.T) { … }
func TestAPIServiceStale(t *testing.T) { … }
func TestNotModified(t *testing.T) { … }
func fuzzAPIGroups(atLeastNumGroups, maxNumGroups int, seed int64) apidiscoveryv2.APIGroupDiscoveryList { … }
func fetchPath(handler http.Handler, etag string) (*http.Response, []byte, *apidiscoveryv2.APIGroupDiscoveryList) { … }
type completerWorkqueue …
var _ …
func newCompleterWorkqueue(wq workqueue.TypedRateLimitingInterface[string]) *completerWorkqueue { … }
func (q *completerWorkqueue) Add(item string) { … }
func (q *completerWorkqueue) AddAfter(item string, duration time.Duration) { … }
func (q *completerWorkqueue) AddRateLimited(item string) { … }
func (q *completerWorkqueue) Done(item string) { … }
func (q *completerWorkqueue) isComplete() bool { … }