clients

package
v0.0.1 Latest Latest
Warning

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

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

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