Adds bool to force non-aggregated discovery

Kubernetes-commit: a84d877310ba5cf9237c8e8e3218229c202d3a1e
This commit is contained in:
Sean Sullivan
2022-11-09 12:30:05 -08:00
committed by Kubernetes Publisher
parent c8ffed3108
commit 3ac73ea2c8
8 changed files with 79 additions and 4 deletions

View File

@@ -422,6 +422,10 @@ func (c *fakeFailingDiscovery) OpenAPIV3() openapi.Client {
panic("implement me")
}
func (c *fakeFailingDiscovery) WithLegacy() DiscoveryInterface {
panic("implement me")
}
type fakeCachedDiscoveryInterface struct {
invalidateCalls int
fresh bool
@@ -499,6 +503,10 @@ func (c *fakeCachedDiscoveryInterface) OpenAPIV3() openapi.Client {
panic("implement me")
}
func (c *fakeCachedDiscoveryInterface) WithLegacy() DiscoveryInterface {
panic("implement me")
}
var (
aGroup = metav1.APIGroup{
Name: "a",