Versions in this module Expand all Collapse all v0 v0.3.0 May 6, 2022 Changes in this version + const EKSAnnoCpuQuantity + const EKSAnnoCpuType + const EKSAnnoGpuCount + const EKSAnnoGpuType + const EKSAnnoMemQuantity + const EKSCpuTypeValue_Intel + const ValueNodeTypeEKLet + var QCloudProviderIdRegex = regexp.MustCompile("qcloud:///([^/]+)/([^/]+)") + func CloudPodSpec2EKSPriceRequest(spec spec.CloudPodSpec) *tke.GetPriceRequest + func EKSPodCpuType(pod *v1.Pod) string + func EKSPodCpuValue(pod *v1.Pod) (bool, string) + func EKSPodGpuCount(pod *v1.Pod) (bool, string) + func EKSPodGpuType(pod *v1.Pod) (bool, string) + func EKSPodMemValue(pod *v1.Pod) (bool, string) + func NewTencentCloud(qcloudConf *qcloudsdk.QCloudClientConfig, config *cloud.PriceConfig, ...) cloud.Cloud + func ParseID(id string) string + type ClientProfile struct + Debug bool + DefaultLanguage string + DefaultLimit int64 + DefaultTimeoutSeconds int + DomainSuffix string + Region string + Scheme string + type CloudConfig struct + type Credentials struct + AppId string + ClusterId string + SecretId string + SecretKey string + type EKSPlatform struct + func (ep *EKSPlatform) PlatformCost(cp cloud.PlatformParameter) *cloud.Prices + type Pod2EKSSpecConverter interface + Pod2EKSSpecConverter func(pod *v1.Pod) (v1.ResourceList, error) + type PriceStageFeeUnit struct + Nodes int32 + PriceHourly float64 + type TKEPlatform struct + func (tp *TKEPlatform) PlatformCost(cp cloud.PlatformParameter) *cloud.Prices + type TencentCloud struct + func (pc *TencentCloud) GetInstancePrice(instanceid string) *sdkcvm.QCloudInstancePrice + func (pc *TencentCloud) OnNodeAdd(node *v1.Node) error + func (pc *TencentCloud) OnNodeDelete(node *v1.Node) error + func (pc *TencentCloud) OnNodeUpdate(old, new *v1.Node) error + func (pc *TencentCloud) Refresh() + func (q *TencentCloud) PlatformPrice(cp cloud.PlatformParameter) *cloud.Prices + func (tc *TencentCloud) GetConfig() (*cloud.CustomPricing, error) + func (tc *TencentCloud) GetKey(node *v1.Node) *qcloudKey + func (tc *TencentCloud) GetNodesCost() (map[string]*cloud.Node, error) + func (tc *TencentCloud) GetNodesPricing() (map[string]*cloud.Price, error) + func (tc *TencentCloud) GetPodsCost() (map[string]*cloud.Pod, error) + func (tc *TencentCloud) IsServerlessPod(pod *v1.Pod) bool + func (tc *TencentCloud) IsVirtualNode(node *v1.Node) bool + func (tc *TencentCloud) Node2Spec(node *v1.Node) spec.CloudNodeSpec + func (tc *TencentCloud) NodePrice(spec spec.CloudNodeSpec) (*cloud.Node, error) + func (tc *TencentCloud) Pod2ServerlessSpec(pod *v1.Pod) spec.CloudPodSpec + func (tc *TencentCloud) Pod2Spec(pod *v1.Pod) spec.CloudPodSpec + func (tc *TencentCloud) PodPrice(spec spec.CloudPodSpec) (*cloud.Pod, error) + func (tc *TencentCloud) ServerlessPodPrice(spec spec.CloudPodSpec) (*cloud.Pod, error) + func (tc *TencentCloud) UpdateConfigFromConfigMap(conf map[string]string) (*cloud.CustomPricing, error) + func (tc *TencentCloud) WarmUp() error