factory

package
v0.27.0 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

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

Jump to

Keyboard shortcuts

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