fake

package
v0.13.0-rc1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 8, 2020 License: Apache-2.0 Imports: 9 Imported by: 0

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()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL