clients

package
v3.0.1-rc.4 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2024 License: Apache-2.0 Imports: 28 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Clients

func New

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

func NewFromConfig

func NewFromConfig(cfg *rest.Config, 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