Documentation ¶
Index ¶
- func GenerateTKEAdminKubeConfig(globalClusterNode cloudprovider.Instance) (string, error)
- func GetClientSet() *kubernetes.Clientset
- func GetRESTConfig() *rest.Config
- func GetTKEClient(kubeconfig []byte) (tkeclientset.Interface, error)
- func GetTKEClientFromEnv() (tkeclientset.Interface, error)
- func GetTKEClientWithAdminToken(globalClusterNode cloudprovider.Instance) (tkeclientset.Interface, error)
- func LoadOrSetupTKE() (tkeclientset.Interface, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateTKEAdminKubeConfig ¶ added in v1.6.0
func GenerateTKEAdminKubeConfig(globalClusterNode cloudprovider.Instance) (string, error)
func GetClientSet ¶
func GetClientSet() *kubernetes.Clientset
func GetRESTConfig ¶
func GetTKEClient ¶
func GetTKEClient(kubeconfig []byte) (tkeclientset.Interface, error)
func GetTKEClientFromEnv ¶
func GetTKEClientFromEnv() (tkeclientset.Interface, error)
func GetTKEClientWithAdminToken ¶ added in v1.6.0
func GetTKEClientWithAdminToken(globalClusterNode cloudprovider.Instance) (tkeclientset.Interface, error)
func LoadOrSetupTKE ¶
func LoadOrSetupTKE() (tkeclientset.Interface, error)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.