Help us shape the future of Go! Take the 2026 Go Developer Survey

kubeconfig

package
v1.6.2 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2026 License: Apache-2.0 Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetStaticRESTConfig

func GetStaticRESTConfig() (*rest.Config, error)

GetStaticRESTConfig should not be used. I need a place to get the first reference until we make it take standard kubeconfig args. Deprecated

Types

type ConfigClientGetter

type ConfigClientGetter struct {
	// contains filtered or unexported fields
}

func NewConfigClientGetter

func NewConfigClientGetter(adminRESTConfig *rest.Config) *ConfigClientGetter

func (*ConfigClientGetter) GetConfigClient

func (d *ConfigClientGetter) GetConfigClient() (clientconfigv1.Interface, error)

type DiscoveryGetter

type DiscoveryGetter struct {
	// contains filtered or unexported fields
}

func NewDiscoveryGetter

func NewDiscoveryGetter(adminRESTConfig *rest.Config) *DiscoveryGetter

func (*DiscoveryGetter) GetDiscoveryClient

func (d *DiscoveryGetter) GetDiscoveryClient() (discovery.AggregatedDiscoveryInterface, error)

Jump to

Keyboard shortcuts

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