Documentation ¶
Index ¶
- func CceClientBuilder() *http_client.HcHttpClientBuilder
- func GenReqDefForAddNode() *def.HttpRequestDef
- func GenReqDefForAwakeCluster() *def.HttpRequestDef
- func GenReqDefForBatchCreateClusterTags() *def.HttpRequestDef
- func GenReqDefForBatchDeleteClusterTags() *def.HttpRequestDef
- func GenReqDefForContinueUpgradeClusterTask() *def.HttpRequestDef
- func GenReqDefForCreateAddonInstance() *def.HttpRequestDef
- func GenReqDefForCreateCloudPersistentVolumeClaims() *def.HttpRequestDef
- func GenReqDefForCreateCluster() *def.HttpRequestDef
- func GenReqDefForCreateKubernetesClusterCert() *def.HttpRequestDef
- func GenReqDefForCreateNode() *def.HttpRequestDef
- func GenReqDefForCreateNodePool() *def.HttpRequestDef
- func GenReqDefForDeleteAddonInstance() *def.HttpRequestDef
- func GenReqDefForDeleteCloudPersistentVolumeClaims() *def.HttpRequestDef
- func GenReqDefForDeleteCluster() *def.HttpRequestDef
- func GenReqDefForDeleteNode() *def.HttpRequestDef
- func GenReqDefForDeleteNodePool() *def.HttpRequestDef
- func GenReqDefForHibernateCluster() *def.HttpRequestDef
- func GenReqDefForListAddonInstances() *def.HttpRequestDef
- func GenReqDefForListAddonTemplates() *def.HttpRequestDef
- func GenReqDefForListClusters() *def.HttpRequestDef
- func GenReqDefForListNodePools() *def.HttpRequestDef
- func GenReqDefForListNodes() *def.HttpRequestDef
- func GenReqDefForMigrateNode() *def.HttpRequestDef
- func GenReqDefForPauseUpgradeClusterTask() *def.HttpRequestDef
- func GenReqDefForRemoveNode() *def.HttpRequestDef
- func GenReqDefForResetNode() *def.HttpRequestDef
- func GenReqDefForResizeCluster() *def.HttpRequestDef
- func GenReqDefForRetryUpgradeClusterTask() *def.HttpRequestDef
- func GenReqDefForRollbackAddonInstance() *def.HttpRequestDef
- func GenReqDefForShowAddonInstance() *def.HttpRequestDef
- func GenReqDefForShowCluster() *def.HttpRequestDef
- func GenReqDefForShowClusterEndpoints() *def.HttpRequestDef
- func GenReqDefForShowJob() *def.HttpRequestDef
- func GenReqDefForShowNode() *def.HttpRequestDef
- func GenReqDefForShowNodePool() *def.HttpRequestDef
- func GenReqDefForShowQuotas() *def.HttpRequestDef
- func GenReqDefForShowUpgradeClusterTask() *def.HttpRequestDef
- func GenReqDefForShowVersion() *def.HttpRequestDef
- func GenReqDefForUpdateAddonInstance() *def.HttpRequestDef
- func GenReqDefForUpdateCluster() *def.HttpRequestDef
- func GenReqDefForUpdateClusterEip() *def.HttpRequestDef
- func GenReqDefForUpdateNode() *def.HttpRequestDef
- func GenReqDefForUpdateNodePool() *def.HttpRequestDef
- func GenReqDefForUpgradeCluster() *def.HttpRequestDef
- type AddNodeInvoker
- type AwakeClusterInvoker
- type BatchCreateClusterTagsInvoker
- type BatchDeleteClusterTagsInvoker
- type CceClient
- func (c *CceClient) AddNode(request *model.AddNodeRequest) (*model.AddNodeResponse, error)
- func (c *CceClient) AddNodeInvoker(request *model.AddNodeRequest) *AddNodeInvoker
- func (c *CceClient) AwakeCluster(request *model.AwakeClusterRequest) (*model.AwakeClusterResponse, error)
- func (c *CceClient) AwakeClusterInvoker(request *model.AwakeClusterRequest) *AwakeClusterInvoker
- func (c *CceClient) BatchCreateClusterTags(request *model.BatchCreateClusterTagsRequest) (*model.BatchCreateClusterTagsResponse, error)
- func (c *CceClient) BatchCreateClusterTagsInvoker(request *model.BatchCreateClusterTagsRequest) *BatchCreateClusterTagsInvoker
- func (c *CceClient) BatchDeleteClusterTags(request *model.BatchDeleteClusterTagsRequest) (*model.BatchDeleteClusterTagsResponse, error)
- func (c *CceClient) BatchDeleteClusterTagsInvoker(request *model.BatchDeleteClusterTagsRequest) *BatchDeleteClusterTagsInvoker
- func (c *CceClient) ContinueUpgradeClusterTask(request *model.ContinueUpgradeClusterTaskRequest) (*model.ContinueUpgradeClusterTaskResponse, error)
- func (c *CceClient) ContinueUpgradeClusterTaskInvoker(request *model.ContinueUpgradeClusterTaskRequest) *ContinueUpgradeClusterTaskInvoker
- func (c *CceClient) CreateAddonInstance(request *model.CreateAddonInstanceRequest) (*model.CreateAddonInstanceResponse, error)
- func (c *CceClient) CreateAddonInstanceInvoker(request *model.CreateAddonInstanceRequest) *CreateAddonInstanceInvoker
- func (c *CceClient) CreateCloudPersistentVolumeClaims(request *model.CreateCloudPersistentVolumeClaimsRequest) (*model.CreateCloudPersistentVolumeClaimsResponse, error)
- func (c *CceClient) CreateCloudPersistentVolumeClaimsInvoker(request *model.CreateCloudPersistentVolumeClaimsRequest) *CreateCloudPersistentVolumeClaimsInvoker
- func (c *CceClient) CreateCluster(request *model.CreateClusterRequest) (*model.CreateClusterResponse, error)
- func (c *CceClient) CreateClusterInvoker(request *model.CreateClusterRequest) *CreateClusterInvoker
- func (c *CceClient) CreateKubernetesClusterCert(request *model.CreateKubernetesClusterCertRequest) (*model.CreateKubernetesClusterCertResponse, error)
- func (c *CceClient) CreateKubernetesClusterCertInvoker(request *model.CreateKubernetesClusterCertRequest) *CreateKubernetesClusterCertInvoker
- func (c *CceClient) CreateNode(request *model.CreateNodeRequest) (*model.CreateNodeResponse, error)
- func (c *CceClient) CreateNodeInvoker(request *model.CreateNodeRequest) *CreateNodeInvoker
- func (c *CceClient) CreateNodePool(request *model.CreateNodePoolRequest) (*model.CreateNodePoolResponse, error)
- func (c *CceClient) CreateNodePoolInvoker(request *model.CreateNodePoolRequest) *CreateNodePoolInvoker
- func (c *CceClient) DeleteAddonInstance(request *model.DeleteAddonInstanceRequest) (*model.DeleteAddonInstanceResponse, error)
- func (c *CceClient) DeleteAddonInstanceInvoker(request *model.DeleteAddonInstanceRequest) *DeleteAddonInstanceInvoker
- func (c *CceClient) DeleteCloudPersistentVolumeClaims(request *model.DeleteCloudPersistentVolumeClaimsRequest) (*model.DeleteCloudPersistentVolumeClaimsResponse, error)
- func (c *CceClient) DeleteCloudPersistentVolumeClaimsInvoker(request *model.DeleteCloudPersistentVolumeClaimsRequest) *DeleteCloudPersistentVolumeClaimsInvoker
- func (c *CceClient) DeleteCluster(request *model.DeleteClusterRequest) (*model.DeleteClusterResponse, error)
- func (c *CceClient) DeleteClusterInvoker(request *model.DeleteClusterRequest) *DeleteClusterInvoker
- func (c *CceClient) DeleteNode(request *model.DeleteNodeRequest) (*model.DeleteNodeResponse, error)
- func (c *CceClient) DeleteNodeInvoker(request *model.DeleteNodeRequest) *DeleteNodeInvoker
- func (c *CceClient) DeleteNodePool(request *model.DeleteNodePoolRequest) (*model.DeleteNodePoolResponse, error)
- func (c *CceClient) DeleteNodePoolInvoker(request *model.DeleteNodePoolRequest) *DeleteNodePoolInvoker
- func (c *CceClient) HibernateCluster(request *model.HibernateClusterRequest) (*model.HibernateClusterResponse, error)
- func (c *CceClient) HibernateClusterInvoker(request *model.HibernateClusterRequest) *HibernateClusterInvoker
- func (c *CceClient) ListAddonInstances(request *model.ListAddonInstancesRequest) (*model.ListAddonInstancesResponse, error)
- func (c *CceClient) ListAddonInstancesInvoker(request *model.ListAddonInstancesRequest) *ListAddonInstancesInvoker
- func (c *CceClient) ListAddonTemplates(request *model.ListAddonTemplatesRequest) (*model.ListAddonTemplatesResponse, error)
- func (c *CceClient) ListAddonTemplatesInvoker(request *model.ListAddonTemplatesRequest) *ListAddonTemplatesInvoker
- func (c *CceClient) ListClusters(request *model.ListClustersRequest) (*model.ListClustersResponse, error)
- func (c *CceClient) ListClustersInvoker(request *model.ListClustersRequest) *ListClustersInvoker
- func (c *CceClient) ListNodePools(request *model.ListNodePoolsRequest) (*model.ListNodePoolsResponse, error)
- func (c *CceClient) ListNodePoolsInvoker(request *model.ListNodePoolsRequest) *ListNodePoolsInvoker
- func (c *CceClient) ListNodes(request *model.ListNodesRequest) (*model.ListNodesResponse, error)
- func (c *CceClient) ListNodesInvoker(request *model.ListNodesRequest) *ListNodesInvoker
- func (c *CceClient) MigrateNode(request *model.MigrateNodeRequest) (*model.MigrateNodeResponse, error)
- func (c *CceClient) MigrateNodeInvoker(request *model.MigrateNodeRequest) *MigrateNodeInvoker
- func (c *CceClient) PauseUpgradeClusterTask(request *model.PauseUpgradeClusterTaskRequest) (*model.PauseUpgradeClusterTaskResponse, error)
- func (c *CceClient) PauseUpgradeClusterTaskInvoker(request *model.PauseUpgradeClusterTaskRequest) *PauseUpgradeClusterTaskInvoker
- func (c *CceClient) RemoveNode(request *model.RemoveNodeRequest) (*model.RemoveNodeResponse, error)
- func (c *CceClient) RemoveNodeInvoker(request *model.RemoveNodeRequest) *RemoveNodeInvoker
- func (c *CceClient) ResetNode(request *model.ResetNodeRequest) (*model.ResetNodeResponse, error)
- func (c *CceClient) ResetNodeInvoker(request *model.ResetNodeRequest) *ResetNodeInvoker
- func (c *CceClient) ResizeCluster(request *model.ResizeClusterRequest) (*model.ResizeClusterResponse, error)
- func (c *CceClient) ResizeClusterInvoker(request *model.ResizeClusterRequest) *ResizeClusterInvoker
- func (c *CceClient) RetryUpgradeClusterTask(request *model.RetryUpgradeClusterTaskRequest) (*model.RetryUpgradeClusterTaskResponse, error)
- func (c *CceClient) RetryUpgradeClusterTaskInvoker(request *model.RetryUpgradeClusterTaskRequest) *RetryUpgradeClusterTaskInvoker
- func (c *CceClient) RollbackAddonInstance(request *model.RollbackAddonInstanceRequest) (*model.RollbackAddonInstanceResponse, error)
- func (c *CceClient) RollbackAddonInstanceInvoker(request *model.RollbackAddonInstanceRequest) *RollbackAddonInstanceInvoker
- func (c *CceClient) ShowAddonInstance(request *model.ShowAddonInstanceRequest) (*model.ShowAddonInstanceResponse, error)
- func (c *CceClient) ShowAddonInstanceInvoker(request *model.ShowAddonInstanceRequest) *ShowAddonInstanceInvoker
- func (c *CceClient) ShowCluster(request *model.ShowClusterRequest) (*model.ShowClusterResponse, error)
- func (c *CceClient) ShowClusterEndpoints(request *model.ShowClusterEndpointsRequest) (*model.ShowClusterEndpointsResponse, error)
- func (c *CceClient) ShowClusterEndpointsInvoker(request *model.ShowClusterEndpointsRequest) *ShowClusterEndpointsInvoker
- func (c *CceClient) ShowClusterInvoker(request *model.ShowClusterRequest) *ShowClusterInvoker
- func (c *CceClient) ShowJob(request *model.ShowJobRequest) (*model.ShowJobResponse, error)
- func (c *CceClient) ShowJobInvoker(request *model.ShowJobRequest) *ShowJobInvoker
- func (c *CceClient) ShowNode(request *model.ShowNodeRequest) (*model.ShowNodeResponse, error)
- func (c *CceClient) ShowNodeInvoker(request *model.ShowNodeRequest) *ShowNodeInvoker
- func (c *CceClient) ShowNodePool(request *model.ShowNodePoolRequest) (*model.ShowNodePoolResponse, error)
- func (c *CceClient) ShowNodePoolInvoker(request *model.ShowNodePoolRequest) *ShowNodePoolInvoker
- func (c *CceClient) ShowQuotas(request *model.ShowQuotasRequest) (*model.ShowQuotasResponse, error)
- func (c *CceClient) ShowQuotasInvoker(request *model.ShowQuotasRequest) *ShowQuotasInvoker
- func (c *CceClient) ShowUpgradeClusterTask(request *model.ShowUpgradeClusterTaskRequest) (*model.ShowUpgradeClusterTaskResponse, error)
- func (c *CceClient) ShowUpgradeClusterTaskInvoker(request *model.ShowUpgradeClusterTaskRequest) *ShowUpgradeClusterTaskInvoker
- func (c *CceClient) ShowVersion(request *model.ShowVersionRequest) (*model.ShowVersionResponse, error)
- func (c *CceClient) ShowVersionInvoker(request *model.ShowVersionRequest) *ShowVersionInvoker
- func (c *CceClient) UpdateAddonInstance(request *model.UpdateAddonInstanceRequest) (*model.UpdateAddonInstanceResponse, error)
- func (c *CceClient) UpdateAddonInstanceInvoker(request *model.UpdateAddonInstanceRequest) *UpdateAddonInstanceInvoker
- func (c *CceClient) UpdateCluster(request *model.UpdateClusterRequest) (*model.UpdateClusterResponse, error)
- func (c *CceClient) UpdateClusterEip(request *model.UpdateClusterEipRequest) (*model.UpdateClusterEipResponse, error)
- func (c *CceClient) UpdateClusterEipInvoker(request *model.UpdateClusterEipRequest) *UpdateClusterEipInvoker
- func (c *CceClient) UpdateClusterInvoker(request *model.UpdateClusterRequest) *UpdateClusterInvoker
- func (c *CceClient) UpdateNode(request *model.UpdateNodeRequest) (*model.UpdateNodeResponse, error)
- func (c *CceClient) UpdateNodeInvoker(request *model.UpdateNodeRequest) *UpdateNodeInvoker
- func (c *CceClient) UpdateNodePool(request *model.UpdateNodePoolRequest) (*model.UpdateNodePoolResponse, error)
- func (c *CceClient) UpdateNodePoolInvoker(request *model.UpdateNodePoolRequest) *UpdateNodePoolInvoker
- func (c *CceClient) UpgradeCluster(request *model.UpgradeClusterRequest) (*model.UpgradeClusterResponse, error)
- func (c *CceClient) UpgradeClusterInvoker(request *model.UpgradeClusterRequest) *UpgradeClusterInvoker
- type ContinueUpgradeClusterTaskInvoker
- type CreateAddonInstanceInvoker
- type CreateCloudPersistentVolumeClaimsInvoker
- type CreateClusterInvoker
- type CreateKubernetesClusterCertInvoker
- type CreateNodeInvoker
- type CreateNodePoolInvoker
- type DeleteAddonInstanceInvoker
- type DeleteCloudPersistentVolumeClaimsInvoker
- type DeleteClusterInvoker
- type DeleteNodeInvoker
- type DeleteNodePoolInvoker
- type HibernateClusterInvoker
- type ListAddonInstancesInvoker
- type ListAddonTemplatesInvoker
- type ListClustersInvoker
- type ListNodePoolsInvoker
- type ListNodesInvoker
- type MigrateNodeInvoker
- type PauseUpgradeClusterTaskInvoker
- type RemoveNodeInvoker
- type ResetNodeInvoker
- type ResizeClusterInvoker
- type RetryUpgradeClusterTaskInvoker
- type RollbackAddonInstanceInvoker
- type ShowAddonInstanceInvoker
- type ShowClusterEndpointsInvoker
- type ShowClusterInvoker
- type ShowJobInvoker
- type ShowNodeInvoker
- type ShowNodePoolInvoker
- type ShowQuotasInvoker
- type ShowUpgradeClusterTaskInvoker
- type ShowVersionInvoker
- type UpdateAddonInstanceInvoker
- type UpdateClusterEipInvoker
- type UpdateClusterInvoker
- type UpdateNodeInvoker
- type UpdateNodePoolInvoker
- type UpgradeClusterInvoker
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CceClientBuilder ¶
func CceClientBuilder() *http_client.HcHttpClientBuilder
func GenReqDefForAddNode ¶ added in v0.0.59
func GenReqDefForAddNode() *def.HttpRequestDef
func GenReqDefForAwakeCluster ¶
func GenReqDefForAwakeCluster() *def.HttpRequestDef
func GenReqDefForBatchCreateClusterTags ¶ added in v0.1.57
func GenReqDefForBatchCreateClusterTags() *def.HttpRequestDef
func GenReqDefForBatchDeleteClusterTags ¶ added in v0.1.57
func GenReqDefForBatchDeleteClusterTags() *def.HttpRequestDef
func GenReqDefForContinueUpgradeClusterTask ¶ added in v0.1.17
func GenReqDefForContinueUpgradeClusterTask() *def.HttpRequestDef
func GenReqDefForCreateAddonInstance ¶
func GenReqDefForCreateAddonInstance() *def.HttpRequestDef
func GenReqDefForCreateCloudPersistentVolumeClaims ¶
func GenReqDefForCreateCloudPersistentVolumeClaims() *def.HttpRequestDef
func GenReqDefForCreateCluster ¶
func GenReqDefForCreateCluster() *def.HttpRequestDef
func GenReqDefForCreateKubernetesClusterCert ¶
func GenReqDefForCreateKubernetesClusterCert() *def.HttpRequestDef
func GenReqDefForCreateNode ¶
func GenReqDefForCreateNode() *def.HttpRequestDef
func GenReqDefForCreateNodePool ¶
func GenReqDefForCreateNodePool() *def.HttpRequestDef
func GenReqDefForDeleteAddonInstance ¶
func GenReqDefForDeleteAddonInstance() *def.HttpRequestDef
func GenReqDefForDeleteCloudPersistentVolumeClaims ¶
func GenReqDefForDeleteCloudPersistentVolumeClaims() *def.HttpRequestDef
func GenReqDefForDeleteCluster ¶
func GenReqDefForDeleteCluster() *def.HttpRequestDef
func GenReqDefForDeleteNode ¶
func GenReqDefForDeleteNode() *def.HttpRequestDef
func GenReqDefForDeleteNodePool ¶
func GenReqDefForDeleteNodePool() *def.HttpRequestDef
func GenReqDefForHibernateCluster ¶
func GenReqDefForHibernateCluster() *def.HttpRequestDef
func GenReqDefForListAddonInstances ¶
func GenReqDefForListAddonInstances() *def.HttpRequestDef
func GenReqDefForListAddonTemplates ¶
func GenReqDefForListAddonTemplates() *def.HttpRequestDef
func GenReqDefForListClusters ¶
func GenReqDefForListClusters() *def.HttpRequestDef
func GenReqDefForListNodePools ¶
func GenReqDefForListNodePools() *def.HttpRequestDef
func GenReqDefForListNodes ¶
func GenReqDefForListNodes() *def.HttpRequestDef
func GenReqDefForMigrateNode ¶ added in v0.0.51
func GenReqDefForMigrateNode() *def.HttpRequestDef
func GenReqDefForPauseUpgradeClusterTask ¶ added in v0.1.17
func GenReqDefForPauseUpgradeClusterTask() *def.HttpRequestDef
func GenReqDefForRemoveNode ¶ added in v0.0.51
func GenReqDefForRemoveNode() *def.HttpRequestDef
func GenReqDefForResetNode ¶ added in v0.0.59
func GenReqDefForResetNode() *def.HttpRequestDef
func GenReqDefForResizeCluster ¶ added in v0.1.57
func GenReqDefForResizeCluster() *def.HttpRequestDef
func GenReqDefForRetryUpgradeClusterTask ¶ added in v0.1.17
func GenReqDefForRetryUpgradeClusterTask() *def.HttpRequestDef
func GenReqDefForRollbackAddonInstance ¶ added in v0.1.57
func GenReqDefForRollbackAddonInstance() *def.HttpRequestDef
func GenReqDefForShowAddonInstance ¶
func GenReqDefForShowAddonInstance() *def.HttpRequestDef
func GenReqDefForShowCluster ¶
func GenReqDefForShowCluster() *def.HttpRequestDef
func GenReqDefForShowClusterEndpoints ¶ added in v0.0.97
func GenReqDefForShowClusterEndpoints() *def.HttpRequestDef
func GenReqDefForShowJob ¶
func GenReqDefForShowJob() *def.HttpRequestDef
func GenReqDefForShowNode ¶
func GenReqDefForShowNode() *def.HttpRequestDef
func GenReqDefForShowNodePool ¶
func GenReqDefForShowNodePool() *def.HttpRequestDef
func GenReqDefForShowQuotas ¶ added in v0.0.74
func GenReqDefForShowQuotas() *def.HttpRequestDef
func GenReqDefForShowUpgradeClusterTask ¶ added in v0.1.17
func GenReqDefForShowUpgradeClusterTask() *def.HttpRequestDef
func GenReqDefForShowVersion ¶ added in v0.0.97
func GenReqDefForShowVersion() *def.HttpRequestDef
func GenReqDefForUpdateAddonInstance ¶
func GenReqDefForUpdateAddonInstance() *def.HttpRequestDef
func GenReqDefForUpdateCluster ¶
func GenReqDefForUpdateCluster() *def.HttpRequestDef
func GenReqDefForUpdateClusterEip ¶ added in v0.0.97
func GenReqDefForUpdateClusterEip() *def.HttpRequestDef
func GenReqDefForUpdateNode ¶
func GenReqDefForUpdateNode() *def.HttpRequestDef
func GenReqDefForUpdateNodePool ¶
func GenReqDefForUpdateNodePool() *def.HttpRequestDef
func GenReqDefForUpgradeCluster ¶ added in v0.1.17
func GenReqDefForUpgradeCluster() *def.HttpRequestDef
Types ¶
type AddNodeInvoker ¶ added in v0.0.90
type AddNodeInvoker struct {
*invoker.BaseInvoker
}
func (*AddNodeInvoker) Invoke ¶ added in v0.0.90
func (i *AddNodeInvoker) Invoke() (*model.AddNodeResponse, error)
type AwakeClusterInvoker ¶ added in v0.0.90
type AwakeClusterInvoker struct {
*invoker.BaseInvoker
}
func (*AwakeClusterInvoker) Invoke ¶ added in v0.0.90
func (i *AwakeClusterInvoker) Invoke() (*model.AwakeClusterResponse, error)
type BatchCreateClusterTagsInvoker ¶ added in v0.1.57
type BatchCreateClusterTagsInvoker struct {
*invoker.BaseInvoker
}
func (*BatchCreateClusterTagsInvoker) Invoke ¶ added in v0.1.57
func (i *BatchCreateClusterTagsInvoker) Invoke() (*model.BatchCreateClusterTagsResponse, error)
type BatchDeleteClusterTagsInvoker ¶ added in v0.1.57
type BatchDeleteClusterTagsInvoker struct {
*invoker.BaseInvoker
}
func (*BatchDeleteClusterTagsInvoker) Invoke ¶ added in v0.1.57
func (i *BatchDeleteClusterTagsInvoker) Invoke() (*model.BatchDeleteClusterTagsResponse, error)
type CceClient ¶
type CceClient struct {
HcClient *http_client.HcHttpClient
}
func NewCceClient ¶
func NewCceClient(hcClient *http_client.HcHttpClient) *CceClient
func (*CceClient) AddNode ¶ added in v0.0.59
func (c *CceClient) AddNode(request *model.AddNodeRequest) (*model.AddNodeResponse, error)
AddNode 纳管节点
该API用于在指定集群下纳管节点。 >集群管理的URL格式为:https://Endpoint/uri。其中uri为资源路径,也即API访问的路径。
Please refer to HUAWEI cloud API Explorer for details.
func (*CceClient) AddNodeInvoker ¶ added in v0.0.90
func (c *CceClient) AddNodeInvoker(request *model.AddNodeRequest) *AddNodeInvoker
AddNodeInvoker 纳管节点
func (*CceClient) AwakeCluster ¶
func (c *CceClient) AwakeCluster(request *model.AwakeClusterRequest) (*model.AwakeClusterResponse, error)
AwakeCluster 集群唤醒
集群唤醒用于唤醒已休眠的集群,唤醒后,将继续收取控制节点资源费用。
Please refer to HUAWEI cloud API Explorer for details.
func (*CceClient) AwakeClusterInvoker ¶ added in v0.0.90
func (c *CceClient) AwakeClusterInvoker(request *model.AwakeClusterRequest) *AwakeClusterInvoker
AwakeClusterInvoker 集群唤醒
func (*CceClient) BatchCreateClusterTags ¶ added in v0.1.57
func (c *CceClient) BatchCreateClusterTags(request *model.BatchCreateClusterTagsRequest) (*model.BatchCreateClusterTagsResponse, error)
BatchCreateClusterTags 批量添加指定集群的资源标签
该API用于批量添加指定集群的资源标签。 > - 每个集群支持最多20个资源标签。 > - 此接口为幂等接口:创建时,如果创建的标签已经存在(key/value均相同视为重复),默认处理成功;key相同,value不同时会覆盖原有标签。
Please refer to HUAWEI cloud API Explorer for details.
func (*CceClient) BatchCreateClusterTagsInvoker ¶ added in v0.1.57
func (c *CceClient) BatchCreateClusterTagsInvoker(request *model.BatchCreateClusterTagsRequest) *BatchCreateClusterTagsInvoker
BatchCreateClusterTagsInvoker 批量添加指定集群的资源标签
func (*CceClient) BatchDeleteClusterTags ¶ added in v0.1.57
func (c *CceClient) BatchDeleteClusterTags(request *model.BatchDeleteClusterTagsRequest) (*model.BatchDeleteClusterTagsResponse, error)
BatchDeleteClusterTags 批量删除指定集群的资源标签
该API用于批量删除指定集群的资源标签。 > - 此接口为幂等接口:删除时,如果删除的标签key不存在,默认处理成功。
Please refer to HUAWEI cloud API Explorer for details.
func (*CceClient) BatchDeleteClusterTagsInvoker ¶ added in v0.1.57
func (c *CceClient) BatchDeleteClusterTagsInvoker(request *model.BatchDeleteClusterTagsRequest) *BatchDeleteClusterTagsInvoker
BatchDeleteClusterTagsInvoker 批量删除指定集群的资源标签
func (*CceClient) ContinueUpgradeClusterTask ¶ added in v0.1.17
func (c *CceClient) ContinueUpgradeClusterTask(request *model.ContinueUpgradeClusterTaskRequest) (*model.ContinueUpgradeClusterTaskResponse, error)
ContinueUpgradeClusterTask 继续执行集群升级任务
继续执行被暂停的集群升级任务。 > - 集群升级涉及多维度的组件升级操作,强烈建议统一通过CCE控制台执行交互式升级,降低集群升级过程的业务意外受损风险; > - 当前集群升级相关接口受限开放。
Please refer to HUAWEI cloud API Explorer for details.
func (*CceClient) ContinueUpgradeClusterTaskInvoker ¶ added in v0.1.17
func (c *CceClient) ContinueUpgradeClusterTaskInvoker(request *model.ContinueUpgradeClusterTaskRequest) *ContinueUpgradeClusterTaskInvoker
ContinueUpgradeClusterTaskInvoker 继续执行集群升级任务
func (*CceClient) CreateAddonInstance ¶
func (c *CceClient) CreateAddonInstance(request *model.CreateAddonInstanceRequest) (*model.CreateAddonInstanceResponse, error)
CreateAddonInstance 创建AddonInstance
根据提供的插件模板,安装插件实例。
Please refer to HUAWEI cloud API Explorer for details.
func (*CceClient) CreateAddonInstanceInvoker ¶ added in v0.0.90
func (c *CceClient) CreateAddonInstanceInvoker(request *model.CreateAddonInstanceRequest) *CreateAddonInstanceInvoker
CreateAddonInstanceInvoker 创建AddonInstance
func (*CceClient) CreateCloudPersistentVolumeClaims ¶
func (c *CceClient) CreateCloudPersistentVolumeClaims(request *model.CreateCloudPersistentVolumeClaimsRequest) (*model.CreateCloudPersistentVolumeClaimsResponse, error)
CreateCloudPersistentVolumeClaims 创建PVC(待废弃)
该API用于在指定的Namespace下通过云存储服务中的云存储(EVS、SFS、OBS)去创建PVC(PersistentVolumeClaim)。该API待废弃,请使用Kubernetes PVC相关接口。
>存储管理的URL格式为:https://{clusterid}.Endpoint/uri。其中{clusterid}为集群ID,uri为资源路径,也即API访问的路径。如果使用https://Endpoint/uri,则必须指定请求header中的X-Cluster-ID参数。
Please refer to HUAWEI cloud API Explorer for details.
func (*CceClient) CreateCloudPersistentVolumeClaimsInvoker ¶ added in v0.0.90
func (c *CceClient) CreateCloudPersistentVolumeClaimsInvoker(request *model.CreateCloudPersistentVolumeClaimsRequest) *CreateCloudPersistentVolumeClaimsInvoker
CreateCloudPersistentVolumeClaimsInvoker 创建PVC(待废弃)
func (*CceClient) CreateCluster ¶
func (c *CceClient) CreateCluster(request *model.CreateClusterRequest) (*model.CreateClusterResponse, error)
CreateCluster 创建集群
该API用于创建一个空集群(即只有控制节点Master,没有工作节点Node)。请在调用本接口完成集群创建之后,通过[创建节点](cce_02_0242.xml)添加节点。
> - 集群管理的URL格式为:https://Endpoint/uri。其中uri为资源路径,也即API访问的路径。 > - 调用该接口创建集群时,默认不安装ICAgent,若需安装ICAgent,可在请求Body参数的annotations中加入\"cluster.install.addons.external/install\":\"[{\"addonTemplateName\":\"icagent\"}]\"的集群注解,将在创建集群时自动安装ICAgent。ICAgent是应用性能管理APM的采集代理,运行在应用所在的服务器上,用于实时采集探针所获取的数据,安装ICAgent是使用应用性能管理APM的前提。
Please refer to HUAWEI cloud API Explorer for details.
func (*CceClient) CreateClusterInvoker ¶ added in v0.0.90
func (c *CceClient) CreateClusterInvoker(request *model.CreateClusterRequest) *CreateClusterInvoker
CreateClusterInvoker 创建集群
func (*CceClient) CreateKubernetesClusterCert ¶
func (c *CceClient) CreateKubernetesClusterCert(request *model.CreateKubernetesClusterCertRequest) (*model.CreateKubernetesClusterCertResponse, error)
CreateKubernetesClusterCert 获取集群证书
该API用于获取指定集群的证书信息。
Please refer to HUAWEI cloud API Explorer for details.
func (*CceClient) CreateKubernetesClusterCertInvoker ¶ added in v0.0.90
func (c *CceClient) CreateKubernetesClusterCertInvoker(request *model.CreateKubernetesClusterCertRequest) *CreateKubernetesClusterCertInvoker
CreateKubernetesClusterCertInvoker 获取集群证书
func (*CceClient) CreateNode ¶
func (c *CceClient) CreateNode(request *model.CreateNodeRequest) (*model.CreateNodeResponse, error)
CreateNode 创建节点
该API用于在指定集群下创建节点。 > - 若无集群,请先[创建集群](cce_02_0236.xml)。 > - 集群管理的URL格式为:https://Endpoint/uri。其中uri为资源路径,也即API访问的路径。
Please refer to HUAWEI cloud API Explorer for details.
func (*CceClient) CreateNodeInvoker ¶ added in v0.0.90
func (c *CceClient) CreateNodeInvoker(request *model.CreateNodeRequest) *CreateNodeInvoker
CreateNodeInvoker 创建节点
func (*CceClient) CreateNodePool ¶
func (c *CceClient) CreateNodePool(request *model.CreateNodePoolRequest) (*model.CreateNodePoolResponse, error)
CreateNodePool 创建节点池
该API用于在指定集群下创建节点池。仅支持集群在处于可用、扩容、缩容状态时调用。
1.21版本的集群创建节点池时支持绑定安全组,每个节点池最多绑定五个安全组。
更新节点池的安全组后,只针对新创的pod生效,建议驱逐节点上原有的pod。
> 若无集群,请先[创建集群](cce_02_0236.xml)。 > 集群管理的URL格式为:https://Endpoint/uri。其中uri为资源路径,也即API访问的路径
Please refer to HUAWEI cloud API Explorer for details.
func (*CceClient) CreateNodePoolInvoker ¶ added in v0.0.90
func (c *CceClient) CreateNodePoolInvoker(request *model.CreateNodePoolRequest) *CreateNodePoolInvoker
CreateNodePoolInvoker 创建节点池
func (*CceClient) DeleteAddonInstance ¶
func (c *CceClient) DeleteAddonInstance(request *model.DeleteAddonInstanceRequest) (*model.DeleteAddonInstanceResponse, error)
DeleteAddonInstance 删除AddonInstance
删除插件实例的功能。
Please refer to HUAWEI cloud API Explorer for details.
func (*CceClient) DeleteAddonInstanceInvoker ¶ added in v0.0.90
func (c *CceClient) DeleteAddonInstanceInvoker(request *model.DeleteAddonInstanceRequest) *DeleteAddonInstanceInvoker
DeleteAddonInstanceInvoker 删除AddonInstance
func (*CceClient) DeleteCloudPersistentVolumeClaims ¶
func (c *CceClient) DeleteCloudPersistentVolumeClaims(request *model.DeleteCloudPersistentVolumeClaimsRequest) (*model.DeleteCloudPersistentVolumeClaimsResponse, error)
DeleteCloudPersistentVolumeClaims 删除PVC(待废弃)
该API用于删除指定Namespace下的PVC(PersistentVolumeClaim)对象,并可以选择保留后端的云存储。该API待废弃,请使用Kubernetes PVC相关接口。 >存储管理的URL格式为:https://{clusterid}.Endpoint/uri。其中{clusterid}为集群ID,uri为资源路径,也即API访问的路径。如果使用https://Endpoint/uri,则必须指定请求header中的X-Cluster-ID参数。
Please refer to HUAWEI cloud API Explorer for details.
func (*CceClient) DeleteCloudPersistentVolumeClaimsInvoker ¶ added in v0.0.90
func (c *CceClient) DeleteCloudPersistentVolumeClaimsInvoker(request *model.DeleteCloudPersistentVolumeClaimsRequest) *DeleteCloudPersistentVolumeClaimsInvoker
DeleteCloudPersistentVolumeClaimsInvoker 删除PVC(待废弃)
func (*CceClient) DeleteCluster ¶
func (c *CceClient) DeleteCluster(request *model.DeleteClusterRequest) (*model.DeleteClusterResponse, error)
DeleteCluster 删除集群
该API用于删除一个指定的集群。 >集群管理的URL格式为:https://Endpoint/uri。其中uri为资源路径,也即API访问的路径。
Please refer to HUAWEI cloud API Explorer for details.
func (*CceClient) DeleteClusterInvoker ¶ added in v0.0.90
func (c *CceClient) DeleteClusterInvoker(request *model.DeleteClusterRequest) *DeleteClusterInvoker
DeleteClusterInvoker 删除集群
func (*CceClient) DeleteNode ¶
func (c *CceClient) DeleteNode(request *model.DeleteNodeRequest) (*model.DeleteNodeResponse, error)
DeleteNode 删除节点
该API用于删除指定的节点。 >集群管理的URL格式为:https://Endpoint/uri。其中uri为资源路径,也即API访问的路径
Please refer to HUAWEI cloud API Explorer for details.
func (*CceClient) DeleteNodeInvoker ¶ added in v0.0.90
func (c *CceClient) DeleteNodeInvoker(request *model.DeleteNodeRequest) *DeleteNodeInvoker
DeleteNodeInvoker 删除节点
func (*CceClient) DeleteNodePool ¶
func (c *CceClient) DeleteNodePool(request *model.DeleteNodePoolRequest) (*model.DeleteNodePoolResponse, error)
DeleteNodePool 删除节点池
该API用于删除指定的节点池。 > 集群管理的URL格式为:https://Endpoint/uri。其中uri为资源路径,也即API访问的路径
Please refer to HUAWEI cloud API Explorer for details.
func (*CceClient) DeleteNodePoolInvoker ¶ added in v0.0.90
func (c *CceClient) DeleteNodePoolInvoker(request *model.DeleteNodePoolRequest) *DeleteNodePoolInvoker
DeleteNodePoolInvoker 删除节点池
func (*CceClient) HibernateCluster ¶
func (c *CceClient) HibernateCluster(request *model.HibernateClusterRequest) (*model.HibernateClusterResponse, error)
HibernateCluster 集群休眠
集群休眠用于将运行中的集群置于休眠状态,休眠后,将不再收取控制节点资源费用。
Please refer to HUAWEI cloud API Explorer for details.
func (*CceClient) HibernateClusterInvoker ¶ added in v0.0.90
func (c *CceClient) HibernateClusterInvoker(request *model.HibernateClusterRequest) *HibernateClusterInvoker
HibernateClusterInvoker 集群休眠
func (*CceClient) ListAddonInstances ¶
func (c *CceClient) ListAddonInstances(request *model.ListAddonInstancesRequest) (*model.ListAddonInstancesResponse, error)
ListAddonInstances 获取AddonInstance列表
获取集群所有已安装插件实例
Please refer to HUAWEI cloud API Explorer for details.
func (*CceClient) ListAddonInstancesInvoker ¶ added in v0.0.90
func (c *CceClient) ListAddonInstancesInvoker(request *model.ListAddonInstancesRequest) *ListAddonInstancesInvoker
ListAddonInstancesInvoker 获取AddonInstance列表
func (*CceClient) ListAddonTemplates ¶
func (c *CceClient) ListAddonTemplates(request *model.ListAddonTemplatesRequest) (*model.ListAddonTemplatesResponse, error)
ListAddonTemplates 查询AddonTemplates列表
插件模板查询接口,查询插件信息。
Please refer to HUAWEI cloud API Explorer for details.
func (*CceClient) ListAddonTemplatesInvoker ¶ added in v0.0.90
func (c *CceClient) ListAddonTemplatesInvoker(request *model.ListAddonTemplatesRequest) *ListAddonTemplatesInvoker
ListAddonTemplatesInvoker 查询AddonTemplates列表
func (*CceClient) ListClusters ¶
func (c *CceClient) ListClusters(request *model.ListClustersRequest) (*model.ListClustersResponse, error)
ListClusters 获取指定项目下的集群
该API用于获取指定项目下所有集群的详细信息。
Please refer to HUAWEI cloud API Explorer for details.
func (*CceClient) ListClustersInvoker ¶ added in v0.0.90
func (c *CceClient) ListClustersInvoker(request *model.ListClustersRequest) *ListClustersInvoker
ListClustersInvoker 获取指定项目下的集群
func (*CceClient) ListNodePools ¶
func (c *CceClient) ListNodePools(request *model.ListNodePoolsRequest) (*model.ListNodePoolsResponse, error)
ListNodePools 获取集群下所有节点池
该API用于获取集群下所有节点池。 > - 集群管理的URL格式为:https://Endpoint/uri。其中uri为资源路径,也即API访问的路径 > - nodepool是集群中具有相同配置的节点实例的子集。
Please refer to HUAWEI cloud API Explorer for details.
func (*CceClient) ListNodePoolsInvoker ¶ added in v0.0.90
func (c *CceClient) ListNodePoolsInvoker(request *model.ListNodePoolsRequest) *ListNodePoolsInvoker
ListNodePoolsInvoker 获取集群下所有节点池
func (*CceClient) ListNodes ¶
func (c *CceClient) ListNodes(request *model.ListNodesRequest) (*model.ListNodesResponse, error)
ListNodes 获取集群下所有节点
该API用于通过集群ID获取指定集群下所有节点的详细信息。 >集群管理的URL格式为:https://Endpoint/uri。其中uri为资源路径,也即API访问的路径。
Please refer to HUAWEI cloud API Explorer for details.
func (*CceClient) ListNodesInvoker ¶ added in v0.0.90
func (c *CceClient) ListNodesInvoker(request *model.ListNodesRequest) *ListNodesInvoker
ListNodesInvoker 获取集群下所有节点
func (*CceClient) MigrateNode ¶ added in v0.0.51
func (c *CceClient) MigrateNode(request *model.MigrateNodeRequest) (*model.MigrateNodeResponse, error)
MigrateNode 节点迁移
该API用于在指定集群下迁移节点到另一集群(仅支持在同一VPC、同一项目下的不同集群之间进行迁移,且迁移前后的集群类型需相同)。 [CCE Turbo集群下弹性云服务-物理机类型节点不支持迁移。](tag:hws,hws_hk,dt)
>集群管理的URL格式为:https://Endpoint/uri。其中uri为资源路径,也即API访问的路径。
Please refer to HUAWEI cloud API Explorer for details.
func (*CceClient) MigrateNodeInvoker ¶ added in v0.0.90
func (c *CceClient) MigrateNodeInvoker(request *model.MigrateNodeRequest) *MigrateNodeInvoker
MigrateNodeInvoker 节点迁移
func (*CceClient) PauseUpgradeClusterTask ¶ added in v0.1.17
func (c *CceClient) PauseUpgradeClusterTask(request *model.PauseUpgradeClusterTaskRequest) (*model.PauseUpgradeClusterTaskResponse, error)
PauseUpgradeClusterTask 暂停集群升级任务
暂停集群升级任务。 > - 集群升级涉及多维度的组件升级操作,强烈建议统一通过CCE控制台执行交互式升级,降低集群升级过程的业务意外受损风险; > - 当前集群升级相关接口受限开放。
Please refer to HUAWEI cloud API Explorer for details.
func (*CceClient) PauseUpgradeClusterTaskInvoker ¶ added in v0.1.17
func (c *CceClient) PauseUpgradeClusterTaskInvoker(request *model.PauseUpgradeClusterTaskRequest) *PauseUpgradeClusterTaskInvoker
PauseUpgradeClusterTaskInvoker 暂停集群升级任务
func (*CceClient) RemoveNode ¶ added in v0.0.51
func (c *CceClient) RemoveNode(request *model.RemoveNodeRequest) (*model.RemoveNodeResponse, error)
RemoveNode 节点移除
该API用于在指定集群下移除节点。 >集群管理的URL格式为:https://Endpoint/uri。其中uri为资源路径,也即API访问的路径。
Please refer to HUAWEI cloud API Explorer for details.
func (*CceClient) RemoveNodeInvoker ¶ added in v0.0.90
func (c *CceClient) RemoveNodeInvoker(request *model.RemoveNodeRequest) *RemoveNodeInvoker
RemoveNodeInvoker 节点移除
func (*CceClient) ResetNode ¶ added in v0.0.59
func (c *CceClient) ResetNode(request *model.ResetNodeRequest) (*model.ResetNodeResponse, error)
ResetNode 重置节点
该API用于在指定集群下重置节点。 >集群管理的URL格式为:https://Endpoint/uri。其中uri为资源路径,也即API访问的路径。
Please refer to HUAWEI cloud API Explorer for details.
func (*CceClient) ResetNodeInvoker ¶ added in v0.0.90
func (c *CceClient) ResetNodeInvoker(request *model.ResetNodeRequest) *ResetNodeInvoker
ResetNodeInvoker 重置节点
func (*CceClient) ResizeCluster ¶ added in v0.1.57
func (c *CceClient) ResizeCluster(request *model.ResizeClusterRequest) (*model.ResizeClusterResponse, error)
ResizeCluster 变更集群规格
该API用于变更一个指定集群的规格。
> - 集群管理的URL格式为:https://Endpoint/uri。其中uri为资源路径,也即API访问的路径。 > - 使用限制请参考:[[变更集群规格](https://support.huaweicloud.com/usermanual-cce/cce_10_0403.html)。](tag:hws)[[变更集群规格](https://support.huaweicloud.com/intl/zh-cn/usermanual-cce/cce_10_0403.html)](tag:hws_hk)
Please refer to HUAWEI cloud API Explorer for details.
func (*CceClient) ResizeClusterInvoker ¶ added in v0.1.57
func (c *CceClient) ResizeClusterInvoker(request *model.ResizeClusterRequest) *ResizeClusterInvoker
ResizeClusterInvoker 变更集群规格
func (*CceClient) RetryUpgradeClusterTask ¶ added in v0.1.17
func (c *CceClient) RetryUpgradeClusterTask(request *model.RetryUpgradeClusterTaskRequest) (*model.RetryUpgradeClusterTaskResponse, error)
RetryUpgradeClusterTask 重试集群升级任务
重新执行失败的集群升级任务。 > - 集群升级涉及多维度的组件升级操作,强烈建议统一通过CCE控制台执行交互式升级,降低集群升级过程的业务意外受损风险; > - 当前集群升级相关接口受限开放。
Please refer to HUAWEI cloud API Explorer for details.
func (*CceClient) RetryUpgradeClusterTaskInvoker ¶ added in v0.1.17
func (c *CceClient) RetryUpgradeClusterTaskInvoker(request *model.RetryUpgradeClusterTaskRequest) *RetryUpgradeClusterTaskInvoker
RetryUpgradeClusterTaskInvoker 重试集群升级任务
func (*CceClient) RollbackAddonInstance ¶ added in v0.1.57
func (c *CceClient) RollbackAddonInstance(request *model.RollbackAddonInstanceRequest) (*model.RollbackAddonInstanceResponse, error)
RollbackAddonInstance 回滚AddonInstance
将插件实例回滚到升级前的版本。只有在当前插件实例版本支持回滚到升级前的版本(status.isRollbackable为true),且插件实例状态为running(运行中)、available(可用)、abnormal(不可用)、upgradeFailed(升级失败)、rollbackFailed(回滚失败)时支持回滚。
Please refer to HUAWEI cloud API Explorer for details.
func (*CceClient) RollbackAddonInstanceInvoker ¶ added in v0.1.57
func (c *CceClient) RollbackAddonInstanceInvoker(request *model.RollbackAddonInstanceRequest) *RollbackAddonInstanceInvoker
RollbackAddonInstanceInvoker 回滚AddonInstance
func (*CceClient) ShowAddonInstance ¶
func (c *CceClient) ShowAddonInstance(request *model.ShowAddonInstanceRequest) (*model.ShowAddonInstanceResponse, error)
ShowAddonInstance 获取AddonInstance详情
获取插件实例详情。
Please refer to HUAWEI cloud API Explorer for details.
func (*CceClient) ShowAddonInstanceInvoker ¶ added in v0.0.90
func (c *CceClient) ShowAddonInstanceInvoker(request *model.ShowAddonInstanceRequest) *ShowAddonInstanceInvoker
ShowAddonInstanceInvoker 获取AddonInstance详情
func (*CceClient) ShowCluster ¶
func (c *CceClient) ShowCluster(request *model.ShowClusterRequest) (*model.ShowClusterResponse, error)
ShowCluster 获取指定的集群
该API用于获取指定集群的详细信息。 >集群管理的URL格式为:https://Endpoint/uri。其中uri为资源路径,也即API访问的路径。
Please refer to HUAWEI cloud API Explorer for details.
func (*CceClient) ShowClusterEndpoints ¶ added in v0.0.97
func (c *CceClient) ShowClusterEndpoints(request *model.ShowClusterEndpointsRequest) (*model.ShowClusterEndpointsResponse, error)
ShowClusterEndpoints 获取集群访问的地址
该API用于通过集群ID获取集群访问的地址,包括PrivateIP(HA集群返回VIP)与PublicIP >集群管理的URL格式为:https://Endpoint/uri。其中uri为资源路径,也即API访问的路径。
Please refer to HUAWEI cloud API Explorer for details.
func (*CceClient) ShowClusterEndpointsInvoker ¶ added in v0.0.97
func (c *CceClient) ShowClusterEndpointsInvoker(request *model.ShowClusterEndpointsRequest) *ShowClusterEndpointsInvoker
ShowClusterEndpointsInvoker 获取集群访问的地址
func (*CceClient) ShowClusterInvoker ¶ added in v0.0.90
func (c *CceClient) ShowClusterInvoker(request *model.ShowClusterRequest) *ShowClusterInvoker
ShowClusterInvoker 获取指定的集群
func (*CceClient) ShowJob ¶
func (c *CceClient) ShowJob(request *model.ShowJobRequest) (*model.ShowJobResponse, error)
ShowJob 获取任务信息
该API用于获取任务信息。通过某一任务请求下发后返回的jobID来查询指定任务的进度。 > - 集群管理的URL格式为:https://Endpoint/uri。其中uri为资源路径,也即API访问的路径 > - 该接口通常使用场景为: > - 创建、删除集群时,查询相应任务的进度。 > - 创建、删除节点时,查询相应任务的进度。
Please refer to HUAWEI cloud API Explorer for details.
func (*CceClient) ShowJobInvoker ¶ added in v0.0.90
func (c *CceClient) ShowJobInvoker(request *model.ShowJobRequest) *ShowJobInvoker
ShowJobInvoker 获取任务信息
func (*CceClient) ShowNode ¶
func (c *CceClient) ShowNode(request *model.ShowNodeRequest) (*model.ShowNodeResponse, error)
ShowNode 获取指定的节点
该API用于通过节点ID获取指定节点的详细信息。 >集群管理的URL格式为:https://Endpoint/uri。其中uri为资源路径,也即API访问的路径。
Please refer to HUAWEI cloud API Explorer for details.
func (*CceClient) ShowNodeInvoker ¶ added in v0.0.90
func (c *CceClient) ShowNodeInvoker(request *model.ShowNodeRequest) *ShowNodeInvoker
ShowNodeInvoker 获取指定的节点
func (*CceClient) ShowNodePool ¶
func (c *CceClient) ShowNodePool(request *model.ShowNodePoolRequest) (*model.ShowNodePoolResponse, error)
ShowNodePool 获取指定的节点池
该API用于获取指定节点池的详细信息。 > 集群管理的URL格式为:https://Endpoint/uri。其中uri为资源路径,也即API访问的路径
Please refer to HUAWEI cloud API Explorer for details.
func (*CceClient) ShowNodePoolInvoker ¶ added in v0.0.90
func (c *CceClient) ShowNodePoolInvoker(request *model.ShowNodePoolRequest) *ShowNodePoolInvoker
ShowNodePoolInvoker 获取指定的节点池
func (*CceClient) ShowQuotas ¶ added in v0.0.74
func (c *CceClient) ShowQuotas(request *model.ShowQuotasRequest) (*model.ShowQuotasResponse, error)
ShowQuotas 查询CCE服务下的资源配额
该API用于查询CCE服务下的资源配额。
Please refer to HUAWEI cloud API Explorer for details.
func (*CceClient) ShowQuotasInvoker ¶ added in v0.0.90
func (c *CceClient) ShowQuotasInvoker(request *model.ShowQuotasRequest) *ShowQuotasInvoker
ShowQuotasInvoker 查询CCE服务下的资源配额
func (*CceClient) ShowUpgradeClusterTask ¶ added in v0.1.17
func (c *CceClient) ShowUpgradeClusterTask(request *model.ShowUpgradeClusterTaskRequest) (*model.ShowUpgradeClusterTaskResponse, error)
ShowUpgradeClusterTask 获取集群升级任务详情
获取集群升级任务详情,任务ID由调用集群升级API后从响应体中uid字段获取。 > - 集群升级涉及多维度的组件升级操作,强烈建议统一通过CCE控制台执行交互式升级,降低集群升级过程的业务意外受损风险; > - 当前集群升级相关接口受限开放。
Please refer to HUAWEI cloud API Explorer for details.
func (*CceClient) ShowUpgradeClusterTaskInvoker ¶ added in v0.1.17
func (c *CceClient) ShowUpgradeClusterTaskInvoker(request *model.ShowUpgradeClusterTaskRequest) *ShowUpgradeClusterTaskInvoker
ShowUpgradeClusterTaskInvoker 获取集群升级任务详情
func (*CceClient) ShowVersion ¶ added in v0.0.97
func (c *CceClient) ShowVersion(request *model.ShowVersionRequest) (*model.ShowVersionResponse, error)
ShowVersion 查询API版本信息列表。
该API用于查询CCE服务当前支持的API版本信息列表。
Please refer to HUAWEI cloud API Explorer for details.
func (*CceClient) ShowVersionInvoker ¶ added in v0.0.97
func (c *CceClient) ShowVersionInvoker(request *model.ShowVersionRequest) *ShowVersionInvoker
ShowVersionInvoker 查询API版本信息列表。
func (*CceClient) UpdateAddonInstance ¶
func (c *CceClient) UpdateAddonInstance(request *model.UpdateAddonInstanceRequest) (*model.UpdateAddonInstanceResponse, error)
UpdateAddonInstance 更新AddonInstance
更新插件实例的功能。
Please refer to HUAWEI cloud API Explorer for details.
func (*CceClient) UpdateAddonInstanceInvoker ¶ added in v0.0.90
func (c *CceClient) UpdateAddonInstanceInvoker(request *model.UpdateAddonInstanceRequest) *UpdateAddonInstanceInvoker
UpdateAddonInstanceInvoker 更新AddonInstance
func (*CceClient) UpdateCluster ¶
func (c *CceClient) UpdateCluster(request *model.UpdateClusterRequest) (*model.UpdateClusterResponse, error)
UpdateCluster 更新指定的集群
该API用于更新指定的集群。 >集群管理的URL格式为:https://Endpoint/uri。其中uri为资源路径,也即API访问的路径。
Please refer to HUAWEI cloud API Explorer for details.
func (*CceClient) UpdateClusterEip ¶ added in v0.0.97
func (c *CceClient) UpdateClusterEip(request *model.UpdateClusterEipRequest) (*model.UpdateClusterEipResponse, error)
UpdateClusterEip 绑定、解绑集群公网apiserver地址
该API用于通过集群ID绑定、解绑集群公网apiserver地址 >集群管理的URL格式为:https://Endpoint/uri。其中uri为资源路径,也即API访问的路径。
Please refer to HUAWEI cloud API Explorer for details.
func (*CceClient) UpdateClusterEipInvoker ¶ added in v0.0.97
func (c *CceClient) UpdateClusterEipInvoker(request *model.UpdateClusterEipRequest) *UpdateClusterEipInvoker
UpdateClusterEipInvoker 绑定、解绑集群公网apiserver地址
func (*CceClient) UpdateClusterInvoker ¶ added in v0.0.90
func (c *CceClient) UpdateClusterInvoker(request *model.UpdateClusterRequest) *UpdateClusterInvoker
UpdateClusterInvoker 更新指定的集群
func (*CceClient) UpdateNode ¶
func (c *CceClient) UpdateNode(request *model.UpdateNodeRequest) (*model.UpdateNodeResponse, error)
UpdateNode 更新指定的节点
该API用于更新指定的节点。 > - 当前仅支持更新metadata下的name字段,即节点的名字。 > - 集群管理的URL格式为:https://Endpoint/uri。其中uri为资源路径,也即API访问的路径。
Please refer to HUAWEI cloud API Explorer for details.
func (*CceClient) UpdateNodeInvoker ¶ added in v0.0.90
func (c *CceClient) UpdateNodeInvoker(request *model.UpdateNodeRequest) *UpdateNodeInvoker
UpdateNodeInvoker 更新指定的节点
func (*CceClient) UpdateNodePool ¶
func (c *CceClient) UpdateNodePool(request *model.UpdateNodePoolRequest) (*model.UpdateNodePoolResponse, error)
UpdateNodePool 更新指定节点池
该API用于更新指定的节点池。仅支持集群在处于可用、扩容、缩容状态时调用。
> - 集群管理的URL格式为:https://Endpoint/uri。其中uri为资源路径,也即API访问的路径
> - 当前仅支持更新节点池名称,spec下的initialNodeCount,k8sTags,taints,login,userTags与节点池的扩缩容配置相关字段。若此次更新未设置相关值,默认更新为初始值。
Please refer to HUAWEI cloud API Explorer for details.
func (*CceClient) UpdateNodePoolInvoker ¶ added in v0.0.90
func (c *CceClient) UpdateNodePoolInvoker(request *model.UpdateNodePoolRequest) *UpdateNodePoolInvoker
UpdateNodePoolInvoker 更新指定节点池
func (*CceClient) UpgradeCluster ¶ added in v0.1.17
func (c *CceClient) UpgradeCluster(request *model.UpgradeClusterRequest) (*model.UpgradeClusterResponse, error)
UpgradeCluster 集群升级
集群升级。 > - 集群升级涉及多维度的组件升级操作,强烈建议统一通过CCE控制台执行交互式升级,降低集群升级过程的业务意外受损风险; > - 当前集群升级相关接口受限开放。
Please refer to HUAWEI cloud API Explorer for details.
func (*CceClient) UpgradeClusterInvoker ¶ added in v0.1.17
func (c *CceClient) UpgradeClusterInvoker(request *model.UpgradeClusterRequest) *UpgradeClusterInvoker
UpgradeClusterInvoker 集群升级
type ContinueUpgradeClusterTaskInvoker ¶ added in v0.1.17
type ContinueUpgradeClusterTaskInvoker struct {
*invoker.BaseInvoker
}
func (*ContinueUpgradeClusterTaskInvoker) Invoke ¶ added in v0.1.17
func (i *ContinueUpgradeClusterTaskInvoker) Invoke() (*model.ContinueUpgradeClusterTaskResponse, error)
type CreateAddonInstanceInvoker ¶ added in v0.0.90
type CreateAddonInstanceInvoker struct {
*invoker.BaseInvoker
}
func (*CreateAddonInstanceInvoker) Invoke ¶ added in v0.0.90
func (i *CreateAddonInstanceInvoker) Invoke() (*model.CreateAddonInstanceResponse, error)
type CreateCloudPersistentVolumeClaimsInvoker ¶ added in v0.0.90
type CreateCloudPersistentVolumeClaimsInvoker struct {
*invoker.BaseInvoker
}
func (*CreateCloudPersistentVolumeClaimsInvoker) Invoke ¶ added in v0.0.90
func (i *CreateCloudPersistentVolumeClaimsInvoker) Invoke() (*model.CreateCloudPersistentVolumeClaimsResponse, error)
type CreateClusterInvoker ¶ added in v0.0.90
type CreateClusterInvoker struct {
*invoker.BaseInvoker
}
func (*CreateClusterInvoker) Invoke ¶ added in v0.0.90
func (i *CreateClusterInvoker) Invoke() (*model.CreateClusterResponse, error)
type CreateKubernetesClusterCertInvoker ¶ added in v0.0.90
type CreateKubernetesClusterCertInvoker struct {
*invoker.BaseInvoker
}
func (*CreateKubernetesClusterCertInvoker) Invoke ¶ added in v0.0.90
func (i *CreateKubernetesClusterCertInvoker) Invoke() (*model.CreateKubernetesClusterCertResponse, error)
type CreateNodeInvoker ¶ added in v0.0.90
type CreateNodeInvoker struct {
*invoker.BaseInvoker
}
func (*CreateNodeInvoker) Invoke ¶ added in v0.0.90
func (i *CreateNodeInvoker) Invoke() (*model.CreateNodeResponse, error)
type CreateNodePoolInvoker ¶ added in v0.0.90
type CreateNodePoolInvoker struct {
*invoker.BaseInvoker
}
func (*CreateNodePoolInvoker) Invoke ¶ added in v0.0.90
func (i *CreateNodePoolInvoker) Invoke() (*model.CreateNodePoolResponse, error)
type DeleteAddonInstanceInvoker ¶ added in v0.0.90
type DeleteAddonInstanceInvoker struct {
*invoker.BaseInvoker
}
func (*DeleteAddonInstanceInvoker) Invoke ¶ added in v0.0.90
func (i *DeleteAddonInstanceInvoker) Invoke() (*model.DeleteAddonInstanceResponse, error)
type DeleteCloudPersistentVolumeClaimsInvoker ¶ added in v0.0.90
type DeleteCloudPersistentVolumeClaimsInvoker struct {
*invoker.BaseInvoker
}
func (*DeleteCloudPersistentVolumeClaimsInvoker) Invoke ¶ added in v0.0.90
func (i *DeleteCloudPersistentVolumeClaimsInvoker) Invoke() (*model.DeleteCloudPersistentVolumeClaimsResponse, error)
type DeleteClusterInvoker ¶ added in v0.0.90
type DeleteClusterInvoker struct {
*invoker.BaseInvoker
}
func (*DeleteClusterInvoker) Invoke ¶ added in v0.0.90
func (i *DeleteClusterInvoker) Invoke() (*model.DeleteClusterResponse, error)
type DeleteNodeInvoker ¶ added in v0.0.90
type DeleteNodeInvoker struct {
*invoker.BaseInvoker
}
func (*DeleteNodeInvoker) Invoke ¶ added in v0.0.90
func (i *DeleteNodeInvoker) Invoke() (*model.DeleteNodeResponse, error)
type DeleteNodePoolInvoker ¶ added in v0.0.90
type DeleteNodePoolInvoker struct {
*invoker.BaseInvoker
}
func (*DeleteNodePoolInvoker) Invoke ¶ added in v0.0.90
func (i *DeleteNodePoolInvoker) Invoke() (*model.DeleteNodePoolResponse, error)
type HibernateClusterInvoker ¶ added in v0.0.90
type HibernateClusterInvoker struct {
*invoker.BaseInvoker
}
func (*HibernateClusterInvoker) Invoke ¶ added in v0.0.90
func (i *HibernateClusterInvoker) Invoke() (*model.HibernateClusterResponse, error)
type ListAddonInstancesInvoker ¶ added in v0.0.90
type ListAddonInstancesInvoker struct {
*invoker.BaseInvoker
}
func (*ListAddonInstancesInvoker) Invoke ¶ added in v0.0.90
func (i *ListAddonInstancesInvoker) Invoke() (*model.ListAddonInstancesResponse, error)
type ListAddonTemplatesInvoker ¶ added in v0.0.90
type ListAddonTemplatesInvoker struct {
*invoker.BaseInvoker
}
func (*ListAddonTemplatesInvoker) Invoke ¶ added in v0.0.90
func (i *ListAddonTemplatesInvoker) Invoke() (*model.ListAddonTemplatesResponse, error)
type ListClustersInvoker ¶ added in v0.0.90
type ListClustersInvoker struct {
*invoker.BaseInvoker
}
func (*ListClustersInvoker) Invoke ¶ added in v0.0.90
func (i *ListClustersInvoker) Invoke() (*model.ListClustersResponse, error)
type ListNodePoolsInvoker ¶ added in v0.0.90
type ListNodePoolsInvoker struct {
*invoker.BaseInvoker
}
func (*ListNodePoolsInvoker) Invoke ¶ added in v0.0.90
func (i *ListNodePoolsInvoker) Invoke() (*model.ListNodePoolsResponse, error)
type ListNodesInvoker ¶ added in v0.0.90
type ListNodesInvoker struct {
*invoker.BaseInvoker
}
func (*ListNodesInvoker) Invoke ¶ added in v0.0.90
func (i *ListNodesInvoker) Invoke() (*model.ListNodesResponse, error)
type MigrateNodeInvoker ¶ added in v0.0.90
type MigrateNodeInvoker struct {
*invoker.BaseInvoker
}
func (*MigrateNodeInvoker) Invoke ¶ added in v0.0.90
func (i *MigrateNodeInvoker) Invoke() (*model.MigrateNodeResponse, error)
type PauseUpgradeClusterTaskInvoker ¶ added in v0.1.17
type PauseUpgradeClusterTaskInvoker struct {
*invoker.BaseInvoker
}
func (*PauseUpgradeClusterTaskInvoker) Invoke ¶ added in v0.1.17
func (i *PauseUpgradeClusterTaskInvoker) Invoke() (*model.PauseUpgradeClusterTaskResponse, error)
type RemoveNodeInvoker ¶ added in v0.0.90
type RemoveNodeInvoker struct {
*invoker.BaseInvoker
}
func (*RemoveNodeInvoker) Invoke ¶ added in v0.0.90
func (i *RemoveNodeInvoker) Invoke() (*model.RemoveNodeResponse, error)
type ResetNodeInvoker ¶ added in v0.0.90
type ResetNodeInvoker struct {
*invoker.BaseInvoker
}
func (*ResetNodeInvoker) Invoke ¶ added in v0.0.90
func (i *ResetNodeInvoker) Invoke() (*model.ResetNodeResponse, error)
type ResizeClusterInvoker ¶ added in v0.1.57
type ResizeClusterInvoker struct {
*invoker.BaseInvoker
}
func (*ResizeClusterInvoker) Invoke ¶ added in v0.1.57
func (i *ResizeClusterInvoker) Invoke() (*model.ResizeClusterResponse, error)
type RetryUpgradeClusterTaskInvoker ¶ added in v0.1.17
type RetryUpgradeClusterTaskInvoker struct {
*invoker.BaseInvoker
}
func (*RetryUpgradeClusterTaskInvoker) Invoke ¶ added in v0.1.17
func (i *RetryUpgradeClusterTaskInvoker) Invoke() (*model.RetryUpgradeClusterTaskResponse, error)
type RollbackAddonInstanceInvoker ¶ added in v0.1.57
type RollbackAddonInstanceInvoker struct {
*invoker.BaseInvoker
}
func (*RollbackAddonInstanceInvoker) Invoke ¶ added in v0.1.57
func (i *RollbackAddonInstanceInvoker) Invoke() (*model.RollbackAddonInstanceResponse, error)
type ShowAddonInstanceInvoker ¶ added in v0.0.90
type ShowAddonInstanceInvoker struct {
*invoker.BaseInvoker
}
func (*ShowAddonInstanceInvoker) Invoke ¶ added in v0.0.90
func (i *ShowAddonInstanceInvoker) Invoke() (*model.ShowAddonInstanceResponse, error)
type ShowClusterEndpointsInvoker ¶ added in v0.0.97
type ShowClusterEndpointsInvoker struct {
*invoker.BaseInvoker
}
func (*ShowClusterEndpointsInvoker) Invoke ¶ added in v0.0.97
func (i *ShowClusterEndpointsInvoker) Invoke() (*model.ShowClusterEndpointsResponse, error)
type ShowClusterInvoker ¶ added in v0.0.90
type ShowClusterInvoker struct {
*invoker.BaseInvoker
}
func (*ShowClusterInvoker) Invoke ¶ added in v0.0.90
func (i *ShowClusterInvoker) Invoke() (*model.ShowClusterResponse, error)
type ShowJobInvoker ¶ added in v0.0.90
type ShowJobInvoker struct {
*invoker.BaseInvoker
}
func (*ShowJobInvoker) Invoke ¶ added in v0.0.90
func (i *ShowJobInvoker) Invoke() (*model.ShowJobResponse, error)
type ShowNodeInvoker ¶ added in v0.0.90
type ShowNodeInvoker struct {
*invoker.BaseInvoker
}
func (*ShowNodeInvoker) Invoke ¶ added in v0.0.90
func (i *ShowNodeInvoker) Invoke() (*model.ShowNodeResponse, error)
type ShowNodePoolInvoker ¶ added in v0.0.90
type ShowNodePoolInvoker struct {
*invoker.BaseInvoker
}
func (*ShowNodePoolInvoker) Invoke ¶ added in v0.0.90
func (i *ShowNodePoolInvoker) Invoke() (*model.ShowNodePoolResponse, error)
type ShowQuotasInvoker ¶ added in v0.0.90
type ShowQuotasInvoker struct {
*invoker.BaseInvoker
}
func (*ShowQuotasInvoker) Invoke ¶ added in v0.0.90
func (i *ShowQuotasInvoker) Invoke() (*model.ShowQuotasResponse, error)
type ShowUpgradeClusterTaskInvoker ¶ added in v0.1.17
type ShowUpgradeClusterTaskInvoker struct {
*invoker.BaseInvoker
}
func (*ShowUpgradeClusterTaskInvoker) Invoke ¶ added in v0.1.17
func (i *ShowUpgradeClusterTaskInvoker) Invoke() (*model.ShowUpgradeClusterTaskResponse, error)
type ShowVersionInvoker ¶ added in v0.0.97
type ShowVersionInvoker struct {
*invoker.BaseInvoker
}
func (*ShowVersionInvoker) Invoke ¶ added in v0.0.97
func (i *ShowVersionInvoker) Invoke() (*model.ShowVersionResponse, error)
type UpdateAddonInstanceInvoker ¶ added in v0.0.90
type UpdateAddonInstanceInvoker struct {
*invoker.BaseInvoker
}
func (*UpdateAddonInstanceInvoker) Invoke ¶ added in v0.0.90
func (i *UpdateAddonInstanceInvoker) Invoke() (*model.UpdateAddonInstanceResponse, error)
type UpdateClusterEipInvoker ¶ added in v0.0.97
type UpdateClusterEipInvoker struct {
*invoker.BaseInvoker
}
func (*UpdateClusterEipInvoker) Invoke ¶ added in v0.0.97
func (i *UpdateClusterEipInvoker) Invoke() (*model.UpdateClusterEipResponse, error)
type UpdateClusterInvoker ¶ added in v0.0.90
type UpdateClusterInvoker struct {
*invoker.BaseInvoker
}
func (*UpdateClusterInvoker) Invoke ¶ added in v0.0.90
func (i *UpdateClusterInvoker) Invoke() (*model.UpdateClusterResponse, error)
type UpdateNodeInvoker ¶ added in v0.0.90
type UpdateNodeInvoker struct {
*invoker.BaseInvoker
}
func (*UpdateNodeInvoker) Invoke ¶ added in v0.0.90
func (i *UpdateNodeInvoker) Invoke() (*model.UpdateNodeResponse, error)
type UpdateNodePoolInvoker ¶ added in v0.0.90
type UpdateNodePoolInvoker struct {
*invoker.BaseInvoker
}
func (*UpdateNodePoolInvoker) Invoke ¶ added in v0.0.90
func (i *UpdateNodePoolInvoker) Invoke() (*model.UpdateNodePoolResponse, error)
type UpgradeClusterInvoker ¶ added in v0.1.17
type UpgradeClusterInvoker struct {
*invoker.BaseInvoker
}
func (*UpgradeClusterInvoker) Invoke ¶ added in v0.1.17
func (i *UpgradeClusterInvoker) Invoke() (*model.UpgradeClusterResponse, error)