Documentation ¶
Index ¶
- func GenResourceName(name string) string
- func GetCreateClusterRequest(config *ccev1.CCEClusterConfig) *model.CreateClusterRequest
- func GetUpdateClusterRequest(config *ccev1.CCEClusterConfig) *model.UpdateClusterRequest
- func GetUpdateNodePoolRequest(clusterID string, nodePool *ccev1.CCENodePool) *model.UpdateNodePoolRequest
- func GetUpgradeClusterRequest(config *ccev1.CCEClusterConfig) *model.UpgradeClusterRequest
- type ClientAuth
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenResourceName ¶
GenResourceName generates the name of resource. vpc: rancher-managed-vpc-[RANDOM_STR] subnet: rancher-managed-subnet-[RANDOM_STR]
func GetCreateClusterRequest ¶
func GetCreateClusterRequest(config *ccev1.CCEClusterConfig) *model.CreateClusterRequest
func GetUpdateClusterRequest ¶
func GetUpdateClusterRequest(config *ccev1.CCEClusterConfig) *model.UpdateClusterRequest
func GetUpdateNodePoolRequest ¶
func GetUpdateNodePoolRequest( clusterID string, nodePool *ccev1.CCENodePool, ) *model.UpdateNodePoolRequest
func GetUpgradeClusterRequest ¶
func GetUpgradeClusterRequest(config *ccev1.CCEClusterConfig) *model.UpgradeClusterRequest
Types ¶
type ClientAuth ¶
type ClientAuth struct { Region string Credential *basic.Credentials }
func NewClientAuth ¶
func NewClientAuth(ak, sk, region, projectID string) *ClientAuth
Click to show internal directories.
Click to hide internal directories.