smart

package
v2.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2019 License: Apache-2.0 Imports: 5 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CachedDiscoveryClient

type CachedDiscoveryClient struct {
	discovery.DiscoveryInterface
}

func (*CachedDiscoveryClient) Fresh

func (c *CachedDiscoveryClient) Fresh() bool

Fresh returns true if no cached data was used that had been retrieved before the instantiation.

func (*CachedDiscoveryClient) Invalidate

func (c *CachedDiscoveryClient) Invalidate()

Invalidate enforces that no cached data is used in the future that is older than the current time.

type DynamicClient

type DynamicClient struct {
	DynamicClient dynamic.Interface
	RESTMapper    meta.RESTMapper
}

func (*DynamicClient) ForGVK

Jump to

Keyboard shortcuts

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