Documentation ¶
Index ¶
- Variables
- func GetClientset(hubServerAddr, clusterID string) (kubernetes.Interface, error)
- func GetDynamicKubeClient(hubserverAddr, clusterID string) (dynamic.Interface, 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 GetRESTConfig(hubServerAddr, clusterID string) (*rest.Config, error)
- func VersionLessThan122(ver *k8sversion.Info) bool
Constants ¶
This section is empty.
Variables ¶
View Source
var KubernetesVersion122 *version.Version
Functions ¶
func GetClientset ¶
func GetClientset(hubServerAddr, clusterID string) (kubernetes.Interface, error)
func GetDynamicKubeClient ¶ added in v1.9.9
func GetKubeAPIReader ¶
func GetKubeClientSet ¶ added in v1.9.9
func GetKubeClientSet(hubServerAddr, clusterID string) (*kubernetes.Clientset, error)
func VersionLessThan122 ¶ added in v1.9.9
func VersionLessThan122(ver *k8sversion.Info) bool
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.