Documentation ¶
Index ¶
- func AddNewKubeconfig(newKubeconfig *api.Config, targetKubeconfig *api.Config, mergeKey string, ...)
- func GetConfigInfo(credProvider tcCommon.Provider) (string, error)
- func GetProfiles() ([]string, error)
- func ListTke(region string, profileName string) ([]*tke.Cluster, error)
- func RegisterTkeCluster(region, clusterId, clusterName string, profileName string) error
- func RegisterTkeCluster0(region, clusterId, clusterName string, credProvider common.Provider) error
- type TencentIntlProfileProvider
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddNewKubeconfig ¶
func GetConfigInfo ¶
GetConfigInfo returns: AccountId, error
func GetProfiles ¶
func RegisterTkeCluster ¶
Types ¶
type TencentIntlProfileProvider ¶
type TencentIntlProfileProvider struct {
// contains filtered or unexported fields
}
TencentIntlProfileProvider China mainland and international cloud's credential file formats are difference
func NewTencentIntlProfileProvider ¶
func NewTencentIntlProfileProvider(profileName string) *TencentIntlProfileProvider
func (*TencentIntlProfileProvider) GetCredential ¶
func (t *TencentIntlProfileProvider) GetCredential() (tcCommon.CredentialIface, error)
Click to show internal directories.
Click to hide internal directories.