Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CachedDiscoveryClient ¶
func CachedDiscoveryClient() discovery.CachedDiscoveryInterface
CachedDiscoveryClient returns a fake discovery client that is populated with some types for use in unit tests.
func CustomCachedDiscoveryClient ¶ added in v0.13.0
func CustomCachedDiscoveryClient(additionalResources ...*metav1.APIResourceList) discovery.CachedDiscoveryInterface
Types ¶
type CachedDiscovery ¶
type CachedDiscovery struct {
fakediscovery.FakeDiscovery
}
func (*CachedDiscovery) Fresh ¶
func (d *CachedDiscovery) Fresh() bool
func (*CachedDiscovery) Invalidate ¶
func (d *CachedDiscovery) Invalidate()
Click to show internal directories.
Click to hide internal directories.