client

package
v1.16.0 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2022 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var KubernetesVersion122 *version.Version

Functions

func GetClientset

func GetClientset(hubServerAddr, clusterID string) (kubernetes.Interface, error)

func GetDiscoveryClient added in v1.9.9

func GetDiscoveryClient(hubServerAddr, clusterID string) (*discovery.DiscoveryClient, error)

func GetDynamicKubeClient added in v1.9.9

func GetDynamicKubeClient(hubserverAddr, clusterID string) (dynamic.Interface, error)

func GetIstioClientV1Alpha3Client added in v1.9.9

func GetIstioClientV1Alpha3Client(hubserverAddr, clusterID string) (*v1alpha3.NetworkingV1alpha3Client, error)

func GetKubeAPIReader

func GetKubeAPIReader(hubServerAddr, clusterID string) (client.Reader, error)

func GetKubeClient

func GetKubeClient(hubserverAddr, clusterID string) (client.Client, error)

func GetKubeClientSet added in v1.9.9

func GetKubeClientSet(hubServerAddr, clusterID string) (*kubernetes.Clientset, error)

func GetRESTConfig

func GetRESTConfig(hubServerAddr, clusterID string) (*rest.Config, error)

func VersionLessThan122 added in v1.9.9

func VersionLessThan122(ver *k8sversion.Info) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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