Documentation ¶
Index ¶
- Variables
- func GetClientset(hubServerAddr, clusterID string) (kubernetes.Interface, error)
- func GetDiscoveryClient(hubServerAddr, clusterID string) (*discovery.DiscoveryClient, error)
- func GetDynamicKubeClient(hubserverAddr, clusterID string) (dynamic.Interface, error)
- func GetIstioClientV1Alpha3Client(hubserverAddr, clusterID string) (*v1alpha3.NetworkingV1alpha3Client, error)
- func GetKubeAPIReader(hubServerAddr, clusterID string) (client.Reader, error)
- func GetKubeClient(hubserverAddr, clusterID string) (client.Client, error)
- func GetKubeClientSet(hubServerAddr, clusterID string) (*kubernetes.Clientset, error)
- func GetKubeMetricsClient(hubserverAddr, clusterID string) (*v1beta1.MetricsV1beta1Client, error)
- func GetRESTConfig(hubServerAddr, clusterID string) (*rest.Config, error)
- func VersionLessThan121(ver *k8sversion.Info) bool
- func VersionLessThan122(ver *k8sversion.Info) bool
Constants ¶
This section is empty.
Variables ¶
View Source
var KubernetesVersion121 *version.Version
View Source
var KubernetesVersion122 *version.Version
Functions ¶
func GetClientset ¶
func GetClientset(hubServerAddr, clusterID string) (kubernetes.Interface, error)
func GetDiscoveryClient ¶
func GetDiscoveryClient(hubServerAddr, clusterID string) (*discovery.DiscoveryClient, error)
func GetDynamicKubeClient ¶
func GetIstioClientV1Alpha3Client ¶
func GetIstioClientV1Alpha3Client(hubserverAddr, clusterID string) (*v1alpha3.NetworkingV1alpha3Client, error)
func GetKubeAPIReader ¶
func GetKubeClientSet ¶
func GetKubeClientSet(hubServerAddr, clusterID string) (*kubernetes.Clientset, error)
func GetKubeMetricsClient ¶
func GetKubeMetricsClient(hubserverAddr, clusterID string) (*v1beta1.MetricsV1beta1Client, error)
func VersionLessThan121 ¶
func VersionLessThan121(ver *k8sversion.Info) bool
func VersionLessThan122 ¶
func VersionLessThan122(ver *k8sversion.Info) bool
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.