clients

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2020 License: Apache-2.0 Imports: 25 Imported by: 11

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Clients

type Clients struct {
	K8s   kubernetes.Interface
	Core  corecontrollers.Interface
	RBAC  rbaccontrollers.Interface
	Apps  appcontrollers.Interface
	CRD   crdcontrollers.Interface
	API   apicontrollers.Interface
	Batch batchcontrollers.Interface
	Apply apply.Apply

	ClientConfig    clientcmd.ClientConfig
	RESTConfig      *rest.Config
	CachedDiscovery discovery.CachedDiscoveryInterface
	RESTMapper      meta.RESTMapper
	// contains filtered or unexported fields
}

func New

func New(clientConfig clientcmd.ClientConfig, opts *generic.FactoryOptions) (*Clients, error)

func (*Clients) Start

func (c *Clients) Start(ctx context.Context) error

func (*Clients) ToDiscoveryClient

func (c *Clients) ToDiscoveryClient() (discovery.CachedDiscoveryInterface, error)

func (*Clients) ToRESTConfig

func (c *Clients) ToRESTConfig() (*rest.Config, error)

func (*Clients) ToRESTMapper

func (c *Clients) ToRESTMapper() (meta.RESTMapper, error)

func (*Clients) ToRawKubeConfigLoader

func (c *Clients) ToRawKubeConfigLoader() clientcmd.ClientConfig

Jump to

Keyboard shortcuts

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