client

package
v1.18.0 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2023 License: Apache-2.0 Imports: 16 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func APIReader

func APIReader() client.Reader

func Client

func Client() client.Client

func Clientset

func Clientset() kubernetes.Interface

Clientset is a singleton, it will be initialized only once.

func Cluster

func Cluster() cluster.Cluster

Cluster is a singleton, it will be initialized only once.

func GetKubeClientFromRestConfig added in v1.9.9

func GetKubeClientFromRestConfig(cfg *rest.Config) (client.Client, error)

func NewAPIClient added in v1.2.0

func NewAPIClient(c client.Client, r client.Reader) client.Client

func NewClientFromAPIConfig

func NewClientFromAPIConfig(cfg *api.Config) (client.Client, error)

func NewClientSet added in v1.9.9

func NewClientSet() (*kubernetes.Clientset, error)

func NewClientsetFromAPIConfig

func NewClientsetFromAPIConfig(cfg *api.Config) (kubernetes.Interface, error)

func NewDiscoveryClient added in v1.9.9

func NewDiscoveryClient() (*discovery.DiscoveryClient, error)

func NewDynamicClient added in v1.9.9

func NewDynamicClient() (dynamic.Interface, error)

func NewIstioV1Alpha3Client added in v1.9.9

func NewIstioV1Alpha3Client() (*v1alpha3.NetworkingV1alpha3Client, error)

func NewMetricsClient added in v1.9.9

func NewMetricsClient() (*v1beta1.MetricsV1beta1Client, error)

func RESTConfig

func RESTConfig() *rest.Config

func RESTConfigFromAPIConfig

func RESTConfigFromAPIConfig(cfg *api.Config) (*rest.Config, error)

func Scheme

func Scheme() *runtime.Scheme

func Start

func Start(ctx context.Context) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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