Documentation ¶
Index ¶
- type CachingRESTClientGetter
- func (c *CachingRESTClientGetter) ToDiscoveryClient() (discovery.CachedDiscoveryInterface, error)
- func (c *CachingRESTClientGetter) ToRESTConfig() (*rest.Config, error)
- func (c *CachingRESTClientGetter) ToRESTMapper() (meta.RESTMapper, error)
- func (c *CachingRESTClientGetter) ToRawKubeConfigLoader() clientcmd.ClientConfig
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CachingRESTClientGetter ¶
type CachingRESTClientGetter struct { Delegate genericclioptions.RESTClientGetter // contains filtered or unexported fields }
CachingRESTClientGetter caches the RESTMapper so every call to ToRESTMapper will get a reference to the same mapper.
func (*CachingRESTClientGetter) ToDiscoveryClient ¶
func (c *CachingRESTClientGetter) ToDiscoveryClient() (discovery.CachedDiscoveryInterface, error)
func (*CachingRESTClientGetter) ToRESTConfig ¶
func (c *CachingRESTClientGetter) ToRESTConfig() (*rest.Config, error)
func (*CachingRESTClientGetter) ToRESTMapper ¶
func (c *CachingRESTClientGetter) ToRESTMapper() (meta.RESTMapper, error)
func (*CachingRESTClientGetter) ToRawKubeConfigLoader ¶
func (c *CachingRESTClientGetter) ToRawKubeConfigLoader() clientcmd.ClientConfig
Click to show internal directories.
Click to hide internal directories.