Documentation
¶
Index ¶
- Constants
- type Apis
- type CcseAttachClusterNodesAnnotationsRequest
- type CcseAttachClusterNodesApi
- type CcseAttachClusterNodesInstancesRequest
- type CcseAttachClusterNodesKubeletArgsRequest
- type CcseAttachClusterNodesLabelsRequest
- type CcseAttachClusterNodesRequest
- type CcseAttachClusterNodesResourceLabelsRequest
- type CcseAttachClusterNodesResponse
- type CcseAttachClusterNodesTaintsRequest
- type CcseBatchDeleteNodePoolApi
- type CcseBatchDeleteNodePoolRequest
- type CcseBatchDeleteNodePoolResponse
- type CcseBatchDeleteNodePoolReturnObjResponse
- type CcseBindClusterTagsApi
- type CcseBindClusterTagsRequest
- type CcseBindClusterTagsResponse
- type CcseCancelClusterTaskApi
- type CcseCancelClusterTaskRequest
- type CcseCancelClusterTaskResponse
- type CcseCancelClusterTaskReturnObjResponse
- type CcseCheckControlPlaneLogEnabledApi
- type CcseCheckControlPlaneLogEnabledRequest
- type CcseCheckControlPlaneLogEnabledResponse
- type CcseClusterUpgradePrecheckApi
- type CcseClusterUpgradePrecheckRequest
- type CcseClusterUpgradePrecheckResponse
- type CcseClusterUpgradePrecheckReturnObjCheckEntryResultCheckSummaryResponse
- type CcseClusterUpgradePrecheckReturnObjCheckEntryResultErrorInstanceResultCheckpointResultsResponse
- type CcseClusterUpgradePrecheckReturnObjCheckEntryResultErrorInstanceResultResponse
- type CcseClusterUpgradePrecheckReturnObjCheckEntryResultNormalInstanceResultCheckpointResultsResponse
- type CcseClusterUpgradePrecheckReturnObjCheckEntryResultNormalInstanceResultResponse
- type CcseClusterUpgradePrecheckReturnObjCheckEntryResultResponse
- type CcseClusterUpgradePrecheckReturnObjResponse
- type CcseCreateClusterApi
- type CcseCreateClusterAutoscalerPolicyApi
- type CcseCreateClusterAutoscalerPolicyRequest
- type CcseCreateClusterAutoscalerPolicyResponse
- type CcseCreateClusterClusterBaseInfoAzInfosRequest
- type CcseCreateClusterClusterBaseInfoNodeLabelsRequest
- type CcseCreateClusterClusterBaseInfoRequest
- type CcseCreateClusterClusterBaseInfoResourceLabelsRequest
- type CcseCreateClusterDelegateApi
- type CcseCreateClusterDelegateRequest
- type CcseCreateClusterDelegateResponse
- type CcseCreateClusterMasterHostDataDisksRequest
- type CcseCreateClusterMasterHostRequest
- type CcseCreateClusterMasterHostSysDiskRequest
- type CcseCreateClusterPolicyInstanceApi
- type CcseCreateClusterPolicyInstancePolicyParametersRequest
- type CcseCreateClusterPolicyInstanceRequest
- type CcseCreateClusterPolicyInstanceResponse
- type CcseCreateClusterPolicyInstanceReturnObjResponse
- type CcseCreateClusterRequest
- type CcseCreateClusterResponse
- type CcseCreateClusterReturnObjResponse
- type CcseCreateClusterSlaveHostAzInfosRequest
- type CcseCreateClusterSlaveHostDataDisksRequest
- type CcseCreateClusterSlaveHostRequest
- type CcseCreateClusterSlaveHostSysDiskRequest
- type CcseCreateConfigMapApi
- type CcseCreateConfigMapRequest
- type CcseCreateConfigMapResponse
- type CcseCreateCronHorizontalPodAutoscalerApi
- type CcseCreateCronHorizontalPodAutoscalerRequest
- type CcseCreateCronHorizontalPodAutoscalerResponse
- type CcseCreateDaemonSetApi
- type CcseCreateDaemonSetRequest
- type CcseCreateDaemonSetResponse
- type CcseCreateDeploymentApi
- type CcseCreateDeploymentRequest
- type CcseCreateDeploymentResponse
- type CcseCreateHorizontalPodAutoscalerApi
- type CcseCreateHorizontalPodAutoscalerRequest
- type CcseCreateHorizontalPodAutoscalerResponse
- type CcseCreateJobApi
- type CcseCreateJobRequest
- type CcseCreateJobResponse
- type CcseCreateNodePoolApi
- type CcseCreateNodePoolAzInfoRequest
- type CcseCreateNodePoolDataDisksRequest
- type CcseCreateNodePoolLabelsRequest
- type CcseCreateNodePoolRequest
- type CcseCreateNodePoolResourceLabelsRequest
- type CcseCreateNodePoolResponse
- type CcseCreateNodePoolTaintsRequest
- type CcseCreatePersistentVolumeApi
- type CcseCreatePersistentVolumeClaimApi
- type CcseCreatePersistentVolumeClaimRequest
- type CcseCreatePersistentVolumeClaimResponse
- type CcseCreatePersistentVolumeRequest
- type CcseCreatePersistentVolumeResponse
- type CcseCreatePodApi
- type CcseCreatePodRequest
- type CcseCreatePodResponse
- type CcseCreateReplicaSetApi
- type CcseCreateReplicaSetRequest
- type CcseCreateReplicaSetResponse
- type CcseCreateSecretApi
- type CcseCreateSecretRequest
- type CcseCreateSecretResponse
- type CcseCreateServiceApi
- type CcseCreateServiceRequest
- type CcseCreateServiceResponse
- type CcseCreateStatefulSetApi
- type CcseCreateStatefulSetRequest
- type CcseCreateStatefulSetResponse
- type CcseCreateStorageClassApi
- type CcseCreateStorageClassRequest
- type CcseCreateStorageClassResponse
- type CcseCreateVolumeSnapshotApi
- type CcseCreateVolumeSnapshotClassApi
- type CcseCreateVolumeSnapshotClassRequest
- type CcseCreateVolumeSnapshotClassResponse
- type CcseCreateVolumeSnapshotRequest
- type CcseCreateVolumeSnapshotResponse
- type CcseDeleteClusterApi
- type CcseDeleteClusterAutoscalerPolicyApi
- type CcseDeleteClusterAutoscalerPolicyRequest
- type CcseDeleteClusterAutoscalerPolicyResponse
- type CcseDeleteClusterPolicyInstanceApi
- type CcseDeleteClusterPolicyInstanceRequest
- type CcseDeleteClusterPolicyInstanceResponse
- type CcseDeleteClusterPolicyInstanceReturnObjResponse
- type CcseDeleteClusterRequest
- type CcseDeleteClusterResponse
- type CcseDeleteClusterReturnObjResponse
- type CcseDeleteConfigMapApi
- type CcseDeleteConfigMapRequest
- type CcseDeleteConfigMapResponse
- type CcseDeleteCronHorizontalPodAutoscalerApi
- type CcseDeleteCronHorizontalPodAutoscalerRequest
- type CcseDeleteCronHorizontalPodAutoscalerResponse
- type CcseDeleteDaemonSetApi
- type CcseDeleteDaemonSetRequest
- type CcseDeleteDaemonSetResponse
- type CcseDeleteDeploymentApi
- type CcseDeleteDeploymentRequest
- type CcseDeleteDeploymentResponse
- type CcseDeleteJobApi
- type CcseDeleteJobRequest
- type CcseDeleteJobResponse
- type CcseDeleteNodePoolApi
- type CcseDeleteNodePoolRequest
- type CcseDeleteNodePoolResponse
- type CcseDeletePersistentVolumeApi
- type CcseDeletePersistentVolumeClaimApi
- type CcseDeletePersistentVolumeClaimRequest
- type CcseDeletePersistentVolumeClaimResponse
- type CcseDeletePersistentVolumeRequest
- type CcseDeletePersistentVolumeResponse
- type CcseDeletePluginInstanceApi
- type CcseDeletePluginInstanceRequest
- type CcseDeletePluginInstanceResponse
- type CcseDeletePodApi
- type CcseDeletePodRequest
- type CcseDeletePodResponse
- type CcseDeleteReplicaSetApi
- type CcseDeleteReplicaSetRequest
- type CcseDeleteReplicaSetResponse
- type CcseDeleteSecretApi
- type CcseDeleteSecretRequest
- type CcseDeleteSecretResponse
- type CcseDeleteServiceApi
- type CcseDeleteServiceRequest
- type CcseDeleteServiceResponse
- type CcseDeleteStatefulSetApi
- type CcseDeleteStatefulSetRequest
- type CcseDeleteStatefulSetResponse
- type CcseDeleteStorageClassApi
- type CcseDeleteStorageClassRequest
- type CcseDeleteStorageClassResponse
- type CcseDeleteTemplateInstanceApi
- type CcseDeleteTemplateInstanceRequest
- type CcseDeleteTemplateInstanceResponse
- type CcseDeleteVolumeSnapshotApi
- type CcseDeleteVolumeSnapshotClassApi
- type CcseDeleteVolumeSnapshotClassRequest
- type CcseDeleteVolumeSnapshotClassResponse
- type CcseDeleteVolumeSnapshotRequest
- type CcseDeleteVolumeSnapshotResponse
- type CcseDeployPluginInstanceApi
- type CcseDeployPluginInstanceRequest
- type CcseDeployPluginInstanceResponse
- type CcseDeployTemplateInstanceApi
- type CcseDeployTemplateInstanceRequest
- type CcseDeployTemplateInstanceResponse
- type CcseEnableControlPlaneLogApi
- type CcseEnableControlPlaneLogRequest
- type CcseEnableControlPlaneLogResponse
- type CcseGetClusterApi
- type CcseGetClusterAutoscalerPolicyApi
- type CcseGetClusterAutoscalerPolicyRequest
- type CcseGetClusterAutoscalerPolicyResponse
- type CcseGetClusterEventsApi
- type CcseGetClusterEventsRequest
- type CcseGetClusterEventsResponse
- type CcseGetClusterEventsReturnObjRecordsResponse
- type CcseGetClusterEventsReturnObjResponse
- type CcseGetClusterKubeConfigApi
- type CcseGetClusterKubeConfigRequest
- type CcseGetClusterKubeConfigResponse
- type CcseGetClusterKubeConfigReturnObjResponse
- type CcseGetClusterPolicyStatusApi
- type CcseGetClusterPolicyStatusRequest
- type CcseGetClusterPolicyStatusResponse
- type CcseGetClusterPolicyStatusReturnObjInstancesSeverityCountResponse
- type CcseGetClusterPolicyStatusReturnObjPolicyInstancesResponse
- type CcseGetClusterPolicyStatusReturnObjResponse
- type CcseGetClusterQuotaApi
- type CcseGetClusterQuotaRequest
- type CcseGetClusterQuotaResponse
- type CcseGetClusterQuotaReturnObjQuotaCenterDataListResponse
- type CcseGetClusterQuotaReturnObjResponse
- type CcseGetClusterRequest
- type CcseGetClusterResourcesApi
- type CcseGetClusterResourcesRequest
- type CcseGetClusterResourcesResponse
- type CcseGetClusterResourcesReturnObjResponse
- type CcseGetClusterResponse
- type CcseGetClusterReturnObjResponse
- type CcseGetClusterTaskApi
- type CcseGetClusterTaskRequest
- type CcseGetClusterTaskResponse
- type CcseGetClusterTaskReturnObjResponse
- type CcseGetClusterTempKubeConfigApi
- type CcseGetClusterTempKubeConfigRequest
- type CcseGetClusterTempKubeConfigResponse
- type CcseGetClusterTempKubeConfigReturnObjResponse
- type CcseGetConfigMapApi
- type CcseGetConfigMapRequest
- type CcseGetConfigMapResponse
- type CcseGetCronHorizontalPodAutoscalerApi
- type CcseGetCronHorizontalPodAutoscalerRequest
- type CcseGetCronHorizontalPodAutoscalerResponse
- type CcseGetDaemonSetApi
- type CcseGetDaemonSetRequest
- type CcseGetDaemonSetResponse
- type CcseGetDeploymentApi
- type CcseGetDeploymentRequest
- type CcseGetDeploymentResponse
- type CcseGetHorizontalPodAutoscalerApi
- type CcseGetHorizontalPodAutoscalerRequest
- type CcseGetHorizontalPodAutoscalerResponse
- type CcseGetJobApi
- type CcseGetJobRequest
- type CcseGetJobResponse
- type CcseGetKubernetesVersionsApi
- type CcseGetKubernetesVersionsRequest
- type CcseGetKubernetesVersionsResponse
- type CcseGetKubernetesVersionsReturnObjResponse
- type CcseGetKubernetesVersionsReturnObjRuntimesResponse
- type CcseGetNodeDetailApi
- type CcseGetNodeDetailRequest
- type CcseGetNodeDetailResponse
- type CcseGetNodeDetailReturnObjResponse
- type CcseGetNodePoolApi
- type CcseGetNodePoolRequest
- type CcseGetNodePoolResponse
- type CcseGetNodePoolReturnObjAzInfoResponse
- type CcseGetNodePoolReturnObjDataDisksResponse
- type CcseGetNodePoolReturnObjKubeletArgsResponse
- type CcseGetNodePoolReturnObjLabelsResponse
- type CcseGetNodePoolReturnObjNodesLabelsResponse
- type CcseGetNodePoolReturnObjNodesResponse
- type CcseGetNodePoolReturnObjNodesTaintsResponse
- type CcseGetNodePoolReturnObjResponse
- type CcseGetNodePoolReturnObjTaintsResponse
- type CcseGetPersistentVolumeApi
- type CcseGetPersistentVolumeClaimApi
- type CcseGetPersistentVolumeClaimRequest
- type CcseGetPersistentVolumeClaimResponse
- type CcseGetPersistentVolumeRequest
- type CcseGetPersistentVolumeResponse
- type CcseGetPluginInstanceApi
- type CcseGetPluginInstanceRequest
- type CcseGetPluginInstanceResponse
- type CcseGetPluginInstanceReturnObjReleaseHistoryListDTOSResponse
- type CcseGetPluginInstanceReturnObjResourceDTOSResponse
- type CcseGetPluginInstanceReturnObjResponse
- type CcseGetPodApi
- type CcseGetPodRequest
- type CcseGetPodResponse
- type CcseGetPolicyGovernanceApi
- type CcseGetPolicyGovernanceRequest
- type CcseGetPolicyGovernanceResponse
- type CcseGetPolicyGovernanceReturnObjAdmitLogLogResponse
- type CcseGetPolicyGovernanceReturnObjAdmitLogResponse
- type CcseGetPolicyGovernanceReturnObjOnStateResponse
- type CcseGetPolicyGovernanceReturnObjResponse
- type CcseGetPolicyGovernanceReturnObjViolationsDenyCountResponse
- type CcseGetPolicyGovernanceReturnObjViolationsDenyResponse
- type CcseGetPolicyGovernanceReturnObjViolationsResponse
- type CcseGetPolicyGovernanceReturnObjViolationsWarnCountResponse
- type CcseGetPolicyGovernanceReturnObjViolationsWarnResponse
- type CcseGetPolicyTemplateApi
- type CcseGetPolicyTemplateRequest
- type CcseGetPolicyTemplateResponse
- type CcseGetPolicyTemplateReturnObjResponse
- type CcseGetReplicaSetApi
- type CcseGetReplicaSetRequest
- type CcseGetReplicaSetResponse
- type CcseGetSecretApi
- type CcseGetSecretRequest
- type CcseGetSecretResponse
- type CcseGetServiceApi
- type CcseGetServiceRequest
- type CcseGetServiceResponse
- type CcseGetStatefulSetApi
- type CcseGetStatefulSetRequest
- type CcseGetStatefulSetResponse
- type CcseGetStorageClassApi
- type CcseGetStorageClassRequest
- type CcseGetStorageClassResponse
- type CcseGetSubUserClusterKubeConfigApi
- type CcseGetSubUserClusterKubeConfigRequest
- type CcseGetSubUserClusterKubeConfigResponse
- type CcseGetSubUserClusterKubeConfigReturnObjResponse
- type CcseGetSubUserClusterNamespacesApi
- type CcseGetSubUserClusterNamespacesRequest
- type CcseGetSubUserClusterNamespacesResponse
- type CcseGetSubUserPermissionApi
- type CcseGetSubUserPermissionRequest
- type CcseGetSubUserPermissionResponse
- type CcseGetSubUserPermissionReturnObjResponse
- type CcseGetTemplateInstanceApi
- type CcseGetTemplateInstanceRequest
- type CcseGetTemplateInstanceResponse
- type CcseGetTemplateInstanceReturnObjReleaseHistoryListDTOSResponse
- type CcseGetTemplateInstanceReturnObjResourceDTOSResponse
- type CcseGetTemplateInstanceReturnObjResponse
- type CcseGetUpgradeClusterStatusApi
- type CcseGetUpgradeClusterStatusRequest
- type CcseGetUpgradeClusterStatusResponse
- type CcseGetUpgradeClusterStatusReturnObjResponse
- type CcseGetUpgradeClusterStatusReturnObjTasksResponse
- type CcseGetVolumeSnapshotApi
- type CcseGetVolumeSnapshotClassApi
- type CcseGetVolumeSnapshotClassRequest
- type CcseGetVolumeSnapshotClassResponse
- type CcseGetVolumeSnapshotRequest
- type CcseGetVolumeSnapshotResponse
- type CcseHasPluginInstanceExistedApi
- type CcseHasPluginInstanceExistedRequest
- type CcseHasPluginInstanceExistedResponse
- type CcseHasTemplateInstanceExistedApi
- type CcseHasTemplateInstanceExistedRequest
- type CcseHasTemplateInstanceExistedResponse
- type CcseListClusterAutoscalerPoliciesApi
- type CcseListClusterAutoscalerPoliciesRequest
- type CcseListClusterAutoscalerPoliciesResponse
- type CcseListClusterNodesApi
- type CcseListClusterNodesRequest
- type CcseListClusterNodesResponse
- type CcseListClusterNodesReturnObjKubeletArgsResponse
- type CcseListClusterNodesReturnObjResponse
- type CcseListClusterPolicyInstancesApi
- type CcseListClusterPolicyInstancesRequest
- type CcseListClusterPolicyInstancesResponse
- type CcseListClusterPolicyInstancesReturnObjResponse
- type CcseListClusterTagsApi
- type CcseListClusterTagsRequest
- type CcseListClusterTagsResponse
- type CcseListClusterTagsReturnObjResponse
- type CcseListClusterTaskEventsApi
- type CcseListClusterTaskEventsRequest
- type CcseListClusterTaskEventsResponse
- type CcseListClusterTaskEventsReturnObjRecordsResponse
- type CcseListClusterTaskEventsReturnObjResponse
- type CcseListClusterTasksApi
- type CcseListClusterTasksRequest
- type CcseListClusterTasksResponse
- type CcseListClusterTasksReturnObjRecordsResponse
- type CcseListClusterTasksReturnObjResponse
- type CcseListClustersApi
- type CcseListClustersRequest
- type CcseListClustersResponse
- type CcseListClustersReturnObjRecordsResponse
- type CcseListClustersReturnObjResponse
- type CcseListConfigMapsApi
- type CcseListConfigMapsRequest
- type CcseListConfigMapsResponse
- type CcseListCronHorizontalPodAutoscalersApi
- type CcseListCronHorizontalPodAutoscalersRequest
- type CcseListCronHorizontalPodAutoscalersResponse
- type CcseListDaemonSetsApi
- type CcseListDaemonSetsRequest
- type CcseListDaemonSetsResponse
- type CcseListDeploymentsApi
- type CcseListDeploymentsRequest
- type CcseListDeploymentsResponse
- type CcseListEventsApi
- type CcseListEventsRequest
- type CcseListEventsResponse
- type CcseListHorizontalPodAutoscalersApi
- type CcseListHorizontalPodAutoscalersRequest
- type CcseListHorizontalPodAutoscalersResponse
- type CcseListJobsApi
- type CcseListJobsRequest
- type CcseListJobsResponse
- type CcseListNodePoolsApi
- type CcseListNodePoolsRequest
- type CcseListNodePoolsResponse
- type CcseListNodePoolsReturnObjRecordsAzInfoResponse
- type CcseListNodePoolsReturnObjRecordsDataDisksResponse
- type CcseListNodePoolsReturnObjRecordsKubeletArgsResponse
- type CcseListNodePoolsReturnObjRecordsLabelsResponse
- type CcseListNodePoolsReturnObjRecordsNodesLabelsResponse
- type CcseListNodePoolsReturnObjRecordsNodesResponse
- type CcseListNodePoolsReturnObjRecordsNodesTaintsResponse
- type CcseListNodePoolsReturnObjRecordsResponse
- type CcseListNodePoolsReturnObjRecordsTaintsResponse
- type CcseListNodePoolsReturnObjResponse
- type CcseListNodesApi
- type CcseListNodesRequest
- type CcseListNodesResponse
- type CcseListPersistentVolumeClaimsApi
- type CcseListPersistentVolumeClaimsRequest
- type CcseListPersistentVolumeClaimsResponse
- type CcseListPersistentVolumesApi
- type CcseListPersistentVolumesRequest
- type CcseListPersistentVolumesResponse
- type CcseListPluginInstancesApi
- type CcseListPluginInstancesRequest
- type CcseListPluginInstancesResponse
- type CcseListPluginInstancesReturnObjRecordsResponse
- type CcseListPluginInstancesReturnObjResponse
- type CcseListPodApi
- type CcseListPodRequest
- type CcseListPodResponse
- type CcseListPolicyRulesApi
- type CcseListPolicyRulesRequest
- type CcseListPolicyRulesResponse
- type CcseListPolicyRulesReturnObjResponse
- type CcseListReplicaSetsApi
- type CcseListReplicaSetsRequest
- type CcseListReplicaSetsResponse
- type CcseListSecretsApi
- type CcseListSecretsRequest
- type CcseListSecretsResponse
- type CcseListServicesApi
- type CcseListServicesRequest
- type CcseListServicesResponse
- type CcseListStatefulSetsApi
- type CcseListStatefulSetsRequest
- type CcseListStatefulSetsResponse
- type CcseListStorageClassesApi
- type CcseListStorageClassesRequest
- type CcseListStorageClassesResponse
- type CcseListVolumeSnapshotClassesApi
- type CcseListVolumeSnapshotClassesRequest
- type CcseListVolumeSnapshotClassesResponse
- type CcseListVolumeSnapshotsApi
- type CcseListVolumeSnapshotsRequest
- type CcseListVolumeSnapshotsResponse
- type CcseModifyNodeApi
- type CcseModifyNodeRequest
- type CcseModifyNodeResponse
- type CcsePauseClusterTaskApi
- type CcsePauseClusterTaskRequest
- type CcsePauseClusterTaskResponse
- type CcsePauseClusterTaskReturnObjResponse
- type CcseQueryClusterSubUserApi
- type CcseQueryClusterSubUserRequest
- type CcseQueryClusterSubUserResponse
- type CcseQueryClusterSubUserReturnObjResponse
- type CcseQueryNodeApi
- type CcseQueryNodeRequest
- type CcseQueryNodeResponse
- type CcseRedeployPluginInstanceApi
- type CcseRedeployPluginInstanceRequest
- type CcseRedeployPluginInstanceResponse
- type CcseRemoveHorizontalPodAutoscalerV2Api
- type CcseRemoveHorizontalPodAutoscalerV2Request
- type CcseRemoveHorizontalPodAutoscalerV2Response
- type CcseRemoveNodeV2Api
- type CcseRemoveNodeV2Request
- type CcseRemoveNodeV2Response
- type CcseRenewClusterApi
- type CcseRenewClusterRequest
- type CcseRenewClusterResponse
- type CcseRenewClusterReturnObjResponse
- type CcseRepairNodePoolApi
- type CcseRepairNodePoolRequest
- type CcseRepairNodePoolResponse
- type CcseRepairNodePoolReturnObjResponse
- type CcseResumeClusterTaskApi
- type CcseResumeClusterTaskRequest
- type CcseResumeClusterTaskResponse
- type CcseResumeClusterTaskReturnObjResponse
- type CcseScaleDownNodePoolApi
- type CcseScaleDownNodePoolRequest
- type CcseScaleDownNodePoolResponse
- type CcseScaleUpNodePoolApi
- type CcseScaleUpNodePoolRequest
- type CcseScaleUpNodePoolResponse
- type CcseSyncNodePoolApi
- type CcseSyncNodePoolRequest
- type CcseSyncNodePoolResponse
- type CcseSyncNodePoolReturnObjResponse
- type CcseUnbindClusterTagsApi
- type CcseUnbindClusterTagsRequest
- type CcseUnbindClusterTagsResponse
- type CcseUpdateClusterApi
- type CcseUpdateClusterAutoscalerPolicyApi
- type CcseUpdateClusterAutoscalerPolicyRequest
- type CcseUpdateClusterAutoscalerPolicyResponse
- type CcseUpdateClusterCubecniRequest
- type CcseUpdateClusterCustomSanRequest
- type CcseUpdateClusterKubeConfigExpirationTimeApi
- type CcseUpdateClusterKubeConfigExpirationTimeRequest
- type CcseUpdateClusterKubeConfigExpirationTimeResponse
- type CcseUpdateClusterKubeConfigExpirationTimeReturnObjResponse
- type CcseUpdateClusterPolicyInstanceApi
- type CcseUpdateClusterPolicyInstancePolicyParametersRequest
- type CcseUpdateClusterPolicyInstanceRequest
- type CcseUpdateClusterPolicyInstanceResponse
- type CcseUpdateClusterPolicyInstanceReturnObjResponse
- type CcseUpdateClusterRequest
- type CcseUpdateClusterResponse
- type CcseUpdateClusterTagsApi
- type CcseUpdateClusterTagsRequest
- type CcseUpdateClusterTagsResponse
- type CcseUpdateConfigMapApi
- type CcseUpdateConfigMapRequest
- type CcseUpdateConfigMapResponse
- type CcseUpdateCronHorizontalPodAutoscalerApi
- type CcseUpdateCronHorizontalPodAutoscalerRequest
- type CcseUpdateCronHorizontalPodAutoscalerResponse
- type CcseUpdateDaemonSetApi
- type CcseUpdateDaemonSetRequest
- type CcseUpdateDaemonSetResponse
- type CcseUpdateDeploymentApi
- type CcseUpdateDeploymentRequest
- type CcseUpdateDeploymentResponse
- type CcseUpdateHorizontalPodAutoscalerApi
- type CcseUpdateHorizontalPodAutoscalerRequest
- type CcseUpdateHorizontalPodAutoscalerResponse
- type CcseUpdateJobApi
- type CcseUpdateJobRequest
- type CcseUpdateJobResponse
- type CcseUpdateNodePoolApi
- type CcseUpdateNodePoolDataDisksRequest
- type CcseUpdateNodePoolKubeletConfigApi
- type CcseUpdateNodePoolKubeletConfigKubeletArgsRequest
- type CcseUpdateNodePoolKubeletConfigRequest
- type CcseUpdateNodePoolKubeletConfigResponse
- type CcseUpdateNodePoolKubeletConfigReturnObjResponse
- type CcseUpdateNodePoolLabelsRequest
- type CcseUpdateNodePoolRequest
- type CcseUpdateNodePoolResponse
- type CcseUpdateNodePoolTaintsRequest
- type CcseUpdatePersistentVolumeApi
- type CcseUpdatePersistentVolumeClaimApi
- type CcseUpdatePersistentVolumeClaimRequest
- type CcseUpdatePersistentVolumeClaimResponse
- type CcseUpdatePersistentVolumeRequest
- type CcseUpdatePersistentVolumeResponse
- type CcseUpdatePodApi
- type CcseUpdatePodRequest
- type CcseUpdatePodResponse
- type CcseUpdateReplicaSetApi
- type CcseUpdateReplicaSetRequest
- type CcseUpdateReplicaSetResponse
- type CcseUpdateSecretApi
- type CcseUpdateSecretRequest
- type CcseUpdateSecretResponse
- type CcseUpdateServiceApi
- type CcseUpdateServiceRequest
- type CcseUpdateServiceResponse
- type CcseUpdateStatefulSetApi
- type CcseUpdateStatefulSetRequest
- type CcseUpdateStatefulSetResponse
- type CcseUpdateStorageClassApi
- type CcseUpdateStorageClassRequest
- type CcseUpdateStorageClassResponse
- type CcseUpdateSubUserPermissionsApi
- type CcseUpdateSubUserPermissionsDataRequest
- type CcseUpdateSubUserPermissionsRequest
- type CcseUpdateSubUserPermissionsResponse
- type CcseUpdateSubUserPermissionsReturnObjResponse
- type CcseUpdateVolumeSnapshotApi
- type CcseUpdateVolumeSnapshotClassApi
- type CcseUpdateVolumeSnapshotClassRequest
- type CcseUpdateVolumeSnapshotClassResponse
- type CcseUpdateVolumeSnapshotRequest
- type CcseUpdateVolumeSnapshotResponse
- type CcseUpgradeClusterApi
- type CcseUpgradeClusterRequest
- type CcseUpgradeClusterResponse
- type CcseUpgradeClusterReturnObjResponse
- type CcseUpgradeNodePoolApi
- type CcseUpgradeNodePoolRequest
- type CcseUpgradeNodePoolResponse
- type CcseUpgradeNodePoolReturnObjResponse
- type CcseUpgradePluginInstanceApi
- type CcseUpgradePluginInstanceRequest
- type CcseUpgradePluginInstanceResponse
Constants ¶
View Source
const EndpointName = "ccse"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Apis ¶
type Apis struct {
CcseQueryClusterSubUserApi *CcseQueryClusterSubUserApi
CcseGetClusterTempKubeConfigApi *CcseGetClusterTempKubeConfigApi
CcseModifyNodeApi *CcseModifyNodeApi
CcseQueryNodeApi *CcseQueryNodeApi
CcseListNodesApi *CcseListNodesApi
CcseDeleteCronHorizontalPodAutoscalerApi *CcseDeleteCronHorizontalPodAutoscalerApi
CcseUpdateCronHorizontalPodAutoscalerApi *CcseUpdateCronHorizontalPodAutoscalerApi
CcseGetCronHorizontalPodAutoscalerApi *CcseGetCronHorizontalPodAutoscalerApi
CcseListCronHorizontalPodAutoscalersApi *CcseListCronHorizontalPodAutoscalersApi
CcseGetNodeDetailApi *CcseGetNodeDetailApi
CcseUpdateHorizontalPodAutoscalerApi *CcseUpdateHorizontalPodAutoscalerApi
CcseRemoveHorizontalPodAutoscalerV2Api *CcseRemoveHorizontalPodAutoscalerV2Api
CcseCreateCronHorizontalPodAutoscalerApi *CcseCreateCronHorizontalPodAutoscalerApi
CcseGetHorizontalPodAutoscalerApi *CcseGetHorizontalPodAutoscalerApi
CcseDeleteJobApi *CcseDeleteJobApi
CcseUpdateJobApi *CcseUpdateJobApi
CcseGetJobApi *CcseGetJobApi
CcseListJobsApi *CcseListJobsApi
CcseCreateJobApi *CcseCreateJobApi
CcseListEventsApi *CcseListEventsApi
CcseDeleteReplicaSetApi *CcseDeleteReplicaSetApi
CcseUpdateReplicaSetApi *CcseUpdateReplicaSetApi
CcseGetReplicaSetApi *CcseGetReplicaSetApi
CcseListReplicaSetsApi *CcseListReplicaSetsApi
CcseCreateReplicaSetApi *CcseCreateReplicaSetApi
CcseListHorizontalPodAutoscalersApi *CcseListHorizontalPodAutoscalersApi
CcseCreateHorizontalPodAutoscalerApi *CcseCreateHorizontalPodAutoscalerApi
CcseDeletePersistentVolumeApi *CcseDeletePersistentVolumeApi
CcseUpdatePersistentVolumeApi *CcseUpdatePersistentVolumeApi
CcseGetPersistentVolumeApi *CcseGetPersistentVolumeApi
CcseListPersistentVolumesApi *CcseListPersistentVolumesApi
CcseCreatePersistentVolumeApi *CcseCreatePersistentVolumeApi
CcseUpdateServiceApi *CcseUpdateServiceApi
CcseListServicesApi *CcseListServicesApi
CcseGetServiceApi *CcseGetServiceApi
CcseDeleteServiceApi *CcseDeleteServiceApi
CcseCreateServiceApi *CcseCreateServiceApi
CcseCreateSecretApi *CcseCreateSecretApi
CcseListSecretsApi *CcseListSecretsApi
CcseDeleteSecretApi *CcseDeleteSecretApi
CcseUpdateSecretApi *CcseUpdateSecretApi
CcseGetSecretApi *CcseGetSecretApi
CcseCreateConfigMapApi *CcseCreateConfigMapApi
CcseListConfigMapsApi *CcseListConfigMapsApi
CcseDeleteConfigMapApi *CcseDeleteConfigMapApi
CcseUpdateConfigMapApi *CcseUpdateConfigMapApi
CcseGetConfigMapApi *CcseGetConfigMapApi
CcseUpdatePersistentVolumeClaimApi *CcseUpdatePersistentVolumeClaimApi
CcseGetPersistentVolumeClaimApi *CcseGetPersistentVolumeClaimApi
CcseListPersistentVolumeClaimsApi *CcseListPersistentVolumeClaimsApi
CcseDeletePersistentVolumeClaimApi *CcseDeletePersistentVolumeClaimApi
CcseCreatePersistentVolumeClaimApi *CcseCreatePersistentVolumeClaimApi
CcseListClusterAutoscalerPoliciesApi *CcseListClusterAutoscalerPoliciesApi
CcseGetClusterAutoscalerPolicyApi *CcseGetClusterAutoscalerPolicyApi
CcseDeleteClusterAutoscalerPolicyApi *CcseDeleteClusterAutoscalerPolicyApi
CcseUpdateClusterAutoscalerPolicyApi *CcseUpdateClusterAutoscalerPolicyApi
CcseCreateClusterAutoscalerPolicyApi *CcseCreateClusterAutoscalerPolicyApi
CcseRenewClusterApi *CcseRenewClusterApi
CcseCreateClusterDelegateApi *CcseCreateClusterDelegateApi
CcseGetKubernetesVersionsApi *CcseGetKubernetesVersionsApi
CcseGetClusterQuotaApi *CcseGetClusterQuotaApi
CcseDeleteClusterApi *CcseDeleteClusterApi
CcseCreateClusterApi *CcseCreateClusterApi
CcseRepairNodePoolApi *CcseRepairNodePoolApi
CcseGetPolicyTemplateApi *CcseGetPolicyTemplateApi
CcseListPolicyRulesApi *CcseListPolicyRulesApi
CcseListPodApi *CcseListPodApi
CcseDeletePodApi *CcseDeletePodApi
CcseUpdatePodApi *CcseUpdatePodApi
CcseCreatePodApi *CcseCreatePodApi
CcsePauseClusterTaskApi *CcsePauseClusterTaskApi
CcseResumeClusterTaskApi *CcseResumeClusterTaskApi
CcseCancelClusterTaskApi *CcseCancelClusterTaskApi
CcseDeleteStorageClassApi *CcseDeleteStorageClassApi
CcseGetStorageClassApi *CcseGetStorageClassApi
CcseUpdateStorageClassApi *CcseUpdateStorageClassApi
CcseListStorageClassesApi *CcseListStorageClassesApi
CcseCreateStorageClassApi *CcseCreateStorageClassApi
CcseListVolumeSnapshotsApi *CcseListVolumeSnapshotsApi
CcseDeleteVolumeSnapshotApi *CcseDeleteVolumeSnapshotApi
CcseUpdateVolumeSnapshotApi *CcseUpdateVolumeSnapshotApi
CcseGetVolumeSnapshotApi *CcseGetVolumeSnapshotApi
CcseCreateVolumeSnapshotApi *CcseCreateVolumeSnapshotApi
CcseListVolumeSnapshotClassesApi *CcseListVolumeSnapshotClassesApi
CcseDeleteVolumeSnapshotClassApi *CcseDeleteVolumeSnapshotClassApi
CcseUpdateVolumeSnapshotClassApi *CcseUpdateVolumeSnapshotClassApi
CcseGetVolumeSnapshotClassApi *CcseGetVolumeSnapshotClassApi
CcseCreateVolumeSnapshotClassApi *CcseCreateVolumeSnapshotClassApi
CcseGetClusterResourcesApi *CcseGetClusterResourcesApi
CcseGetClusterApi *CcseGetClusterApi
CcseGetClusterKubeConfigApi *CcseGetClusterKubeConfigApi
CcseGetSubUserClusterKubeConfigApi *CcseGetSubUserClusterKubeConfigApi
CcseGetSubUserPermissionApi *CcseGetSubUserPermissionApi
CcseUpdateSubUserPermissionsApi *CcseUpdateSubUserPermissionsApi
CcseUpdateClusterApi *CcseUpdateClusterApi
CcseGetUpgradeClusterStatusApi *CcseGetUpgradeClusterStatusApi
CcseUpgradeClusterApi *CcseUpgradeClusterApi
CcseListClustersApi *CcseListClustersApi
CcseListClusterTagsApi *CcseListClusterTagsApi
CcseUpdateClusterTagsApi *CcseUpdateClusterTagsApi
CcseUnbindClusterTagsApi *CcseUnbindClusterTagsApi
CcseBindClusterTagsApi *CcseBindClusterTagsApi
CcseGetPolicyGovernanceApi *CcseGetPolicyGovernanceApi
CcseListClusterPolicyInstancesApi *CcseListClusterPolicyInstancesApi
CcseGetClusterPolicyStatusApi *CcseGetClusterPolicyStatusApi
CcseUpdateClusterPolicyInstanceApi *CcseUpdateClusterPolicyInstanceApi
CcseDeleteClusterPolicyInstanceApi *CcseDeleteClusterPolicyInstanceApi
CcseCreateClusterPolicyInstanceApi *CcseCreateClusterPolicyInstanceApi
CcseListClusterNodesApi *CcseListClusterNodesApi
CcseCreateNodePoolApi *CcseCreateNodePoolApi
CcseListNodePoolsApi *CcseListNodePoolsApi
CcseGetNodePoolApi *CcseGetNodePoolApi
CcseDeleteNodePoolApi *CcseDeleteNodePoolApi
CcseBatchDeleteNodePoolApi *CcseBatchDeleteNodePoolApi
CcseScaleUpNodePoolApi *CcseScaleUpNodePoolApi
CcseScaleDownNodePoolApi *CcseScaleDownNodePoolApi
CcseHasPluginInstanceExistedApi *CcseHasPluginInstanceExistedApi
CcseDeletePluginInstanceApi *CcseDeletePluginInstanceApi
CcseUpgradePluginInstanceApi *CcseUpgradePluginInstanceApi
CcseRedeployPluginInstanceApi *CcseRedeployPluginInstanceApi
CcseListPluginInstancesApi *CcseListPluginInstancesApi
CcseGetPluginInstanceApi *CcseGetPluginInstanceApi
CcseDeployPluginInstanceApi *CcseDeployPluginInstanceApi
CcseGetPodApi *CcseGetPodApi
CcseListDeploymentsApi *CcseListDeploymentsApi
CcseHasTemplateInstanceExistedApi *CcseHasTemplateInstanceExistedApi
CcseGetTemplateInstanceApi *CcseGetTemplateInstanceApi
CcseDeleteTemplateInstanceApi *CcseDeleteTemplateInstanceApi
CcseDeployTemplateInstanceApi *CcseDeployTemplateInstanceApi
CcseAttachClusterNodesApi *CcseAttachClusterNodesApi
CcseRemoveNodeV2Api *CcseRemoveNodeV2Api
CcseGetSubUserClusterNamespacesApi *CcseGetSubUserClusterNamespacesApi
CcseClusterUpgradePrecheckApi *CcseClusterUpgradePrecheckApi
CcseUpdateClusterKubeConfigExpirationTimeApi *CcseUpdateClusterKubeConfigExpirationTimeApi
CcseCheckControlPlaneLogEnabledApi *CcseCheckControlPlaneLogEnabledApi
CcseEnableControlPlaneLogApi *CcseEnableControlPlaneLogApi
CcseUpdateNodePoolApi *CcseUpdateNodePoolApi
CcseUpdateNodePoolKubeletConfigApi *CcseUpdateNodePoolKubeletConfigApi
CcseSyncNodePoolApi *CcseSyncNodePoolApi
CcseGetClusterTaskApi *CcseGetClusterTaskApi
CcseListClusterTasksApi *CcseListClusterTasksApi
CcseGetClusterEventsApi *CcseGetClusterEventsApi
CcseListClusterTaskEventsApi *CcseListClusterTaskEventsApi
CcseGetDeploymentApi *CcseGetDeploymentApi
CcseUpdateDeploymentApi *CcseUpdateDeploymentApi
CcseDeleteDeploymentApi *CcseDeleteDeploymentApi
CcseCreateDeploymentApi *CcseCreateDeploymentApi
CcseListStatefulSetsApi *CcseListStatefulSetsApi
CcseGetStatefulSetApi *CcseGetStatefulSetApi
CcseUpdateStatefulSetApi *CcseUpdateStatefulSetApi
CcseDeleteStatefulSetApi *CcseDeleteStatefulSetApi
CcseCreateStatefulSetApi *CcseCreateStatefulSetApi
CcseListDaemonSetsApi *CcseListDaemonSetsApi
CcseGetDaemonSetApi *CcseGetDaemonSetApi
CcseUpdateDaemonSetApi *CcseUpdateDaemonSetApi
CcseDeleteDaemonSetApi *CcseDeleteDaemonSetApi
CcseCreateDaemonSetApi *CcseCreateDaemonSetApi
CcseUpgradeNodePoolApi *CcseUpgradeNodePoolApi
}
type CcseAttachClusterNodesAnnotationsRequest ¶
type CcseAttachClusterNodesAnnotationsRequest struct{}
type CcseAttachClusterNodesApi ¶
type CcseAttachClusterNodesApi struct {
// contains filtered or unexported fields
}
CcseAttachClusterNodesApi
调用该接口纳管节点。
func NewCcseAttachClusterNodesApi ¶
func NewCcseAttachClusterNodesApi(client *core.CtyunClient) *CcseAttachClusterNodesApi
func (*CcseAttachClusterNodesApi) Do ¶
func (a *CcseAttachClusterNodesApi) Do(ctx context.Context, credential core.Credential, req *CcseAttachClusterNodesRequest) (*CcseAttachClusterNodesResponse, error)
type CcseAttachClusterNodesInstancesRequest ¶
type CcseAttachClusterNodesInstancesRequest struct {
InstanceId string `json:"instanceId,omitempty"` /* 云主机ID,您可以查看<a href="https://www.ctyun.cn/products/ecs" target="_blank">弹性云主机</a>了解云主机的相关信息
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=8309&data=87">查询云主机列表</a>
<span style="background-color: rgb(97, 175, 254);color: rgb(255,255,255);padding: 2px; margin:2px">创</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=8281&data=87" target="_blank">创建一台按量付费或包年包月的云主机</a>
<span style="background-color: rgb(97, 175, 254);color: rgb(255,255,255);padding: 2px; margin:2px">创</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=8282&data=87">批量创建按量付费或包年包月云主机</a>
物理机 instanceUUID,获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=16&api=6941&data=97&isNormal=1&vid=91">批量查询物理机</a>
<span style="background-color: rgb(97, 175, 254);color: rgb(255,255,255);padding: 2px; margin:2px">创</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=16&api=6942&data=97&isNormal=1&vid=91">物理机创建</a> */
AzName string `json:"azName,omitempty"` /* 可用区名称,纳管是物理机,此项必填,可用区信息可用区名称获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span><a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5855&data=87&vid=81" target="_blank">资源池可用区查询</a> */
}
type CcseAttachClusterNodesKubeletArgsRequest ¶
type CcseAttachClusterNodesKubeletArgsRequest struct {
KubeAPIQPS int32 `json:"kubeAPIQPS,omitempty"` /* 请求至kube-apiserver的QPS配置 */
KubeAPIBurst int32 `json:"kubeAPIBurst,omitempty"` /* 请求至kube-apiserver的Burst配置 */
MaxPods int32 `json:"maxPods,omitempty"` /* kubelet管理的pod上限 */
RegistryPullQPS int32 `json:"registryPullQPS,omitempty"` /* 每秒钟可以执行的镜像仓库拉取操作限值 */
RegistryBurst int32 `json:"registryBurst,omitempty"` /* 突发性镜像拉取的上限值 */
PodPidsLimit int32 `json:"podPidsLimit,omitempty"` /* 限制Pod中的进程数 */
EventRecordQPS int32 `json:"eventRecordQPS,omitempty"` /* 事件创建QPS限制 */
EventBurst int32 `json:"eventBurst,omitempty"` /* 事件创建的个数的突发峰值上限 */
TopologyManagerScope string `json:"topologyManagerScope,omitempty"` /* 拓扑管理策略的资源对齐粒度 */
CpuCFSQuota *bool `json:"cpuCFSQuota"` /* 是否为设置了CPU限制的容器实施CPU CFS配额约束,默认值为true */
}
type CcseAttachClusterNodesLabelsRequest ¶
type CcseAttachClusterNodesLabelsRequest struct{}
type CcseAttachClusterNodesRequest ¶
type CcseAttachClusterNodesRequest struct {
ClusterId string `json:"clusterId,omitempty"` /* 集群ID,获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105" target="_blank">如何获取接口URI中参数</a>。 */
RegionId string `json:"regionId,omitempty"` /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004422" target="_blank">云容器引擎资源池</a>
另外您通过<a href="https://www.ctyun.cn/document/10026730/10028695" target="_blank">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81" target="_blank">资源池列表查询</a> */
Instances []*CcseAttachClusterNodesInstancesRequest `json:"instances"` /* 云主机ECS 信息 */
VmType string `json:"vmType,omitempty"` /* 默认ecs,值为:弹性云主机则是:ecs ;物理机则是:ebm */
Runtime string `json:"runtime,omitempty"` /* 容器运行时,目前仅支持 CONTAINERD */
ImageType int32 `json:"imageType,omitempty"` /* 镜像类型,0-私有镜像,1-公有镜像。
您可查看<a href="https://www.ctyun.cn/document/10026730/10030151" target="_blank">镜像概述</a> */
ImageUuid string `json:"imageUuid,omitempty"` /* 镜像ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004475" target="_blank">节点规格和节点镜像</a>
<span style="background-color: rgb(97, 175, 254);color: rgb(255,255,255);padding: 2px; margin:2px">创</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=23&api=4765&data=89" target="_blank">创建私有镜像(云主机系统盘)</a>
<span style="background-color: rgb(97, 175, 254);color: rgb(255,255,255);padding: 2px; margin:2px">创</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=23&api=5230&data=89" target="_blank">创建私有镜像(云主机数据盘)</a>
注:同一镜像名称在不同资源池的镜像ID是不同的,调用前需确认镜像ID是否归属当前资源池 */
LoginType string `json:"loginType,omitempty"` /* 主机登录方式: password:密码,secretPair:密钥对 */
Password string `json:"password,omitempty"` /* 云主机或物理机,用户登录密码,如果loginType=password,这该项为必填项,满足以下规则:
物理机:用户密码,满足以下规则:长度在8~30个字符;
必须包含大小写字母和(至少一个数字或者特殊字符);
特殊符号可选:()`~!@#$%&*_-+=\
云主机:长度在8~30个字符;
必须包含大写字母、小写字母、数字以及特殊符号中的三项;
特殊符号可选:()`-!@#$%^&*_-+=|{}[]:;'<>,.?/且不能以斜线号 / 开头;
不能包含3个及以上连续字符;
纳管节点时password字段可选择加密,具体加密方法请参见<a href="https://www.ctyun.cn/document/10083472/11002096" target="_blank">password字段加密的方法</a> */
KeyName string `json:"keyName,omitempty"` /* 密钥对名称,如果loginType=secretPair,物理机该项为必填项,您可以查看密钥对来了解密钥对相关内容
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=8342&data=87&vid=81" target="_blank">查询一个或多个密钥对</a>
<span style="background-color: rgb(97, 175, 254);color: rgb(255,255,255);padding: 2px; margin:2px">创</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=8344&data=87&vid=81" target="_blank">创建一对SSH密钥对</a> */
KeyPairId string `json:"keyPairId,omitempty"` /* 密钥对ID,如果loginType=secretPair,弹性云主机该项为必填项。您可以查看密钥对来了解密钥对相关内容
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=8342&data=87&vid=81">查询一个或多个密钥对</a>
<span style="background-color: rgb(97, 175, 254);color: rgb(255,255,255);padding: 2px; margin:2px">创</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=8344&data=87&vid=81" target="_blank">创建一对SSH密钥对</a> */
Labels *CcseAttachClusterNodesLabelsRequest `json:"labels"` /* K8S节点标签 */
Annotations *CcseAttachClusterNodesAnnotationsRequest `json:"annotations"` /* K8S节点注解 */
Taints []*CcseAttachClusterNodesTaintsRequest `json:"taints"` /* 节点污点,格式为 [{\"key\":\"{key}\",\"value\":\"{value}\",\"effect\":\"{effect}\"}],上述的{key}、{value}、{effect}替换为所需字段。effect枚举包括NoSchedule、PreferNoSchedule、NoExecute */
VisibilityPostHostScript string `json:"visibilityPostHostScript,omitempty"` /* 部署后执行自定义脚本 (输入的值需要经过Base64编码,方法如下:echo -n "待编码内容" \ */
VisibilityHostScript string `json:"visibilityHostScript,omitempty"` /* 部署前执行自定义脚本(输入的值需要经过Base64编码,方法如下:echo -n "待编码内容" \ */
KubeletArgs *CcseAttachClusterNodesKubeletArgsRequest `json:"kubeletArgs"` /* Kubelet自定义参数 */
IsSyncClusterResourceLabels *bool `json:"isSyncClusterResourceLabels"` /* 是否同步集群标签。默认是false。如果为true,则同步以当前集群标签为基准的快照。 */
ResourceLabels *CcseAttachClusterNodesResourceLabelsRequest `json:"resourceLabels"` /* 云主机资源标签 */
KubeletDirectory string `json:"kubeletDirectory,omitempty"` /* kubelet数据目录。该参数可以自定义指定在/data下的子目录,用于kubelet数据目录。该参数由白名单控制 */
ContainerDataDirectory string `json:"containerDataDirectory,omitempty"` /* 容器数据目录。该参数可以自定义指定在/data下的子目录,用于容器数据目录。该参数由白名单控制 */
}
type CcseAttachClusterNodesResourceLabelsRequest ¶
type CcseAttachClusterNodesResourceLabelsRequest struct{}
type CcseBatchDeleteNodePoolApi ¶
type CcseBatchDeleteNodePoolApi struct {
// contains filtered or unexported fields
}
func NewCcseBatchDeleteNodePoolApi ¶
func NewCcseBatchDeleteNodePoolApi(client *core.CtyunClient) *CcseBatchDeleteNodePoolApi
func (*CcseBatchDeleteNodePoolApi) Do ¶
func (a *CcseBatchDeleteNodePoolApi) Do(ctx context.Context, credential core.Credential, req *CcseBatchDeleteNodePoolRequest) (*CcseBatchDeleteNodePoolResponse, error)
type CcseBatchDeleteNodePoolRequest ¶
type CcseBatchDeleteNodePoolRequest struct {
ClusterId string /* 集群ID,获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105" target="_blank">如何获取接口URI中参数</a>。 */
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004422" target="_blank">云容器引擎资源池</a>
另外您通过<a href="https://www.ctyun.cn/document/10026730/10028695" target="_blank">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81" target="_blank">资源池列表查询</a> */
NodePoolNames []string `json:"nodePoolNames"` /* 节点池名称列表 */
}
type CcseBatchDeleteNodePoolResponse ¶
type CcseBatchDeleteNodePoolResponse struct {
StatusCode int32 `json:"statusCode,omitempty"` /* 状态码 */
Message string `json:"message,omitempty"` /* 提示信息 */
ReturnObj *CcseBatchDeleteNodePoolReturnObjResponse `json:"returnObj"` /* 返回对象 */
Error string `json:"error,omitempty"` /* 错误码 */
}
type CcseBatchDeleteNodePoolReturnObjResponse ¶
type CcseBatchDeleteNodePoolReturnObjResponse struct {
SuccessList []string `json:"successList"` /* 批量操作成功列表 */
FailedList []string `json:"failedList"` /* 批量操作失败列表 */
Total int32 `json:"total,omitempty"` /* 批量操作数据个数 */
SuccessTotal int32 `json:"successTotal,omitempty"` /* 批量操作成功数据个数 */
FailedTotal int32 `json:"failedTotal,omitempty"` /* 批量操作失败数据个数 */
}
type CcseBindClusterTagsApi ¶
type CcseBindClusterTagsApi struct {
// contains filtered or unexported fields
}
func NewCcseBindClusterTagsApi ¶
func NewCcseBindClusterTagsApi(client *core.CtyunClient) *CcseBindClusterTagsApi
func (*CcseBindClusterTagsApi) Do ¶
func (a *CcseBindClusterTagsApi) Do(ctx context.Context, credential core.Credential, req *CcseBindClusterTagsRequest) (*CcseBindClusterTagsResponse, error)
type CcseBindClusterTagsRequest ¶
type CcseBindClusterTagsRequest struct {
ClusterId string /* 集群Id,获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105">如何获取接口URI中参数</a>。 */
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004422" target="_blank">云容器引擎资源池</a>
另外您通过<a href="https://www.ctyun.cn/document/10026730/10028695" target="_blank">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81" target="_blank">资源池列表查询</a> */
Tags []string `json:"tags"` /* 标签列表 */
}
type CcseCancelClusterTaskApi ¶
type CcseCancelClusterTaskApi struct {
// contains filtered or unexported fields
}
func NewCcseCancelClusterTaskApi ¶
func NewCcseCancelClusterTaskApi(client *core.CtyunClient) *CcseCancelClusterTaskApi
func (*CcseCancelClusterTaskApi) Do ¶
func (a *CcseCancelClusterTaskApi) Do(ctx context.Context, credential core.Credential, req *CcseCancelClusterTaskRequest) (*CcseCancelClusterTaskResponse, error)
type CcseCancelClusterTaskRequest ¶
type CcseCancelClusterTaskRequest struct {
TaskId string /* 任务ID */
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004422" target="_blank">云容器引擎资源池</a>
另外您通过<a href="https://www.ctyun.cn/document/10026730/10028695" target="_blank">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81" target="_blank">资源池列表查询</a> */
}
type CcseCancelClusterTaskResponse ¶
type CcseCancelClusterTaskResponse struct {
StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码 */
RequestId string `json:"requestId,omitempty"` /* 请求ID */
Message string `json:"message,omitempty"` /* 响应信息 */
ReturnObj *CcseCancelClusterTaskReturnObjResponse `json:"returnObj"` /* 请求结果 */
Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */
}
type CcseCancelClusterTaskReturnObjResponse ¶
type CcseCancelClusterTaskReturnObjResponse struct{}
type CcseCheckControlPlaneLogEnabledApi ¶
type CcseCheckControlPlaneLogEnabledApi struct {
// contains filtered or unexported fields
}
func NewCcseCheckControlPlaneLogEnabledApi ¶
func NewCcseCheckControlPlaneLogEnabledApi(client *core.CtyunClient) *CcseCheckControlPlaneLogEnabledApi
func (*CcseCheckControlPlaneLogEnabledApi) Do ¶
func (a *CcseCheckControlPlaneLogEnabledApi) Do(ctx context.Context, credential core.Credential, req *CcseCheckControlPlaneLogEnabledRequest) (*CcseCheckControlPlaneLogEnabledResponse, error)
type CcseCheckControlPlaneLogEnabledRequest ¶
type CcseCheckControlPlaneLogEnabledRequest struct {
ClusterId string /* 集群ID,获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105">如何获取接口URI中参数</a>。 */
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004422" target="_blank">云容器引擎资源池</a>
另外您通过<a href="https://www.ctyun.cn/document/10026730/10028695" target="_blank">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81" target="_blank">资源池列表查询</a> */
}
type CcseCheckControlPlaneLogEnabledResponse ¶
type CcseCheckControlPlaneLogEnabledResponse struct {
StatusCode int32 `json:"statusCode,omitempty"` /* statusCode */
Message string `json:"message,omitempty"` /* 提示信息 */
ReturnObj []string `json:"returnObj"` /* 响应对象,已开通的核心组件日志,目前支持的核心组件有:apiserver、etcd、scheduler、controller-manager */
Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */
}
type CcseClusterUpgradePrecheckApi ¶
type CcseClusterUpgradePrecheckApi struct {
// contains filtered or unexported fields
}
func NewCcseClusterUpgradePrecheckApi ¶
func NewCcseClusterUpgradePrecheckApi(client *core.CtyunClient) *CcseClusterUpgradePrecheckApi
func (*CcseClusterUpgradePrecheckApi) Do ¶
func (a *CcseClusterUpgradePrecheckApi) Do(ctx context.Context, credential core.Credential, req *CcseClusterUpgradePrecheckRequest) (*CcseClusterUpgradePrecheckResponse, error)
type CcseClusterUpgradePrecheckRequest ¶
type CcseClusterUpgradePrecheckRequest struct {
ClusterId string /* 集群ID,获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105">如何获取接口URI中参数</a>。 */
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004422" target="_blank">云容器引擎资源池</a>
另外您通过<a href="https://www.ctyun.cn/document/10026730/10028695" target="_blank">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81" target="_blank">资源池列表查询</a>
*/
ChecklistName string /* 集群升级检查项,目前支持的检查项及含义如下
ClusterComponentChecklist:集群组件检查
ClusterConfigurationChecklist:集群配置检查
ClusterResourceChecklist:集群资源检查 */
}
type CcseClusterUpgradePrecheckResponse ¶
type CcseClusterUpgradePrecheckResponse struct {
StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码 */
Message string `json:"message,omitempty"` /* 响应信息 */
ReturnObj *CcseClusterUpgradePrecheckReturnObjResponse `json:"returnObj"` /* 响应对象 */
Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */
}
type CcseClusterUpgradePrecheckReturnObjCheckEntryResultCheckSummaryResponse ¶
type CcseClusterUpgradePrecheckReturnObjCheckEntryResultCheckSummaryResponse struct {
NormalCount int32 `json:"normalCount,omitempty"` /* 正常数量 */
ErrorCount int32 `json:"errorCount,omitempty"` /* 错误数量 */
Process string `json:"process,omitempty"` /* 检查进度 */
Code string `json:"code,omitempty"` /* 结果代码 */
}
type CcseClusterUpgradePrecheckReturnObjCheckEntryResultErrorInstanceResultCheckpointResultsResponse ¶
type CcseClusterUpgradePrecheckReturnObjCheckEntryResultErrorInstanceResultCheckpointResultsResponse struct {
MessageLevel string `json:"messageLevel,omitempty"` /* 消息级别 */
CheckpointName string `json:"checkpointName,omitempty"` /* 检查内容 */
AdviseCode string `json:"adviseCode,omitempty"` /* 修复建议 */
MessageCode string `json:"messageCode,omitempty"` /* 结果 */
AffectCode string `json:"affectCode,omitempty"` /* 影响 */
}
type CcseClusterUpgradePrecheckReturnObjCheckEntryResultErrorInstanceResultResponse ¶
type CcseClusterUpgradePrecheckReturnObjCheckEntryResultErrorInstanceResultResponse struct {
InstanceId string `json:"instanceId,omitempty"` /* 节点实例id */
InstanceName string `json:"instanceName,omitempty"` /* 节点实例名称 */
CheckpointResults *CcseClusterUpgradePrecheckReturnObjCheckEntryResultErrorInstanceResultCheckpointResultsResponse `json:"checkpointResults"` /* 检查结果 */
}
type CcseClusterUpgradePrecheckReturnObjCheckEntryResultNormalInstanceResultCheckpointResultsResponse ¶
type CcseClusterUpgradePrecheckReturnObjCheckEntryResultNormalInstanceResultCheckpointResultsResponse struct {
MessageLevel string `json:"messageLevel,omitempty"` /* 消息级别 */
CheckpointName string `json:"checkpointName,omitempty"` /* 检查内容 */
AdviseCode string `json:"adviseCode,omitempty"` /* 修复建议 */
MessageCode string `json:"messageCode,omitempty"` /* 结果 */
AffectCode string `json:"affectCode,omitempty"` /* 影响 */
}
type CcseClusterUpgradePrecheckReturnObjCheckEntryResultNormalInstanceResultResponse ¶
type CcseClusterUpgradePrecheckReturnObjCheckEntryResultNormalInstanceResultResponse struct {
InstanceId string `json:"instanceId,omitempty"` /* 节点实例id */
InstanceName string `json:"instanceName,omitempty"` /* 节点实例名称 */
CheckpointResults *CcseClusterUpgradePrecheckReturnObjCheckEntryResultNormalInstanceResultCheckpointResultsResponse `json:"checkpointResults"` /* 检查结果 */
}
type CcseClusterUpgradePrecheckReturnObjCheckEntryResultResponse ¶
type CcseClusterUpgradePrecheckReturnObjCheckEntryResultResponse struct {
EntryName string `json:"entryName,omitempty"` /* 检查项名称 */
EntryGroupName string `json:"entryGroupName,omitempty"` /* 检查项所属分组 */
NormalInstanceResult []*CcseClusterUpgradePrecheckReturnObjCheckEntryResultNormalInstanceResultResponse `json:"normalInstanceResult"` /* 正常节点实例检查结果 */
ErrorInstanceResult []*CcseClusterUpgradePrecheckReturnObjCheckEntryResultErrorInstanceResultResponse `json:"errorInstanceResult"` /* 异常节点实例检查结果 */
CheckSummary *CcseClusterUpgradePrecheckReturnObjCheckEntryResultCheckSummaryResponse `json:"checkSummary"` /* 检查汇总 */
}
type CcseClusterUpgradePrecheckReturnObjResponse ¶
type CcseClusterUpgradePrecheckReturnObjResponse struct {
ErrorMessage string `json:"errorMessage,omitempty"` /* 集群升级中的错误信息 */
CheckStatus string `json:"checkStatus,omitempty"` /* 检查状态:checking 检查中;completed 检查完成 */
CheckEntryResult []*CcseClusterUpgradePrecheckReturnObjCheckEntryResultResponse `json:"checkEntryResult"` /* 检查结果 */
}
type CcseCreateClusterApi ¶
type CcseCreateClusterApi struct {
// contains filtered or unexported fields
}
func NewCcseCreateClusterApi ¶
func NewCcseCreateClusterApi(client *core.CtyunClient) *CcseCreateClusterApi
func (*CcseCreateClusterApi) Do ¶
func (a *CcseCreateClusterApi) Do(ctx context.Context, credential core.Credential, req *CcseCreateClusterRequest) (*CcseCreateClusterResponse, error)
type CcseCreateClusterAutoscalerPolicyApi ¶
type CcseCreateClusterAutoscalerPolicyApi struct {
// contains filtered or unexported fields
}
func NewCcseCreateClusterAutoscalerPolicyApi ¶
func NewCcseCreateClusterAutoscalerPolicyApi(client *core.CtyunClient) *CcseCreateClusterAutoscalerPolicyApi
func (*CcseCreateClusterAutoscalerPolicyApi) Do ¶
func (a *CcseCreateClusterAutoscalerPolicyApi) Do(ctx context.Context, credential core.Credential, req *CcseCreateClusterAutoscalerPolicyRequest) (*CcseCreateClusterAutoscalerPolicyResponse, error)
type CcseCreateClusterAutoscalerPolicyRequest ¶
type CcseCreateClusterAutoscalerPolicyRequest struct {
ClusterId string /* 集群ID,获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105">如何获取接口URI中参数</a>。 */
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87">资源池列表查询</a> */
TextPlainDataString string `json:"textPlainDataString,omitempty"` /* 字符串类型的yaml资源 */
}
type CcseCreateClusterClusterBaseInfoAzInfosRequest ¶
type CcseCreateClusterClusterBaseInfoAzInfosRequest struct {
AzName string `json:"azName,omitempty"` /* 可用区编码查询:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span><a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5855&data=87&vid=81">资源池可用区查询</a> */
Size int32 `json:"size,omitempty"` /* 该可用区节点数量 */
}
type CcseCreateClusterClusterBaseInfoNodeLabelsRequest ¶
type CcseCreateClusterClusterBaseInfoNodeLabelsRequest struct{}
type CcseCreateClusterClusterBaseInfoRequest ¶
type CcseCreateClusterClusterBaseInfoRequest struct {
SubnetUuid string `json:"subnetUuid,omitempty"` /* 子网id,您可以查看<a href="https://www.ctyun.cn/document/10026755/10098380">基本概念</a>来查找子网的相关定义
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span><a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=18&api=8659&data=94">查询子网列表</a>
注:在多可用区类型资源池下,subnetID通常以“subnet-”开头,非多可用区类型资源池subnetID为uuid格式 */
NetworkPlugin string `json:"networkPlugin,omitempty"` /* 网络插件,可选calico和cubecni。您可查看<a href="https://www.ctyun.cn/document/10083472/10520760">容器网络插件说明</a>选择
注:calico需要申请白名单 */
ClusterDomain string `json:"clusterDomain,omitempty"` /* 集群本地域名,集群创建完成后,暂无法修改,请慎重配置 */
PodSubnetUuidList []string `json:"podSubnetUuidList"` /* pod子网id列表,网络插件选择cubecni必传
*/
AutoGenerateSecurityGroup *bool `json:"autoGenerateSecurityGroup"` /* 是否自动创建安全组,默认false */
SecurityGroupUuid string `json:"securityGroupUuid,omitempty"` /* 安全组id,autoGenerateSecurityGroup=false必填
安全组id您可以查看<a href="https://www.ctyun.cn/document/10026755/10028520">安全组概述</a>了解安全组相关信息
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=18&api=4817&data=94&vid=88">查询用户安全组列表</a>
注:在多可用区类型资源池下,安全组ID通常以“sg-”开头,非多可用区类型资源池安全组ID为uuid格式 */
StartPort int64 `json:"startPort,omitempty"` /* 节点服务开始端口,可选范围30000-65535 */
EndPort int64 `json:"endPort,omitempty"` /* 节点服务终止端口,可选范围30000-65535 */
EnableApiServerEip *bool `json:"enableApiServerEip"` /* 是否开启ApiServerEip,默认false,若开启将自动创建按需计费类型的eip。 */
EnableSnat *bool `json:"enableSnat"` /* 是否开启nat网关,默认false,若开启将自动创建按需计费类型的nat网关。 */
NatGatewaySpec string `json:"natGatewaySpec,omitempty"` /* enableSnat=true必填,nat网关规格:small,medium,large,xlarge,您可查看不同<a href="https://www.ctyun.cn/document/10026759/10043996">类型规格</a>的详细说明 */
ElbProdCode string `json:"elbProdCode,omitempty"` /* ApiServer的ELB类型,standardI(标准I型) ,standardII(标准II型), enhancedI(增强I型), enhancedII(增强II型) , higherI(高阶I型)
您可查看不同<a href="https://www.ctyun.cn/document/10026756/10032048">类型规格</a>的详细说明
*/
NodeLabels *CcseCreateClusterClusterBaseInfoNodeLabelsRequest `json:"nodeLabels"` /* 节点标签 */
PodCidr string `json:"podCidr,omitempty"` /* pod网络cidr,使用cubecni作为网络插件时,podCidr传值为vpc cidr,vpc cidr通过如下方式查询:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span><a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=18&api=8658&data=94&isNormal=1&vid=88">查询VPC列表</a>
注:网络插件为calico时,podCidr与vpcCidr与serviceCidr不能重叠。选择cubecni时,podCidr(vpcCidr)与serviceCidr不能重叠。 */
InstallNginxIngress *bool `json:"installNginxIngress"` /* 是否安装nginx ingress插件 */
NginxIngressLBSpec string `json:"nginxIngressLBSpec,omitempty"` /* installNginxIngress=true必填,nginx ingress ELB的规格:standardI(标准I型) ,standardII(标准II型), enhancedI(增强I型), enhancedII(增强II型) , higherI(高阶I型)
您可查看不同<a href="https://www.ctyun.cn/document/10026756/10032048">规格的详细说明</a> */
NginxIngressLBNetWork string `json:"nginxIngressLBNetWork,omitempty"` /* installNginxIngress=true必填,nginx ingress访问方式:external(公网),internal(内网),当选择公网时将自动创建eip额外产生eip相关费用 */
BillMode string `json:"billMode,omitempty"` /* 计费模式:1为包周期,2为按需 */
CycleType string `json:"cycleType,omitempty"` /* 订购周期类型:3表示按月订购,按需订购不传 */
CycleCnt int32 `json:"cycleCnt,omitempty"` /* 订购时长:cycleType为3时,cycleCnt为1表示订购1个月 */
AutoRenewStatus *bool `json:"autoRenewStatus"` /* 是否自动续费,默认false */
AutoRenewCycleType string `json:"autoRenewCycleType,omitempty"` /* 自动续费周期类型,3(按月),5(按年) */
AutoRenewCycleCount string `json:"autoRenewCycleCount,omitempty"` /* 自动续期续期时长 */
ContainerRuntime string `json:"containerRuntime,omitempty"` /* 容器运行时,可选containerd、docker,您可查看<a href="https://www.ctyun.cn/document/10083472/10902208">容器运行时说明</a> */
Timezone string `json:"timezone,omitempty"` /* 时区 */
ClusterVersion string `json:"clusterVersion,omitempty"` /* 集群版本1.23.3 ,1.25.6 ,1.27.8,1.29.3,您可查看<a href="https://www.ctyun.cn/document/10083472/10650447">集群版本说明</a>选择 */
DeployType string `json:"deployType,omitempty"` /* 部署模式:单可用区为single,多可用区为multi。 */
AzInfos []*CcseCreateClusterClusterBaseInfoAzInfosRequest `json:"azInfos"` /* 可用区信息,包括可用区编码,该可用区下master节点数量。专有版时必填 */
ServiceCidr string `json:"serviceCidr,omitempty"` /* 服务cidr。网络插件为calico时,podCidr与vpcCidr与serviceCidr不能重叠。选择cubecni时,podCidr(vpcCidr)与serviceCidr不能重叠。 */
VpcUuid string `json:"vpcUuid,omitempty"` /* 虚拟私有云ID,通过以下方式查询:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span><a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=18&api=4814&data=94&vid=88">查询用户vpc列表</a>
注:在多可用区类型资源池下,vpcID通常为“vpc-”开头,非多可用区类型资源池vpcID为uuid格式 */
ClusterName string `json:"clusterName,omitempty"` /* 集群名字 */
KubeProxy string `json:"kubeProxy,omitempty"` /* kubeProxy类型:iptables或ipvs,您可查看<a href="https://www.ctyun.cn/document/10083472/10915725">iptables与IPVS如何选择</a> */
PluginCstorcsiAk string `json:"pluginCstorcsiAk,omitempty"` /* CSI插件AK */
PluginCstorcsiSk string `json:"pluginCstorcsiSk,omitempty"` /* CSI插件SK */
PluginCstorcsiEnabled *bool `json:"pluginCstorcsiEnabled"` /* 是否安装csi插件 */
PluginCcseMonitorEnabled *bool `json:"pluginCcseMonitorEnabled"` /* 是否安装监控插件 */
ClusterSeries string `json:"clusterSeries,omitempty"` /* 集群系列,cce.standard-专有版,cce.managed-托管版,您可查看<a href="https://www.ctyun.cn/document/10083472/10892150">产品定义</a>选择 */
ProjectId string `json:"projectId,omitempty"` /* 集群所属企业项目id,企业项目管理服务提供统一的云资源按企业项目管理,以及企业项目内的资源管理,成员管理。您可以通过查看<a href="https://www.ctyun.cn/document/10017248/10017961">创建企业项目</a>了解如何创建企业项目
注:默认值为"0" */
EnableAls *bool `json:"enableAls"` /* 是否开启日志插件 */
EnableAlsCubeEventer *bool `json:"enableAlsCubeEventer"` /* 是否开启事件采集插件 */
PluginNginxIngressEnabled *bool `json:"pluginNginxIngressEnabled"` /* 是否开启nginxingress */
CustomScriptBase64 *bool `json:"customScriptBase64"` /* 节点自定义脚本是否采用base64编码,默认为false */
HostScript string `json:"hostScript,omitempty"` /* 节点自定义脚本,如果customScriptBase64=false,此参数传明文;若customScriptBase64=true,此参数传base64后内容 */
EnablePostUserScript *bool `json:"enablePostUserScript"` /* 节点部署后置脚本是否采用base64编码 */
PostUserScript string `json:"postUserScript,omitempty"` /* 节点部署后置脚本,节点自定义脚本,如果enablePostUserScript=false,此参数传明文;若enablePostUserScript=true,此参数传base64后内容 */
EnableHostName *bool `json:"enableHostName"` /* 自定义节点名称是否开启 */
HostNamePrefix string `json:"hostNamePrefix,omitempty"` /* 自定义节点名称前缀 */
HostNamePostfix string `json:"hostNamePostfix,omitempty"` /* 自定义节点名称后缀 */
NodeTaints string `json:"nodeTaints,omitempty"` /* 节点污点,格式为 [{\"key\":\"{key}\",\"value\":\"{value}\",\"effect\":\"{effect}\"}],上述的{key}、{value}、{effect}替换为所需字段。effect枚举包括NoSchedule、PreferNoSchedule、NoExecute */
NodeUnschedulable *bool `json:"nodeUnschedulable"` /* 节点不可调度 */
ClusterDesc string `json:"clusterDesc,omitempty"` /* 集群描述 */
DeleteProtection *bool `json:"deleteProtection"` /* 集群删除保护 */
SeriesType string `json:"seriesType,omitempty"` /* 托管版集群规格,托管版集群必填,单实例-managedbase,多实例-managedpro。单/多实例指控制面是否高可用,生产环境建议使用多实例 */
Ipvlan *bool `json:"ipvlan"` /* 基于IPVLAN做弹性网卡共享,主机镜像只有使用CtyunOS系统才能生效 */
NetworkPolicy *bool `json:"networkPolicy"` /* 提供基于策略的网络访问控制 */
IpStackType string `json:"ipStackType,omitempty"` /* ip栈类型,ipv4或dual。默认ipv4 */
ServiceCidrV6 string `json:"serviceCidrV6,omitempty"` /* ipStackType=dual时必填,IPV6网段的掩码必须在112到120之间,如fc00::/112 */
ClusterAlias string `json:"clusterAlias,omitempty"` /* 集群显示名称 */
NodeScale string `json:"nodeScale,omitempty"` /* 托管版集群节点规模。当seriesType=managedbase时,选择节点规模,可选10;当seriesType=managedpro时,选择节点规模,可选为50,200,1000,2000 */
SyncNodeLabels *bool `json:"syncNodeLabels"` /* 节点池节点标签的改动将会被同步更新到存量节点,默认false */
SyncNodeTaints *bool `json:"syncNodeTaints"` /* 节点池节点污点的改动将会被同步更新到存量节点,默认false */
EnableAffinityGroup *bool `json:"enableAffinityGroup"` /* 是否默认使用反亲和性的云主机组创建节点池,默认false */
AffinityGroupUuid string `json:"affinityGroupUuid,omitempty"` /* 是否使用已有反亲和性的云主机组创建节点池,enableAffinityGroup=true时填写,不填系统使用默认配置创建
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span><a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=8324&data=87&vid=81">查询云主机组列表或者详情</a> */
DelegateName string `json:"delegateName,omitempty"` /* 工作节点使用已有委托,不填使用系统默认创建委托 */
ResourceLabels *CcseCreateClusterClusterBaseInfoResourceLabelsRequest `json:"resourceLabels"` /* 云主机资源标签 */
CpuManagerPolicyEnable *bool `json:"cpuManagerPolicyEnable"` /* 是否开启cpu管理策略,默认false */
San string `json:"san,omitempty"` /* 自定义证书SAN,您可查看<a href="https://www.ctyun.cn/document/10083472/10915719">自定义集群APIServer证书SAN</a> */
CustomCAEnable *bool `json:"customCAEnable"` /* 是否开启集群CA,默认false */
CustomCA string `json:"customCA,omitempty"` /* 集群CA */
}
type CcseCreateClusterClusterBaseInfoResourceLabelsRequest ¶
type CcseCreateClusterClusterBaseInfoResourceLabelsRequest struct{}
type CcseCreateClusterDelegateApi ¶
type CcseCreateClusterDelegateApi struct {
// contains filtered or unexported fields
}
func NewCcseCreateClusterDelegateApi ¶
func NewCcseCreateClusterDelegateApi(client *core.CtyunClient) *CcseCreateClusterDelegateApi
func (*CcseCreateClusterDelegateApi) Do ¶
func (a *CcseCreateClusterDelegateApi) Do(ctx context.Context, credential core.Credential, req *CcseCreateClusterDelegateRequest) (*CcseCreateClusterDelegateResponse, error)
type CcseCreateClusterDelegateRequest ¶
type CcseCreateClusterDelegateRequest struct {
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004422" target="_blank">云容器引擎资源池</a>
另外您通过<a href="https://www.ctyun.cn/document/10026730/10028695" target="_blank">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81" target="_blank">资源池列表查询</a>
*/
}
type CcseCreateClusterMasterHostDataDisksRequest ¶
type CcseCreateClusterMasterHostDataDisksRequest struct {
ItemDefName string `json:"itemDefName,omitempty"` /* 数据盘规格名称,取值范围:
SATA:普通IO,
SAS:高IO,
SSD:超高IO
您可以查看<a href="https://www.ctyun.cn/document/10027696/10162918">磁盘类型及性能介绍</a>磁盘类型相关信息 */
Size int32 `json:"size,omitempty"` /* 数据盘大小,单位为G */
DecTypeId string `json:"decTypeId,omitempty"` /* 专属存储池id,需用专属资源池权限
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span><a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=4&api=12772&data=113&isNormal=1&vid=106">查询存储池信息详情</a> */
}
type CcseCreateClusterMasterHostRequest ¶
type CcseCreateClusterMasterHostRequest struct {
Cpu int32 `json:"cpu,omitempty"` /* cpu */
Mem int32 `json:"mem,omitempty"` /* 内存 */
ItemDefName string `json:"itemDefName,omitempty"` /* 实例规格名称
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span><a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=8327&data=87&isNormal=1&vid=81">查询主机规格资源</a> */
ItemDefType string `json:"itemDefType,omitempty"` /* 实例规格类型 */
Size int32 `json:"size,omitempty"` /* master节点数量 */
SysDisk *CcseCreateClusterMasterHostSysDiskRequest `json:"sysDisk"` /* 系统盘信息 */
DataDisks []*CcseCreateClusterMasterHostDataDisksRequest `json:"dataDisks"` /* 数据盘信息 */
}
type CcseCreateClusterMasterHostSysDiskRequest ¶
type CcseCreateClusterMasterHostSysDiskRequest struct {
ItemDefName string `json:"itemDefName,omitempty"` /* 系统盘规格,云硬盘类型,取值范围:
SATA:普通IO,
SAS:高IO,
SSD:超高IO
您可以查看<a href="https://www.ctyun.cn/document/10027696/10162918">磁盘类型及性能介绍</a>磁盘类型相关信息 */
Size int32 `json:"size,omitempty"` /* 系统盘大小,单位为G */
}
type CcseCreateClusterPolicyInstanceApi ¶
type CcseCreateClusterPolicyInstanceApi struct {
// contains filtered or unexported fields
}
func NewCcseCreateClusterPolicyInstanceApi ¶
func NewCcseCreateClusterPolicyInstanceApi(client *core.CtyunClient) *CcseCreateClusterPolicyInstanceApi
func (*CcseCreateClusterPolicyInstanceApi) Do ¶
func (a *CcseCreateClusterPolicyInstanceApi) Do(ctx context.Context, credential core.Credential, req *CcseCreateClusterPolicyInstanceRequest) (*CcseCreateClusterPolicyInstanceResponse, error)
type CcseCreateClusterPolicyInstancePolicyParametersRequest ¶
type CcseCreateClusterPolicyInstancePolicyParametersRequest struct{}
type CcseCreateClusterPolicyInstanceRequest ¶
type CcseCreateClusterPolicyInstanceRequest struct {
ClusterId string /* 集群ID,获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105">如何获取接口URI中参数</a>。 */
PolicyName string /* 策略治理规则名称,您可以通过查询策略治理规则模版接口来获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=43&api=18949&data=128&isNormal=1&vid=121">查询策略治理规则模版</a> */
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004422" target="_blank">云容器引擎资源池</a>
另外您通过<a href="https://www.ctyun.cn/document/10026730/10028695" target="_blank">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81" target="_blank">资源池列表查询</a> */
PolicyParameters *CcseCreateClusterPolicyInstancePolicyParametersRequest `json:"policyParameters"` /* 模板实例参数,您可以通过查询策略治理规则模版接口来获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=43&api=18949&data=128&isNormal=1&vid=121">查询策略治理规则模版</a> */
PolicyScope string `json:"policyScope,omitempty"` /* 以逗号分隔的字符串,策略实例实施范围:默认"*"代表集群所有命名空间。 */
PolicyAction string `json:"policyAction,omitempty"` /* 规则治理动作,取值:<br />deny:拦截违规部署<br />warn:告警 */
}
type CcseCreateClusterPolicyInstanceResponse ¶
type CcseCreateClusterPolicyInstanceResponse struct {
StatusCode int32 `json:"statusCode,omitempty"` /* 状态码 */
Message string `json:"message,omitempty"` /* 提示信息 */
ReturnObj *CcseCreateClusterPolicyInstanceReturnObjResponse `json:"returnObj"` /* 返回对象 */
Error string `json:"error,omitempty"` /* 错误码 */
}
type CcseCreateClusterPolicyInstanceReturnObjResponse ¶
type CcseCreateClusterPolicyInstanceReturnObjResponse struct {
Instances []string `json:"instances"` /* 部署的实例名称列表 */
}
type CcseCreateClusterRequest ¶
type CcseCreateClusterRequest struct {
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004422" target="_blank">云容器引擎资源池</a>
另外您通过<a href="https://www.ctyun.cn/document/10026730/10028695" target="_blank">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81" target="_blank">资源池列表查询</a>
*/
ResPoolId string `json:"resPoolId,omitempty"` /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81">资源池列表查询</a> */
ClusterBaseInfo *CcseCreateClusterClusterBaseInfoRequest `json:"clusterBaseInfo"` /* 集群基本信息 */
MasterHost *CcseCreateClusterMasterHostRequest `json:"masterHost"` /* master节点基本信息,专有版必填,托管版时不传 */
SlaveHost *CcseCreateClusterSlaveHostRequest `json:"slaveHost"` /* worker节点基本信息 */
}
type CcseCreateClusterResponse ¶
type CcseCreateClusterResponse struct {
StatusCode int32 `json:"statusCode,omitempty"` /* 状态码 */
Message string `json:"message,omitempty"` /* 提示信息 */
Error string `json:"error,omitempty"` /* 错误码 */
ReturnObj *CcseCreateClusterReturnObjResponse `json:"returnObj"` /* 返回对象 */
}
type CcseCreateClusterSlaveHostAzInfosRequest ¶
type CcseCreateClusterSlaveHostAzInfosRequest struct {
AzName string `json:"azName,omitempty"` /* 可用区编码查询:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span><a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5855&data=87&vid=81">资源池可用区查询</a> */
Size int32 `json:"size,omitempty"` /* 该可用区节点数量 */
}
type CcseCreateClusterSlaveHostDataDisksRequest ¶
type CcseCreateClusterSlaveHostDataDisksRequest struct {
ItemDefName string `json:"itemDefName,omitempty"` /* 数据盘规格名称,取值范围:
SATA:普通IO,
SAS:高IO,
SSD:超高IO
您可以查看<a href="https://www.ctyun.cn/document/10027696/10162918">磁盘类型及性能介绍</a>磁盘类型相关信息 */
Size int32 `json:"size,omitempty"` /* 数据盘大小,单位为G */
DecTypeId string `json:"decTypeId,omitempty"` /* 专属存储池id,需用专属资源池权限
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span><a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=4&api=12772&data=113&isNormal=1&vid=106">查询存储池信息详情</a> */
}
type CcseCreateClusterSlaveHostRequest ¶
type CcseCreateClusterSlaveHostRequest struct {
Cpu int32 `json:"cpu,omitempty"` /* cpu */
Mem int32 `json:"mem,omitempty"` /* 内存 */
ItemDefName string `json:"itemDefName,omitempty"` /* 实例规格名称
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span><a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=8327&data=87&isNormal=1&vid=81">查询主机规格资源</a> */
ItemDefType string `json:"itemDefType,omitempty"` /* 实例规格族 */
Size int32 `json:"size,omitempty"` /* worker节点数量 */
SysDisk *CcseCreateClusterSlaveHostSysDiskRequest `json:"sysDisk"` /* 系统盘信息 */
DataDisks []*CcseCreateClusterSlaveHostDataDisksRequest `json:"dataDisks"` /* 数据盘信息 */
ForeignMirrorId string `json:"foreignMirrorId,omitempty"` /* 镜像id,worker节点为ecs类型时必填 */
MirrorType int32 `json:"mirrorType"` /* 镜像类型,0-私有,1-公有。 */
MirrorName string `json:"mirrorName,omitempty"` /* 镜像名称,worker节点为ebm类型必填。您可查看<a href="https://www.ctyun.cn/document/10083472/11004475">节点规格和节点镜像</a> */
AzInfos []*CcseCreateClusterSlaveHostAzInfosRequest `json:"azInfos"` /* 可用区信息,包括可用区编码,可用区worker节点数量 */
}
type CcseCreateClusterSlaveHostSysDiskRequest ¶
type CcseCreateClusterSlaveHostSysDiskRequest struct {
ItemDefName string `json:"itemDefName,omitempty"` /* 系统盘规格,云硬盘类型,取值范围:
SATA:普通IO,
SAS:高IO,
SSD:超高IO
您可以查看<a href="https://www.ctyun.cn/document/10027696/10162918">磁盘类型及性能介绍</a>磁盘类型相关信息 */
Size int32 `json:"size,omitempty"` /* 系统盘大小,单位为G */
}
type CcseCreateConfigMapApi ¶
type CcseCreateConfigMapApi struct {
// contains filtered or unexported fields
}
func NewCcseCreateConfigMapApi ¶
func NewCcseCreateConfigMapApi(client *core.CtyunClient) *CcseCreateConfigMapApi
func (*CcseCreateConfigMapApi) Do ¶
func (a *CcseCreateConfigMapApi) Do(ctx context.Context, credential core.Credential, req *CcseCreateConfigMapRequest) (*CcseCreateConfigMapResponse, error)
type CcseCreateConfigMapRequest ¶
type CcseCreateConfigMapRequest struct {
ClusterId string /* 集群id,获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105">如何获取接口URI中参数</a>。 */
NamespaceName string /* 命名空间名称 */
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004422" target="_blank">云容器引擎资源池</a>
另外您通过<a href="https://www.ctyun.cn/document/10026730/10028695" target="_blank">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81" target="_blank">资源池列表查询</a> */
TextPlainDataString string `json:"textPlainDataString,omitempty"` /* 字符串类型的yaml资源 */
}
type CcseCreateCronHorizontalPodAutoscalerApi ¶
type CcseCreateCronHorizontalPodAutoscalerApi struct {
// contains filtered or unexported fields
}
func NewCcseCreateCronHorizontalPodAutoscalerApi ¶
func NewCcseCreateCronHorizontalPodAutoscalerApi(client *core.CtyunClient) *CcseCreateCronHorizontalPodAutoscalerApi
func (*CcseCreateCronHorizontalPodAutoscalerApi) Do ¶
func (a *CcseCreateCronHorizontalPodAutoscalerApi) Do(ctx context.Context, credential core.Credential, req *CcseCreateCronHorizontalPodAutoscalerRequest) (*CcseCreateCronHorizontalPodAutoscalerResponse, error)
type CcseCreateCronHorizontalPodAutoscalerRequest ¶
type CcseCreateCronHorizontalPodAutoscalerRequest struct {
ClusterId string /* 集群ID, 获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105">如何获取接口URI中参数</a>。 */
NamespaceName string /* 命名空间名称 */
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004422" target="_blank">云容器引擎资源池</a>
另外您通过<a href="https://www.ctyun.cn/document/10026730/10028695" target="_blank">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81" target="_blank">资源池列表查询</a>
*/
TextPlainDataString string `json:"textPlainDataString,omitempty"` /* 字符串类型的yaml资源 */
}
type CcseCreateDaemonSetApi ¶
type CcseCreateDaemonSetApi struct {
// contains filtered or unexported fields
}
func NewCcseCreateDaemonSetApi ¶
func NewCcseCreateDaemonSetApi(client *core.CtyunClient) *CcseCreateDaemonSetApi
func (*CcseCreateDaemonSetApi) Do ¶
func (a *CcseCreateDaemonSetApi) Do(ctx context.Context, credential core.Credential, req *CcseCreateDaemonSetRequest) (*CcseCreateDaemonSetResponse, error)
type CcseCreateDaemonSetRequest ¶
type CcseCreateDaemonSetRequest struct {
ClusterId string /* 集群ID, 获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105">如何获取接口URI中参数</a>。 */
NamespaceName string /* 命名空间名称 */
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004422" target="_blank">云容器引擎资源池</a>
另外您通过<a href="https://www.ctyun.cn/document/10026730/10028695" target="_blank">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81" target="_blank">资源池列表查询</a> */
TextPlainDataString string `json:"textPlainDataString,omitempty"` /* 字符串类型的yaml资源 */
}
type CcseCreateDeploymentApi ¶
type CcseCreateDeploymentApi struct {
// contains filtered or unexported fields
}
func NewCcseCreateDeploymentApi ¶
func NewCcseCreateDeploymentApi(client *core.CtyunClient) *CcseCreateDeploymentApi
func (*CcseCreateDeploymentApi) Do ¶
func (a *CcseCreateDeploymentApi) Do(ctx context.Context, credential core.Credential, req *CcseCreateDeploymentRequest) (*CcseCreateDeploymentResponse, error)
type CcseCreateDeploymentRequest ¶
type CcseCreateDeploymentRequest struct {
ClusterId string /* 集群id,获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105">如何获取接口URI中参数</a>。 */
NamespaceName string /* 命名空间名称 */
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004422" target="_blank">云容器引擎资源池</a>
另外您通过<a href="https://www.ctyun.cn/document/10026730/10028695" target="_blank">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81" target="_blank">资源池列表查询</a> */
TextPlainDataString string `json:"textPlainDataString,omitempty"` /* 字符串类型的yaml资源 */
}
type CcseCreateHorizontalPodAutoscalerApi ¶
type CcseCreateHorizontalPodAutoscalerApi struct {
// contains filtered or unexported fields
}
func NewCcseCreateHorizontalPodAutoscalerApi ¶
func NewCcseCreateHorizontalPodAutoscalerApi(client *core.CtyunClient) *CcseCreateHorizontalPodAutoscalerApi
func (*CcseCreateHorizontalPodAutoscalerApi) Do ¶
func (a *CcseCreateHorizontalPodAutoscalerApi) Do(ctx context.Context, credential core.Credential, req *CcseCreateHorizontalPodAutoscalerRequest) (*CcseCreateHorizontalPodAutoscalerResponse, error)
type CcseCreateHorizontalPodAutoscalerRequest ¶
type CcseCreateHorizontalPodAutoscalerRequest struct {
ClusterId string /* 集群ID, 获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105">如何获取接口URI中参数</a>。 */
NamespaceName string /* 命名空间名称 */
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004422" target="_blank">云容器引擎资源池</a>
另外您通过<a href="https://www.ctyun.cn/document/10026730/10028695" target="_blank">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81" target="_blank">资源池列表查询</a>
*/
TextPlainDataString string `json:"textPlainDataString,omitempty"` /* 字符串类型的yaml */
}
type CcseCreateJobApi ¶
type CcseCreateJobApi struct {
// contains filtered or unexported fields
}
func NewCcseCreateJobApi ¶
func NewCcseCreateJobApi(client *core.CtyunClient) *CcseCreateJobApi
func (*CcseCreateJobApi) Do ¶
func (a *CcseCreateJobApi) Do(ctx context.Context, credential core.Credential, req *CcseCreateJobRequest) (*CcseCreateJobResponse, error)
type CcseCreateJobRequest ¶
type CcseCreateJobRequest struct {
ClusterId string /* 集群Id,获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105">如何获取接口URI中参数</a>。 */
NamespaceName string /* 命名空间名称 */
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004422" target="_blank">云容器引擎资源池</a>
另外您通过<a href="https://www.ctyun.cn/document/10026730/10028695" target="_blank">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81" target="_blank">资源池列表查询</a> */
TextPlainDataString string `json:"textPlainDataString,omitempty"` /* 字符串类型的yaml资源 */
}
type CcseCreateJobResponse ¶
type CcseCreateNodePoolApi ¶
type CcseCreateNodePoolApi struct {
// contains filtered or unexported fields
}
func NewCcseCreateNodePoolApi ¶
func NewCcseCreateNodePoolApi(client *core.CtyunClient) *CcseCreateNodePoolApi
func (*CcseCreateNodePoolApi) Do ¶
func (a *CcseCreateNodePoolApi) Do(ctx context.Context, credential core.Credential, req *CcseCreateNodePoolRequest) (*CcseCreateNodePoolResponse, error)
type CcseCreateNodePoolAzInfoRequest ¶
type CcseCreateNodePoolAzInfoRequest struct {
AzName string `json:"azName,omitempty"` /* 可用区名称 */
}
type CcseCreateNodePoolDataDisksRequest ¶
type CcseCreateNodePoolDataDisksRequest struct {
Size int32 `json:"size,omitempty"` /* 数据盘大小,单位G */
DiskSpecName string `json:"diskSpecName,omitempty"` /* 数据盘规格名称,取值范围:
SATA:普通IO,
SAS:高IO,
SSD:超高IO
您可以查看<a href="https://www.ctyun.cn/document/10027696/10162918">磁盘类型及性能介绍</a>磁盘类型相关信息 */
}
type CcseCreateNodePoolLabelsRequest ¶
type CcseCreateNodePoolLabelsRequest struct{}
type CcseCreateNodePoolRequest ¶
type CcseCreateNodePoolRequest struct {
ClusterId string /* 集群ID,获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105" target="_blank">如何获取接口URI中参数</a> */
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004422" target="_blank">云容器引擎资源池</a>
另外您通过<a href="https://www.ctyun.cn/document/10026730/10028695" target="_blank">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81" target="_blank">资源池列表查询</a> */
NodePoolName string `json:"nodePoolName,omitempty"` /* 节点池名称 */
Description string `json:"description,omitempty"` /* 节点池描述 */
BillMode string `json:"billMode,omitempty"` /* 订单类型 1-包年包月 2-按需计费 */
CycleCount int32 `json:"cycleCount,omitempty"` /* 订购时长,billMode为1必传,cycleType为MONTH时,cycleCount为1表示订购1个月 */
CycleType string `json:"cycleType,omitempty"` /* 订购周期类型 MONTH-月 YEAR-年,billMode为1必传 */
AutoRenewStatus int32 `json:"autoRenewStatus,omitempty"` /* 是否自动续订 0-否 1-是,默认为0 */
VisibilityPostHostScript string `json:"visibilityPostHostScript,omitempty"` /* 部署后执行自定义脚本,base64编码 */
VisibilityHostScript string `json:"visibilityHostScript,omitempty"` /* 部署前执行自定义脚本,base64编码 */
DefinedHostnameEnable int32 `json:"definedHostnameEnable,omitempty"` /* 是否使用自定义节点名称;默认值0:不使用;1:使用 */
HostNamePrefix string `json:"hostNamePrefix,omitempty"` /* 自定义主机名前缀,长度不超过10 */
HostNamePostfix string `json:"hostNamePostfix,omitempty"` /* 自定义主机名后缀,长度不超过10 */
ImageType int32 `json:"imageType,omitempty"` /* 镜像类型,0-私有,1-公有。 */
ImageName string `json:"imageName,omitempty"` /* 镜像名称 */
ImageUuid string `json:"imageUuid,omitempty"` /* 镜像ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004475" target="_blank">节点规格和节点镜像</a>
<span style="background-color: rgb(97, 175, 254);color: rgb(255,255,255);padding: 2px; margin:2px">创</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=23&api=4765&data=89" target="_blank">创建私有镜像(云主机系统盘)</a>
<span style="background-color: rgb(97, 175, 254);color: rgb(255,255,255);padding: 2px; margin:2px">创</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=23&api=5230&data=89" target="_blank">创建私有镜像(云主机数据盘)</a>
注:同一镜像名称在不同资源池的镜像ID是不同的,调用前需确认镜像ID是否归属当前资源池 */
LoginType string `json:"loginType,omitempty"` /* 云主机密码登录类型:secretPair:密钥对;password:密码 */
EcsPasswd string `json:"ecsPasswd,omitempty"` /* 用户密码,如果loginType=password,这该项为必填项,满足以下规则:
长度在8~30个字符
必须包含大写字母、小写字母、数字以及特殊符号中的三项
特殊符号可选:()`-!@#$%^&*_-+=|{}[]:;'<>,.?/且不能以斜线号 / 开头
不能包含3个及以上连续字符
Linux镜像不能包含镜像用户名(root)、用户名的倒序(toor)、用户名大小写变化(如RoOt、rOot等)
Windows镜像不能包含镜像用户名(Administrator)、用户名大小写变化(adminiSTrator等)
*/
KeyName string `json:"keyName,omitempty"` /* 密钥对名称,如果loginType=secretPair,这该项为必填项,您可以查看密钥对来了解密钥对相关内容
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=8342&data=87&vid=81">查询一个或多个密钥对</a>
<span style="background-color: rgb(97, 175, 254);color: rgb(255,255,255);padding: 2px; margin:2px">创</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=8344&data=87&vid=81" target="_blank">创建一对SSH密钥对</a> */
KeyPairId string `json:"keyPairId,omitempty"` /* 密钥对ID,如果loginType=secretPair,这该项为必填项。您可以查看密钥对来了解密钥对相关内容
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=8342&data=87&vid=81">查询一个或多个密钥对</a>
<span style="background-color: rgb(97, 175, 254);color: rgb(255,255,255);padding: 2px; margin:2px">创</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=8344&data=87&vid=81" target="_blank">创建一对SSH密钥对</a> */
UseAffinityGroup *bool `json:"useAffinityGroup"` /* 是否启用主机组 */
AffinityGroupUuid string `json:"affinityGroupUuid,omitempty"` /* 云主机组ID,获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=8324&data=87&vid=81" target="_blank">查询云主机组列表或者详情</a>
<span style="background-color: rgb(97, 175, 254);color: rgb(255,255,255);padding: 2px; margin:2px">创</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=8316&data=87&vid=81" target="_blank">创建云主机组</a> */
ResourceLabels *CcseCreateNodePoolResourceLabelsRequest `json:"resourceLabels"` /* 云主机资源标签 */
SyncNodeLabels *bool `json:"syncNodeLabels"` /* 是否同步节点标签 */
SyncNodeTaints *bool `json:"syncNodeTaints"` /* 是否同步节点污点 */
NodeUnschedulable *bool `json:"nodeUnschedulable"` /* 节点是否不可调度 */
Labels *CcseCreateNodePoolLabelsRequest `json:"labels"` /* 标签 */
Taints []*CcseCreateNodePoolTaintsRequest `json:"taints"` /* 节点污点,格式为 [{\"key\":\"{key}\",\"value\":\"{value}\",\"effect\":\"{effect}\"}],上述的{key}、{value}、{effect}替换为所需字段。effect枚举包括NoSchedule、PreferNoSchedule、NoExecute */
VmSpecName string `json:"vmSpecName,omitempty"` /* 节点规格,获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span><a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=8327&data=87&isNormal=1&vid=81" target="_blank">查询主机规格资源</a> */
VmType string `json:"vmType,omitempty"` /* 节点规格类型,获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span><a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=8327&data=87&isNormal=1&vid=81" target="_blank">查询主机规格资源</a> */
Cpu int32 `json:"cpu,omitempty"` /* CPU大小 */
Memory int32 `json:"memory,omitempty"` /* 内存大小,单位是G */
MaxNum int32 `json:"maxNum,omitempty"` /* 伸缩组最大数量 */
MinNum int32 `json:"minNum,omitempty"` /* 伸缩组最小数量 */
EnableAutoScale *bool `json:"enableAutoScale"` /* 是否自动弹性伸缩 */
DataDisks []*CcseCreateNodePoolDataDisksRequest `json:"dataDisks"` /* 数据盘 */
MaxPodNum int32 `json:"maxPodNum,omitempty"` /* 最大pod数,默认110 */
Gpu int32 `json:"gpu,omitempty"` /* gpu大小 */
SysDiskType string `json:"sysDiskType,omitempty"` /* 系统盘规格,云硬盘类型,取值范围:
SATA:普通IO,
SAS:高IO,
SSD:超高IO
您可以查看<a href="https://www.ctyun.cn/document/10027696/10162918">磁盘类型及性能介绍</a>磁盘类型相关信息 */
SysDiskSize int32 `json:"sysDiskSize,omitempty"` /* 系统盘大小,单位是G */
AzInfo []*CcseCreateNodePoolAzInfoRequest `json:"azInfo"` /* 可用区信息,包括可用区ID,可用区名称
可用区名称获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span><a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5855&data=87&vid=81" target="_blank">资源池可用区查询</a> */
}
type CcseCreateNodePoolResourceLabelsRequest ¶
type CcseCreateNodePoolResourceLabelsRequest struct{}
type CcseCreatePersistentVolumeApi ¶
type CcseCreatePersistentVolumeApi struct {
// contains filtered or unexported fields
}
func NewCcseCreatePersistentVolumeApi ¶
func NewCcseCreatePersistentVolumeApi(client *core.CtyunClient) *CcseCreatePersistentVolumeApi
func (*CcseCreatePersistentVolumeApi) Do ¶
func (a *CcseCreatePersistentVolumeApi) Do(ctx context.Context, credential core.Credential, req *CcseCreatePersistentVolumeRequest) (*CcseCreatePersistentVolumeResponse, error)
type CcseCreatePersistentVolumeClaimApi ¶
type CcseCreatePersistentVolumeClaimApi struct {
// contains filtered or unexported fields
}
func NewCcseCreatePersistentVolumeClaimApi ¶
func NewCcseCreatePersistentVolumeClaimApi(client *core.CtyunClient) *CcseCreatePersistentVolumeClaimApi
func (*CcseCreatePersistentVolumeClaimApi) Do ¶
func (a *CcseCreatePersistentVolumeClaimApi) Do(ctx context.Context, credential core.Credential, req *CcseCreatePersistentVolumeClaimRequest) (*CcseCreatePersistentVolumeClaimResponse, error)
type CcseCreatePersistentVolumeClaimRequest ¶
type CcseCreatePersistentVolumeClaimRequest struct {
ClusterId string /* 集群id, 获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105">如何获取接口URI中参数</a>。 */
NamespaceName string /* 命名空间名称 */
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004422" target="_blank">云容器引擎资源池</a>
另外您通过<a href="https://www.ctyun.cn/document/10026730/10028695" target="_blank">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81" target="_blank">资源池列表查询</a> */
TextPlainDataString string `json:"textPlainDataString,omitempty"` /* 字符串类型的yaml资源 */
}
type CcseCreatePersistentVolumeRequest ¶
type CcseCreatePersistentVolumeRequest struct {
ClusterId string /* 集群id,获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105">如何获取接口URI中参数</a>。 */
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004422" target="_blank">云容器引擎资源池</a>
另外您通过<a href="https://www.ctyun.cn/document/10026730/10028695" target="_blank">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81" target="_blank">资源池列表查询</a> */
TextPlainDataString string `json:"textPlainDataString,omitempty"` /* 字符串类型的yaml资源 */
}
type CcseCreatePodApi ¶
type CcseCreatePodApi struct {
// contains filtered or unexported fields
}
func NewCcseCreatePodApi ¶
func NewCcseCreatePodApi(client *core.CtyunClient) *CcseCreatePodApi
func (*CcseCreatePodApi) Do ¶
func (a *CcseCreatePodApi) Do(ctx context.Context, credential core.Credential, req *CcseCreatePodRequest) (*CcseCreatePodResponse, error)
type CcseCreatePodRequest ¶
type CcseCreatePodRequest struct {
ClusterId string /* 集群id, 获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105">如何获取接口URI中参数</a>。 */
NamespaceName string /* 命名空间名称 */
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004422" target="_blank">云容器引擎资源池</a>
另外您通过<a href="https://www.ctyun.cn/document/10026730/10028695" target="_blank">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81" target="_blank">资源池列表查询</a> */
TextPlainDataString string `json:"textPlainDataString,omitempty"` /* 字符串类型的yaml资源 */
}
type CcseCreatePodResponse ¶
type CcseCreatePodResponse struct {
StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码 */
Message string `json:"message,omitempty"` /* 响应信息 */
ReturnObj string `json:"returnObj,omitempty"` /* 返回结果 */
Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */
RequestId string `json:"requestId,omitempty"` /* 请求ID */
}
type CcseCreateReplicaSetApi ¶
type CcseCreateReplicaSetApi struct {
// contains filtered or unexported fields
}
func NewCcseCreateReplicaSetApi ¶
func NewCcseCreateReplicaSetApi(client *core.CtyunClient) *CcseCreateReplicaSetApi
func (*CcseCreateReplicaSetApi) Do ¶
func (a *CcseCreateReplicaSetApi) Do(ctx context.Context, credential core.Credential, req *CcseCreateReplicaSetRequest) (*CcseCreateReplicaSetResponse, error)
type CcseCreateReplicaSetRequest ¶
type CcseCreateReplicaSetRequest struct {
ClusterId string /* 集群Id,获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105">如何获取接口URI中参数</a>。 */
NamespaceName string /* 命名空间名称 */
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004422" target="_blank">云容器引擎资源池</a>
另外您通过<a href="https://www.ctyun.cn/document/10026730/10028695" target="_blank">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81" target="_blank">资源池列表查询</a> */
TextPlainDataString string `json:"textPlainDataString,omitempty"` /* 字符串类型的yaml资源 */
}
type CcseCreateSecretApi ¶
type CcseCreateSecretApi struct {
// contains filtered or unexported fields
}
func NewCcseCreateSecretApi ¶
func NewCcseCreateSecretApi(client *core.CtyunClient) *CcseCreateSecretApi
func (*CcseCreateSecretApi) Do ¶
func (a *CcseCreateSecretApi) Do(ctx context.Context, credential core.Credential, req *CcseCreateSecretRequest) (*CcseCreateSecretResponse, error)
type CcseCreateSecretRequest ¶
type CcseCreateSecretRequest struct {
ClusterId string /* 集群id,获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105">如何获取接口URI中参数</a>。 */
NamespaceName string /* 命名空间名称 */
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004422" target="_blank">云容器引擎资源池</a>
另外您通过<a href="https://www.ctyun.cn/document/10026730/10028695" target="_blank">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81" target="_blank">资源池列表查询</a> */
TextPlainDataString string `json:"textPlainDataString,omitempty"` /* 字符串类型的yaml资源 */
}
type CcseCreateServiceApi ¶
type CcseCreateServiceApi struct {
// contains filtered or unexported fields
}
func NewCcseCreateServiceApi ¶
func NewCcseCreateServiceApi(client *core.CtyunClient) *CcseCreateServiceApi
func (*CcseCreateServiceApi) Do ¶
func (a *CcseCreateServiceApi) Do(ctx context.Context, credential core.Credential, req *CcseCreateServiceRequest) (*CcseCreateServiceResponse, error)
type CcseCreateServiceRequest ¶
type CcseCreateServiceRequest struct {
ClusterId string /* 集群ID,获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105" target="_blank">如何获取接口URI中参数</a> */
NamespaceName string /* 命名空间名称 */
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004422" target="_blank">云容器引擎资源池</a>
另外您通过<a href="https://www.ctyun.cn/document/10026730/10028695" target="_blank">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81" target="_blank">资源池列表查询</a> */
TextPlainDataString string `json:"textPlainDataString,omitempty"` /* 字符串类型的yaml资源 */
}
type CcseCreateStatefulSetApi ¶
type CcseCreateStatefulSetApi struct {
// contains filtered or unexported fields
}
func NewCcseCreateStatefulSetApi ¶
func NewCcseCreateStatefulSetApi(client *core.CtyunClient) *CcseCreateStatefulSetApi
func (*CcseCreateStatefulSetApi) Do ¶
func (a *CcseCreateStatefulSetApi) Do(ctx context.Context, credential core.Credential, req *CcseCreateStatefulSetRequest) (*CcseCreateStatefulSetResponse, error)
type CcseCreateStatefulSetRequest ¶
type CcseCreateStatefulSetRequest struct {
ClusterId string /* 集群ID,获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105">如何获取接口URI中参数</a>。 */
NamespaceName string /* 命名空间名称 */
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004422" target="_blank">云容器引擎资源池</a>
另外您通过<a href="https://www.ctyun.cn/document/10026730/10028695" target="_blank">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81" target="_blank">资源池列表查询</a> */
TextPlainDataString string `json:"textPlainDataString,omitempty"` /* 字符串类型的yaml资源 */
}
type CcseCreateStorageClassApi ¶
type CcseCreateStorageClassApi struct {
// contains filtered or unexported fields
}
func NewCcseCreateStorageClassApi ¶
func NewCcseCreateStorageClassApi(client *core.CtyunClient) *CcseCreateStorageClassApi
func (*CcseCreateStorageClassApi) Do ¶
func (a *CcseCreateStorageClassApi) Do(ctx context.Context, credential core.Credential, req *CcseCreateStorageClassRequest) (*CcseCreateStorageClassResponse, error)
type CcseCreateStorageClassRequest ¶
type CcseCreateStorageClassRequest struct {
ClusterId string /* 集群id, 获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105">如何获取接口URI中参数</a>。 */
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004422" target="_blank">云容器引擎资源池</a>
另外您通过<a href="https://www.ctyun.cn/document/10026730/10028695" target="_blank">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81" target="_blank">资源池列表查询</a> */
TextPlainDataString string `json:"textPlainDataString,omitempty"` /* 字符串类型的yaml资源 */
}
type CcseCreateVolumeSnapshotApi ¶
type CcseCreateVolumeSnapshotApi struct {
// contains filtered or unexported fields
}
func NewCcseCreateVolumeSnapshotApi ¶
func NewCcseCreateVolumeSnapshotApi(client *core.CtyunClient) *CcseCreateVolumeSnapshotApi
func (*CcseCreateVolumeSnapshotApi) Do ¶
func (a *CcseCreateVolumeSnapshotApi) Do(ctx context.Context, credential core.Credential, req *CcseCreateVolumeSnapshotRequest) (*CcseCreateVolumeSnapshotResponse, error)
type CcseCreateVolumeSnapshotClassApi ¶
type CcseCreateVolumeSnapshotClassApi struct {
// contains filtered or unexported fields
}
func NewCcseCreateVolumeSnapshotClassApi ¶
func NewCcseCreateVolumeSnapshotClassApi(client *core.CtyunClient) *CcseCreateVolumeSnapshotClassApi
func (*CcseCreateVolumeSnapshotClassApi) Do ¶
func (a *CcseCreateVolumeSnapshotClassApi) Do(ctx context.Context, credential core.Credential, req *CcseCreateVolumeSnapshotClassRequest) (*CcseCreateVolumeSnapshotClassResponse, error)
type CcseCreateVolumeSnapshotClassRequest ¶
type CcseCreateVolumeSnapshotClassRequest struct {
ClusterId string /* 集群id, 获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105">如何获取接口URI中参数</a>。 */
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004422" target="_blank">云容器引擎资源池</a>
另外您通过<a href="https://www.ctyun.cn/document/10026730/10028695" target="_blank">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81" target="_blank">资源池列表查询</a> */
TextPlainDataString string `json:"textPlainDataString,omitempty"` /* 字符串类型的yaml资源 */
}
type CcseCreateVolumeSnapshotRequest ¶
type CcseCreateVolumeSnapshotRequest struct {
ClusterId string /* 集群id, 获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105">如何获取接口URI中参数</a>。 */
NamespaceName string /* 命名空间名称 */
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004422" target="_blank">云容器引擎资源池</a>
另外您通过<a href="https://www.ctyun.cn/document/10026730/10028695" target="_blank">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81" target="_blank">资源池列表查询</a> */
TextPlainDataString string `json:"textPlainDataString,omitempty"` /* 字符串类型的yaml资源 */
}
type CcseDeleteClusterApi ¶
type CcseDeleteClusterApi struct {
// contains filtered or unexported fields
}
func NewCcseDeleteClusterApi ¶
func NewCcseDeleteClusterApi(client *core.CtyunClient) *CcseDeleteClusterApi
func (*CcseDeleteClusterApi) Do ¶
func (a *CcseDeleteClusterApi) Do(ctx context.Context, credential core.Credential, req *CcseDeleteClusterRequest) (*CcseDeleteClusterResponse, error)
type CcseDeleteClusterAutoscalerPolicyApi ¶
type CcseDeleteClusterAutoscalerPolicyApi struct {
// contains filtered or unexported fields
}
func NewCcseDeleteClusterAutoscalerPolicyApi ¶
func NewCcseDeleteClusterAutoscalerPolicyApi(client *core.CtyunClient) *CcseDeleteClusterAutoscalerPolicyApi
func (*CcseDeleteClusterAutoscalerPolicyApi) Do ¶
func (a *CcseDeleteClusterAutoscalerPolicyApi) Do(ctx context.Context, credential core.Credential, req *CcseDeleteClusterAutoscalerPolicyRequest) (*CcseDeleteClusterAutoscalerPolicyResponse, error)
type CcseDeleteClusterAutoscalerPolicyRequest ¶
type CcseDeleteClusterAutoscalerPolicyRequest struct {
ClusterId string /* 集群ID,获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105">如何获取接口URI中参数</a>。 */
Name string /* 节点弹性伸缩策略名称 */
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87">资源池列表查询</a> */
}
type CcseDeleteClusterPolicyInstanceApi ¶
type CcseDeleteClusterPolicyInstanceApi struct {
// contains filtered or unexported fields
}
func NewCcseDeleteClusterPolicyInstanceApi ¶
func NewCcseDeleteClusterPolicyInstanceApi(client *core.CtyunClient) *CcseDeleteClusterPolicyInstanceApi
func (*CcseDeleteClusterPolicyInstanceApi) Do ¶
func (a *CcseDeleteClusterPolicyInstanceApi) Do(ctx context.Context, credential core.Credential, req *CcseDeleteClusterPolicyInstanceRequest) (*CcseDeleteClusterPolicyInstanceResponse, error)
type CcseDeleteClusterPolicyInstanceRequest ¶
type CcseDeleteClusterPolicyInstanceRequest struct {
ClusterId string /* 集群ID,获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105">如何获取接口URI中参数</a>。 */
PolicyName string /* 策略治理实例名称,您可以通过查询策略治理实例接口来获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=43&api=18035&data=128&isNormal=1&vid=121">查询策略治理实例</a> */
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004422" target="_blank">云容器引擎资源池</a>
另外您通过<a href="https://www.ctyun.cn/document/10026730/10028695" target="_blank">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81" target="_blank">资源池列表查询</a> */
InstanceName string /* 策略规则实例名称,不填默认删除该策略下所有实例 */
}
type CcseDeleteClusterPolicyInstanceResponse ¶
type CcseDeleteClusterPolicyInstanceResponse struct {
StatusCode int32 `json:"statusCode,omitempty"` /* 状态码 */
Message string `json:"message,omitempty"` /* 提示信息 */
ReturnObj *CcseDeleteClusterPolicyInstanceReturnObjResponse `json:"returnObj"` /* 返回对象 */
Error string `json:"error,omitempty"` /* 错误码 */
}
type CcseDeleteClusterPolicyInstanceReturnObjResponse ¶
type CcseDeleteClusterPolicyInstanceReturnObjResponse struct {
Instances []string `json:"instances"` /* 已删除的实例名称列表 */
}
type CcseDeleteClusterRequest ¶
type CcseDeleteClusterRequest struct {
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004422" target="_blank">云容器引擎资源池</a>
另外您通过<a href="https://www.ctyun.cn/document/10026730/10028695" target="_blank">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81" target="_blank">资源池列表查询</a>
*/
ResPoolId string `json:"resPoolId,omitempty"` /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004422" target="_blank">云容器引擎资源池</a>
另外您通过<a href="https://www.ctyun.cn/document/10026730/10028695" target="_blank">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81" target="_blank">资源池列表查询</a>
*/
ProdInstId string `json:"prodInstId,omitempty"` /* 集群ID,获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105">如何获取接口URI中参数</a>。 */
}
type CcseDeleteClusterResponse ¶
type CcseDeleteClusterResponse struct {
StatusCode int32 `json:"statusCode,omitempty"` /* 状态码 */
Message string `json:"message,omitempty"` /* 提示信息 */
ReturnObj *CcseDeleteClusterReturnObjResponse `json:"returnObj"` /* 返回对象 */
Error string `json:"error,omitempty"` /* 返回错误码 */
RequestId string `json:"requestId"`
}
type CcseDeleteConfigMapApi ¶
type CcseDeleteConfigMapApi struct {
// contains filtered or unexported fields
}
func NewCcseDeleteConfigMapApi ¶
func NewCcseDeleteConfigMapApi(client *core.CtyunClient) *CcseDeleteConfigMapApi
func (*CcseDeleteConfigMapApi) Do ¶
func (a *CcseDeleteConfigMapApi) Do(ctx context.Context, credential core.Credential, req *CcseDeleteConfigMapRequest) (*CcseDeleteConfigMapResponse, error)
type CcseDeleteConfigMapRequest ¶
type CcseDeleteConfigMapRequest struct {
ClusterId string /* 集群Id,获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105">如何获取接口URI中参数</a>。 */
NamespaceName string /* 命名空间名称 */
ConfigmapName string /* 资源名称 */
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004422" target="_blank">云容器引擎资源池</a>
另外您通过<a href="https://www.ctyun.cn/document/10026730/10028695" target="_blank">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81" target="_blank">资源池列表查询</a> */
}
type CcseDeleteCronHorizontalPodAutoscalerApi ¶
type CcseDeleteCronHorizontalPodAutoscalerApi struct {
// contains filtered or unexported fields
}
func NewCcseDeleteCronHorizontalPodAutoscalerApi ¶
func NewCcseDeleteCronHorizontalPodAutoscalerApi(client *core.CtyunClient) *CcseDeleteCronHorizontalPodAutoscalerApi
func (*CcseDeleteCronHorizontalPodAutoscalerApi) Do ¶
func (a *CcseDeleteCronHorizontalPodAutoscalerApi) Do(ctx context.Context, credential core.Credential, req *CcseDeleteCronHorizontalPodAutoscalerRequest) (*CcseDeleteCronHorizontalPodAutoscalerResponse, error)
type CcseDeleteCronHorizontalPodAutoscalerRequest ¶
type CcseDeleteCronHorizontalPodAutoscalerRequest struct {
ClusterId string /* 集群ID,获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105">如何获取接口URI中参数</a>。 */
NamespaceName string /* 命名空间名称 */
Name string /* 资源名称 */
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004422" target="_blank">云容器引擎资源池</a>
另外您通过<a href="https://www.ctyun.cn/document/10026730/10028695" target="_blank">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81" target="_blank">资源池列表查询</a>
*/
}
type CcseDeleteDaemonSetApi ¶
type CcseDeleteDaemonSetApi struct {
// contains filtered or unexported fields
}
func NewCcseDeleteDaemonSetApi ¶
func NewCcseDeleteDaemonSetApi(client *core.CtyunClient) *CcseDeleteDaemonSetApi
func (*CcseDeleteDaemonSetApi) Do ¶
func (a *CcseDeleteDaemonSetApi) Do(ctx context.Context, credential core.Credential, req *CcseDeleteDaemonSetRequest) (*CcseDeleteDaemonSetResponse, error)
type CcseDeleteDaemonSetRequest ¶
type CcseDeleteDaemonSetRequest struct {
ClusterId string /* 集群ID,获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105">如何获取接口URI中参数</a>。 */
NamespaceName string /* 命名空间名称 */
DaemonsetName string /* 资源名称 */
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004422" target="_blank">云容器引擎资源池</a>
另外您通过<a href="https://www.ctyun.cn/document/10026730/10028695" target="_blank">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81" target="_blank">资源池列表查询</a> */
}
type CcseDeleteDeploymentApi ¶
type CcseDeleteDeploymentApi struct {
// contains filtered or unexported fields
}
func NewCcseDeleteDeploymentApi ¶
func NewCcseDeleteDeploymentApi(client *core.CtyunClient) *CcseDeleteDeploymentApi
func (*CcseDeleteDeploymentApi) Do ¶
func (a *CcseDeleteDeploymentApi) Do(ctx context.Context, credential core.Credential, req *CcseDeleteDeploymentRequest) (*CcseDeleteDeploymentResponse, error)
type CcseDeleteDeploymentRequest ¶
type CcseDeleteDeploymentRequest struct {
ClusterId string /* 集群ID, 获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105">如何获取接口URI中参数</a>。 */
NamespaceName string /* 命名空间名称 */
DeploymentName string /* 资源名称 */
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004422" target="_blank">云容器引擎资源池</a>
另外您通过<a href="https://www.ctyun.cn/document/10026730/10028695" target="_blank">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81" target="_blank">资源池列表查询</a> */
}
type CcseDeleteJobApi ¶
type CcseDeleteJobApi struct {
// contains filtered or unexported fields
}
func NewCcseDeleteJobApi ¶
func NewCcseDeleteJobApi(client *core.CtyunClient) *CcseDeleteJobApi
func (*CcseDeleteJobApi) Do ¶
func (a *CcseDeleteJobApi) Do(ctx context.Context, credential core.Credential, req *CcseDeleteJobRequest) (*CcseDeleteJobResponse, error)
type CcseDeleteJobRequest ¶
type CcseDeleteJobRequest struct {
ClusterId string /* 集群Id,获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105">如何获取接口URI中参数</a>。 */
NamespaceName string /* 命名空间名称 */
JobName string /* 资源名称 */
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004422" target="_blank">云容器引擎资源池</a>
另外您通过<a href="https://www.ctyun.cn/document/10026730/10028695" target="_blank">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81" target="_blank">资源池列表查询</a> */
}
type CcseDeleteJobResponse ¶
type CcseDeleteNodePoolApi ¶
type CcseDeleteNodePoolApi struct {
// contains filtered or unexported fields
}
func NewCcseDeleteNodePoolApi ¶
func NewCcseDeleteNodePoolApi(client *core.CtyunClient) *CcseDeleteNodePoolApi
func (*CcseDeleteNodePoolApi) Do ¶
func (a *CcseDeleteNodePoolApi) Do(ctx context.Context, credential core.Credential, req *CcseDeleteNodePoolRequest) (*CcseDeleteNodePoolResponse, error)
type CcseDeleteNodePoolRequest ¶
type CcseDeleteNodePoolRequest struct {
ClusterId string /* 集群ID,获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105" target="_blank">如何获取接口URI中参数</a>。 */
NodePoolId string /* 节点池ID,获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105" target="_blank">如何获取接口URI中参数</a>。 */
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004422" target="_blank">云容器引擎资源池</a>
另外您通过<a href="https://www.ctyun.cn/document/10026730/10028695" target="_blank">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81" target="_blank">资源池列表查询</a> */
}
type CcseDeletePersistentVolumeApi ¶
type CcseDeletePersistentVolumeApi struct {
// contains filtered or unexported fields
}
func NewCcseDeletePersistentVolumeApi ¶
func NewCcseDeletePersistentVolumeApi(client *core.CtyunClient) *CcseDeletePersistentVolumeApi
func (*CcseDeletePersistentVolumeApi) Do ¶
func (a *CcseDeletePersistentVolumeApi) Do(ctx context.Context, credential core.Credential, req *CcseDeletePersistentVolumeRequest) (*CcseDeletePersistentVolumeResponse, error)
type CcseDeletePersistentVolumeClaimApi ¶
type CcseDeletePersistentVolumeClaimApi struct {
// contains filtered or unexported fields
}
func NewCcseDeletePersistentVolumeClaimApi ¶
func NewCcseDeletePersistentVolumeClaimApi(client *core.CtyunClient) *CcseDeletePersistentVolumeClaimApi
func (*CcseDeletePersistentVolumeClaimApi) Do ¶
func (a *CcseDeletePersistentVolumeClaimApi) Do(ctx context.Context, credential core.Credential, req *CcseDeletePersistentVolumeClaimRequest) (*CcseDeletePersistentVolumeClaimResponse, error)
type CcseDeletePersistentVolumeClaimRequest ¶
type CcseDeletePersistentVolumeClaimRequest struct {
ClusterId string /* 集群id, 获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105">如何获取接口URI中参数</a>。 */
NamespaceName string /* 命名空间名称 */
PersistentVolumeClaimName string /* 资源名称 */
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004422" target="_blank">云容器引擎资源池</a>
另外您通过<a href="https://www.ctyun.cn/document/10026730/10028695" target="_blank">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81" target="_blank">资源池列表查询</a> */
}
type CcseDeletePersistentVolumeRequest ¶
type CcseDeletePersistentVolumeRequest struct {
ClusterId string /* 集群id,获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105">如何获取接口URI中参数</a>。 */
PersistentVolumeName string /* 资源名称 */
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004422" target="_blank">云容器引擎资源池</a>
另外您通过<a href="https://www.ctyun.cn/document/10026730/10028695" target="_blank">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81" target="_blank">资源池列表查询</a> */
}
type CcseDeletePluginInstanceApi ¶
type CcseDeletePluginInstanceApi struct {
// contains filtered or unexported fields
}
func NewCcseDeletePluginInstanceApi ¶
func NewCcseDeletePluginInstanceApi(client *core.CtyunClient) *CcseDeletePluginInstanceApi
func (*CcseDeletePluginInstanceApi) Do ¶
func (a *CcseDeletePluginInstanceApi) Do(ctx context.Context, credential core.Credential, req *CcseDeletePluginInstanceRequest) (*CcseDeletePluginInstanceResponse, error)
type CcseDeletePluginInstanceRequest ¶
type CcseDeletePluginInstanceRequest struct {
ClusterId string `json:"clusterId,omitempty"` /* 集群ID,获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105">如何获取接口URI中参数</a>。 */
InstanceName string `json:"instanceName,omitempty"` /* 插件实例名称 */
RegionId string `json:"regionId,omitempty"` /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004422" target="_blank">云容器引擎资源池</a>
另外您通过<a href="https://www.ctyun.cn/document/10026730/10028695" target="_blank">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81" target="_blank">资源池列表查询</a> */
Namespace string `json:"namespace,omitempty"` /* 命名空间名称 */
IsDeleteRecord *bool `json:"isDeleteRecord"` /* 是否保留卸载记录(默认true,保留记录) */
}
type CcseDeletePluginInstanceResponse ¶
type CcseDeletePluginInstanceResponse struct {
StatusCode int32 `json:"statusCode,omitempty"` /* 状态码 */
RequestId string `json:"requestId,omitempty"` /* 请求id */
Message string `json:"message,omitempty"` /* 提示信息 */
ReturnObj *bool `json:"returnObj"` /* 返回对象 */
Error string `json:"error,omitempty"` /* 错误码 */
}
type CcseDeletePodApi ¶
type CcseDeletePodApi struct {
// contains filtered or unexported fields
}
func NewCcseDeletePodApi ¶
func NewCcseDeletePodApi(client *core.CtyunClient) *CcseDeletePodApi
func (*CcseDeletePodApi) Do ¶
func (a *CcseDeletePodApi) Do(ctx context.Context, credential core.Credential, req *CcseDeletePodRequest) (*CcseDeletePodResponse, error)
type CcseDeletePodRequest ¶
type CcseDeletePodRequest struct {
ClusterId string /* 集群id, 获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105">如何获取接口URI中参数</a>。 */
NamespaceName string /* 命名空间名称 */
PodName string /* 资源名称 */
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004422" target="_blank">云容器引擎资源池</a>
另外您通过<a href="https://www.ctyun.cn/document/10026730/10028695" target="_blank">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81" target="_blank">资源池列表查询</a> */
}
type CcseDeletePodResponse ¶
type CcseDeletePodResponse struct {
StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码 */
Message string `json:"message,omitempty"` /* 响应信息 */
ReturnObj *bool `json:"returnObj"` /* 返回结果 */
Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */
RequestId string `json:"requestId,omitempty"` /* 请求ID */
}
type CcseDeleteReplicaSetApi ¶
type CcseDeleteReplicaSetApi struct {
// contains filtered or unexported fields
}
func NewCcseDeleteReplicaSetApi ¶
func NewCcseDeleteReplicaSetApi(client *core.CtyunClient) *CcseDeleteReplicaSetApi
func (*CcseDeleteReplicaSetApi) Do ¶
func (a *CcseDeleteReplicaSetApi) Do(ctx context.Context, credential core.Credential, req *CcseDeleteReplicaSetRequest) (*CcseDeleteReplicaSetResponse, error)
type CcseDeleteReplicaSetRequest ¶
type CcseDeleteReplicaSetRequest struct {
ClusterId string /* 集群Id, 获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105">如何获取接口URI中参数</a>。 */
NamespaceName string /* 命名空间名称 */
ReplicaSetName string /* 资源名称 */
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004422" target="_blank">云容器引擎资源池</a>
另外您通过<a href="https://www.ctyun.cn/document/10026730/10028695" target="_blank">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81" target="_blank">资源池列表查询</a> */
}
type CcseDeleteSecretApi ¶
type CcseDeleteSecretApi struct {
// contains filtered or unexported fields
}
func NewCcseDeleteSecretApi ¶
func NewCcseDeleteSecretApi(client *core.CtyunClient) *CcseDeleteSecretApi
func (*CcseDeleteSecretApi) Do ¶
func (a *CcseDeleteSecretApi) Do(ctx context.Context, credential core.Credential, req *CcseDeleteSecretRequest) (*CcseDeleteSecretResponse, error)
type CcseDeleteSecretRequest ¶
type CcseDeleteSecretRequest struct {
ClusterId string /* 集群id,获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105">如何获取接口URI中参数</a>。 */
NamespaceName string /* 命名空间名称 */
SecretName string /* 资源名称 */
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004422" target="_blank">云容器引擎资源池</a>
另外您通过<a href="https://www.ctyun.cn/document/10026730/10028695" target="_blank">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81" target="_blank">资源池列表查询</a> */
}
type CcseDeleteServiceApi ¶
type CcseDeleteServiceApi struct {
// contains filtered or unexported fields
}
func NewCcseDeleteServiceApi ¶
func NewCcseDeleteServiceApi(client *core.CtyunClient) *CcseDeleteServiceApi
func (*CcseDeleteServiceApi) Do ¶
func (a *CcseDeleteServiceApi) Do(ctx context.Context, credential core.Credential, req *CcseDeleteServiceRequest) (*CcseDeleteServiceResponse, error)
type CcseDeleteServiceRequest ¶
type CcseDeleteServiceRequest struct {
ClusterId string /* 集群ID,获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105" target="_blank">如何获取接口URI中参数</a> */
NamespaceName string /* 命名空间名称 */
ServiceName string /* Service资源名称 */
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004422" target="_blank">云容器引擎资源池</a>
另外您通过<a href="https://www.ctyun.cn/document/10026730/10028695" target="_blank">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81" target="_blank">资源池列表查询</a> */
}
type CcseDeleteStatefulSetApi ¶
type CcseDeleteStatefulSetApi struct {
// contains filtered or unexported fields
}
func NewCcseDeleteStatefulSetApi ¶
func NewCcseDeleteStatefulSetApi(client *core.CtyunClient) *CcseDeleteStatefulSetApi
func (*CcseDeleteStatefulSetApi) Do ¶
func (a *CcseDeleteStatefulSetApi) Do(ctx context.Context, credential core.Credential, req *CcseDeleteStatefulSetRequest) (*CcseDeleteStatefulSetResponse, error)
type CcseDeleteStatefulSetRequest ¶
type CcseDeleteStatefulSetRequest struct {
ClusterId string /* 集群ID, 获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105">如何获取接口URI中参数</a>。 */
NamespaceName string /* 命名空间名称 */
StatefulsetName string /* 资源名称 */
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004422" target="_blank">云容器引擎资源池</a>
另外您通过<a href="https://www.ctyun.cn/document/10026730/10028695" target="_blank">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81" target="_blank">资源池列表查询</a> */
}
type CcseDeleteStorageClassApi ¶
type CcseDeleteStorageClassApi struct {
// contains filtered or unexported fields
}
func NewCcseDeleteStorageClassApi ¶
func NewCcseDeleteStorageClassApi(client *core.CtyunClient) *CcseDeleteStorageClassApi
func (*CcseDeleteStorageClassApi) Do ¶
func (a *CcseDeleteStorageClassApi) Do(ctx context.Context, credential core.Credential, req *CcseDeleteStorageClassRequest) (*CcseDeleteStorageClassResponse, error)
type CcseDeleteStorageClassRequest ¶
type CcseDeleteStorageClassRequest struct {
ClusterId string /* 集群id, 获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105">如何获取接口URI中参数</a>。 */
StorageClassName string /* 资源名称 */
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004422" target="_blank">云容器引擎资源池</a>
另外您通过<a href="https://www.ctyun.cn/document/10026730/10028695" target="_blank">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81" target="_blank">资源池列表查询</a> */
}
type CcseDeleteTemplateInstanceApi ¶
type CcseDeleteTemplateInstanceApi struct {
// contains filtered or unexported fields
}
func NewCcseDeleteTemplateInstanceApi ¶
func NewCcseDeleteTemplateInstanceApi(client *core.CtyunClient) *CcseDeleteTemplateInstanceApi
func (*CcseDeleteTemplateInstanceApi) Do ¶
func (a *CcseDeleteTemplateInstanceApi) Do(ctx context.Context, credential core.Credential, req *CcseDeleteTemplateInstanceRequest) (*CcseDeleteTemplateInstanceResponse, error)
type CcseDeleteTemplateInstanceRequest ¶
type CcseDeleteTemplateInstanceRequest struct {
ClusterId string /* 集群ID,获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105">如何获取接口URI中参数</a>。 */
NamespaceName string /* 命名空间名称 */
TemplateInstanceName string /* 模板实例名称 */
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004422" target="_blank">云容器引擎资源池</a>
另外您通过<a href="https://www.ctyun.cn/document/10026730/10028695" target="_blank">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81" target="_blank">资源池列表查询</a> */
IsDeleteRecord *bool /* 是否保留删除记录(默认true保留记录) */
}
type CcseDeleteTemplateInstanceResponse ¶
type CcseDeleteTemplateInstanceResponse struct {
StatusCode int32 `json:"statusCode,omitempty"` /* 状态码 */
RequestId string `json:"requestId,omitempty"` /* 请求id */
Message string `json:"message,omitempty"` /* 提示信息 */
ReturnObj *bool `json:"returnObj"` /* 返回对象 */
Error string `json:"error,omitempty"` /* 错误码 */
}
type CcseDeleteVolumeSnapshotApi ¶
type CcseDeleteVolumeSnapshotApi struct {
// contains filtered or unexported fields
}
func NewCcseDeleteVolumeSnapshotApi ¶
func NewCcseDeleteVolumeSnapshotApi(client *core.CtyunClient) *CcseDeleteVolumeSnapshotApi
func (*CcseDeleteVolumeSnapshotApi) Do ¶
func (a *CcseDeleteVolumeSnapshotApi) Do(ctx context.Context, credential core.Credential, req *CcseDeleteVolumeSnapshotRequest) (*CcseDeleteVolumeSnapshotResponse, error)
type CcseDeleteVolumeSnapshotClassApi ¶
type CcseDeleteVolumeSnapshotClassApi struct {
// contains filtered or unexported fields
}
func NewCcseDeleteVolumeSnapshotClassApi ¶
func NewCcseDeleteVolumeSnapshotClassApi(client *core.CtyunClient) *CcseDeleteVolumeSnapshotClassApi
func (*CcseDeleteVolumeSnapshotClassApi) Do ¶
func (a *CcseDeleteVolumeSnapshotClassApi) Do(ctx context.Context, credential core.Credential, req *CcseDeleteVolumeSnapshotClassRequest) (*CcseDeleteVolumeSnapshotClassResponse, error)
type CcseDeleteVolumeSnapshotClassRequest ¶
type CcseDeleteVolumeSnapshotClassRequest struct {
ClusterId string /* 集群id, 获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105">如何获取接口URI中参数</a>。 */
VolumeSnapshotClassName string /* 资源名称 */
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004422" target="_blank">云容器引擎资源池</a>
另外您通过<a href="https://www.ctyun.cn/document/10026730/10028695" target="_blank">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81" target="_blank">资源池列表查询</a> */
}
type CcseDeleteVolumeSnapshotRequest ¶
type CcseDeleteVolumeSnapshotRequest struct {
ClusterId string /* 集群id, 获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105">如何获取接口URI中参数</a>。 */
NamespaceName string /* 命名空间名称 */
VolumeSnapshotName string /* 资源名称 */
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004422" target="_blank">云容器引擎资源池</a>
另外您通过<a href="https://www.ctyun.cn/document/10026730/10028695" target="_blank">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81" target="_blank">资源池列表查询</a> */
}
type CcseDeployPluginInstanceApi ¶
type CcseDeployPluginInstanceApi struct {
// contains filtered or unexported fields
}
func NewCcseDeployPluginInstanceApi ¶
func NewCcseDeployPluginInstanceApi(client *core.CtyunClient) *CcseDeployPluginInstanceApi
func (*CcseDeployPluginInstanceApi) Do ¶
func (a *CcseDeployPluginInstanceApi) Do(ctx context.Context, credential core.Credential, req *CcseDeployPluginInstanceRequest) (*CcseDeployPluginInstanceResponse, error)
type CcseDeployPluginInstanceRequest ¶
type CcseDeployPluginInstanceRequest struct {
ClusterId string `json:"clusterId,omitempty"` /* 集群ID,获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105">如何获取接口URI中参数</a>。 */
RegionId string `json:"regionId,omitempty"` /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004422" target="_blank">云容器引擎资源池</a>
另外您通过<a href="https://www.ctyun.cn/document/10026730/10028695" target="_blank">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81" target="_blank">资源池列表查询</a> */
ChartName string `json:"chartName,omitempty"` /* 插件名称 */
ChartVersion string `json:"chartVersion,omitempty"` /* 插件版本号,可通过容器镜像服务的接口<a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=44&api=17879&data=127&isNormal=1&vid=120">查询插件市场列表</a>和<a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=44&api=18067&data=127&isNormal=1&vid=120">查询版本列表</a>获取可用版本。 */
Values string `json:"values,omitempty"` /* 插件配置参数(YAML格式),与valuesJson二选一。可通过容器镜像服务的接口<a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=44&api=18132&data=127&isNormal=1&vid=120">查询版本values</a>获取values的模板。 */
ValuesJson string `json:"valuesJson,omitempty"` /* 插件配置参数(JSON格式),与values二选一。可通过容器镜像服务的接口<a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=44&api=18132&data=127&isNormal=1&vid=120">查询版本values</a>获取values的模板。 */
}
type CcseDeployPluginInstanceResponse ¶
type CcseDeployPluginInstanceResponse struct {
StatusCode int32 `json:"statusCode,omitempty"` /* 状态码 */
RequestId string `json:"requestId,omitempty"` /* 请求id */
Message string `json:"message,omitempty"` /* 提示信息 */
ReturnObj *bool `json:"returnObj"` /* 返回对象 */
Error string `json:"error,omitempty"` /* 错误码 */
}
type CcseDeployTemplateInstanceApi ¶
type CcseDeployTemplateInstanceApi struct {
// contains filtered or unexported fields
}
func NewCcseDeployTemplateInstanceApi ¶
func NewCcseDeployTemplateInstanceApi(client *core.CtyunClient) *CcseDeployTemplateInstanceApi
func (*CcseDeployTemplateInstanceApi) Do ¶
func (a *CcseDeployTemplateInstanceApi) Do(ctx context.Context, credential core.Credential, req *CcseDeployTemplateInstanceRequest) (*CcseDeployTemplateInstanceResponse, error)
type CcseDeployTemplateInstanceRequest ¶
type CcseDeployTemplateInstanceRequest struct {
ClusterId string /* 集群ID,获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105">如何获取接口URI中参数</a>。 */
NamespaceName string /* 命名空间名称 */
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004422" target="_blank">云容器引擎资源池</a>
另外您通过<a href="https://www.ctyun.cn/document/10026730/10028695" target="_blank">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81" target="_blank">资源池列表查询</a> */
ChartName string `json:"chartName,omitempty"` /* Chart名称 */
ChartVersion string `json:"chartVersion,omitempty"` /* Chart版本 */
CrNamespaceId int64 `json:"crNamespaceId,omitempty"` /* 模板存放在镜像服务实例中的命名空间的ID,获取方法参见<a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=44&api=10629&data=127&isNormal=1&vid=120" target="_blank">查询HelmChart命名空间列表</a>
*/
InstanceName string `json:"instanceName,omitempty"` /* 实例名 */
InstanceValue string `json:"instanceValue,omitempty"` /* 实例参数 */
InstanceValueType string `json:"instanceValueType,omitempty"` /* 实例参数 */
RepositoryId int64 `json:"repositoryId,omitempty"` /* 镜像服务实例仓库ID,获取方法参见<a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=44&api=10621&data=127&isNormal=1&vid=120" target="_blank">查询镜像仓库列表</a> */
Timeout string `json:"timeout,omitempty"` /* 实例安装超时时间 */
IsSyncMode *bool `json:"isSyncMode"` /* 是否同步调用 */
}
type CcseDeployTemplateInstanceResponse ¶
type CcseDeployTemplateInstanceResponse struct {
StatusCode int32 `json:"statusCode,omitempty"` /* 状态码 */
RequestId string `json:"requestId,omitempty"` /* 请求id */
Message string `json:"message,omitempty"` /* 提示信息 */
ReturnObj *bool `json:"returnObj"` /* 返回对象 */
Error string `json:"error,omitempty"` /* 错误码 */
}
type CcseEnableControlPlaneLogApi ¶
type CcseEnableControlPlaneLogApi struct {
// contains filtered or unexported fields
}
func NewCcseEnableControlPlaneLogApi ¶
func NewCcseEnableControlPlaneLogApi(client *core.CtyunClient) *CcseEnableControlPlaneLogApi
func (*CcseEnableControlPlaneLogApi) Do ¶
func (a *CcseEnableControlPlaneLogApi) Do(ctx context.Context, credential core.Credential, req *CcseEnableControlPlaneLogRequest) (*CcseEnableControlPlaneLogResponse, error)
type CcseEnableControlPlaneLogRequest ¶
type CcseEnableControlPlaneLogRequest struct {
ClusterId string /* 集群ID,获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105">如何获取接口URI中参数</a>。 */
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004422" target="_blank">云容器引擎资源池</a>
另外您通过<a href="https://www.ctyun.cn/document/10026730/10028695" target="_blank">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81" target="_blank">资源池列表查询</a> */
Components []string `json:"components"` /* 更新后的核心组件列表,在列表中的组件会开启日志,不在列表的会关闭。列表支持的元素有:"apiserver", "etcd", "scheduler", "controller-manager" */
}
type CcseEnableControlPlaneLogResponse ¶
type CcseEnableControlPlaneLogResponse struct {
StatusCode int32 `json:"statusCode,omitempty"` /* 状态码 */
Message string `json:"message,omitempty"` /* 提示信息 */
ReturnObj []string `json:"returnObj"` /* 响应对象,已开通的核心组件日志,目前支持的核心组件有:apiserver、etcd、scheduler、controller-manager */
Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */
}
type CcseGetClusterApi ¶
type CcseGetClusterApi struct {
// contains filtered or unexported fields
}
func NewCcseGetClusterApi ¶
func NewCcseGetClusterApi(client *core.CtyunClient) *CcseGetClusterApi
func (*CcseGetClusterApi) Do ¶
func (a *CcseGetClusterApi) Do(ctx context.Context, credential core.Credential, req *CcseGetClusterRequest) (*CcseGetClusterResponse, error)
type CcseGetClusterAutoscalerPolicyApi ¶
type CcseGetClusterAutoscalerPolicyApi struct {
// contains filtered or unexported fields
}
func NewCcseGetClusterAutoscalerPolicyApi ¶
func NewCcseGetClusterAutoscalerPolicyApi(client *core.CtyunClient) *CcseGetClusterAutoscalerPolicyApi
func (*CcseGetClusterAutoscalerPolicyApi) Do ¶
func (a *CcseGetClusterAutoscalerPolicyApi) Do(ctx context.Context, credential core.Credential, req *CcseGetClusterAutoscalerPolicyRequest) (*CcseGetClusterAutoscalerPolicyResponse, error)
type CcseGetClusterAutoscalerPolicyRequest ¶
type CcseGetClusterAutoscalerPolicyRequest struct {
ClusterId string /* 集群ID,获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105">如何获取接口URI中参数</a>。
如:
/v1.2/cce/clusters/{clusterId}/apis/autoscaler.ccse.ctyun.cn/v1/horizontalnodeautoscaler/{name} */
Name string /* 节点弹性伸缩策略名称
如:
/v1.2/cce/clusters/{clusterId}/apis/autoscaler.ccse.ctyun.cn/v1/horizontalnodeautoscaler/{name} */
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87">资源池列表查询</a> */
}
type CcseGetClusterEventsApi ¶
type CcseGetClusterEventsApi struct {
// contains filtered or unexported fields
}
func NewCcseGetClusterEventsApi ¶
func NewCcseGetClusterEventsApi(client *core.CtyunClient) *CcseGetClusterEventsApi
func (*CcseGetClusterEventsApi) Do ¶
func (a *CcseGetClusterEventsApi) Do(ctx context.Context, credential core.Credential, req *CcseGetClusterEventsRequest) (*CcseGetClusterEventsResponse, error)
type CcseGetClusterEventsRequest ¶
type CcseGetClusterEventsRequest struct {
ClusterId string /* 集群ID,获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105" target="_blank">如何获取接口URI中参数</a>。 */
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004422" target="_blank">云容器引擎资源池</a>
另外您通过<a href="https://www.ctyun.cn/document/10026730/10028695" target="_blank">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81" target="_blank">资源池列表查询</a> */
EventType string /* 事件类型 */
TaskId string /* 任务ID */
PageNumber int32 /* 每页显示数量 */
PageSize int32 /* 分页查询页数 */
}
type CcseGetClusterEventsResponse ¶
type CcseGetClusterEventsResponse struct {
StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码 */
RequestId string `json:"requestId,omitempty"` /* 请求ID */
Message string `json:"message,omitempty"` /* 响应信息 */
ReturnObj *CcseGetClusterEventsReturnObjResponse `json:"returnObj"` /* 请求结果 */
Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */
}
type CcseGetClusterEventsReturnObjRecordsResponse ¶
type CcseGetClusterEventsReturnObjRecordsResponse struct {
TaskId string `json:"taskId,omitempty"` /* 任务ID */
ClusterId string `json:"clusterId,omitempty"` /* 集群ID */
EventId string `json:"eventId,omitempty"` /* 事件Id */
Source string `json:"source,omitempty"` /* 事件源 */
Subject string `json:"subject,omitempty"` /* 事件关联操作对象ID */
EventType string `json:"eventType,omitempty"` /* 事件类型 */
EventMessage string `json:"eventMessage,omitempty"` /* 事件内容 */
CreatedTime string `json:"createdTime,omitempty"` /* 创建时间 */
}
type CcseGetClusterEventsReturnObjResponse ¶
type CcseGetClusterEventsReturnObjResponse struct {
Records []*CcseGetClusterEventsReturnObjRecordsResponse `json:"records"` /* 诊断任务记录 */
Total int32 `json:"total,omitempty"` /* 总记录数 */
Pages int32 `json:"pages,omitempty"` /* 总页数 */
Current int32 `json:"current,omitempty"` /* 当前页数 */
Size int32 `json:"size,omitempty"` /* 每页大小 */
}
type CcseGetClusterKubeConfigApi ¶
type CcseGetClusterKubeConfigApi struct {
// contains filtered or unexported fields
}
func NewCcseGetClusterKubeConfigApi ¶
func NewCcseGetClusterKubeConfigApi(client *core.CtyunClient) *CcseGetClusterKubeConfigApi
func (*CcseGetClusterKubeConfigApi) Do ¶
func (a *CcseGetClusterKubeConfigApi) Do(ctx context.Context, credential core.Credential, req *CcseGetClusterKubeConfigRequest) (*CcseGetClusterKubeConfigResponse, error)
type CcseGetClusterKubeConfigRequest ¶
type CcseGetClusterKubeConfigRequest struct {
ClusterId string /* 集群ID,获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105">如何获取接口URI中参数</a>。 */
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004422" target="_blank">云容器引擎资源池</a>
另外您通过<a href="https://www.ctyun.cn/document/10026730/10028695" target="_blank">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81" target="_blank">资源池列表查询</a>
*/
IsPublic bool /* 是否获取公网KubeConfig */
}
type CcseGetClusterKubeConfigResponse ¶
type CcseGetClusterKubeConfigResponse struct {
StatusCode int32 `json:"statusCode,omitempty"` /* 状态码 */
Message string `json:"message,omitempty"` /* 提示信息 */
ReturnObj *CcseGetClusterKubeConfigReturnObjResponse `json:"returnObj"` /* 返回对象 */
Error string `json:"error,omitempty"` /* 错误码 */
}
type CcseGetClusterPolicyStatusApi ¶
type CcseGetClusterPolicyStatusApi struct {
// contains filtered or unexported fields
}
func NewCcseGetClusterPolicyStatusApi ¶
func NewCcseGetClusterPolicyStatusApi(client *core.CtyunClient) *CcseGetClusterPolicyStatusApi
func (*CcseGetClusterPolicyStatusApi) Do ¶
func (a *CcseGetClusterPolicyStatusApi) Do(ctx context.Context, credential core.Credential, req *CcseGetClusterPolicyStatusRequest) (*CcseGetClusterPolicyStatusResponse, error)
type CcseGetClusterPolicyStatusRequest ¶
type CcseGetClusterPolicyStatusRequest struct {
ClusterId string /* 集群ID,获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105">如何获取接口URI中参数</a>。 */
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004422" target="_blank">云容器引擎资源池</a>
另外您通过<a href="https://www.ctyun.cn/document/10026730/10028695" target="_blank">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81" target="_blank">资源池列表查询</a> */
PolicyName string /* 策略名称,您可以通过查询策略治理规则列表接口来获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=43&api=18948&data=128&isNormal=1&vid=121">查询策略治理规则列表</a> */
}
type CcseGetClusterPolicyStatusResponse ¶
type CcseGetClusterPolicyStatusResponse struct {
StatusCode int32 `json:"statusCode,omitempty"` /* 状态码 */
Message string `json:"message,omitempty"` /* 提示信息 */
ReturnObj *CcseGetClusterPolicyStatusReturnObjResponse `json:"returnObj"` /* 返回对象 */
Error string `json:"error,omitempty"` /* 错误码 */
}
type CcseGetClusterPolicyStatusReturnObjPolicyInstancesResponse ¶
type CcseGetClusterPolicyStatusReturnObjPolicyInstancesResponse struct {
PolicyCategory string `json:"policyCategory,omitempty"` /* 策略类型 */
PolicyName string `json:"policyName,omitempty"` /* 策略名称 */
PolicyDescription string `json:"policyDescription,omitempty"` /* 策略描述 */
PolicySeverity string `json:"policySeverity,omitempty"` /* 策略治理等级 */
PolicyInstancesCount int32 `json:"policyInstancesCount,omitempty"` /* 已部署的策略实例计数 */
}
type CcseGetClusterPolicyStatusReturnObjResponse ¶
type CcseGetClusterPolicyStatusReturnObjResponse struct {
PolicyInstances []*CcseGetClusterPolicyStatusReturnObjPolicyInstancesResponse `json:"policyInstances"` /* 不同策略类型下的策略实例计数列表 */
InstancesSeverityCount *CcseGetClusterPolicyStatusReturnObjInstancesSeverityCountResponse `json:"instancesSeverityCount"` /* Map<String,Object>类型,集群中当前部署的不同治理等级的策略实例计数 */
}
type CcseGetClusterQuotaApi ¶
type CcseGetClusterQuotaApi struct {
// contains filtered or unexported fields
}
func NewCcseGetClusterQuotaApi ¶
func NewCcseGetClusterQuotaApi(client *core.CtyunClient) *CcseGetClusterQuotaApi
func (*CcseGetClusterQuotaApi) Do ¶
func (a *CcseGetClusterQuotaApi) Do(ctx context.Context, credential core.Credential, req *CcseGetClusterQuotaRequest) (*CcseGetClusterQuotaResponse, error)
type CcseGetClusterQuotaRequest ¶
type CcseGetClusterQuotaRequest struct {
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004422" target="_blank">云容器引擎资源池</a>
另外您通过<a href="https://www.ctyun.cn/document/10026730/10028695" target="_blank">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81" target="_blank">资源池列表查询</a>
*/
}
type CcseGetClusterQuotaResponse ¶
type CcseGetClusterQuotaResponse struct {
StatusCode int32 `json:"statusCode,omitempty"` /* 状态码 */
Message string `json:"message,omitempty"` /* 提示信息 */
ReturnObj *CcseGetClusterQuotaReturnObjResponse `json:"returnObj"` /* 返回对象 */
Error string `json:"error,omitempty"` /* 错误码 */
}
type CcseGetClusterQuotaReturnObjResponse ¶
type CcseGetClusterQuotaReturnObjResponse struct {
QuotaCenterDataList []*CcseGetClusterQuotaReturnObjQuotaCenterDataListResponse `json:"quotaCenterDataList"` /* 配额数据列表 */
}
type CcseGetClusterRequest ¶
type CcseGetClusterRequest struct {
ClusterId string /* 集群ID,获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105">如何获取接口URI中参数</a>。 */
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004422" target="_blank">云容器引擎资源池</a>
另外您通过<a href="https://www.ctyun.cn/document/10026730/10028695" target="_blank">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81" target="_blank">资源池列表查询</a>
*/
}
type CcseGetClusterResourcesApi ¶
type CcseGetClusterResourcesApi struct {
// contains filtered or unexported fields
}
func NewCcseGetClusterResourcesApi ¶
func NewCcseGetClusterResourcesApi(client *core.CtyunClient) *CcseGetClusterResourcesApi
func (*CcseGetClusterResourcesApi) Do ¶
func (a *CcseGetClusterResourcesApi) Do(ctx context.Context, credential core.Credential, req *CcseGetClusterResourcesRequest) (*CcseGetClusterResourcesResponse, error)
type CcseGetClusterResourcesRequest ¶
type CcseGetClusterResourcesRequest struct {
ClusterId string /* 集群ID,获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105">如何获取接口URI中参数</a>。 */
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004422" target="_blank">云容器引擎资源池</a>
另外您通过<a href="https://www.ctyun.cn/document/10026730/10028695" target="_blank">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81" target="_blank">资源池列表查询</a>
*/
}
type CcseGetClusterResourcesResponse ¶
type CcseGetClusterResourcesResponse struct {
StatusCode int32 `json:"statusCode,omitempty"` /* 状态码 */
Message string `json:"message,omitempty"` /* 提示信息 */
ReturnObj []*CcseGetClusterResourcesReturnObjResponse `json:"returnObj"` /* 返回对象 */
Error string `json:"error,omitempty"` /* 错误码 */
}
type CcseGetClusterResponse ¶
type CcseGetClusterResponse struct {
StatusCode int32 `json:"statusCode,omitempty"` /* 状态码 */
Message string `json:"message,omitempty"` /* 提示信息 */
ReturnObj *CcseGetClusterReturnObjResponse `json:"returnObj"` /* 返回对象 */
Error string `json:"error,omitempty"` /* 错误码 */
}
type CcseGetClusterReturnObjResponse ¶
type CcseGetClusterReturnObjResponse struct {
Id string `json:"id,omitempty"` /* 集群ID */
ClusterName string `json:"clusterName,omitempty"` /* 集群名称 */
ClusterType int32 `json:"clusterType,omitempty"` /* 集群类型,表示如下
0:专有版
2:托管版 */
ClusterDesc string `json:"clusterDesc,omitempty"` /* 集群描述 */
DeployMode string `json:"deployMode,omitempty"` /* 集群部署模式 */
ClusterVersion string `json:"clusterVersion,omitempty"` /* 集群版本 */
ClusterStatus string `json:"clusterStatus,omitempty"` /* 集群状态,取值:<br />normal:正常。<br/>creating:创建中。<br/>create_fail:创建失败。<br/>adjust:规模调整中。<br/>updating:升级中。<br/>suspend:暂停。<br/>deleting:删除中。<br/>deleted:已删除。<br/>delete_fail:删除失败。<br/>resetting:节点重置中。<br/>resettled:节点已重置。<br/>reset_fail:节点重置失败。<br/>upgrading:集群升级中。<br/>upgrade_fail:集群升级失败。 */
Ipv4Ipv6 string `json:"ipv4Ipv6,omitempty"` /* IP协议版本,取值:<br/>ipv4:IPv4版本。<br/>ipv6:IPv6版本。 */
ControlPlaneProtocol string `json:"controlPlaneProtocol,omitempty"` /* 控制面接口协议,取值:<br/>ipv4:IPv4版本。<br/>ipv6:IPv6版本。 */
MasterExtraVip string `json:"masterExtraVip,omitempty"` /* master外网VIP地址 */
MasterExtraVipv6 string `json:"masterExtraVipv6,omitempty"` /* master业务VIPv6地址 */
MasterIntraVip string `json:"masterIntraVip,omitempty"` /* master内网VIP地址 */
MasterIntraVipv6 string `json:"masterIntraVipv6,omitempty"` /* master管理VIPv6地址 */
SecurePort int32 `json:"securePort,omitempty"` /* ApiServer安全端口 */
NonSecurePort int32 `json:"nonSecurePort,omitempty"` /* ApiServer非安全端口,0表示不开启非安全端口 */
StartPort int32 `json:"startPort,omitempty"` /* 节点服务起始端口 */
EndPort int32 `json:"endPort,omitempty"` /* 节点服务终止端口 */
ServiceCidr string `json:"serviceCidr,omitempty"` /* Service IP地址范围 */
ServiceCidrv6 string `json:"serviceCidrv6,omitempty"` /* Service IPv6地址范围 */
PodCidr string `json:"podCidr,omitempty"` /* Pod IP地址范围 */
PodCidrv6 string `json:"podCidrv6,omitempty"` /* Pod IPv6地址范围 */
CreatedTime string `json:"createdTime,omitempty"` /* 创建时间 */
ModifiedTime string `json:"modifiedTime,omitempty"` /* 修改时间 */
MasterNodeNum int32 `json:"masterNodeNum,omitempty"` /* master节点数量 */
SlaveNodeNum int32 `json:"slaveNodeNum,omitempty"` /* slave节点数量 */
GrafanaAddress string `json:"grafanaAddress,omitempty"` /* 监控面板grafana地址 */
BizState int32 `json:"bizState,omitempty"` /* 业务状态,1:运行中,2:已停止,3:已注销,4:已退订,5:扩容中,6:开通中,7:已取消,9:重启中,10:节点重置中,11:升级中,13:缩容中,14:已过期(冻结、过期),15:节点升规格中,17:创建失败,18:退订中,19:控制面升配中,20:休眠中,21:唤醒中,22:转订购模式中 */
ChannelLabel string `json:"channelLabel,omitempty"` /* 渠道标签 */
ResPoolId string `json:"resPoolId,omitempty"` /* 资源池ID */
ResPoolName string `json:"resPoolName,omitempty"` /* 资源池名称 */
Eip string `json:"eip,omitempty"` /* 集群绑定弹性ip */
Timezone string `json:"timezone,omitempty"` /* 时区 */
ContainerRuntime string `json:"containerRuntime,omitempty"` /* 容器运行时 */
NetworkPlugin string `json:"networkPlugin,omitempty"` /* 网络插件,包括calico、cubecni */
KubeProxyPattern string `json:"kubeProxyPattern,omitempty"` /* kube-proxy 代理模式,包括ipvs、iptables */
ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID */
ProdId string `json:"prodId,omitempty"` /* 集群规格编码 */
ExpireTime string `json:"expireTime,omitempty"` /* 到期时间 */
BillMode string `json:"billMode,omitempty"` /* 计费类型 */
MasterSlbIp string `json:"masterSlbIp,omitempty"` /* 集群ApiServer Elb IP */
VpcId string `json:"vpcId,omitempty"` /* 集群所属VPC ID */
VpcName string `json:"vpcName,omitempty"` /* 集群所属VPC名称 */
SubnetUuid string `json:"subnetUuid,omitempty"` /* 集群所属子网 */
SecurityGroupName string `json:"securityGroupName,omitempty"` /* 安全组名称 */
SecurityGroupId string `json:"securityGroupId,omitempty"` /* 安全组ID */
ClusterAlias string `json:"clusterAlias,omitempty"` /* 集群显示名称 */
}
type CcseGetClusterTaskApi ¶
type CcseGetClusterTaskApi struct {
// contains filtered or unexported fields
}
func NewCcseGetClusterTaskApi ¶
func NewCcseGetClusterTaskApi(client *core.CtyunClient) *CcseGetClusterTaskApi
func (*CcseGetClusterTaskApi) Do ¶
func (a *CcseGetClusterTaskApi) Do(ctx context.Context, credential core.Credential, req *CcseGetClusterTaskRequest) (*CcseGetClusterTaskResponse, error)
type CcseGetClusterTaskRequest ¶
type CcseGetClusterTaskRequest struct {
TaskId string /* 任务ID */
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004422" target="_blank">云容器引擎资源池</a>
另外您通过<a href="https://www.ctyun.cn/document/10026730/10028695" target="_blank">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81" target="_blank">资源池列表查询</a> */
}
type CcseGetClusterTaskResponse ¶
type CcseGetClusterTaskResponse struct {
StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码 */
RequestId string `json:"requestId,omitempty"` /* 请求ID */
Message string `json:"message,omitempty"` /* 响应信息 */
ReturnObj *CcseGetClusterTaskReturnObjResponse `json:"returnObj"` /* 请求结果 */
Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */
}
type CcseGetClusterTaskReturnObjResponse ¶
type CcseGetClusterTaskReturnObjResponse struct {
TaskId string `json:"taskId,omitempty"` /* 任务ID */
ClusterId string `json:"clusterId,omitempty"` /* 集群ID */
RegionId string `json:"regionId,omitempty"` /* 资源池Id */
TaskType string `json:"taskType,omitempty"` /* 任务类型 */
TaskStatus string `json:"taskStatus,omitempty"` /* 任务状态 */
ParallelNumber int32 `json:"parallelNumber,omitempty"` /* 并行数 */
TaskContent string `json:"taskContent,omitempty"` /* 任务内容 */
TaskResult string `json:"taskResult,omitempty"` /* 任务执行结果 */
RetryTime int32 `json:"retryTime,omitempty"` /* 重试次数 */
CreatedTime string `json:"createdTime,omitempty"` /* 创建时间 */
ModifyTime string `json:"modifyTime,omitempty"` /* 修改时间 */
}
type CcseGetClusterTempKubeConfigApi ¶
type CcseGetClusterTempKubeConfigApi struct {
// contains filtered or unexported fields
}
func NewCcseGetClusterTempKubeConfigApi ¶
func NewCcseGetClusterTempKubeConfigApi(client *core.CtyunClient) *CcseGetClusterTempKubeConfigApi
func (*CcseGetClusterTempKubeConfigApi) Do ¶
func (a *CcseGetClusterTempKubeConfigApi) Do(ctx context.Context, credential core.Credential, req *CcseGetClusterTempKubeConfigRequest) (*CcseGetClusterTempKubeConfigResponse, error)
type CcseGetClusterTempKubeConfigRequest ¶
type CcseGetClusterTempKubeConfigRequest struct {
ClusterId string /* 集群ID,获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105">如何获取接口URI中参数</a>。 */
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004422" target="_blank">云容器引擎资源池</a>
另外您通过<a href="https://www.ctyun.cn/document/10026730/10028695" target="_blank">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81" target="_blank">资源池列表查询</a> */
IsPublic bool /* 是否获取公网KubeConfig,公网Kubeconfig需要集群APIServer绑定eip */
ValidPeriod int32 /* KubeConfig有效期,单位为秒;参数取值范围为[600, 2147483647]
注:Kubernetes证书最大有效期由kube-controller-manager参数ClustersigningDuration决定,若设置的validPeriod超过ClustersigningDuration的值,则会被置为ClustersigningDuration的值,ClustersigningDuration参数默认值为一年。生成的KubeConfig实际有效期请通过接口返回的expireDate确认。 */
}
type CcseGetClusterTempKubeConfigResponse ¶
type CcseGetClusterTempKubeConfigResponse struct {
StatusCode int32 `json:"statusCode,omitempty"` /* 状态码 */
Message string `json:"message,omitempty"` /* 提示信息 */
ReturnObj *CcseGetClusterTempKubeConfigReturnObjResponse `json:"returnObj"` /* 返回对象 */
Error string `json:"error,omitempty"` /* 错误码 */
}
type CcseGetConfigMapApi ¶
type CcseGetConfigMapApi struct {
// contains filtered or unexported fields
}
func NewCcseGetConfigMapApi ¶
func NewCcseGetConfigMapApi(client *core.CtyunClient) *CcseGetConfigMapApi
func (*CcseGetConfigMapApi) Do ¶
func (a *CcseGetConfigMapApi) Do(ctx context.Context, credential core.Credential, req *CcseGetConfigMapRequest) (*CcseGetConfigMapResponse, error)
type CcseGetConfigMapRequest ¶
type CcseGetConfigMapRequest struct {
ClusterId string /* 集群id,获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105">如何获取接口URI中参数</a>。 */
NamespaceName string /* 命名空间名称 */
ConfigmapName string /* 资源名称 */
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004422" target="_blank">云容器引擎资源池</a>
另外您通过<a href="https://www.ctyun.cn/document/10026730/10028695" target="_blank">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81" target="_blank">资源池列表查询</a> */
}
type CcseGetCronHorizontalPodAutoscalerApi ¶
type CcseGetCronHorizontalPodAutoscalerApi struct {
// contains filtered or unexported fields
}
func NewCcseGetCronHorizontalPodAutoscalerApi ¶
func NewCcseGetCronHorizontalPodAutoscalerApi(client *core.CtyunClient) *CcseGetCronHorizontalPodAutoscalerApi
func (*CcseGetCronHorizontalPodAutoscalerApi) Do ¶
func (a *CcseGetCronHorizontalPodAutoscalerApi) Do(ctx context.Context, credential core.Credential, req *CcseGetCronHorizontalPodAutoscalerRequest) (*CcseGetCronHorizontalPodAutoscalerResponse, error)
type CcseGetCronHorizontalPodAutoscalerRequest ¶
type CcseGetCronHorizontalPodAutoscalerRequest struct {
ClusterId string /* 集群ID,获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105">如何获取接口URI中参数</a>。 */
NamespaceName string /* 命名空间名称 */
Name string /* 资源名称 */
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004422" target="_blank">云容器引擎资源池</a>
另外您通过<a href="https://www.ctyun.cn/document/10026730/10028695" target="_blank">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81" target="_blank">资源池列表查询</a>
*/
}
type CcseGetDaemonSetApi ¶
type CcseGetDaemonSetApi struct {
// contains filtered or unexported fields
}
func NewCcseGetDaemonSetApi ¶
func NewCcseGetDaemonSetApi(client *core.CtyunClient) *CcseGetDaemonSetApi
func (*CcseGetDaemonSetApi) Do ¶
func (a *CcseGetDaemonSetApi) Do(ctx context.Context, credential core.Credential, req *CcseGetDaemonSetRequest) (*CcseGetDaemonSetResponse, error)
type CcseGetDaemonSetRequest ¶
type CcseGetDaemonSetRequest struct {
ClusterId string /* 集群ID,获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105">如何获取接口URI中参数</a>。 */
NamespaceName string /* 命名空间名称 */
DaemonsetName string /* 资源名称 */
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004422" target="_blank">云容器引擎资源池</a>
另外您通过<a href="https://www.ctyun.cn/document/10026730/10028695" target="_blank">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81" target="_blank">资源池列表查询</a> */
}
type CcseGetDeploymentApi ¶
type CcseGetDeploymentApi struct {
// contains filtered or unexported fields
}
func NewCcseGetDeploymentApi ¶
func NewCcseGetDeploymentApi(client *core.CtyunClient) *CcseGetDeploymentApi
func (*CcseGetDeploymentApi) Do ¶
func (a *CcseGetDeploymentApi) Do(ctx context.Context, credential core.Credential, req *CcseGetDeploymentRequest) (*CcseGetDeploymentResponse, error)
type CcseGetDeploymentRequest ¶
type CcseGetDeploymentRequest struct {
ClusterId string /* 集群ID,获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105">如何获取接口URI中参数</a>。 */
NamespaceName string /* 命名空间名称 */
DeploymentName string /* 资源名称 */
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004422" target="_blank">云容器引擎资源池</a>
另外您通过<a href="https://www.ctyun.cn/document/10026730/10028695" target="_blank">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81" target="_blank">资源池列表查询</a> */
}
type CcseGetHorizontalPodAutoscalerApi ¶
type CcseGetHorizontalPodAutoscalerApi struct {
// contains filtered or unexported fields
}
func NewCcseGetHorizontalPodAutoscalerApi ¶
func NewCcseGetHorizontalPodAutoscalerApi(client *core.CtyunClient) *CcseGetHorizontalPodAutoscalerApi
func (*CcseGetHorizontalPodAutoscalerApi) Do ¶
func (a *CcseGetHorizontalPodAutoscalerApi) Do(ctx context.Context, credential core.Credential, req *CcseGetHorizontalPodAutoscalerRequest) (*CcseGetHorizontalPodAutoscalerResponse, error)
type CcseGetHorizontalPodAutoscalerRequest ¶
type CcseGetHorizontalPodAutoscalerRequest struct {
ClusterId string /* 集群ID,获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105">如何获取接口URI中参数</a>。 */
NamespaceName string /* 命名空间名称 */
Name string /* 资源名称 */
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004422" target="_blank">云容器引擎资源池</a>
另外您通过<a href="https://www.ctyun.cn/document/10026730/10028695" target="_blank">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81" target="_blank">资源池列表查询</a>
*/
}
type CcseGetJobApi ¶
type CcseGetJobApi struct {
// contains filtered or unexported fields
}
func NewCcseGetJobApi ¶
func NewCcseGetJobApi(client *core.CtyunClient) *CcseGetJobApi
func (*CcseGetJobApi) Do ¶
func (a *CcseGetJobApi) Do(ctx context.Context, credential core.Credential, req *CcseGetJobRequest) (*CcseGetJobResponse, error)
type CcseGetJobRequest ¶
type CcseGetJobRequest struct {
ClusterId string /* 集群Id,获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105">如何获取接口URI中参数</a>。 */
NamespaceName string /* 命名空间名称 */
JobName string /* 资源名称 */
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004422" target="_blank">云容器引擎资源池</a>
另外您通过<a href="https://www.ctyun.cn/document/10026730/10028695" target="_blank">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81" target="_blank">资源池列表查询</a> */
}
type CcseGetJobResponse ¶
type CcseGetKubernetesVersionsApi ¶
type CcseGetKubernetesVersionsApi struct {
// contains filtered or unexported fields
}
func NewCcseGetKubernetesVersionsApi ¶
func NewCcseGetKubernetesVersionsApi(client *core.CtyunClient) *CcseGetKubernetesVersionsApi
func (*CcseGetKubernetesVersionsApi) Do ¶
func (a *CcseGetKubernetesVersionsApi) Do(ctx context.Context, credential core.Credential, req *CcseGetKubernetesVersionsRequest) (*CcseGetKubernetesVersionsResponse, error)
type CcseGetKubernetesVersionsRequest ¶
type CcseGetKubernetesVersionsRequest struct {
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004422" target="_blank">云容器引擎资源池</a>
另外您通过<a href="https://www.ctyun.cn/document/10026730/10028695" target="_blank">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81" target="_blank">资源池列表查询</a>
*/
}
type CcseGetKubernetesVersionsResponse ¶
type CcseGetKubernetesVersionsResponse struct {
StatusCode int32 `json:"statusCode,omitempty"` /* 状态码 */
Message string `json:"message,omitempty"` /* 提示信息 */
ReturnObj []*CcseGetKubernetesVersionsReturnObjResponse `json:"returnObj"` /* 返回对象 */
Error string `json:"error,omitempty"` /* 错误码 */
}
type CcseGetKubernetesVersionsReturnObjResponse ¶
type CcseGetKubernetesVersionsReturnObjResponse struct {
Runtimes []*CcseGetKubernetesVersionsReturnObjRuntimesResponse `json:"runtimes"` /* 容器运行时 */
Multi_az string `json:"multi_az,omitempty"` /* 是否支持多AZ */
Version string `json:"version,omitempty"` /* 版本 */
}
type CcseGetNodeDetailApi ¶
type CcseGetNodeDetailApi struct {
// contains filtered or unexported fields
}
func NewCcseGetNodeDetailApi ¶
func NewCcseGetNodeDetailApi(client *core.CtyunClient) *CcseGetNodeDetailApi
func (*CcseGetNodeDetailApi) Do ¶
func (a *CcseGetNodeDetailApi) Do(ctx context.Context, credential core.Credential, req *CcseGetNodeDetailRequest) (*CcseGetNodeDetailResponse, error)
type CcseGetNodeDetailRequest ¶
type CcseGetNodeDetailRequest struct {
ClusterId string /* 集群ID,获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105">如何获取接口URI中参数</a>。 */
NodeName string /* 节点名称 */
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87">资源池列表查询</a> */
}
type CcseGetNodeDetailResponse ¶
type CcseGetNodeDetailResponse struct {
StatusCode int32 `json:"statusCode,omitempty"` /* 状态码 */
Message string `json:"message,omitempty"` /* 提示信息 */
ReturnObj *CcseGetNodeDetailReturnObjResponse `json:"returnObj"` /* 返回参数 */
Error string `json:"error,omitempty"` /* 错误码 */
}
type CcseGetNodeDetailReturnObjResponse ¶
type CcseGetNodeDetailReturnObjResponse struct {
NodeName string `json:"nodeName,omitempty"` /* 集群节点名称 */
NodeType int32 `json:"nodeType,omitempty"` /* 节点类型,取值:<br/>1:master <br/>2:slave */
NodeStatus string `json:"nodeStatus,omitempty"` /* 节点状态,取值:<br/>normal:健康<br/>abnormal:异常<br/>expulsion:驱逐中 */
IsSchedule int32 `json:"isSchedule,omitempty"` /* 是否调度,取值: 1:是 <br />0:否 */
IsEvict int32 `json:"isEvict,omitempty"` /* 是否驱逐,取值: 1:是 <br />0:否 */
CreatedTime string `json:"createdTime,omitempty"` /* 创建时间 */
HostIp string `json:"hostIp,omitempty"` /* 主机管理ip */
HostExtraIpv6 string `json:"hostExtraIpv6,omitempty"` /* 主机业务ipv6 */
KubeletVersion string `json:"kubeletVersion,omitempty"` /* Kubelet 版本 */
PodCidr string `json:"podCidr,omitempty"` /* Pod CIDR */
KernelVersion string `json:"kernelVersion,omitempty"` /* 内核版本 */
OsImageVersion string `json:"osImageVersion,omitempty"` /* OS 镜像 */
KubeProxyVersion string `json:"kubeProxyVersion,omitempty"` /* KubeProxy 版本 */
EcsId string `json:"ecsId,omitempty"` /* 云主机ID */
HostType string `json:"hostType,omitempty"` /* host类型 */
ZoneName string `json:"zoneName,omitempty"` /* 可用区名称 */
ZoneCode string `json:"zoneCode,omitempty"` /* 可用区编码 */
}
type CcseGetNodePoolApi ¶
type CcseGetNodePoolApi struct {
// contains filtered or unexported fields
}
func NewCcseGetNodePoolApi ¶
func NewCcseGetNodePoolApi(client *core.CtyunClient) *CcseGetNodePoolApi
func (*CcseGetNodePoolApi) Do ¶
func (a *CcseGetNodePoolApi) Do(ctx context.Context, credential core.Credential, req *CcseGetNodePoolRequest) (*CcseGetNodePoolResponse, error)
type CcseGetNodePoolRequest ¶
type CcseGetNodePoolRequest struct {
ClusterId string /* 集群ID,获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105" target="_blank">如何获取接口URI中参数</a>。 */
NodePoolId string /* 节点池ID,获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105" target="_blank">如何获取接口URI中参数</a>。 */
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004422" target="_blank">云容器引擎资源池</a>
另外您通过<a href="https://www.ctyun.cn/document/10026730/10028695" target="_blank">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81" target="_blank">资源池列表查询</a> */
}
type CcseGetNodePoolResponse ¶
type CcseGetNodePoolResponse struct {
StatusCode int32 `json:"statusCode,omitempty"` /* 状态码 */
Message string `json:"message,omitempty"` /* 提示信息 */
ReturnObj *CcseGetNodePoolReturnObjResponse `json:"returnObj"` /* 返回对象 */
Error string `json:"error,omitempty"` /* 错误码 */
}
type CcseGetNodePoolReturnObjAzInfoResponse ¶
type CcseGetNodePoolReturnObjAzInfoResponse struct {
AzName string `json:"azName,omitempty"` /* azName */
}
type CcseGetNodePoolReturnObjKubeletArgsResponse ¶
type CcseGetNodePoolReturnObjKubeletArgsResponse struct{}
type CcseGetNodePoolReturnObjLabelsResponse ¶
type CcseGetNodePoolReturnObjLabelsResponse struct{}
type CcseGetNodePoolReturnObjNodesLabelsResponse ¶
type CcseGetNodePoolReturnObjNodesLabelsResponse struct{}
type CcseGetNodePoolReturnObjNodesResponse ¶
type CcseGetNodePoolReturnObjNodesResponse struct {
ClusterId string `json:"clusterId,omitempty"` /* 集群ID */
NodeName string `json:"nodeName,omitempty"` /* 节点名称 */
NodeType int32 `json:"nodeType,omitempty"` /* 节点类型,取值:<br />1:master <br />2:slave */
NodeStatus string `json:"nodeStatus,omitempty"` /* 节点状态,取值:<br/>normal:健康。<br/>abnormal:异常。<br/>expulsion:驱逐中。 */
IsSchedule int32 `json:"isSchedule,omitempty"` /* 是否调度,取值: 1:是。 <br />0:否。 */
IsEvict int32 `json:"isEvict,omitempty"` /* 是否驱逐,取值: 1:是。 <br />0:否。 */
DockerDataPath string `json:"dockerDataPath,omitempty"` /* docker数据目录 */
CreatedTime string `json:"createdTime,omitempty"` /* 创建时间。 */
HostIp string `json:"hostIp,omitempty"` /* 主机管理ip。 */
HostIpv6 string `json:"hostIpv6,omitempty"` /* 主机管理ipv6。 */
HostExtraIp string `json:"hostExtraIp,omitempty"` /* 主机业务ip。 */
HostExtraIpv6 string `json:"hostExtraIpv6,omitempty"` /* 主机业务ipv6。 */
Cpu string `json:"cpu,omitempty"` /* cpu核数 */
CpuUseRate int32 `json:"cpuUseRate,omitempty"` /* cpu使用率% */
Memory string `json:"memory,omitempty"` /* 内存 */
MemoryUseRate int32 `json:"memoryUseRate,omitempty"` /* 内存使用率% */
Disk string `json:"disk,omitempty"` /* 磁盘GiB */
DiskUseRate int32 `json:"diskUseRate,omitempty"` /* 磁盘使用率% */
KubeletVersion string `json:"kubeletVersion,omitempty"` /* Kubelet 版本 */
PodCidr string `json:"podCidr,omitempty"` /* Pod CIDR */
KernelVersion string `json:"kernelVersion,omitempty"` /* 内核版本 */
OsImageVersion string `json:"osImageVersion,omitempty"` /* OS 镜像 */
KubeProxyVersion string `json:"kubeProxyVersion,omitempty"` /* KubeProxy 版本 */
DockerVersion string `json:"dockerVersion,omitempty"` /* 容器版本 */
IsSecure int32 `json:"isSecure,omitempty"` /* 是否安全节点,取值:<br />1:是。 <br />0:否。 */
Taints []*CcseGetNodePoolReturnObjNodesTaintsResponse `json:"taints"` /* 污点 */
ChannelLabel string `json:"channelLabel,omitempty"` /* 渠道标签 */
ZoneName string `json:"zoneName,omitempty"` /* 可用区名称 */
CloudHostId string `json:"cloudHostId,omitempty"` /* 云主机id */
Labels *CcseGetNodePoolReturnObjNodesLabelsResponse `json:"labels"` /* 标签 */
EcsId string `json:"ecsId,omitempty"` /* paas平台云主机id */
VmSpecName string `json:"vmSpecName,omitempty"` /* 节点规格名称 */
Architecture string `json:"architecture,omitempty"` /* 架构 */
NeedShowHostRoom string `json:"needShowHostRoom,omitempty"` /* 是否显示机房信息 */
RoomName string `json:"roomName,omitempty"` /* 机房名称 */
FrameCode string `json:"frameCode,omitempty"` /* 机柜编码 */
PhysicalPosition string `json:"physicalPosition,omitempty"` /* 物理位置 */
RoomInfo string `json:"roomInfo,omitempty"` /* 机房信息 */
HostType string `json:"hostType,omitempty"` /* host类型 */
ResourceId string `json:"resourceId,omitempty"` /* 资源id */
NodeScaleDownProject string `json:"nodeScaleDownProject,omitempty"` /* 开启/关闭缩容保护 */
NodePoolName string `json:"nodePoolName,omitempty"` /* 节点池名称 */
LoginType string `json:"loginType,omitempty"` /* 登陆类型 */
VirtualNodeId string `json:"virtualNodeId,omitempty"` /* 虚拟节点ID */
}
type CcseGetNodePoolReturnObjResponse ¶
type CcseGetNodePoolReturnObjResponse struct {
Id string `json:"id,omitempty"` /* 节点池id */
NodePoolName string `json:"nodePoolName,omitempty"` /* 节点池名称 */
BillMode string `json:"billMode,omitempty"` /* 付费类型 */
Description string `json:"description,omitempty"` /* 描述 */
NodeTotalNum int32 `json:"nodeTotalNum,omitempty"` /* 节点总数 */
NormalNodeNum int32 `json:"normalNodeNum,omitempty"` /* 正常节点数 */
UnNormalNodeNum int32 `json:"unNormalNodeNum,omitempty"` /* 异常节点数 */
Nodes []*CcseGetNodePoolReturnObjNodesResponse `json:"nodes"` /* 节点池节点信息 */
Runtime string `json:"runtime,omitempty"` /* 运行时 */
RuntimeVersion string `json:"runtimeVersion,omitempty"` /* 运行时版本 */
NodeGroup string `json:"nodeGroup,omitempty"` /* 伸缩组 */
VmSpecName string `json:"vmSpecName,omitempty"` /* 节点规格 */
VmType string `json:"vmType,omitempty"` /* 节点规格类型 */
Cpu int32 `json:"cpu,omitempty"` /* cpu */
Memory int32 `json:"memory,omitempty"` /* 内存 */
DataDisks []*CcseGetNodePoolReturnObjDataDisksResponse `json:"dataDisks"` /* 数据盘 */
Status string `json:"status,omitempty"` /* 状态 */
MaxPodNum int32 `json:"maxPodNum,omitempty"` /* 最大pod数 */
Labels *CcseGetNodePoolReturnObjLabelsResponse `json:"labels"` /* 标签 */
Taints []*CcseGetNodePoolReturnObjTaintsResponse `json:"taints"` /* 污点 */
IsDefault *bool `json:"isDefault"` /* 是否默认 */
EnableAutoScale *bool `json:"enableAutoScale"` /* 是否自动弹性伸缩 */
MaxNum int32 `json:"maxNum,omitempty"` /* 伸缩组最大数量 */
MinNum int32 `json:"minNum,omitempty"` /* 伸缩组最小数量 */
KubeletArgs *CcseGetNodePoolReturnObjKubeletArgsResponse `json:"kubeletArgs"` /* kubelet参数 */
CreatedTime string `json:"createdTime,omitempty"` /* 创建时间 */
UpdatedTime string `json:"updatedTime,omitempty"` /* 更新时间 */
Vpc string `json:"vpc,omitempty"` /* vpc名称 */
Subnetwork string `json:"subnetwork,omitempty"` /* 子网 */
SecruityGroupName string `json:"secruityGroupName,omitempty"` /* 安全组名称 */
ImageType int32 `json:"imageType,omitempty"` /* 操作系统镜像类型 */
ImageName string `json:"imageName,omitempty"` /* 操作系统镜像名称 */
KeyName string `json:"keyName,omitempty"` /* ebm密钥对使用字段 */
KeyPairId string `json:"keyPairId,omitempty"` /* ecs密钥对使用字段 */
VisibilityPostHostScript string `json:"visibilityPostHostScript,omitempty"` /* 部署后执行自定义脚本 */
AzInfo []*CcseGetNodePoolReturnObjAzInfoResponse `json:"azInfo"` /* 可用区 */
SubnetUuid string `json:"subnetUuid,omitempty"` /* 子网UUID */
}
type CcseGetPersistentVolumeApi ¶
type CcseGetPersistentVolumeApi struct {
// contains filtered or unexported fields
}
func NewCcseGetPersistentVolumeApi ¶
func NewCcseGetPersistentVolumeApi(client *core.CtyunClient) *CcseGetPersistentVolumeApi
func (*CcseGetPersistentVolumeApi) Do ¶
func (a *CcseGetPersistentVolumeApi) Do(ctx context.Context, credential core.Credential, req *CcseGetPersistentVolumeRequest) (*CcseGetPersistentVolumeResponse, error)
type CcseGetPersistentVolumeClaimApi ¶
type CcseGetPersistentVolumeClaimApi struct {
// contains filtered or unexported fields
}
func NewCcseGetPersistentVolumeClaimApi ¶
func NewCcseGetPersistentVolumeClaimApi(client *core.CtyunClient) *CcseGetPersistentVolumeClaimApi
func (*CcseGetPersistentVolumeClaimApi) Do ¶
func (a *CcseGetPersistentVolumeClaimApi) Do(ctx context.Context, credential core.Credential, req *CcseGetPersistentVolumeClaimRequest) (*CcseGetPersistentVolumeClaimResponse, error)
type CcseGetPersistentVolumeClaimRequest ¶
type CcseGetPersistentVolumeClaimRequest struct {
ClusterId string /* 集群id,获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105">如何获取接口URI中参数</a>。 */
NamespaceName string /* 命名空间名称 */
PersistentVolumeClaimName string /* 资源名称 */
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004422" target="_blank">云容器引擎资源池</a>
另外您通过<a href="https://www.ctyun.cn/document/10026730/10028695" target="_blank">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81" target="_blank">资源池列表查询</a> */
}
type CcseGetPersistentVolumeRequest ¶
type CcseGetPersistentVolumeRequest struct {
ClusterId string /* 集群id,获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105">如何获取接口URI中参数</a>。 */
PersistentVolumeName string /* 资源名称 */
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004422" target="_blank">云容器引擎资源池</a>
另外您通过<a href="https://www.ctyun.cn/document/10026730/10028695" target="_blank">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81" target="_blank">资源池列表查询</a> */
}
type CcseGetPluginInstanceApi ¶
type CcseGetPluginInstanceApi struct {
// contains filtered or unexported fields
}
func NewCcseGetPluginInstanceApi ¶
func NewCcseGetPluginInstanceApi(client *core.CtyunClient) *CcseGetPluginInstanceApi
func (*CcseGetPluginInstanceApi) Do ¶
func (a *CcseGetPluginInstanceApi) Do(ctx context.Context, credential core.Credential, req *CcseGetPluginInstanceRequest) (*CcseGetPluginInstanceResponse, error)
type CcseGetPluginInstanceRequest ¶
type CcseGetPluginInstanceRequest struct {
ClusterId string /* 集群ID,获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105">如何获取接口URI中参数</a>。 */
PluginName string /* 插件名称 */
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004422" target="_blank">云容器引擎资源池</a>
另外您通过<a href="https://www.ctyun.cn/document/10026730/10028695" target="_blank">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81" target="_blank">资源池列表查询</a> */
Namespace string /* 插件所在命名空间名称 */
}
type CcseGetPluginInstanceResponse ¶
type CcseGetPluginInstanceResponse struct {
StatusCode int32 `json:"statusCode,omitempty"` /* 状态码 */
RequestId string `json:"requestId,omitempty"` /* 请求id */
Message string `json:"message,omitempty"` /* 提示信息 */
ReturnObj *CcseGetPluginInstanceReturnObjResponse `json:"returnObj"` /* 返回对象 */
Error string `json:"error,omitempty"` /* 错误码 */
}
type CcseGetPluginInstanceReturnObjReleaseHistoryListDTOSResponse ¶
type CcseGetPluginInstanceReturnObjReleaseHistoryListDTOSResponse struct {
Revision string `json:"revision,omitempty"` /* 版本 */
Updated string `json:"updated,omitempty"` /* 更新时间。 */
Status string `json:"status,omitempty"` /* 状态。 */
Chart string `json:"chart,omitempty"` /* Chart名称和版本。 */
AppVersion string `json:"appVersion,omitempty"` /* 版本。 */
Description string `json:"description,omitempty"` /* 描述。 */
ClusterId string `json:"clusterId,omitempty"` /* 集群ID。 */
Name string `json:"name,omitempty"` /* 实例名称。 */
Namespace string `json:"namespace,omitempty"` /* 命名空间。 */
ChartName string `json:"chartName,omitempty"` /* Chart名称。 */
ChartVersion string `json:"chartVersion,omitempty"` /* Chart版本。 */
}
type CcseGetPluginInstanceReturnObjResponse ¶
type CcseGetPluginInstanceReturnObjResponse struct {
ReleaseHistoryListDTOS []*CcseGetPluginInstanceReturnObjReleaseHistoryListDTOSResponse `json:"releaseHistoryListDTOS"` /* 插件实例发布历史版本列表 */
FirstDeployTime string `json:"firstDeployTime,omitempty"` /* 首次发布时间。 */
LastDeployTime string `json:"lastDeployTime,omitempty"` /* 最新发布时间。 */
Name string `json:"name,omitempty"` /* 插件实例名称。 */
Namespace string `json:"namespace,omitempty"` /* 命名空间。 */
Values string `json:"values,omitempty"` /* values参数。 */
ResourceDTOS []*CcseGetPluginInstanceReturnObjResourceDTOSResponse `json:"resourceDTOS"` /* 资源列表。 */
ClusterName string `json:"clusterName,omitempty"` /* 集群ID */
CreatedTime string `json:"createdTime,omitempty"` /* 创建时间 */
ChartVersion string `json:"chartVersion,omitempty"` /* chart版本 */
Status string `json:"status,omitempty"` /* 状态 */
Readme string `json:"readme,omitempty"` /* 说明 */
ChartUrl string `json:"chartUrl,omitempty"` /* chart url */
RepositoryId int64 `json:"repositoryId,omitempty"` /* 仓库ID */
ChartName string `json:"chartName,omitempty"` /* chart名称 */
Icon string `json:"icon,omitempty"` /* icon名称 */
}
type CcseGetPodApi ¶
type CcseGetPodApi struct {
// contains filtered or unexported fields
}
func NewCcseGetPodApi ¶
func NewCcseGetPodApi(client *core.CtyunClient) *CcseGetPodApi
func (*CcseGetPodApi) Do ¶
func (a *CcseGetPodApi) Do(ctx context.Context, credential core.Credential, req *CcseGetPodRequest) (*CcseGetPodResponse, error)
type CcseGetPodRequest ¶
type CcseGetPodRequest struct {
ClusterId string /* 集群id, 获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105">如何获取接口URI中参数</a>。 */
NamespaceName string /* 命名空间名称 */
PodName string /* 资源名称 */
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004422" target="_blank">云容器引擎资源池</a>
另外您通过<a href="https://www.ctyun.cn/document/10026730/10028695" target="_blank">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81" target="_blank">资源池列表查询</a> */
}
type CcseGetPodResponse ¶
type CcseGetPodResponse struct {
StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码 */
Message string `json:"message,omitempty"` /* 响应信息 */
ReturnObj string `json:"returnObj,omitempty"` /* 返回结果 */
Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */
RequestId string `json:"requestId,omitempty"` /* 请求ID */
}
type CcseGetPolicyGovernanceApi ¶
type CcseGetPolicyGovernanceApi struct {
// contains filtered or unexported fields
}
func NewCcseGetPolicyGovernanceApi ¶
func NewCcseGetPolicyGovernanceApi(client *core.CtyunClient) *CcseGetPolicyGovernanceApi
func (*CcseGetPolicyGovernanceApi) Do ¶
func (a *CcseGetPolicyGovernanceApi) Do(ctx context.Context, credential core.Credential, req *CcseGetPolicyGovernanceRequest) (*CcseGetPolicyGovernanceResponse, error)
type CcseGetPolicyGovernanceRequest ¶
type CcseGetPolicyGovernanceRequest struct {
ClusterId string /* 集群ID,获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105">如何获取接口URI中参数</a>。 */
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004422" target="_blank">云容器引擎资源池</a>
另外您通过<a href="https://www.ctyun.cn/document/10026730/10028695" target="_blank">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81" target="_blank">资源池列表查询</a> */
}
type CcseGetPolicyGovernanceResponse ¶
type CcseGetPolicyGovernanceResponse struct {
StatusCode int32 `json:"statusCode,omitempty"` /* 状态码 */
Message string `json:"message,omitempty"` /* 提示信息 */
ReturnObj *CcseGetPolicyGovernanceReturnObjResponse `json:"returnObj"` /* 返回对象 */
Error string `json:"error,omitempty"` /* 错误码 */
}
type CcseGetPolicyGovernanceReturnObjAdmitLogLogResponse ¶
type CcseGetPolicyGovernanceReturnObjAdmitLogLogResponse struct {
ClusterId string `json:"clusterId,omitempty"` /* 目标集群ID */
ConstraintKind int64 `json:"constraintKind,omitempty"` /* 策略类型名称 */
ResourceName string `json:"resourceName,omitempty"` /* 目标资源名称 */
ResourceKind string `json:"resourceKind,omitempty"` /* 目标资源类型 */
ResourceNamespace string `json:"resourceNamespace,omitempty"` /* 目标资源命名空间 */
Msg string `json:"msg,omitempty"` /* 策略治理审计日志信息 */
}
type CcseGetPolicyGovernanceReturnObjAdmitLogResponse ¶
type CcseGetPolicyGovernanceReturnObjAdmitLogResponse struct {
Progress string `json:"progress,omitempty"` /* 查询结果的状态:Complete, Incomplete */
Count int64 `json:"count,omitempty"` /* 当前查询到的日志总数 */
Log []*CcseGetPolicyGovernanceReturnObjAdmitLogLogResponse `json:"log"` /* 策略治理审计日志内容 */
}
type CcseGetPolicyGovernanceReturnObjResponse ¶
type CcseGetPolicyGovernanceReturnObjResponse struct {
OnState []*CcseGetPolicyGovernanceReturnObjOnStateResponse `json:"onState"` /* 当前集群中开启的不同等级策略计数统计 */
Violations *CcseGetPolicyGovernanceReturnObjViolationsResponse `json:"violations"` /* 集群中针对不同策略类型的拦截和告警的审计计数统计列表 */
AdmitLog *CcseGetPolicyGovernanceReturnObjAdmitLogResponse `json:"admitLog"` /* 集群当前策略治理审计日志 */
}
type CcseGetPolicyGovernanceReturnObjViolationsDenyResponse ¶
type CcseGetPolicyGovernanceReturnObjViolationsDenyResponse struct {
PolicyName string `json:"policyName,omitempty"` /* 策略名称 */
PolicyDesc string `json:"policyDesc,omitempty"` /* 策略描述 */
Violations int32 `json:"violations,omitempty"` /* 集群中对应规则类型下被拦截的违规计数统计 */
Severity string `json:"severity,omitempty"` /* 策略治理等级 */
}
type CcseGetPolicyGovernanceReturnObjViolationsResponse ¶
type CcseGetPolicyGovernanceReturnObjViolationsResponse struct {
Deny []*CcseGetPolicyGovernanceReturnObjViolationsDenyResponse `json:"deny"` /* 拦截模式下不同治理等级的违规计数统计 */
Warn []*CcseGetPolicyGovernanceReturnObjViolationsWarnResponse `json:"warn"` /* 告警模式下不同治理等级的违规计数统计 */
DenyCount *CcseGetPolicyGovernanceReturnObjViolationsDenyCountResponse `json:"denyCount"` /* 告警模式下High治理等级的违规计数统计 */
WarnCount *CcseGetPolicyGovernanceReturnObjViolationsWarnCountResponse `json:"warnCount"` /* 告警模式下Medium治理等级的违规计数统计 */
}
type CcseGetPolicyGovernanceReturnObjViolationsWarnResponse ¶
type CcseGetPolicyGovernanceReturnObjViolationsWarnResponse struct {
PolicyName string `json:"policyName,omitempty"` /* 策略名称 */
PolicyDesc string `json:"policyDesc,omitempty"` /* 策略描述 */
Violations int32 `json:"violations,omitempty"` /* 集群中对应规则类型下被拦截的违规计数统计 */
Severity string `json:"severity,omitempty"` /* 策略治理等级 */
}
type CcseGetPolicyTemplateApi ¶
type CcseGetPolicyTemplateApi struct {
// contains filtered or unexported fields
}
func NewCcseGetPolicyTemplateApi ¶
func NewCcseGetPolicyTemplateApi(client *core.CtyunClient) *CcseGetPolicyTemplateApi
func (*CcseGetPolicyTemplateApi) Do ¶
func (a *CcseGetPolicyTemplateApi) Do(ctx context.Context, credential core.Credential, req *CcseGetPolicyTemplateRequest) (*CcseGetPolicyTemplateResponse, error)
type CcseGetPolicyTemplateRequest ¶
type CcseGetPolicyTemplateRequest struct {
PolicyName string /* 策略治理规则名称,您可以通过查询策略治理规则列表接口来获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=43&api=18948&data=128&isNormal=1&vid=121">查询策略治理规则列表</a> */
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004422" target="_blank">云容器引擎资源池</a>
另外您通过<a href="https://www.ctyun.cn/document/10026730/10028695" target="_blank">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81" target="_blank">资源池列表查询</a> */
}
type CcseGetPolicyTemplateResponse ¶
type CcseGetPolicyTemplateResponse struct {
StatusCode int32 `json:"statusCode,omitempty"` /* 状态码 */
Message string `json:"message,omitempty"` /* 提示信息 */
ReturnObj *CcseGetPolicyTemplateReturnObjResponse `json:"returnObj"` /* 返回对象 */
Error string `json:"error,omitempty"` /* 错误码 */
}
type CcseGetPolicyTemplateReturnObjResponse ¶
type CcseGetPolicyTemplateReturnObjResponse struct {
PolicyId int64 `json:"policyId,omitempty"` /* 规则ID */
Name string `json:"name,omitempty"` /* 规则名称 */
Category string `json:"category,omitempty"` /* 规则模板类型 */
Desc string `json:"desc,omitempty"` /* 规则模板描述 */
Action string `json:"action,omitempty"` /* 规则治理动作,取值:<br /> enforce:拦截违规部署<br /> inform:告警 */
Severity string `json:"severity,omitempty"` /* 规则治理等级,取值:<br /> high<br /> medium<br /> low */
NoConfig int32 `json:"noConfig,omitempty"` /* 是否需要配置策略,取值:<br /> 0:需要<br /> 1:不需要 */
Template string `json:"template,omitempty"` /* 规则模板详情 */
InstanceTemplate string `json:"instanceTemplate,omitempty"` /* 实例规则模板详情 */
Status int32 `json:"status,omitempty"` /* 状态,取值:<br /> 1:有效<br /> 2:删除 */
CreatedTime string `json:"createdTime,omitempty"` /* 创建时间 */
CreatedBy int64 `json:"createdBy,omitempty"` /* 创建人 */
ModifiedTime string `json:"modifiedTime,omitempty"` /* 修改时间 */
ModifiedBy int64 `json:"modifiedBy,omitempty"` /* 修改人 */
}
type CcseGetReplicaSetApi ¶
type CcseGetReplicaSetApi struct {
// contains filtered or unexported fields
}
func NewCcseGetReplicaSetApi ¶
func NewCcseGetReplicaSetApi(client *core.CtyunClient) *CcseGetReplicaSetApi
func (*CcseGetReplicaSetApi) Do ¶
func (a *CcseGetReplicaSetApi) Do(ctx context.Context, credential core.Credential, req *CcseGetReplicaSetRequest) (*CcseGetReplicaSetResponse, error)
type CcseGetReplicaSetRequest ¶
type CcseGetReplicaSetRequest struct {
ClusterId string /* 集群Id,获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105">如何获取接口URI中参数</a>。 */
NamespaceName string /* 命名空间名称 */
ReplicaSetName string /* 资源名称 */
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004422" target="_blank">云容器引擎资源池</a>
另外您通过<a href="https://www.ctyun.cn/document/10026730/10028695" target="_blank">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81" target="_blank">资源池列表查询</a> */
}
type CcseGetSecretApi ¶
type CcseGetSecretApi struct {
// contains filtered or unexported fields
}
func NewCcseGetSecretApi ¶
func NewCcseGetSecretApi(client *core.CtyunClient) *CcseGetSecretApi
func (*CcseGetSecretApi) Do ¶
func (a *CcseGetSecretApi) Do(ctx context.Context, credential core.Credential, req *CcseGetSecretRequest) (*CcseGetSecretResponse, error)
type CcseGetSecretRequest ¶
type CcseGetSecretRequest struct {
ClusterId string /* 集群id, 获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105">如何获取接口URI中参数</a>。 */
NamespaceName string /* 命名空间名称 */
SecretName string /* 资源名称 */
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004422" target="_blank">云容器引擎资源池</a>
另外您通过<a href="https://www.ctyun.cn/document/10026730/10028695" target="_blank">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81" target="_blank">资源池列表查询</a> */
}
type CcseGetSecretResponse ¶
type CcseGetServiceApi ¶
type CcseGetServiceApi struct {
// contains filtered or unexported fields
}
func NewCcseGetServiceApi ¶
func NewCcseGetServiceApi(client *core.CtyunClient) *CcseGetServiceApi
func (*CcseGetServiceApi) Do ¶
func (a *CcseGetServiceApi) Do(ctx context.Context, credential core.Credential, req *CcseGetServiceRequest) (*CcseGetServiceResponse, error)
type CcseGetServiceRequest ¶
type CcseGetServiceRequest struct {
ClusterId string /* 集群ID,获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105" target="_blank">如何获取接口URI中参数</a> */
NamespaceName string /* 命名空间名称 */
ServiceName string /* Service资源名称 */
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004422" target="_blank">云容器引擎资源池</a>
另外您通过<a href="https://www.ctyun.cn/document/10026730/10028695" target="_blank">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81" target="_blank">资源池列表查询</a> */
}
type CcseGetServiceResponse ¶
type CcseGetStatefulSetApi ¶
type CcseGetStatefulSetApi struct {
// contains filtered or unexported fields
}
func NewCcseGetStatefulSetApi ¶
func NewCcseGetStatefulSetApi(client *core.CtyunClient) *CcseGetStatefulSetApi
func (*CcseGetStatefulSetApi) Do ¶
func (a *CcseGetStatefulSetApi) Do(ctx context.Context, credential core.Credential, req *CcseGetStatefulSetRequest) (*CcseGetStatefulSetResponse, error)
type CcseGetStatefulSetRequest ¶
type CcseGetStatefulSetRequest struct {
ClusterId string /* 集群ID, 获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105">如何获取接口URI中参数</a>。 */
NamespaceName string /* 命名空间名称 */
StatefulsetName string /* 资源名称 */
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004422" target="_blank">云容器引擎资源池</a>
另外您通过<a href="https://www.ctyun.cn/document/10026730/10028695" target="_blank">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81" target="_blank">资源池列表查询</a> */
}
type CcseGetStorageClassApi ¶
type CcseGetStorageClassApi struct {
// contains filtered or unexported fields
}
func NewCcseGetStorageClassApi ¶
func NewCcseGetStorageClassApi(client *core.CtyunClient) *CcseGetStorageClassApi
func (*CcseGetStorageClassApi) Do ¶
func (a *CcseGetStorageClassApi) Do(ctx context.Context, credential core.Credential, req *CcseGetStorageClassRequest) (*CcseGetStorageClassResponse, error)
type CcseGetStorageClassRequest ¶
type CcseGetStorageClassRequest struct {
ClusterId string /* 集群id, 获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105">如何获取接口URI中参数</a>。 */
StorageClassName string /* 资源名称 */
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004422" target="_blank">云容器引擎资源池</a>
另外您通过<a href="https://www.ctyun.cn/document/10026730/10028695" target="_blank">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81" target="_blank">资源池列表查询</a> */
}
type CcseGetSubUserClusterKubeConfigApi ¶
type CcseGetSubUserClusterKubeConfigApi struct {
// contains filtered or unexported fields
}
func NewCcseGetSubUserClusterKubeConfigApi ¶
func NewCcseGetSubUserClusterKubeConfigApi(client *core.CtyunClient) *CcseGetSubUserClusterKubeConfigApi
func (*CcseGetSubUserClusterKubeConfigApi) Do ¶
func (a *CcseGetSubUserClusterKubeConfigApi) Do(ctx context.Context, credential core.Credential, req *CcseGetSubUserClusterKubeConfigRequest) (*CcseGetSubUserClusterKubeConfigResponse, error)
type CcseGetSubUserClusterKubeConfigRequest ¶
type CcseGetSubUserClusterKubeConfigRequest struct {
ClusterId string /* 集群ID,获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105">如何获取接口URI中参数</a>。 */
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004422" target="_blank">云容器引擎资源池</a>
另外您通过<a href="https://www.ctyun.cn/document/10026730/10028695" target="_blank">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81" target="_blank">资源池列表查询</a>
*/
UserId int64 /* 用户ID,可在云容器引擎控制台安全管理 > 授权页面查看主账号名下的子账号列表及对应的用户ID */
IsPublic bool /* 是否获取公网KubeConfig */
}
type CcseGetSubUserClusterKubeConfigResponse ¶
type CcseGetSubUserClusterKubeConfigResponse struct {
StatusCode int32 `json:"statusCode,omitempty"` /* 状态码 */
Message string `json:"message,omitempty"` /* 提示信息 */
ReturnObj *CcseGetSubUserClusterKubeConfigReturnObjResponse `json:"returnObj"` /* 返回对象 */
Error string `json:"error,omitempty"` /* 错误码 */
}
type CcseGetSubUserClusterNamespacesApi ¶
type CcseGetSubUserClusterNamespacesApi struct {
// contains filtered or unexported fields
}
func NewCcseGetSubUserClusterNamespacesApi ¶
func NewCcseGetSubUserClusterNamespacesApi(client *core.CtyunClient) *CcseGetSubUserClusterNamespacesApi
func (*CcseGetSubUserClusterNamespacesApi) Do ¶
func (a *CcseGetSubUserClusterNamespacesApi) Do(ctx context.Context, credential core.Credential, req *CcseGetSubUserClusterNamespacesRequest) (*CcseGetSubUserClusterNamespacesResponse, error)
type CcseGetSubUserClusterNamespacesRequest ¶
type CcseGetSubUserClusterNamespacesRequest struct {
ClusterId string /* 集群ID,获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105">如何获取接口URI中参数</a>。 */
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004422" target="_blank">云容器引擎资源池</a>
另外您通过<a href="https://www.ctyun.cn/document/10026730/10028695" target="_blank">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81" target="_blank">资源池列表查询</a>
*/
}
type CcseGetSubUserPermissionApi ¶
type CcseGetSubUserPermissionApi struct {
// contains filtered or unexported fields
}
func NewCcseGetSubUserPermissionApi ¶
func NewCcseGetSubUserPermissionApi(client *core.CtyunClient) *CcseGetSubUserPermissionApi
func (*CcseGetSubUserPermissionApi) Do ¶
func (a *CcseGetSubUserPermissionApi) Do(ctx context.Context, credential core.Credential, req *CcseGetSubUserPermissionRequest) (*CcseGetSubUserPermissionResponse, error)
type CcseGetSubUserPermissionRequest ¶
type CcseGetSubUserPermissionRequest struct {
ClusterId string /* 集群ID,获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105">如何获取接口URI中参数</a>。 */
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004422" target="_blank">云容器引擎资源池</a>
另外您通过<a href="https://www.ctyun.cn/document/10026730/10028695" target="_blank">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81" target="_blank">资源池列表查询</a>
*/
UserId int64 /* 用户ID,可在云容器引擎控制台 > 安全管理 > 授权页面查看子账号列表及对应的用户ID */
}
type CcseGetSubUserPermissionResponse ¶
type CcseGetSubUserPermissionResponse struct {
StatusCode int32 `json:"statusCode,omitempty"` /* 状态码 */
Message string `json:"message,omitempty"` /* 提示信息 */
ReturnObj []*CcseGetSubUserPermissionReturnObjResponse `json:"returnObj"` /* 返回对象 */
Error string `json:"error,omitempty"` /* 错误码 */
}
type CcseGetSubUserPermissionReturnObjResponse ¶
type CcseGetSubUserPermissionReturnObjResponse struct {
BindingName string `json:"bindingName,omitempty"` /* 绑定标识 */
BindingKind string `json:"bindingKind,omitempty"` /* 角色绑定类型 */
Namespace string `json:"namespace,omitempty"` /* 角色绑定命名空间,为空表示全部命名空间 */
ClusterRole string `json:"clusterRole,omitempty"` /* 绑定的角色名 */
}
type CcseGetTemplateInstanceApi ¶
type CcseGetTemplateInstanceApi struct {
// contains filtered or unexported fields
}
func NewCcseGetTemplateInstanceApi ¶
func NewCcseGetTemplateInstanceApi(client *core.CtyunClient) *CcseGetTemplateInstanceApi
func (*CcseGetTemplateInstanceApi) Do ¶
func (a *CcseGetTemplateInstanceApi) Do(ctx context.Context, credential core.Credential, req *CcseGetTemplateInstanceRequest) (*CcseGetTemplateInstanceResponse, error)
type CcseGetTemplateInstanceRequest ¶
type CcseGetTemplateInstanceRequest struct {
ClusterId string /* 集群ID,获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105">如何获取接口URI中参数</a>。 */
NamespaceName string /* 命名空间名称 */
TemplateInstanceName string /* 模板名称 */
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004422" target="_blank">云容器引擎资源池</a>
另外您通过<a href="https://www.ctyun.cn/document/10026730/10028695" target="_blank">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81" target="_blank">资源池列表查询</a> */
}
type CcseGetTemplateInstanceResponse ¶
type CcseGetTemplateInstanceResponse struct {
StatusCode int32 `json:"statusCode,omitempty"` /* 状态码 */
RequestId string `json:"requestId,omitempty"` /* 请求id */
Message string `json:"message,omitempty"` /* 提示信息 */
ReturnObj *CcseGetTemplateInstanceReturnObjResponse `json:"returnObj"` /* 返回对象 */
Error string `json:"error,omitempty"` /* 错误码 */
}
type CcseGetTemplateInstanceReturnObjReleaseHistoryListDTOSResponse ¶
type CcseGetTemplateInstanceReturnObjReleaseHistoryListDTOSResponse struct {
Revision string `json:"revision,omitempty"` /* 版本 */
Updated string `json:"updated,omitempty"` /* 更新时间 */
Status string `json:"status,omitempty"` /* 状态 */
Chart string `json:"chart,omitempty"` /* chart名称和版本 */
AppVersion string `json:"appVersion,omitempty"` /* app版本 */
Description string `json:"description,omitempty"` /* 描述 */
ClusterId string `json:"clusterId,omitempty"` /* 集群id */
Name string `json:"name,omitempty"` /* 实例名称 */
Namespace string `json:"namespace,omitempty"` /* 命名空间 */
ChartVersion string `json:"chartVersion,omitempty"` /* chart版本 */
}
type CcseGetTemplateInstanceReturnObjResponse ¶
type CcseGetTemplateInstanceReturnObjResponse struct {
ReleaseHistoryListDTOS []*CcseGetTemplateInstanceReturnObjReleaseHistoryListDTOSResponse `json:"releaseHistoryListDTOS"` /* 发布版本列表 */
FirstDeployTime string `json:"firstDeployTime,omitempty"` /* 首次发布时间 */
LastDeployTime string `json:"lastDeployTime,omitempty"` /* 最新发布时间 */
Name string `json:"name,omitempty"` /* 实例名称 */
Namespace string `json:"namespace,omitempty"` /* 命名空间 */
Values string `json:"values,omitempty"` /* values参数 */
ResourceDTOS []*CcseGetTemplateInstanceReturnObjResourceDTOSResponse `json:"resourceDTOS"` /* 资源列表 */
ClusterId string `json:"clusterId,omitempty"` /* 集群ID */
CreatedTime string `json:"createdTime,omitempty"` /* 创建时间 */
ChartVersion string `json:"chartVersion,omitempty"` /* Chart版本 */
Status string `json:"status,omitempty"` /* 状态 */
LastEvent string `json:"lastEvent,omitempty"` /* 历史事件 */
Readme string `json:"readme,omitempty"` /* readme */
ExternalIps []string `json:"externalIps"` /* externalIps */
ChartUrl string `json:"chartUrl,omitempty"` /* Chart地址 */
KubeConfigPath string `json:"kubeConfigPath,omitempty"` /* kubeConfig路径 */
RepositoryId string `json:"repositoryId,omitempty"` /* 镜像实例仓库id */
ChartName string `json:"chartName,omitempty"` /* chart名称 */
Icon string `json:"icon,omitempty"` /* icon */
}
type CcseGetUpgradeClusterStatusApi ¶
type CcseGetUpgradeClusterStatusApi struct {
// contains filtered or unexported fields
}
func NewCcseGetUpgradeClusterStatusApi ¶
func NewCcseGetUpgradeClusterStatusApi(client *core.CtyunClient) *CcseGetUpgradeClusterStatusApi
func (*CcseGetUpgradeClusterStatusApi) Do ¶
func (a *CcseGetUpgradeClusterStatusApi) Do(ctx context.Context, credential core.Credential, req *CcseGetUpgradeClusterStatusRequest) (*CcseGetUpgradeClusterStatusResponse, error)
type CcseGetUpgradeClusterStatusRequest ¶
type CcseGetUpgradeClusterStatusRequest struct {
ClusterId string /* 集群ID,获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105">如何获取接口URI中参数</a>。 */
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004422" target="_blank">云容器引擎资源池</a>
另外您通过<a href="https://www.ctyun.cn/document/10026730/10028695" target="_blank">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81" target="_blank">资源池列表查询</a>
*/
TaskId int64 /* 任务ID,您可以在升级集群接口获取任务ID
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=43&api=18045&data=128&isNormal=1&vid=121">升级集群</a> */
}
type CcseGetUpgradeClusterStatusResponse ¶
type CcseGetUpgradeClusterStatusResponse struct {
StatusCode int32 `json:"statusCode,omitempty"` /* 状态码 */
Message string `json:"message,omitempty"` /* 提示信息 */
ReturnObj []*CcseGetUpgradeClusterStatusReturnObjResponse `json:"returnObj"` /* 返回对象 */
Error string `json:"error,omitempty"` /* 错误码 */
}
type CcseGetUpgradeClusterStatusReturnObjResponse ¶
type CcseGetUpgradeClusterStatusReturnObjResponse struct {
TaskId int64 `json:"taskId,omitempty"` /* master0任务id */
Tasks []*CcseGetUpgradeClusterStatusReturnObjTasksResponse `json:"tasks"` /* 集群升级任务 */
}
type CcseGetUpgradeClusterStatusReturnObjTasksResponse ¶
type CcseGetUpgradeClusterStatusReturnObjTasksResponse struct {
TaskId int64 `json:"taskId,omitempty"` /* 任务ID */
ClusterId string `json:"clusterId,omitempty"` /* 集群ID */
ParentTaskId int64 `json:"parentTaskId,omitempty"` /* 上级任务ID */
NodeName string `json:"nodeName,omitempty"` /* 升级节点名称 */
NodeType string `json:"nodeType,omitempty"` /* 升级节点类型:master0, master, node */
MasterPlanHash string `json:"masterPlanHash,omitempty"` /* 升级master使用crd的latest hash */
WorkerPlanHash string `json:"workerPlanHash,omitempty"` /* 升级worker使用crd的latest hash */
TaskStatus string `json:"taskStatus,omitempty"` /* 升级状态:start-开始升级,end-完成升级,pause-暂停升级 */
Version string `json:"version,omitempty"` /* 升级版本 */
Status int32 `json:"status,omitempty"` /* 状态 0-无效 1-有效 2-删除 */
CreatedBy int64 `json:"createdBy,omitempty"` /* 创建人 */
CreatedTime string `json:"createdTime,omitempty"` /* 创建时间 */
UpdatedTime string `json:"updatedTime,omitempty"` /* 修改时间 */
}
type CcseGetVolumeSnapshotApi ¶
type CcseGetVolumeSnapshotApi struct {
// contains filtered or unexported fields
}
func NewCcseGetVolumeSnapshotApi ¶
func NewCcseGetVolumeSnapshotApi(client *core.CtyunClient) *CcseGetVolumeSnapshotApi
func (*CcseGetVolumeSnapshotApi) Do ¶
func (a *CcseGetVolumeSnapshotApi) Do(ctx context.Context, credential core.Credential, req *CcseGetVolumeSnapshotRequest) (*CcseGetVolumeSnapshotResponse, error)
type CcseGetVolumeSnapshotClassApi ¶
type CcseGetVolumeSnapshotClassApi struct {
// contains filtered or unexported fields
}
func NewCcseGetVolumeSnapshotClassApi ¶
func NewCcseGetVolumeSnapshotClassApi(client *core.CtyunClient) *CcseGetVolumeSnapshotClassApi
func (*CcseGetVolumeSnapshotClassApi) Do ¶
func (a *CcseGetVolumeSnapshotClassApi) Do(ctx context.Context, credential core.Credential, req *CcseGetVolumeSnapshotClassRequest) (*CcseGetVolumeSnapshotClassResponse, error)
type CcseGetVolumeSnapshotClassRequest ¶
type CcseGetVolumeSnapshotClassRequest struct {
ClusterId string /* 集群id, 获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105">如何获取接口URI中参数</a>。 */
VolumeSnapshotClassName string /* 资源名称 */
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004422" target="_blank">云容器引擎资源池</a>
另外您通过<a href="https://www.ctyun.cn/document/10026730/10028695" target="_blank">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81" target="_blank">资源池列表查询</a> */
}
type CcseGetVolumeSnapshotRequest ¶
type CcseGetVolumeSnapshotRequest struct {
ClusterId string /* 集群id, 获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105">如何获取接口URI中参数</a>。 */
NamespaceName string /* 命名空间名称 */
VolumeSnapshotName string /* 资源名称 */
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004422" target="_blank">云容器引擎资源池</a>
另外您通过<a href="https://www.ctyun.cn/document/10026730/10028695" target="_blank">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81" target="_blank">资源池列表查询</a> */
}
type CcseHasPluginInstanceExistedApi ¶
type CcseHasPluginInstanceExistedApi struct {
// contains filtered or unexported fields
}
func NewCcseHasPluginInstanceExistedApi ¶
func NewCcseHasPluginInstanceExistedApi(client *core.CtyunClient) *CcseHasPluginInstanceExistedApi
func (*CcseHasPluginInstanceExistedApi) Do ¶
func (a *CcseHasPluginInstanceExistedApi) Do(ctx context.Context, credential core.Credential, req *CcseHasPluginInstanceExistedRequest) (*CcseHasPluginInstanceExistedResponse, error)
type CcseHasPluginInstanceExistedRequest ¶
type CcseHasPluginInstanceExistedRequest struct {
ClusterId string /* 集群ID,获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105">如何获取接口URI中参数</a>。 */
PluginName string /* 插件实例名称 */
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004422" target="_blank">云容器引擎资源池</a>
另外您通过<a href="https://www.ctyun.cn/document/10026730/10028695" target="_blank">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81" target="_blank">资源池列表查询</a> */
}
type CcseHasPluginInstanceExistedResponse ¶
type CcseHasPluginInstanceExistedResponse struct {
StatusCode int32 `json:"statusCode,omitempty"` /* 状态码 */
RequestId string `json:"requestId,omitempty"` /* 请求id */
Message string `json:"message,omitempty"` /* 提示信息 */
ReturnObj *bool `json:"returnObj"` /* 返回对象 */
Error string `json:"error,omitempty"` /* 错误码 */
}
type CcseHasTemplateInstanceExistedApi ¶
type CcseHasTemplateInstanceExistedApi struct {
// contains filtered or unexported fields
}
func NewCcseHasTemplateInstanceExistedApi ¶
func NewCcseHasTemplateInstanceExistedApi(client *core.CtyunClient) *CcseHasTemplateInstanceExistedApi
func (*CcseHasTemplateInstanceExistedApi) Do ¶
func (a *CcseHasTemplateInstanceExistedApi) Do(ctx context.Context, credential core.Credential, req *CcseHasTemplateInstanceExistedRequest) (*CcseHasTemplateInstanceExistedResponse, error)
type CcseHasTemplateInstanceExistedRequest ¶
type CcseHasTemplateInstanceExistedRequest struct {
ClusterId string /* 集群ID,获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105">如何获取接口URI中参数</a>。 */
NamespaceName string /* 命名空间名称 */
TemplateInstanceName string /* 模板实例名称 */
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004422" target="_blank">云容器引擎资源池</a>
另外您通过<a href="https://www.ctyun.cn/document/10026730/10028695" target="_blank">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81" target="_blank">资源池列表查询</a> */
}
type CcseHasTemplateInstanceExistedResponse ¶
type CcseHasTemplateInstanceExistedResponse struct {
StatusCode int32 `json:"statusCode,omitempty"` /* 状态码 */
RequestId string `json:"requestId,omitempty"` /* 请求id */
Message string `json:"message,omitempty"` /* 提示信息 */
ReturnObj *bool `json:"returnObj"` /* 返回对象 */
Error string `json:"error,omitempty"` /* 错误码 */
}
type CcseListClusterAutoscalerPoliciesApi ¶
type CcseListClusterAutoscalerPoliciesApi struct {
// contains filtered or unexported fields
}
func NewCcseListClusterAutoscalerPoliciesApi ¶
func NewCcseListClusterAutoscalerPoliciesApi(client *core.CtyunClient) *CcseListClusterAutoscalerPoliciesApi
func (*CcseListClusterAutoscalerPoliciesApi) Do ¶
func (a *CcseListClusterAutoscalerPoliciesApi) Do(ctx context.Context, credential core.Credential, req *CcseListClusterAutoscalerPoliciesRequest) (*CcseListClusterAutoscalerPoliciesResponse, error)
type CcseListClusterAutoscalerPoliciesRequest ¶
type CcseListClusterAutoscalerPoliciesRequest struct {
ClusterId string /* 集群ID,获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105">如何获取接口URI中参数</a>。 */
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87">资源池列表查询</a> */
}
type CcseListClusterNodesApi ¶
type CcseListClusterNodesApi struct {
// contains filtered or unexported fields
}
func NewCcseListClusterNodesApi ¶
func NewCcseListClusterNodesApi(client *core.CtyunClient) *CcseListClusterNodesApi
func (*CcseListClusterNodesApi) Do ¶
func (a *CcseListClusterNodesApi) Do(ctx context.Context, credential core.Credential, req *CcseListClusterNodesRequest) (*CcseListClusterNodesResponse, error)
type CcseListClusterNodesRequest ¶
type CcseListClusterNodesRequest struct {
ClusterId string /* 集群ID,获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105" target="_blank">如何获取接口URI中参数</a>。 */
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004422" target="_blank">云容器引擎资源池</a>
另外您通过<a href="https://www.ctyun.cn/document/10026730/10028695" target="_blank">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81" target="_blank">资源池列表查询</a> */
NodeName string /* 集群节点名称 */
}
type CcseListClusterNodesResponse ¶
type CcseListClusterNodesResponse struct {
StatusCode int32 `json:"statusCode,omitempty"` /* 状态码 */
Message string `json:"message,omitempty"` /* 提示信息 */
ReturnObj []*CcseListClusterNodesReturnObjResponse `json:"returnObj"` /* 返回对象 */
Error string `json:"error,omitempty"` /* 错误码 */
}
type CcseListClusterNodesReturnObjKubeletArgsResponse ¶
type CcseListClusterNodesReturnObjKubeletArgsResponse struct{}
type CcseListClusterNodesReturnObjResponse ¶
type CcseListClusterNodesReturnObjResponse struct {
NodeName string `json:"nodeName,omitempty"` /* 集群节点名称 */
NodeType int32 `json:"nodeType,omitempty"` /* 节点类型,取值:<br/>1:master <br/>2:slave */
NodeStatus string `json:"nodeStatus,omitempty"` /* 节点状态,取值:<br/>normal:健康<br/>abnormal:异常<br/>expulsion:驱逐中 */
IsSchedule int32 `json:"isSchedule,omitempty"` /* 是否调度,取值: 1:是 <br />0:否 */
IsEvict int32 `json:"isEvict,omitempty"` /* 是否驱逐,取值: 1:是 <br />0:否 */
CreatedTime string `json:"createdTime,omitempty"` /* 创建时间 */
HostIp string `json:"hostIp,omitempty"` /* 主机管理ip */
HostIpv6 string `json:"hostIpv6,omitempty"` /* 主机管理ipv6 */
HostExtraIp string `json:"hostExtraIp,omitempty"` /* 主机业务ip */
HostExtraIpv6 string `json:"hostExtraIpv6,omitempty"` /* 主机业务ipv6 */
KubeletVersion string `json:"kubeletVersion,omitempty"` /* Kubelet 版本 */
PodCidr string `json:"podCidr,omitempty"` /* Pod CIDR */
KernelVersion string `json:"kernelVersion,omitempty"` /* 内核版本 */
OsImageVersion string `json:"osImageVersion,omitempty"` /* OS 镜像 */
KubeProxyVersion string `json:"kubeProxyVersion,omitempty"` /* KubeProxy 版本 */
DockerVersion string `json:"dockerVersion,omitempty"` /* 容器版本 */
ChannelLabel string `json:"channelLabel,omitempty"` /* 渠道标签 */
DockerDataPath string `json:"dockerDataPath,omitempty"` /* docker数据目录 */
EcsId string `json:"ecsId,omitempty"` /* 云主机ID */
HostType string `json:"hostType,omitempty"` /* host类型 */
LoginType string `json:"loginType,omitempty"` /* 登陆类型 */
SysDiskType string `json:"sysDiskType,omitempty"` /* 节点系统盘类型 */
SysDiskSize int32 `json:"sysDiskSize,omitempty"` /* 节点系统盘大小 */
ContainerDataDirectory string `json:"containerDataDirectory,omitempty"` /* 自定义容器数据目录 */
VisibilityPostHostScript string `json:"visibilityPostHostScript,omitempty"` /* 部署后执行自定义脚本 */
KubeletArgs *CcseListClusterNodesReturnObjKubeletArgsResponse `json:"kubeletArgs"` /* kubelet参数 */
ZoneName string `json:"zoneName,omitempty"` /* 可用区名称 */
ZoneCode string `json:"zoneCode,omitempty"` /* 可用区编码 */
}
type CcseListClusterPolicyInstancesApi ¶
type CcseListClusterPolicyInstancesApi struct {
// contains filtered or unexported fields
}
func NewCcseListClusterPolicyInstancesApi ¶
func NewCcseListClusterPolicyInstancesApi(client *core.CtyunClient) *CcseListClusterPolicyInstancesApi
func (*CcseListClusterPolicyInstancesApi) Do ¶
func (a *CcseListClusterPolicyInstancesApi) Do(ctx context.Context, credential core.Credential, req *CcseListClusterPolicyInstancesRequest) (*CcseListClusterPolicyInstancesResponse, error)
type CcseListClusterPolicyInstancesRequest ¶
type CcseListClusterPolicyInstancesRequest struct {
ClusterId string /* 集群ID,获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105">如何获取接口URI中参数</a>。 */
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004422" target="_blank">云容器引擎资源池</a>
另外您通过<a href="https://www.ctyun.cn/document/10026730/10028695" target="_blank">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81" target="_blank">资源池列表查询</a> */
PolicyName string /* 策略治理规则名称,您可以通过查询策略治理规则列表接口来获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=43&api=18948&data=128&isNormal=1&vid=121">查询策略治理规则列表</a> */
InstanceName string /* 策略规则实例名称 */
}
type CcseListClusterPolicyInstancesResponse ¶
type CcseListClusterPolicyInstancesResponse struct {
StatusCode int32 `json:"statusCode,omitempty"` /* 状态码 */
Message string `json:"message,omitempty"` /* 提示信息 */
ReturnObj []*CcseListClusterPolicyInstancesReturnObjResponse `json:"returnObj"` /* 返回对象 */
Error string `json:"error,omitempty"` /* 错误码 */
}
type CcseListClusterPolicyInstancesReturnObjResponse ¶
type CcseListClusterPolicyInstancesReturnObjResponse struct {
InstanceId int64 `json:"instanceId,omitempty"` /* 规则ID */
InstanceName string `json:"instanceName,omitempty"` /* 实例名称 */
ClusterId string `json:"clusterId,omitempty"` /* 集群标识ID */
PolicyName string `json:"policyName,omitempty"` /* 策略规则名称 */
PolicyCategory string `json:"policyCategory,omitempty"` /* 策略模板类型 */
PolicyDesc string `json:"policyDesc,omitempty"` /* 策略模板描述 */
PolicyParameters string `json:"policyParameters,omitempty"` /* 当前规则实例的配置参数 */
PolicySeverity string `json:"policySeverity,omitempty"` /* 规则治理等级,取值:<br /> high<br /> medium<br /> low */
PolicyScope string `json:"policyScope,omitempty"` /* 策略实例实施范围,默认*代表全部命名空间,否则返回命名空间名称,多个命名空间用逗号分隔 */
PolicyAction string `json:"policyAction,omitempty"` /* 规则治理动作,取值:<br /> deny:拦截违规部署<br /> warn:告警 */
Status int32 `json:"status,omitempty"` /* 状态,取值:<br /> 1:有效<br /> 2:删除 */
CreatedTime string `json:"createdTime,omitempty"` /* 创建时间 */
CreatedBy int64 `json:"createdBy,omitempty"` /* 创建人 */
ModifiedTime string `json:"modifiedTime,omitempty"` /* 修改时间 */
ModifiedBy int64 `json:"modifiedBy,omitempty"` /* 修改人 */
}
type CcseListClusterTagsApi ¶
type CcseListClusterTagsApi struct {
// contains filtered or unexported fields
}
func NewCcseListClusterTagsApi ¶
func NewCcseListClusterTagsApi(client *core.CtyunClient) *CcseListClusterTagsApi
func (*CcseListClusterTagsApi) Do ¶
func (a *CcseListClusterTagsApi) Do(ctx context.Context, credential core.Credential, req *CcseListClusterTagsRequest) (*CcseListClusterTagsResponse, error)
type CcseListClusterTagsRequest ¶
type CcseListClusterTagsRequest struct {
ClusterId string /* 集群Id,获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105">如何获取接口URI中参数</a>。 */
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004422" target="_blank">云容器引擎资源池</a>
另外您通过<a href="https://www.ctyun.cn/document/10026730/10028695" target="_blank">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81" target="_blank">资源池列表查询</a>
*/
}
type CcseListClusterTagsResponse ¶
type CcseListClusterTagsResponse struct {
StatusCode string `json:"statusCode,omitempty"` /* 状态码 */
Message string `json:"message,omitempty"` /* 提示信息 */
ReturnObj *CcseListClusterTagsReturnObjResponse `json:"returnObj"` /* 返回对象 */
Error string `json:"error,omitempty"` /* 错误码 */
}
type CcseListClusterTagsReturnObjResponse ¶
type CcseListClusterTagsReturnObjResponse struct {
Tags []string `json:"tags"` /* 标签列表 */
}
type CcseListClusterTaskEventsApi ¶
type CcseListClusterTaskEventsApi struct {
// contains filtered or unexported fields
}
func NewCcseListClusterTaskEventsApi ¶
func NewCcseListClusterTaskEventsApi(client *core.CtyunClient) *CcseListClusterTaskEventsApi
func (*CcseListClusterTaskEventsApi) Do ¶
func (a *CcseListClusterTaskEventsApi) Do(ctx context.Context, credential core.Credential, req *CcseListClusterTaskEventsRequest) (*CcseListClusterTaskEventsResponse, error)
type CcseListClusterTaskEventsRequest ¶
type CcseListClusterTaskEventsRequest struct {
ClusterId string /* 集群ID,获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105" target="_blank">如何获取接口URI中参数</a>。 */
TaskId string /* 任务ID */
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004422" target="_blank">云容器引擎资源池</a>
另外您通过<a href="https://www.ctyun.cn/document/10026730/10028695" target="_blank">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81" target="_blank">资源池列表查询</a> */
PageNumber int32 /* 每页显示数量 */
PageSize int32 /* 分页查询页数 */
}
type CcseListClusterTaskEventsResponse ¶
type CcseListClusterTaskEventsResponse struct {
StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码 */
RequestId string `json:"requestId,omitempty"` /* 请求ID */
Message string `json:"message,omitempty"` /* 响应信息 */
ReturnObj *CcseListClusterTaskEventsReturnObjResponse `json:"returnObj"` /* 请求结果 */
Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */
}
type CcseListClusterTaskEventsReturnObjRecordsResponse ¶
type CcseListClusterTaskEventsReturnObjRecordsResponse struct {
TaskId string `json:"taskId,omitempty"` /* 任务ID */
ClusterId string `json:"clusterId,omitempty"` /* 集群ID */
EventId string `json:"eventId,omitempty"` /* 事件Id */
Source string `json:"source,omitempty"` /* 事件源 */
Subject string `json:"subject,omitempty"` /* 事件关联操作对象ID */
EventType string `json:"eventType,omitempty"` /* 事件类型 */
EventMessage string `json:"eventMessage,omitempty"` /* 事件内容 */
CreatedTime string `json:"createdTime,omitempty"` /* 创建时间 */
}
type CcseListClusterTaskEventsReturnObjResponse ¶
type CcseListClusterTaskEventsReturnObjResponse struct {
Records []*CcseListClusterTaskEventsReturnObjRecordsResponse `json:"records"` /* 诊断任务记录 */
Total int32 `json:"total,omitempty"` /* 总记录数 */
Pages int32 `json:"pages,omitempty"` /* 总页数 */
Current int32 `json:"current,omitempty"` /* 当前页数 */
Size int32 `json:"size,omitempty"` /* 每页大小 */
}
type CcseListClusterTasksApi ¶
type CcseListClusterTasksApi struct {
// contains filtered or unexported fields
}
func NewCcseListClusterTasksApi ¶
func NewCcseListClusterTasksApi(client *core.CtyunClient) *CcseListClusterTasksApi
func (*CcseListClusterTasksApi) Do ¶
func (a *CcseListClusterTasksApi) Do(ctx context.Context, credential core.Credential, req *CcseListClusterTasksRequest) (*CcseListClusterTasksResponse, error)
type CcseListClusterTasksRequest ¶
type CcseListClusterTasksRequest struct {
ClusterId string /* 集群ID,获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105" target="_blank">如何获取接口URI中参数</a>。 */
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004422" target="_blank">云容器引擎资源池</a>
另外您通过<a href="https://www.ctyun.cn/document/10026730/10028695" target="_blank">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81" target="_blank">资源池列表查询</a> */
PageNumber int32 /* 每页显示数量 */
PageSize int32 /* 分页查询页数 */
}
type CcseListClusterTasksResponse ¶
type CcseListClusterTasksResponse struct {
StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码 */
RequestId string `json:"requestId,omitempty"` /* 请求ID */
Message string `json:"message,omitempty"` /* 响应信息 */
ReturnObj *CcseListClusterTasksReturnObjResponse `json:"returnObj"` /* 请求结果 */
Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */
}
type CcseListClusterTasksReturnObjRecordsResponse ¶
type CcseListClusterTasksReturnObjRecordsResponse struct {
TaskId string `json:"taskId,omitempty"` /* 任务ID */
ClusterId string `json:"clusterId,omitempty"` /* 集群ID */
RegionId string `json:"regionId,omitempty"` /* 资源池Id */
TaskType string `json:"taskType,omitempty"` /* 任务类型 */
TaskStatus string `json:"taskStatus,omitempty"` /* 任务状态 */
ParallelNumber int32 `json:"parallelNumber,omitempty"` /* 并行数 */
TaskContent string `json:"taskContent,omitempty"` /* 任务内容 */
TaskResult string `json:"taskResult,omitempty"` /* 任务执行结果 */
RetryTime int32 `json:"retryTime,omitempty"` /* 重试次数 */
CreatedTime string `json:"createdTime,omitempty"` /* 创建时间 */
ModifyTime string `json:"modifyTime,omitempty"` /* 修改时间 */
}
type CcseListClusterTasksReturnObjResponse ¶
type CcseListClusterTasksReturnObjResponse struct {
Records []*CcseListClusterTasksReturnObjRecordsResponse `json:"records"` /* 诊断任务记录 */
Total int32 `json:"total,omitempty"` /* 总记录数 */
Pages int32 `json:"pages,omitempty"` /* 总页数 */
Current int32 `json:"current,omitempty"` /* 当前页数 */
Size int32 `json:"size,omitempty"` /* 每页大小 */
}
type CcseListClustersApi ¶
type CcseListClustersApi struct {
// contains filtered or unexported fields
}
func NewCcseListClustersApi ¶
func NewCcseListClustersApi(client *core.CtyunClient) *CcseListClustersApi
func (*CcseListClustersApi) Do ¶
func (a *CcseListClustersApi) Do(ctx context.Context, credential core.Credential, req *CcseListClustersRequest) (*CcseListClustersResponse, error)
type CcseListClustersRequest ¶
type CcseListClustersRequest struct {
ResPoolId string
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004422" target="_blank">云容器引擎资源池</a>
另外您通过<a href="https://www.ctyun.cn/document/10026730/10028695" target="_blank">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81" target="_blank">资源池列表查询</a>
*/
ClusterName string /* 集群名称 */
PageNow int32 /* 当前页码 */
PageSize int32 /* 每页条数 */
}
type CcseListClustersResponse ¶
type CcseListClustersResponse struct {
StatusCode int32 `json:"statusCode,omitempty"` /* 状态码 */
Message string `json:"message,omitempty"` /* 提示信息 */
ReturnObj *CcseListClustersReturnObjResponse `json:"returnObj"` /* 返回对象 */
Error string `json:"error,omitempty"` /* 错误码 */
}
type CcseListClustersReturnObjRecordsResponse ¶
type CcseListClustersReturnObjRecordsResponse struct {
Id string `json:"id,omitempty"` /* 集群ID */
ClusterName string `json:"clusterName,omitempty"` /* 集群名称 */
ClusterDesc string `json:"clusterDesc,omitempty"` /* 集群描述 */
ClusterType int32 `json:"clusterType,omitempty"` /* 集群类型,表示如下
0:专有版
2:托管版 */
DeployMode string `json:"deployMode,omitempty"` /* 集群部署模式 */
ClusterVersion string `json:"clusterVersion,omitempty"` /* 集群版本 */
ClusterStatus string `json:"clusterStatus,omitempty"` /* 集群状态,取值:<br/>creating:创建中。<br />abnormal:异常。<br />normal:正常。<br/>create_fail:创建失败。<br/>adjust:规模调整中。<br/>updating:升级中。<br/>suspend:暂停。<br/>deleting:删除中。<br/>deleted:已删除。<br/>delete_fail:删除失败。<br/>resetting:节点重置中。<br/>resettled:节点已重置。<br/>reset_fail:节点重置失败。<br/>upgrading:集群升级中。<br/>upgrade_fail:集群升级失败。 */
Ipv4Ipv6 string `json:"ipv4Ipv6,omitempty"` /* IP协议版本,取值:<br/>ipv4:IPv4版本。<br/>ipv6:IPv6版本。 */
ControlPlaneProtocol string `json:"controlPlaneProtocol,omitempty"` /* 控制面接口协议,取值:<br/>ipv4:IPv4版本。<br/>ipv6:IPv6版本。 */
MasterExtraVip string `json:"masterExtraVip,omitempty"` /* master外网VIP地址 */
MasterExtraVipv6 string `json:"masterExtraVipv6,omitempty"` /* master业务VIPv6地址 */
MasterIntraVip string `json:"masterIntraVip,omitempty"` /* master内网VIP地址 */
MasterIntraVipv6 string `json:"masterIntraVipv6,omitempty"` /* master管理VIPv6地址 */
SecurePort int32 `json:"securePort,omitempty"` /* ApiServer安全端口 */
NonSecurePort int32 `json:"nonSecurePort,omitempty"` /* ApiServer非安全端口,0表示不开启非安全端口 */
StartPort int32 `json:"startPort,omitempty"` /* 节点服务起始端口 */
EndPort int32 `json:"endPort,omitempty"` /* 节点服务终止端口 */
ServiceCidr string `json:"serviceCidr,omitempty"` /* Service IP地址范围 */
ServiceCidrv6 string `json:"serviceCidrv6,omitempty"` /* Service IPv6地址范围 */
PodCidr string `json:"podCidr,omitempty"` /* Pod IP地址范围 */
PodCidrv6 string `json:"podCidrv6,omitempty"` /* Pod IPv6地址范围 */
CreatedTime string `json:"createdTime,omitempty"` /* 创建时间 */
ModifiedTime string `json:"modifiedTime,omitempty"` /* 修改时间 */
MasterNodeNum int32 `json:"masterNodeNum,omitempty"` /* master节点数量 */
SlaveNodeNum int32 `json:"slaveNodeNum,omitempty"` /* slave节点数量 */
GrafanaAddress string `json:"grafanaAddress,omitempty"` /* 监控面板grafana地址 */
BizState int32 `json:"bizState,omitempty"` /* 业务状态,1:运行中,2:已停止,3:已注销,4:已退订,5:扩容中,6:开通中,7:已取消,9:重启中,10:节点重置中,11:升级中,13:缩容中,14:已过期(冻结、过期),15:节点升规格中,17:创建失败,18:退订中,19:控制面升配中,20:休眠中,21:唤醒中,22:转订购模式中 */
ChannelLabel string `json:"channelLabel,omitempty"` /* 渠道标签 */
ResPoolId string `json:"resPoolId,omitempty"` /* 资源池ID */
ResPoolName string `json:"resPoolName,omitempty"` /* 资源池名称 */
Eip string `json:"eip,omitempty"` /* 集群绑定弹性ip */
Timezone string `json:"timezone,omitempty"` /* 时区 */
ContainerRuntime string `json:"containerRuntime,omitempty"` /* 容器运行时 */
NetworkPlugin string `json:"networkPlugin,omitempty"` /* 网络插件,包括calico、cubecni */
KubeProxyPattern string `json:"kubeProxyPattern,omitempty"` /* kube-proxy 代理模式,包括ipvs,iptables */
ProdInstId string `json:"prodInstId,omitempty"` /* 实例ID */
ProdId string `json:"prodId,omitempty"` /* 集群规格编码 */
ExpireTime string `json:"expireTime,omitempty"` /* 到期时间 */
BillMode string `json:"billMode,omitempty"` /* 计费类型,1:包周期,2:按需 */
MasterSlbIp string `json:"masterSlbIp,omitempty"` /* 集群ApiServer Elb IP */
VpcId string `json:"vpcId,omitempty"` /* 集群所属VPC ID */
VpcName string `json:"vpcName,omitempty"` /* 集群所属VPC名称 */
SubnetUuid string `json:"subnetUuid,omitempty"` /* 集群所属子网 */
}
type CcseListClustersReturnObjResponse ¶
type CcseListClustersReturnObjResponse struct {
Records []*CcseListClustersReturnObjRecordsResponse `json:"records"` /* 记录列表 */
Total int32 `json:"total,omitempty"` /* 总条数 */
Size int32 `json:"size,omitempty"` /* 每页条数 */
Current int32 `json:"current,omitempty"` /* 当前页码 */
Pages int32 `json:"pages,omitempty"` /* 总页数 */
}
type CcseListConfigMapsApi ¶
type CcseListConfigMapsApi struct {
// contains filtered or unexported fields
}
func NewCcseListConfigMapsApi ¶
func NewCcseListConfigMapsApi(client *core.CtyunClient) *CcseListConfigMapsApi
func (*CcseListConfigMapsApi) Do ¶
func (a *CcseListConfigMapsApi) Do(ctx context.Context, credential core.Credential, req *CcseListConfigMapsRequest) (*CcseListConfigMapsResponse, error)
type CcseListConfigMapsRequest ¶
type CcseListConfigMapsRequest struct {
ClusterId string /* 集群id,获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105">如何获取接口URI中参数</a>。 */
NamespaceName string /* 命名空间名称 */
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004422" target="_blank">云容器引擎资源池</a>
另外您通过<a href="https://www.ctyun.cn/document/10026730/10028695" target="_blank">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81" target="_blank">资源池列表查询</a> */
LabelSelector string /* Kubernetes labelSelector,可通过label过滤资源;label之间通过“,”分隔,特殊符号要转义为url编码,如“=”写为“%3D” */
FieldSelector string /* Kubernetes fieldSelector,可通过field过滤资源;label之间通过“,”分隔,特殊符号要转义为url编码,如“=”写为“%3D” */
}
type CcseListCronHorizontalPodAutoscalersApi ¶
type CcseListCronHorizontalPodAutoscalersApi struct {
// contains filtered or unexported fields
}
func NewCcseListCronHorizontalPodAutoscalersApi ¶
func NewCcseListCronHorizontalPodAutoscalersApi(client *core.CtyunClient) *CcseListCronHorizontalPodAutoscalersApi
func (*CcseListCronHorizontalPodAutoscalersApi) Do ¶
func (a *CcseListCronHorizontalPodAutoscalersApi) Do(ctx context.Context, credential core.Credential, req *CcseListCronHorizontalPodAutoscalersRequest) (*CcseListCronHorizontalPodAutoscalersResponse, error)
type CcseListCronHorizontalPodAutoscalersRequest ¶
type CcseListCronHorizontalPodAutoscalersRequest struct {
ClusterId string /* 集群ID,获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105">如何获取接口URI中参数</a>。 */
NamespaceName string /* 命名空间名称 */
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004422" target="_blank">云容器引擎资源池</a>
另外您通过<a href="https://www.ctyun.cn/document/10026730/10028695" target="_blank">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81" target="_blank">资源池列表查询</a>
*/
}
type CcseListDaemonSetsApi ¶
type CcseListDaemonSetsApi struct {
// contains filtered or unexported fields
}
func NewCcseListDaemonSetsApi ¶
func NewCcseListDaemonSetsApi(client *core.CtyunClient) *CcseListDaemonSetsApi
func (*CcseListDaemonSetsApi) Do ¶
func (a *CcseListDaemonSetsApi) Do(ctx context.Context, credential core.Credential, req *CcseListDaemonSetsRequest) (*CcseListDaemonSetsResponse, error)
type CcseListDaemonSetsRequest ¶
type CcseListDaemonSetsRequest struct {
ClusterId string /* 集群ID,获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105">如何获取接口URI中参数</a>。 */
NamespaceName string /* 命名空间名称 */
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004422" target="_blank">云容器引擎资源池</a>
另外您通过<a href="https://www.ctyun.cn/document/10026730/10028695" target="_blank">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81" target="_blank">资源池列表查询</a> */
LabelSelector string /* Kubernetes labelSelector,可通过label过滤资源;label之间通过“,”分隔,特殊符号要转义为url编码,如“=”写为“%3D” */
FieldSelector string /* Kubernetes fieldSelector,可通过field过滤资源;label之间通过“,”分隔,特殊符号要转义为url编码,如“=”写为“%3D” */
}
type CcseListDeploymentsApi ¶
type CcseListDeploymentsApi struct {
// contains filtered or unexported fields
}
func NewCcseListDeploymentsApi ¶
func NewCcseListDeploymentsApi(client *core.CtyunClient) *CcseListDeploymentsApi
func (*CcseListDeploymentsApi) Do ¶
func (a *CcseListDeploymentsApi) Do(ctx context.Context, credential core.Credential, req *CcseListDeploymentsRequest) (*CcseListDeploymentsResponse, error)
type CcseListDeploymentsRequest ¶
type CcseListDeploymentsRequest struct {
ClusterId string /* 集群ID,获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105">如何获取接口URI中参数</a>。 */
NamespaceName string /* 命名空间名称 */
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004422" target="_blank">云容器引擎资源池</a>
另外您通过<a href="https://www.ctyun.cn/document/10026730/10028695" target="_blank">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81" target="_blank">资源池列表查询</a> */
LabelSelector string /* Kubernetes labelSelector,可通过label过滤资源;label之间通过“,”分隔,特殊符号要转义为url编码,如“=”写为“%3D” */
FieldSelector string /* Kubernetes fieldSelector,可通过field过滤资源;label之间通过“,”分隔,特殊符号要转义为url编码,如“=”写为“%3D” */
}
type CcseListEventsApi ¶
type CcseListEventsApi struct {
// contains filtered or unexported fields
}
func NewCcseListEventsApi ¶
func NewCcseListEventsApi(client *core.CtyunClient) *CcseListEventsApi
func (*CcseListEventsApi) Do ¶
func (a *CcseListEventsApi) Do(ctx context.Context, credential core.Credential, req *CcseListEventsRequest) (*CcseListEventsResponse, error)
type CcseListEventsRequest ¶
type CcseListEventsRequest struct {
ClusterId string /* 集群ID,获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105">如何获取接口URI中参数</a>。 */
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87">资源池列表查询</a> */
LabelSelector string /* Kubernetes labelSelector,可通过label过滤资源;label之间通过“,”分隔,特殊符号要转义为url编码,如“=”写为“%3D” */
FieldSelector string /* Kubernetes fieldSelector,可通过field过滤资源;label之间通过“,”分隔,特殊符号要转义为url编码,如“=”写为“%3D”,以下为过滤Event常用的key及其含义:
type:事件等级,有Normal和Warning两种等级
regarding.kind:产生事件资源的类型,如Pod、Node等
regarding.name:产生事件资源的名称
regarding.namesapce:产生事件资源所在的命名空间 */
}
type CcseListEventsResponse ¶
type CcseListHorizontalPodAutoscalersApi ¶
type CcseListHorizontalPodAutoscalersApi struct {
// contains filtered or unexported fields
}
func NewCcseListHorizontalPodAutoscalersApi ¶
func NewCcseListHorizontalPodAutoscalersApi(client *core.CtyunClient) *CcseListHorizontalPodAutoscalersApi
func (*CcseListHorizontalPodAutoscalersApi) Do ¶
func (a *CcseListHorizontalPodAutoscalersApi) Do(ctx context.Context, credential core.Credential, req *CcseListHorizontalPodAutoscalersRequest) (*CcseListHorizontalPodAutoscalersResponse, error)
type CcseListHorizontalPodAutoscalersRequest ¶
type CcseListHorizontalPodAutoscalersRequest struct {
ClusterId string /* 集群ID,获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105">如何获取接口URI中参数</a>。 */
NamespaceName string /* 命名空间名称 */
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004422" target="_blank">云容器引擎资源池</a>
另外您通过<a href="https://www.ctyun.cn/document/10026730/10028695" target="_blank">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81" target="_blank">资源池列表查询</a>
*/
}
type CcseListJobsApi ¶
type CcseListJobsApi struct {
// contains filtered or unexported fields
}
func NewCcseListJobsApi ¶
func NewCcseListJobsApi(client *core.CtyunClient) *CcseListJobsApi
func (*CcseListJobsApi) Do ¶
func (a *CcseListJobsApi) Do(ctx context.Context, credential core.Credential, req *CcseListJobsRequest) (*CcseListJobsResponse, error)
type CcseListJobsRequest ¶
type CcseListJobsRequest struct {
ClusterId string /* 集群Id,获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105">如何获取接口URI中参数</a>。 */
NamespaceName string /* 命名空间名称 */
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004422" target="_blank">云容器引擎资源池</a>
另外您通过<a href="https://www.ctyun.cn/document/10026730/10028695" target="_blank">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81" target="_blank">资源池列表查询</a> */
LabelSelector string /* Kubernetes labelSelector,可通过label过滤资源;label之间通过“,”分隔,特殊符号要转义为url编码,如“=”写为“%3D” */
FieldSelector string /* Kubernetes fieldSelector,可通过field过滤资源;label之间通过“,”分隔,特殊符号要转义为url编码,如“=”写为“%3D” */
}
type CcseListJobsResponse ¶
type CcseListNodePoolsApi ¶
type CcseListNodePoolsApi struct {
// contains filtered or unexported fields
}
func NewCcseListNodePoolsApi ¶
func NewCcseListNodePoolsApi(client *core.CtyunClient) *CcseListNodePoolsApi
func (*CcseListNodePoolsApi) Do ¶
func (a *CcseListNodePoolsApi) Do(ctx context.Context, credential core.Credential, req *CcseListNodePoolsRequest) (*CcseListNodePoolsResponse, error)
type CcseListNodePoolsRequest ¶
type CcseListNodePoolsRequest struct {
ClusterId string /* 集群ID,获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105" target="_blank">如何获取接口URI中参数</a>。 */
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004422" target="_blank">云容器引擎资源池</a>
另外您通过<a href="https://www.ctyun.cn/document/10026730/10028695" target="_blank">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81" target="_blank">资源池列表查询</a> */
NodePoolName string /* 节点池名称 */
PageNow int32 /* 当前页码 */
PageSize int32 /* 每页条数 */
}
type CcseListNodePoolsResponse ¶
type CcseListNodePoolsResponse struct {
StatusCode int32 `json:"statusCode,omitempty"` /* 状态码 */
Message string `json:"message,omitempty"` /* 提示信息 */
ReturnObj *CcseListNodePoolsReturnObjResponse `json:"returnObj"` /* 返回对象 */
Error string `json:"error,omitempty"` /* 错误码 */
}
type CcseListNodePoolsReturnObjRecordsKubeletArgsResponse ¶
type CcseListNodePoolsReturnObjRecordsKubeletArgsResponse struct{}
type CcseListNodePoolsReturnObjRecordsLabelsResponse ¶
type CcseListNodePoolsReturnObjRecordsLabelsResponse struct{}
type CcseListNodePoolsReturnObjRecordsNodesLabelsResponse ¶
type CcseListNodePoolsReturnObjRecordsNodesLabelsResponse struct{}
type CcseListNodePoolsReturnObjRecordsNodesResponse ¶
type CcseListNodePoolsReturnObjRecordsNodesResponse struct {
ClusterId string `json:"clusterId,omitempty"` /* 集群ID */
NodeName string `json:"nodeName,omitempty"` /* 节点名称 */
NodeType int32 `json:"nodeType,omitempty"` /* 节点类型,取值:<br />1:master <br />2:slave */
NodeStatus string `json:"nodeStatus,omitempty"` /* 节点状态,取值:<br/>normal:健康。<br/>abnormal:异常。<br/>expulsion:驱逐中。 */
IsSchedule int32 `json:"isSchedule,omitempty"` /* 是否调度,取值: 1:是。 <br />0:否。 */
IsEvict int32 `json:"isEvict,omitempty"` /* 是否驱逐,取值: 1:是。 <br />0:否。 */
DockerDataPath string `json:"dockerDataPath,omitempty"` /* docker数据目录 */
CreatedTime string `json:"createdTime,omitempty"` /* 创建时间。 */
HostIp string `json:"hostIp,omitempty"` /* 主机管理ip。 */
HostIpv6 string `json:"hostIpv6,omitempty"` /* 主机管理ipv6。 */
HostExtraIp string `json:"hostExtraIp,omitempty"` /* 主机业务ip。 */
HostExtraIpv6 string `json:"hostExtraIpv6,omitempty"` /* 主机业务ipv6。 */
Cpu string `json:"cpu,omitempty"` /* cpu核数 */
CpuUseRate int32 `json:"cpuUseRate,omitempty"` /* cpu使用率% */
Memory string `json:"memory,omitempty"` /* 内存 */
MemoryUseRate int32 `json:"memoryUseRate,omitempty"` /* 内存使用率% */
Disk string `json:"disk,omitempty"` /* 磁盘GiB */
DiskUseRate int32 `json:"diskUseRate,omitempty"` /* 磁盘使用率% */
KubeletVersion string `json:"kubeletVersion,omitempty"` /* Kubelet 版本 */
PodCidr string `json:"podCidr,omitempty"` /* Pod CIDR */
KernelVersion string `json:"kernelVersion,omitempty"` /* 内核版本 */
OsImageVersion string `json:"osImageVersion,omitempty"` /* OS 镜像 */
KubeProxyVersion string `json:"kubeProxyVersion,omitempty"` /* KubeProxy 版本 */
DockerVersion string `json:"dockerVersion,omitempty"` /* 容器版本 */
IsSecure int32 `json:"isSecure,omitempty"` /* 是否安全节点,取值:<br />1:是。 <br />0:否。 */
Taints []*CcseListNodePoolsReturnObjRecordsNodesTaintsResponse `json:"taints"` /* 污点 */
ChannelLabel string `json:"channelLabel,omitempty"` /* 渠道标签 */
ZoneName string `json:"zoneName,omitempty"` /* 可用区名称 */
CloudHostId string `json:"cloudHostId,omitempty"` /* 云主机id */
Labels *CcseListNodePoolsReturnObjRecordsNodesLabelsResponse `json:"labels"` /* 标签 */
EcsId string `json:"ecsId,omitempty"` /* paas平台云主机id */
VmSpecName string `json:"vmSpecName,omitempty"` /* 节点规格名称 */
Architecture string `json:"architecture,omitempty"` /* 架构 */
ZoneCode string `json:"zoneCode,omitempty"` /* 可用区编码 */
BizState int32 `json:"bizState,omitempty"` /* 集群状态 */
NeedShowHostRoom *bool `json:"needShowHostRoom"` /* 是否显示机房信息 */
RoomName string `json:"roomName,omitempty"` /* 机房名称 */
FrameCode string `json:"frameCode,omitempty"` /* 机柜编码 */
PhysicalPosition string `json:"physicalPosition,omitempty"` /* 物理位置 */
RoomInfo string `json:"roomInfo,omitempty"` /* 机房信息 */
IsBootstrap *bool `json:"isBootstrap"` /* 是否为bootstrap节点 */
HostType string `json:"hostType,omitempty"` /* host类型 */
ResourceId string `json:"resourceId,omitempty"` /* 资源id */
NodeScaleDownProject *bool `json:"nodeScaleDownProject"` /* 开启/关闭节点缩容保护 */
LoginType string `json:"loginType,omitempty"` /* 登陆类型 */
VirtualNodeId string `json:"virtualNodeId,omitempty"` /* 虚拟节点ID */
}
type CcseListNodePoolsReturnObjRecordsResponse ¶
type CcseListNodePoolsReturnObjRecordsResponse struct {
Id string `json:"id,omitempty"` /* 节点池id */
NodePoolName string `json:"nodePoolName,omitempty"` /* 节点池名称 */
BillMode string `json:"billMode,omitempty"` /* 付费类型 */
Description string `json:"description,omitempty"` /* 描述 */
NodeTotalNum int32 `json:"nodeTotalNum,omitempty"` /* 节点总数 */
NormalNodeNum int32 `json:"normalNodeNum,omitempty"` /* 正常节点数 */
UnNormalNodeNum int32 `json:"unNormalNodeNum,omitempty"` /* 异常节点数 */
Nodes []*CcseListNodePoolsReturnObjRecordsNodesResponse `json:"nodes"` /* 节点池节点信息 */
Runtime string `json:"runtime,omitempty"` /* 运行时 */
RuntimeVersion string `json:"runtimeVersion,omitempty"` /* 运行时版本 */
NodeGroup string `json:"nodeGroup,omitempty"` /* 伸缩组 */
VmSpecName string `json:"vmSpecName,omitempty"` /* 节点规格 */
VmType string `json:"vmType,omitempty"` /* 节点规格类型 */
Cpu int32 `json:"cpu,omitempty"` /* cpu */
Memory int32 `json:"memory,omitempty"` /* 内存 */
DataDisks []*CcseListNodePoolsReturnObjRecordsDataDisksResponse `json:"dataDisks"` /* 数据盘 */
Status string `json:"status,omitempty"` /* 状态 */
MaxPodNum int32 `json:"maxPodNum,omitempty"` /* 最大pod数 */
Labels *CcseListNodePoolsReturnObjRecordsLabelsResponse `json:"labels"` /* 标签 */
Taints []*CcseListNodePoolsReturnObjRecordsTaintsResponse `json:"taints"` /* 污点 */
IsDefault *bool `json:"isDefault"` /* 是否默认 */
EnableAutoScale *bool `json:"enableAutoScale"` /* 是否自动弹性伸缩 */
MaxNum int32 `json:"maxNum,omitempty"` /* 伸缩组最大数量 */
MinNum int32 `json:"minNum,omitempty"` /* 伸缩组最小数量 */
KubeletArgs *CcseListNodePoolsReturnObjRecordsKubeletArgsResponse `json:"kubeletArgs"` /* kubelet参数 */
CreatedTime string `json:"createdTime,omitempty"` /* 创建时间 */
UpdatedTime string `json:"updatedTime,omitempty"` /* 更新时间 */
Vpc string `json:"vpc,omitempty"` /* vpc名称 */
Subnetwork string `json:"subnetwork,omitempty"` /* 子网 */
SecruityGroupName string `json:"secruityGroupName,omitempty"` /* 安全组名称 */
ImageName string `json:"imageName,omitempty"` /* 操作系统镜像名称 */
ImageUuid string `json:"imageUuid,omitempty"` /* 操作系统镜像ID */
EcsPasswd string `json:"ecsPasswd,omitempty"` /* 云主机密码 */
LoginType string `json:"loginType,omitempty"` /* 云主机密码类型 */
KeyName string `json:"keyName,omitempty"` /* ebm密钥对使用字段 */
KeyPairId string `json:"keyPairId,omitempty"` /* ecs密钥对使用字段 */
SysDiskType string `json:"sysDiskType,omitempty"` /* 节点系统盘类型 */
SysDiskSize int32 `json:"sysDiskSize,omitempty"` /* 节点系统盘大小 */
KubeletDirectory string `json:"kubeletDirectory,omitempty"` /* 自定义kubelet目录 */
ContainerDataDirectory string `json:"containerDataDirectory,omitempty"` /* 自定义容器数据目录 */
VisibilityPostHostScript string `json:"visibilityPostHostScript,omitempty"` /* 部署后执行自定义脚本 */
VisibilityHostScript string `json:"visibilityHostScript,omitempty"` /* 部署前执行自定义脚本 */
AzInfo []*CcseListNodePoolsReturnObjRecordsAzInfoResponse `json:"azInfo"` /* 可用区 */
SubnetUuid string `json:"subnetUuid,omitempty"` /* 子网UUID */
NodePoolType int32 `json:"nodePoolType,omitempty"` /* 节点池类型 */
BillingMode string `json:"billingMode,omitempty"` /* 订单类型 1-包年包月 2-按需计费 */
CycleCount int32 `json:"cycleCount,omitempty"` /* 订购时长 */
CycleType string `json:"cycleType,omitempty"` /* 订购周期类型 MONTH-月 YEAR-年 */
AutoRenewStatus int32 `json:"autoRenewStatus,omitempty"` /* 是否自动续订 0-否 1-是 */
DefinedHostnameEnable int32 `json:"definedHostnameEnable,omitempty"` /* 是否自定义节点名称 0-否 1-是 */
HostNamePrefix string `json:"hostNamePrefix,omitempty"` /* 自定义主机名前缀 */
HostNamePostfix string `json:"hostNamePostfix,omitempty"` /* 自定义主机名后缀 */
}
type CcseListNodePoolsReturnObjResponse ¶
type CcseListNodePoolsReturnObjResponse struct {
Records []*CcseListNodePoolsReturnObjRecordsResponse `json:"records"` /* 记录列表 */
Total int32 `json:"total,omitempty"` /* 总条数 */
Size int32 `json:"size,omitempty"` /* 每页条数 */
Current int32 `json:"current,omitempty"` /* 当前页码 */
Pages int32 `json:"pages,omitempty"` /* 总页数 */
}
type CcseListNodesApi ¶
type CcseListNodesApi struct {
// contains filtered or unexported fields
}
func NewCcseListNodesApi ¶
func NewCcseListNodesApi(client *core.CtyunClient) *CcseListNodesApi
func (*CcseListNodesApi) Do ¶
func (a *CcseListNodesApi) Do(ctx context.Context, credential core.Credential, req *CcseListNodesRequest) (*CcseListNodesResponse, error)
type CcseListNodesRequest ¶
type CcseListNodesRequest struct {
ClusterId string `json:"clusterId,omitempty"` /* 集群ID,获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105">如何获取接口URI中参数</a>。 */
RegionId string `json:"regionId,omitempty"` /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004422" target="_blank">云容器引擎资源池</a>
另外您通过<a href="https://www.ctyun.cn/document/10026730/10028695" target="_blank">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81" target="_blank">资源池列表查询</a> */
LabelSelector string `json:"labelSelector,omitempty"` /* Kubernetes labelSelector,可通过label过滤资源;label之间通过“,”分隔,特殊符号要转义为url编码,如“=”写为“%3D” */
FieldSelector string `json:"fieldSelector,omitempty"` /* Kubernetes fieldSelector,可通过field过滤资源;label之间通过“,”分隔,特殊符号要转义为url编码,如“=”写为“%3D” */
}
type CcseListNodesResponse ¶
type CcseListPersistentVolumeClaimsApi ¶
type CcseListPersistentVolumeClaimsApi struct {
// contains filtered or unexported fields
}
func NewCcseListPersistentVolumeClaimsApi ¶
func NewCcseListPersistentVolumeClaimsApi(client *core.CtyunClient) *CcseListPersistentVolumeClaimsApi
func (*CcseListPersistentVolumeClaimsApi) Do ¶
func (a *CcseListPersistentVolumeClaimsApi) Do(ctx context.Context, credential core.Credential, req *CcseListPersistentVolumeClaimsRequest) (*CcseListPersistentVolumeClaimsResponse, error)
type CcseListPersistentVolumeClaimsRequest ¶
type CcseListPersistentVolumeClaimsRequest struct {
ClusterId string /* 集群id, 获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105">如何获取接口URI中参数</a>。 */
NamespaceName string /* 命名空间名称 */
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004422" target="_blank">云容器引擎资源池</a>
另外您通过<a href="https://www.ctyun.cn/document/10026730/10028695" target="_blank">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81" target="_blank">资源池列表查询</a> */
LabelSelector string /* Kubernetes labelSelector,可通过label过滤资源;label之间通过“,”分隔,特殊符号要转义为url编码,如“=”写为“%3D” */
FieldSelector string /* Kubernetes fieldSelector,可通过field过滤资源;label之间通过“,”分隔,特殊符号要转义为url编码,如“=”写为“%3D” */
}
type CcseListPersistentVolumesApi ¶
type CcseListPersistentVolumesApi struct {
// contains filtered or unexported fields
}
func NewCcseListPersistentVolumesApi ¶
func NewCcseListPersistentVolumesApi(client *core.CtyunClient) *CcseListPersistentVolumesApi
func (*CcseListPersistentVolumesApi) Do ¶
func (a *CcseListPersistentVolumesApi) Do(ctx context.Context, credential core.Credential, req *CcseListPersistentVolumesRequest) (*CcseListPersistentVolumesResponse, error)
type CcseListPersistentVolumesRequest ¶
type CcseListPersistentVolumesRequest struct {
ClusterId string /* 集群Id,获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105">如何获取接口URI中参数</a>。 */
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004422" target="_blank">云容器引擎资源池</a>
另外您通过<a href="https://www.ctyun.cn/document/10026730/10028695" target="_blank">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81" target="_blank">资源池列表查询</a> */
LabelSelector string /* Kubernetes labelSelector,可通过label过滤资源;label之间通过“,”分隔,特殊符号要转义为url编码,如“=”写为“%3D” */
FieldSelector string /* Kubernetes fieldSelector,可通过field过滤资源;label之间通过“,”分隔,特殊符号要转义为url编码,如“=”写为“%3D” */
}
type CcseListPluginInstancesApi ¶
type CcseListPluginInstancesApi struct {
// contains filtered or unexported fields
}
func NewCcseListPluginInstancesApi ¶
func NewCcseListPluginInstancesApi(client *core.CtyunClient) *CcseListPluginInstancesApi
func (*CcseListPluginInstancesApi) Do ¶
func (a *CcseListPluginInstancesApi) Do(ctx context.Context, credential core.Credential, req *CcseListPluginInstancesRequest) (*CcseListPluginInstancesResponse, error)
type CcseListPluginInstancesRequest ¶
type CcseListPluginInstancesRequest struct {
ClusterId string `json:"clusterId,omitempty"` /* 集群ID,获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105">如何获取接口URI中参数</a>。 */
RegionId string `json:"regionId,omitempty"` /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004422" target="_blank">云容器引擎资源池</a>
另外您通过<a href="https://www.ctyun.cn/document/10026730/10028695" target="_blank">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81" target="_blank">资源池列表查询</a> */
PageNow int32 `json:"pageNow,omitempty"` /* 当前页码 */
PageSize int32 `json:"pageSize,omitempty"` /* 每页条数 */
Namespace string `json:"namespace,omitempty"` /* 命名空间名称 */
ChartName string `json:"chartName,omitempty"` /* chart名称 */
InstanceName string `json:"instanceName,omitempty"` /* 插件名称 */
ListAll *bool `json:"listAll"` /* 是否列举全部 */
}
type CcseListPluginInstancesResponse ¶
type CcseListPluginInstancesResponse struct {
StatusCode int32 `json:"statusCode,omitempty"` /* 状态码 */
RequestId string `json:"requestId,omitempty"` /* 请求id */
Message string `json:"message,omitempty"` /* 提示信息 */
ReturnObj *CcseListPluginInstancesReturnObjResponse `json:"returnObj"` /* 分页查询结果对象 */
Error string `json:"error,omitempty"` /* 错误码 */
}
type CcseListPluginInstancesReturnObjRecordsResponse ¶
type CcseListPluginInstancesReturnObjRecordsResponse struct {
Name string `json:"name,omitempty"` /* 实例名称。 */
Revision string `json:"revision,omitempty"` /* 版本 */
Namespace string `json:"namespace,omitempty"` /* 命名空间 */
Updated string `json:"updated,omitempty"` /* 更新时间 */
Status string `json:"status,omitempty"` /* 状态。取值范围:uninstalled未安装、deployed已部署、failed失败、pending-upgrade待升级、pending-rollback待回滚、uninstalling已卸载、uninstalled已卸载完成、pending-install安装中 */
Chart string `json:"chart,omitempty"` /* Chart名称和版本 */
AppVersion string `json:"appVersion,omitempty"` /* 版本 */
ClusterId string `json:"clusterId,omitempty"` /* 集群ID */
RepositoryId interface{} `json:"repositoryId,omitempty"` /* 仓库ID */
ChartName string `json:"chartName,omitempty"` /* Chart名称 */
ChartVersion string `json:"chartVersion,omitempty"` /* Chart版本 */
ChartUrl string `json:"chartUrl,omitempty"` /* Chart地址 */
Icon string `json:"icon,omitempty"` /* icon地址 */
Description string `json:"description,omitempty"` /* 描述 */
NextVersion string `json:"nextVersion,omitempty"` /* 下一版本 */
TemplateName string `json:"templateName,omitempty"` /* 模板类型 */
KubeConfigPath string `json:"kubeConfigPath,omitempty"` /* kubeConfig路径 */
}
type CcseListPluginInstancesReturnObjResponse ¶
type CcseListPluginInstancesReturnObjResponse struct {
Records []*CcseListPluginInstancesReturnObjRecordsResponse `json:"records"` /* 记录列表 */
Total int32 `json:"total,omitempty"` /* 总条数 */
Size int32 `json:"size,omitempty"` /* 每页条数 */
Current int32 `json:"current,omitempty"` /* 当前页码 */
Pages int32 `json:"pages,omitempty"` /* 总页数 */
}
type CcseListPodApi ¶
type CcseListPodApi struct {
// contains filtered or unexported fields
}
func NewCcseListPodApi ¶
func NewCcseListPodApi(client *core.CtyunClient) *CcseListPodApi
func (*CcseListPodApi) Do ¶
func (a *CcseListPodApi) Do(ctx context.Context, credential core.Credential, req *CcseListPodRequest) (*CcseListPodResponse, error)
type CcseListPodRequest ¶
type CcseListPodRequest struct {
ClusterId string /* 集群id, 获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105">如何获取接口URI中参数</a>。 */
NamespaceName string /* 命名空间名称 */
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004422" target="_blank">云容器引擎资源池</a>
另外您通过<a href="https://www.ctyun.cn/document/10026730/10028695" target="_blank">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81" target="_blank">资源池列表查询</a> */
LabelSelector string /* Kubernetes labelSelector,可通过label过滤资源;label之间通过“,”分隔,特殊符号要转义为url编码,如“=”写为“%3D” */
FieldSelector string /* Kubernetes fieldSelector,可通过field过滤资源;label之间通过“,”分隔,特殊符号要转义为url编码,如“=”写为“%3D” */
}
type CcseListPodResponse ¶
type CcseListPodResponse struct {
StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码 */
Message string `json:"message,omitempty"` /* 响应信息 */
ReturnObj string `json:"returnObj,omitempty"` /* 返回结果 */
Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */
RequestId string `json:"requestId,omitempty"` /* 请求ID */
}
type CcseListPolicyRulesApi ¶
type CcseListPolicyRulesApi struct {
// contains filtered or unexported fields
}
func NewCcseListPolicyRulesApi ¶
func NewCcseListPolicyRulesApi(client *core.CtyunClient) *CcseListPolicyRulesApi
func (*CcseListPolicyRulesApi) Do ¶
func (a *CcseListPolicyRulesApi) Do(ctx context.Context, credential core.Credential, req *CcseListPolicyRulesRequest) (*CcseListPolicyRulesResponse, error)
type CcseListPolicyRulesRequest ¶
type CcseListPolicyRulesRequest struct {
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004422" target="_blank">云容器引擎资源池</a>
另外您通过<a href="https://www.ctyun.cn/document/10026730/10028695" target="_blank">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81" target="_blank">资源池列表查询</a> */
}
type CcseListPolicyRulesResponse ¶
type CcseListPolicyRulesResponse struct {
StatusCode int32 `json:"statusCode,omitempty"` /* 状态码 */
Message string `json:"message,omitempty"` /* 提示信息 */
ReturnObj *CcseListPolicyRulesReturnObjResponse `json:"returnObj"` /* Map<String,Array of Strings>类型,返回对象 */
Error string `json:"error,omitempty"` /* 错误码 */
}
type CcseListPolicyRulesReturnObjResponse ¶
type CcseListPolicyRulesReturnObjResponse struct{}
type CcseListReplicaSetsApi ¶
type CcseListReplicaSetsApi struct {
// contains filtered or unexported fields
}
func NewCcseListReplicaSetsApi ¶
func NewCcseListReplicaSetsApi(client *core.CtyunClient) *CcseListReplicaSetsApi
func (*CcseListReplicaSetsApi) Do ¶
func (a *CcseListReplicaSetsApi) Do(ctx context.Context, credential core.Credential, req *CcseListReplicaSetsRequest) (*CcseListReplicaSetsResponse, error)
type CcseListReplicaSetsRequest ¶
type CcseListReplicaSetsRequest struct {
ClusterId string /* 集群Id,获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105">如何获取接口URI中参数</a>。 */
NamespaceName string /* 命名空间名称 */
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004422" target="_blank">云容器引擎资源池</a>
另外您通过<a href="https://www.ctyun.cn/document/10026730/10028695" target="_blank">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81" target="_blank">资源池列表查询</a> */
LabelSelector string /* Kubernetes labelSelector,可通过label过滤资源;label之间通过“,”分隔,特殊符号要转义为url编码,如“=”写为“%3D” */
FieldSelector string /* Kubernetes fieldSelector,可通过field过滤资源;label之间通过“,”分隔,特殊符号要转义为url编码,如“=”写为“%3D” */
}
type CcseListSecretsApi ¶
type CcseListSecretsApi struct {
// contains filtered or unexported fields
}
func NewCcseListSecretsApi ¶
func NewCcseListSecretsApi(client *core.CtyunClient) *CcseListSecretsApi
func (*CcseListSecretsApi) Do ¶
func (a *CcseListSecretsApi) Do(ctx context.Context, credential core.Credential, req *CcseListSecretsRequest) (*CcseListSecretsResponse, error)
type CcseListSecretsRequest ¶
type CcseListSecretsRequest struct {
ClusterId string /* 集群Id,获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105">如何获取接口URI中参数</a>。 */
NamespaceName string /* 命名空间名称 */
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004422" target="_blank">云容器引擎资源池</a>
另外您通过<a href="https://www.ctyun.cn/document/10026730/10028695" target="_blank">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81" target="_blank">资源池列表查询</a> */
LabelSelector string /* Kubernetes labelSelector,可通过label过滤资源;label之间通过“,”分隔,特殊符号要转义为url编码,如“=”写为“%3D” */
FieldSelector string /* Kubernetes fieldSelector,可通过field过滤资源;label之间通过“,”分隔,特殊符号要转义为url编码,如“=”写为“%3D” */
}
type CcseListSecretsResponse ¶
type CcseListServicesApi ¶
type CcseListServicesApi struct {
// contains filtered or unexported fields
}
func NewCcseListServicesApi ¶
func NewCcseListServicesApi(client *core.CtyunClient) *CcseListServicesApi
func (*CcseListServicesApi) Do ¶
func (a *CcseListServicesApi) Do(ctx context.Context, credential core.Credential, req *CcseListServicesRequest) (*CcseListServicesResponse, error)
type CcseListServicesRequest ¶
type CcseListServicesRequest struct {
ClusterId string /* 集群ID,获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105" target="_blank">如何获取接口URI中参数</a> */
NamespaceName string /* 命名空间名称 */
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004422" target="_blank">云容器引擎资源池</a>
另外您通过<a href="https://www.ctyun.cn/document/10026730/10028695" target="_blank">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81" target="_blank">资源池列表查询</a> */
LabelSelector string /* Kubernetes labelSelector,可通过label过滤资源;label之间通过“,”分隔,特殊符号要转义为url编码,如“=”写为“%3D” */
FieldSelector string /* Kubernetes fieldSelector,可通过field过滤资源;label之间通过“,”分隔,特殊符号要转义为url编码,如“=”写为“%3D” */
}
type CcseListStatefulSetsApi ¶
type CcseListStatefulSetsApi struct {
// contains filtered or unexported fields
}
func NewCcseListStatefulSetsApi ¶
func NewCcseListStatefulSetsApi(client *core.CtyunClient) *CcseListStatefulSetsApi
func (*CcseListStatefulSetsApi) Do ¶
func (a *CcseListStatefulSetsApi) Do(ctx context.Context, credential core.Credential, req *CcseListStatefulSetsRequest) (*CcseListStatefulSetsResponse, error)
type CcseListStatefulSetsRequest ¶
type CcseListStatefulSetsRequest struct {
ClusterId string /* 集群ID,获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105">如何获取接口URI中参数</a>。 */
NamespaceName string /* 命名空间名称 */
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004422" target="_blank">云容器引擎资源池</a>
另外您通过<a href="https://www.ctyun.cn/document/10026730/10028695" target="_blank">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81" target="_blank">资源池列表查询</a> */
LabelSelector string /* Kubernetes labelSelector,可通过label过滤资源;label之间通过“,”分隔,特殊符号要转义为url编码,如“=”写为“%3D” */
FieldSelector string /* Kubernetes fieldSelector,可通过field过滤资源;label之间通过“,”分隔,特殊符号要转义为url编码,如“=”写为“%3D” */
}
type CcseListStorageClassesApi ¶
type CcseListStorageClassesApi struct {
// contains filtered or unexported fields
}
func NewCcseListStorageClassesApi ¶
func NewCcseListStorageClassesApi(client *core.CtyunClient) *CcseListStorageClassesApi
func (*CcseListStorageClassesApi) Do ¶
func (a *CcseListStorageClassesApi) Do(ctx context.Context, credential core.Credential, req *CcseListStorageClassesRequest) (*CcseListStorageClassesResponse, error)
type CcseListStorageClassesRequest ¶
type CcseListStorageClassesRequest struct {
ClusterId string /* 集群id, 获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105">如何获取接口URI中参数</a>。 */
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004422" target="_blank">云容器引擎资源池</a>
另外您通过<a href="https://www.ctyun.cn/document/10026730/10028695" target="_blank">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81" target="_blank">资源池列表查询</a> */
LabelSelector string /* Kubernetes labelSelector,可通过label过滤资源;label之间通过“,”分隔,特殊符号要转义为url编码,如“=”写为“%3D” */
FieldSelector string /* Kubernetes fieldSelector,可通过field过滤资源;label之间通过“,”分隔,特殊符号要转义为url编码,如“=”写为“%3D” */
}
type CcseListVolumeSnapshotClassesApi ¶
type CcseListVolumeSnapshotClassesApi struct {
// contains filtered or unexported fields
}
func NewCcseListVolumeSnapshotClassesApi ¶
func NewCcseListVolumeSnapshotClassesApi(client *core.CtyunClient) *CcseListVolumeSnapshotClassesApi
func (*CcseListVolumeSnapshotClassesApi) Do ¶
func (a *CcseListVolumeSnapshotClassesApi) Do(ctx context.Context, credential core.Credential, req *CcseListVolumeSnapshotClassesRequest) (*CcseListVolumeSnapshotClassesResponse, error)
type CcseListVolumeSnapshotClassesRequest ¶
type CcseListVolumeSnapshotClassesRequest struct {
ClusterId string /* 集群id, 获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105">如何获取接口URI中参数</a>。 */
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004422" target="_blank">云容器引擎资源池</a>
另外您通过<a href="https://www.ctyun.cn/document/10026730/10028695" target="_blank">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81" target="_blank">资源池列表查询</a> */
LabelSelector string /* Kubernetes labelSelector,可通过label过滤资源;label之间通过“,”分隔,特殊符号要转义为url编码,如“=”写为“%3D” */
FieldSelector string /* Kubernetes fieldSelector,可通过field过滤资源;label之间通过“,”分隔,特殊符号要转义为url编码,如“=”写为“%3D” */
}
type CcseListVolumeSnapshotsApi ¶
type CcseListVolumeSnapshotsApi struct {
// contains filtered or unexported fields
}
func NewCcseListVolumeSnapshotsApi ¶
func NewCcseListVolumeSnapshotsApi(client *core.CtyunClient) *CcseListVolumeSnapshotsApi
func (*CcseListVolumeSnapshotsApi) Do ¶
func (a *CcseListVolumeSnapshotsApi) Do(ctx context.Context, credential core.Credential, req *CcseListVolumeSnapshotsRequest) (*CcseListVolumeSnapshotsResponse, error)
type CcseListVolumeSnapshotsRequest ¶
type CcseListVolumeSnapshotsRequest struct {
ClusterId string /* 集群id, 获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105">如何获取接口URI中参数</a>。 */
NamespaceName string /* 命名空间名称 */
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004422" target="_blank">云容器引擎资源池</a>
另外您通过<a href="https://www.ctyun.cn/document/10026730/10028695" target="_blank">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81" target="_blank">资源池列表查询</a> */
LabelSelector string /* Kubernetes labelSelector,可通过label过滤资源;label之间通过“,”分隔,特殊符号要转义为url编码,如“=”写为“%3D” */
FieldSelector string /* Kubernetes fieldSelector,可通过field过滤资源;label之间通过“,”分隔,特殊符号要转义为url编码,如“=”写为“%3D” */
}
type CcseModifyNodeApi ¶
type CcseModifyNodeApi struct {
// contains filtered or unexported fields
}
func NewCcseModifyNodeApi ¶
func NewCcseModifyNodeApi(client *core.CtyunClient) *CcseModifyNodeApi
func (*CcseModifyNodeApi) Do ¶
func (a *CcseModifyNodeApi) Do(ctx context.Context, credential core.Credential, req *CcseModifyNodeRequest) (*CcseModifyNodeResponse, error)
type CcseModifyNodeRequest ¶
type CcseModifyNodeRequest struct {
ClusterId string /* 集群ID,获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105">如何获取接口URI中参数</a>。 */
NodeName string /* 节点名称 */
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004422" target="_blank">云容器引擎资源池</a>
另外您通过<a href="https://www.ctyun.cn/document/10026730/10028695" target="_blank">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81" target="_blank">资源池列表查询</a> */
TextPlainDataString string `json:"textPlainDataString,omitempty"` /* 字符串类型的yaml */
}
type CcseModifyNodeResponse ¶
type CcsePauseClusterTaskApi ¶
type CcsePauseClusterTaskApi struct {
// contains filtered or unexported fields
}
func NewCcsePauseClusterTaskApi ¶
func NewCcsePauseClusterTaskApi(client *core.CtyunClient) *CcsePauseClusterTaskApi
func (*CcsePauseClusterTaskApi) Do ¶
func (a *CcsePauseClusterTaskApi) Do(ctx context.Context, credential core.Credential, req *CcsePauseClusterTaskRequest) (*CcsePauseClusterTaskResponse, error)
type CcsePauseClusterTaskRequest ¶
type CcsePauseClusterTaskRequest struct {
TaskId string /* 任务ID */
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004422" target="_blank">云容器引擎资源池</a>
另外您通过<a href="https://www.ctyun.cn/document/10026730/10028695" target="_blank">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81" target="_blank">资源池列表查询</a> */
}
type CcsePauseClusterTaskResponse ¶
type CcsePauseClusterTaskResponse struct {
StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码 */
RequestId string `json:"requestId,omitempty"` /* 请求ID */
Message string `json:"message,omitempty"` /* 响应信息 */
ReturnObj *CcsePauseClusterTaskReturnObjResponse `json:"returnObj"` /* 请求结果 */
Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */
}
type CcsePauseClusterTaskReturnObjResponse ¶
type CcsePauseClusterTaskReturnObjResponse struct{}
type CcseQueryClusterSubUserApi ¶
type CcseQueryClusterSubUserApi struct {
// contains filtered or unexported fields
}
func NewCcseQueryClusterSubUserApi ¶
func NewCcseQueryClusterSubUserApi(client *core.CtyunClient) *CcseQueryClusterSubUserApi
func (*CcseQueryClusterSubUserApi) Do ¶
func (a *CcseQueryClusterSubUserApi) Do(ctx context.Context, credential core.Credential, req *CcseQueryClusterSubUserRequest) (*CcseQueryClusterSubUserResponse, error)
type CcseQueryClusterSubUserRequest ¶
type CcseQueryClusterSubUserRequest struct {
ClusterId string /* 集群ID,获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105">如何获取接口URI中参数</a>。 */
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004422" target="_blank">云容器引擎资源池</a>
另外您通过<a href="https://www.ctyun.cn/document/10026730/10028695" target="_blank">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81" target="_blank">资源池列表查询</a> */
}
type CcseQueryClusterSubUserResponse ¶
type CcseQueryClusterSubUserResponse struct {
StatusCode int32 `json:"statusCode,omitempty"` /* 状态码 */
Message string `json:"message,omitempty"` /* 提示信息 */
ReturnObj []*CcseQueryClusterSubUserReturnObjResponse `json:"returnObj"` /* 返回对象 */
Error string `json:"error,omitempty"` /* 错误码 */
}
type CcseQueryNodeApi ¶
type CcseQueryNodeApi struct {
// contains filtered or unexported fields
}
func NewCcseQueryNodeApi ¶
func NewCcseQueryNodeApi(client *core.CtyunClient) *CcseQueryNodeApi
func (*CcseQueryNodeApi) Do ¶
func (a *CcseQueryNodeApi) Do(ctx context.Context, credential core.Credential, req *CcseQueryNodeRequest) (*CcseQueryNodeResponse, error)
type CcseQueryNodeRequest ¶
type CcseQueryNodeRequest struct {
ClusterId string /* 集群ID,获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105">如何获取接口URI中参数</a>。 */
NodeName string /* 节点名称 */
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004422" target="_blank">云容器引擎资源池</a>
另外您通过<a href="https://www.ctyun.cn/document/10026730/10028695" target="_blank">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81" target="_blank">资源池列表查询</a> */
}
type CcseQueryNodeResponse ¶
type CcseRedeployPluginInstanceApi ¶
type CcseRedeployPluginInstanceApi struct {
// contains filtered or unexported fields
}
func NewCcseRedeployPluginInstanceApi ¶
func NewCcseRedeployPluginInstanceApi(client *core.CtyunClient) *CcseRedeployPluginInstanceApi
func (*CcseRedeployPluginInstanceApi) Do ¶
func (a *CcseRedeployPluginInstanceApi) Do(ctx context.Context, credential core.Credential, req *CcseRedeployPluginInstanceRequest) (*CcseRedeployPluginInstanceResponse, error)
type CcseRedeployPluginInstanceRequest ¶
type CcseRedeployPluginInstanceRequest struct {
ClusterId string /* 集群ID,获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105">如何获取接口URI中参数</a>。 */
PluginName string /* 插件实例名称 */
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004422" target="_blank">云容器引擎资源池</a>
另外您通过<a href="https://www.ctyun.cn/document/10026730/10028695" target="_blank">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81" target="_blank">资源池列表查询</a> */
Namespace string /* 命名空间名称 */
ChartName string `json:"chartName,omitempty"` /* 插件名称 */
ChartVersion string `json:"chartVersion,omitempty"` /* 插件版本号 */
InstanceName string `json:"instanceName,omitempty"` /* 实例名称 */
Values string `json:"values,omitempty"` /* 实例配置参数(YAML格式),与valuesJson二选一 */
ValuesJson string `json:"valuesJson,omitempty"` /* 实例配置参数(JSON格式),与values二选一 */
}
type CcseRedeployPluginInstanceResponse ¶
type CcseRedeployPluginInstanceResponse struct {
StatusCode int32 `json:"statusCode,omitempty"` /* 状态码 */
RequestId string `json:"requestId,omitempty"` /* 请求id */
Message string `json:"message,omitempty"` /* 提示信息 */
ReturnObj *bool `json:"returnObj"` /* 返回对象 */
Error string `json:"error,omitempty"` /* 错误码 */
}
type CcseRemoveHorizontalPodAutoscalerV2Api ¶
type CcseRemoveHorizontalPodAutoscalerV2Api struct {
// contains filtered or unexported fields
}
func NewCcseRemoveHorizontalPodAutoscalerV2Api ¶
func NewCcseRemoveHorizontalPodAutoscalerV2Api(client *core.CtyunClient) *CcseRemoveHorizontalPodAutoscalerV2Api
func (*CcseRemoveHorizontalPodAutoscalerV2Api) Do ¶
func (a *CcseRemoveHorizontalPodAutoscalerV2Api) Do(ctx context.Context, credential core.Credential, req *CcseRemoveHorizontalPodAutoscalerV2Request) (*CcseRemoveHorizontalPodAutoscalerV2Response, error)
type CcseRemoveHorizontalPodAutoscalerV2Request ¶
type CcseRemoveHorizontalPodAutoscalerV2Request struct {
ClusterId string /* 集群ID,获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105">如何获取接口URI中参数</a>。 */
NamespaceName string /* 命名空间名称 */
Name string /* 资源名称 */
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004422" target="_blank">云容器引擎资源池</a>
另外您通过<a href="https://www.ctyun.cn/document/10026730/10028695" target="_blank">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81" target="_blank">资源池列表查询</a>
*/
}
type CcseRemoveNodeV2Api ¶
type CcseRemoveNodeV2Api struct {
// contains filtered or unexported fields
}
func NewCcseRemoveNodeV2Api ¶
func NewCcseRemoveNodeV2Api(client *core.CtyunClient) *CcseRemoveNodeV2Api
func (*CcseRemoveNodeV2Api) Do ¶
func (a *CcseRemoveNodeV2Api) Do(ctx context.Context, credential core.Credential, req *CcseRemoveNodeV2Request) (*CcseRemoveNodeV2Response, error)
type CcseRemoveNodeV2Request ¶
type CcseRemoveNodeV2Request struct {
ClusterId string `json:"clusterId,omitempty"` /* 集群ID,获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105" target="_blank">如何获取接口URI中参数</a>。 */
NodePoolId string `json:"nodePoolId,omitempty"` /* 节点池ID,获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105" target="_blank">如何获取接口URI中参数</a>。 */
RegionId string `json:"regionId,omitempty"` /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004422" target="_blank">云容器引擎资源池</a>
另外您通过<a href="https://www.ctyun.cn/document/10026730/10028695" target="_blank">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81" target="_blank">资源池列表查询</a> */
Nodes []string `json:"nodes"` /* 移除节点的名称,可通过<a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=43&api=18020&data=128&isNormal=1&vid=121" target="_blank">查询节点池详情</a>接口返回的节点池节点信息查询节点名称 */
LoginType string `json:"loginType,omitempty"` /* 云主机密码登录类型:目前只支持 password */
Password string `json:"password,omitempty"` /* 云主机或物理机,用户登录密码,如果loginType=password,这该项为必填项,满足以下规则:
物理机:用户密码,满足以下规则:长度在8~30个字符;
必须包含大小写字母和(至少一个数字或者特殊字符);
特殊符号可选:()`~!@#$%&*_-+=\
云主机:长度在8~30个字符;
必须包含大写字母、小写字母、数字以及特殊符号中的三项;
特殊符号可选:()`-!@#$%^&*_-+=|{}[]:;'<>,.?/且不能以斜线号 / 开头;
不能包含3个及以上连续字符;
移除节点时password字段可选择加密,具体加密方法请参见<a href="https://www.ctyun.cn/document/10083472/11002096" target="_blank">password字段加密的方法</a> */
ForcedRemoved *bool `json:"forcedRemoved"` /* 是否强制移除,默认是true */
}
type CcseRenewClusterApi ¶
type CcseRenewClusterApi struct {
// contains filtered or unexported fields
}
func NewCcseRenewClusterApi ¶
func NewCcseRenewClusterApi(client *core.CtyunClient) *CcseRenewClusterApi
func (*CcseRenewClusterApi) Do ¶
func (a *CcseRenewClusterApi) Do(ctx context.Context, credential core.Credential, req *CcseRenewClusterRequest) (*CcseRenewClusterResponse, error)
type CcseRenewClusterRequest ¶
type CcseRenewClusterRequest struct {
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004422" target="_blank">云容器引擎资源池</a>
另外您通过<a href="https://www.ctyun.cn/document/10026730/10028695" target="_blank">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81" target="_blank">资源池列表查询</a>
*/
ResPoolId string `json:"resPoolId,omitempty"` /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004422" target="_blank">云容器引擎资源池</a>
另外您通过<a href="https://www.ctyun.cn/document/10026730/10028695" target="_blank">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81" target="_blank">资源池列表查询</a>
*/
ProdInstId string `json:"prodInstId,omitempty"` /* 集群ID,获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105">如何获取接口URI中参数</a>。 */
CycleType string `json:"cycleType,omitempty"` /* 订购周期类型,3(按月)、5(按年) */
CycleCnt int32 `json:"cycleCnt,omitempty"` /* 订购时长 */
}
type CcseRenewClusterResponse ¶
type CcseRenewClusterResponse struct {
StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码 */
Message string `json:"message,omitempty"` /* 响应信息 */
ReturnObj *CcseRenewClusterReturnObjResponse `json:"returnObj"` /* 响应对象 */
Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */
}
type CcseRepairNodePoolApi ¶
type CcseRepairNodePoolApi struct {
// contains filtered or unexported fields
}
func NewCcseRepairNodePoolApi ¶
func NewCcseRepairNodePoolApi(client *core.CtyunClient) *CcseRepairNodePoolApi
func (*CcseRepairNodePoolApi) Do ¶
func (a *CcseRepairNodePoolApi) Do(ctx context.Context, credential core.Credential, req *CcseRepairNodePoolRequest) (*CcseRepairNodePoolResponse, error)
type CcseRepairNodePoolRequest ¶
type CcseRepairNodePoolRequest struct {
ClusterId string /* 集群ID,获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105" target="_blank">如何获取接口URI中参数</a>。 */
NodePoolId string /* 节点池ID,获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105" target="_blank">如何获取接口URI中参数</a>。 */
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004422" target="_blank">云容器引擎资源池</a>
另外您通过<a href="https://www.ctyun.cn/document/10026730/10028695" target="_blank">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81" target="_blank">资源池列表查询</a> */
NodeNames []string `json:"nodeNames"` /* 需要修复节点名称 */
}
type CcseRepairNodePoolResponse ¶
type CcseRepairNodePoolResponse struct {
StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码 */
Message string `json:"message,omitempty"` /* 响应信息 */
ReturnObj *CcseRepairNodePoolReturnObjResponse `json:"returnObj"` /* 响应对象 */
Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */
}
type CcseRepairNodePoolReturnObjResponse ¶
type CcseRepairNodePoolReturnObjResponse struct {
TaskId string `json:"taskId,omitempty"` /* 任务ID */
}
type CcseResumeClusterTaskApi ¶
type CcseResumeClusterTaskApi struct {
// contains filtered or unexported fields
}
func NewCcseResumeClusterTaskApi ¶
func NewCcseResumeClusterTaskApi(client *core.CtyunClient) *CcseResumeClusterTaskApi
func (*CcseResumeClusterTaskApi) Do ¶
func (a *CcseResumeClusterTaskApi) Do(ctx context.Context, credential core.Credential, req *CcseResumeClusterTaskRequest) (*CcseResumeClusterTaskResponse, error)
type CcseResumeClusterTaskRequest ¶
type CcseResumeClusterTaskRequest struct {
TaskId string /* 任务ID */
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004422" target="_blank">云容器引擎资源池</a>
另外您通过<a href="https://www.ctyun.cn/document/10026730/10028695" target="_blank">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81" target="_blank">资源池列表查询</a> */
}
type CcseResumeClusterTaskResponse ¶
type CcseResumeClusterTaskResponse struct {
StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码 */
RequestId string `json:"requestId,omitempty"` /* 请求ID */
Message string `json:"message,omitempty"` /* 响应信息 */
ReturnObj *CcseResumeClusterTaskReturnObjResponse `json:"returnObj"` /* 请求结果 */
Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */
}
type CcseResumeClusterTaskReturnObjResponse ¶
type CcseResumeClusterTaskReturnObjResponse struct{}
type CcseScaleDownNodePoolApi ¶
type CcseScaleDownNodePoolApi struct {
// contains filtered or unexported fields
}
func NewCcseScaleDownNodePoolApi ¶
func NewCcseScaleDownNodePoolApi(client *core.CtyunClient) *CcseScaleDownNodePoolApi
func (*CcseScaleDownNodePoolApi) Do ¶
func (a *CcseScaleDownNodePoolApi) Do(ctx context.Context, credential core.Credential, req *CcseScaleDownNodePoolRequest) (*CcseScaleDownNodePoolResponse, error)
type CcseScaleDownNodePoolRequest ¶
type CcseScaleDownNodePoolRequest struct {
ClusterId string /* 集群ID,获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105" target="_blank">如何获取接口URI中参数</a>。 */
NodePoolId string /* 节点池Id,获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105" target="_blank">如何获取接口URI中参数</a>。 */
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004422" target="_blank">云容器引擎资源池</a>
另外您通过<a href="https://www.ctyun.cn/document/10026730/10028695" target="_blank">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81" target="_blank">资源池列表查询</a> */
NodeNames []string `json:"nodeNames"` /* 移除节点名称 */
ForcedDeletion *bool `json:"forcedDeletion"` /* 是否从集群中强制移除,默认值true */
}
type CcseScaleUpNodePoolApi ¶
type CcseScaleUpNodePoolApi struct {
// contains filtered or unexported fields
}
func NewCcseScaleUpNodePoolApi ¶
func NewCcseScaleUpNodePoolApi(client *core.CtyunClient) *CcseScaleUpNodePoolApi
func (*CcseScaleUpNodePoolApi) Do ¶
func (a *CcseScaleUpNodePoolApi) Do(ctx context.Context, credential core.Credential, req *CcseScaleUpNodePoolRequest) (*CcseScaleUpNodePoolResponse, error)
type CcseScaleUpNodePoolRequest ¶
type CcseScaleUpNodePoolRequest struct {
ClusterId string /* 集群ID,获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105" target="_blank">如何获取接口URI中参数</a>。 */
NodePoolId string /* 节点池ID,获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105" target="_blank">如何获取接口URI中参数</a>。 */
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004422" target="_blank">云容器引擎资源池</a>
另外您通过<a href="https://www.ctyun.cn/document/10026730/10028695" target="_blank">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81" target="_blank">资源池列表查询</a> */
Num int32 `json:"num,omitempty"` /* 扩容节点规模 */
}
type CcseSyncNodePoolApi ¶
type CcseSyncNodePoolApi struct {
// contains filtered or unexported fields
}
func NewCcseSyncNodePoolApi ¶
func NewCcseSyncNodePoolApi(client *core.CtyunClient) *CcseSyncNodePoolApi
func (*CcseSyncNodePoolApi) Do ¶
func (a *CcseSyncNodePoolApi) Do(ctx context.Context, credential core.Credential, req *CcseSyncNodePoolRequest) (*CcseSyncNodePoolResponse, error)
type CcseSyncNodePoolRequest ¶
type CcseSyncNodePoolRequest struct {
ClusterId string /* 集群ID,获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105" target="_blank">如何获取接口URI中参数</a>。 */
NodePoolId string /* 节点池ID,获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105" target="_blank">如何获取接口URI中参数</a>。 */
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004422" target="_blank">云容器引擎资源池</a>
另外您通过<a href="https://www.ctyun.cn/document/10026730/10028695" target="_blank">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81" target="_blank">资源池列表查询</a> */
ParallelNumber int32 `json:"parallelNumber,omitempty"` /* 并行度,默认值为1 */
}
type CcseSyncNodePoolResponse ¶
type CcseSyncNodePoolResponse struct {
RequestId string `json:"requestId,omitempty"` /* 请求ID */
ReturnObj *CcseSyncNodePoolReturnObjResponse `json:"returnObj"` /* 响应对象 */
}
type CcseSyncNodePoolReturnObjResponse ¶
type CcseSyncNodePoolReturnObjResponse struct {
TaskId string `json:"taskId,omitempty"` /* 任务ID */
}
type CcseUnbindClusterTagsApi ¶
type CcseUnbindClusterTagsApi struct {
// contains filtered or unexported fields
}
func NewCcseUnbindClusterTagsApi ¶
func NewCcseUnbindClusterTagsApi(client *core.CtyunClient) *CcseUnbindClusterTagsApi
func (*CcseUnbindClusterTagsApi) Do ¶
func (a *CcseUnbindClusterTagsApi) Do(ctx context.Context, credential core.Credential, req *CcseUnbindClusterTagsRequest) (*CcseUnbindClusterTagsResponse, error)
type CcseUnbindClusterTagsRequest ¶
type CcseUnbindClusterTagsRequest struct {
ClusterId string /* 集群Id,获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105">如何获取接口URI中参数</a>。 */
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004422" target="_blank">云容器引擎资源池</a>
另外您通过<a href="https://www.ctyun.cn/document/10026730/10028695" target="_blank">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81" target="_blank">资源池列表查询</a> */
}
type CcseUpdateClusterApi ¶
type CcseUpdateClusterApi struct {
// contains filtered or unexported fields
}
func NewCcseUpdateClusterApi ¶
func NewCcseUpdateClusterApi(client *core.CtyunClient) *CcseUpdateClusterApi
func (*CcseUpdateClusterApi) Do ¶
func (a *CcseUpdateClusterApi) Do(ctx context.Context, credential core.Credential, req *CcseUpdateClusterRequest) (*CcseUpdateClusterResponse, error)
type CcseUpdateClusterAutoscalerPolicyApi ¶
type CcseUpdateClusterAutoscalerPolicyApi struct {
// contains filtered or unexported fields
}
func NewCcseUpdateClusterAutoscalerPolicyApi ¶
func NewCcseUpdateClusterAutoscalerPolicyApi(client *core.CtyunClient) *CcseUpdateClusterAutoscalerPolicyApi
func (*CcseUpdateClusterAutoscalerPolicyApi) Do ¶
func (a *CcseUpdateClusterAutoscalerPolicyApi) Do(ctx context.Context, credential core.Credential, req *CcseUpdateClusterAutoscalerPolicyRequest) (*CcseUpdateClusterAutoscalerPolicyResponse, error)
type CcseUpdateClusterAutoscalerPolicyRequest ¶
type CcseUpdateClusterAutoscalerPolicyRequest struct {
ClusterId string /* 集群ID,获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105">如何获取接口URI中参数</a>。
如:
/v1.2/cce/clusters/{clusterId}/apis/autoscaler.ccse.ctyun.cn/v1/horizontalnodeautoscaler/{name} */
Name string /* 节点弹性伸缩策略名称
如:
/v1.2/cce/clusters/{clusterId}/apis/autoscaler.ccse.ctyun.cn/v1/horizontalnodeautoscaler/{name} */
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87">资源池列表查询</a> */
TextPlainDataString string `json:"textPlainDataString,omitempty"` /* 字符串类型的yaml资源 */
}
type CcseUpdateClusterKubeConfigExpirationTimeApi ¶
type CcseUpdateClusterKubeConfigExpirationTimeApi struct {
// contains filtered or unexported fields
}
func NewCcseUpdateClusterKubeConfigExpirationTimeApi ¶
func NewCcseUpdateClusterKubeConfigExpirationTimeApi(client *core.CtyunClient) *CcseUpdateClusterKubeConfigExpirationTimeApi
func (*CcseUpdateClusterKubeConfigExpirationTimeApi) Do ¶
func (a *CcseUpdateClusterKubeConfigExpirationTimeApi) Do(ctx context.Context, credential core.Credential, req *CcseUpdateClusterKubeConfigExpirationTimeRequest) (*CcseUpdateClusterKubeConfigExpirationTimeResponse, error)
type CcseUpdateClusterKubeConfigExpirationTimeRequest ¶
type CcseUpdateClusterKubeConfigExpirationTimeRequest struct {
ClusterId string /* 集群ID,获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105">如何获取接口URI中参数</a>。 */
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004422" target="_blank">云容器引擎资源池</a>
另外您通过<a href="https://www.ctyun.cn/document/10026730/10028695" target="_blank">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81" target="_blank">资源池列表查询</a>
*/
UserId int64 `json:"userId,omitempty"` /* 用户ID,可在云容器引擎控制台 > 安全管理 > 授权页面查看主账号名下的子账号列表及对应的用户ID */
ValidPeriod int32 `json:"validPeriod,omitempty"` /* 证书过期秒数,最长为一年(31536000) */
}
type CcseUpdateClusterKubeConfigExpirationTimeResponse ¶
type CcseUpdateClusterKubeConfigExpirationTimeResponse struct {
StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码 */
Message string `json:"message,omitempty"` /* 响应信息 */
ReturnObj *CcseUpdateClusterKubeConfigExpirationTimeReturnObjResponse `json:"returnObj"` /* 响应对象 */
Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */
}
type CcseUpdateClusterKubeConfigExpirationTimeReturnObjResponse ¶
type CcseUpdateClusterKubeConfigExpirationTimeReturnObjResponse struct{}
type CcseUpdateClusterPolicyInstanceApi ¶
type CcseUpdateClusterPolicyInstanceApi struct {
// contains filtered or unexported fields
}
func NewCcseUpdateClusterPolicyInstanceApi ¶
func NewCcseUpdateClusterPolicyInstanceApi(client *core.CtyunClient) *CcseUpdateClusterPolicyInstanceApi
func (*CcseUpdateClusterPolicyInstanceApi) Do ¶
func (a *CcseUpdateClusterPolicyInstanceApi) Do(ctx context.Context, credential core.Credential, req *CcseUpdateClusterPolicyInstanceRequest) (*CcseUpdateClusterPolicyInstanceResponse, error)
type CcseUpdateClusterPolicyInstancePolicyParametersRequest ¶
type CcseUpdateClusterPolicyInstancePolicyParametersRequest struct{}
type CcseUpdateClusterPolicyInstanceRequest ¶
type CcseUpdateClusterPolicyInstanceRequest struct {
ClusterId string /* 集群ID,获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105">如何获取接口URI中参数</a>。 */
PolicyName string /* 策略治理实例名称,您可以通过查询策略治理实例接口来获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=43&api=18035&data=128&isNormal=1&vid=121">查询策略治理实例</a> */
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004422" target="_blank">云容器引擎资源池</a>
另外您通过<a href="https://www.ctyun.cn/document/10026730/10028695" target="_blank">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81" target="_blank">资源池列表查询</a> */
InstanceId int64 `json:"instanceId,omitempty"` /* 实例Id,您可以通过查询策略治理实例接口来获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=43&api=18035&data=128&isNormal=1&vid=121">查询策略治理实例</a> */
PolicyParameters *CcseUpdateClusterPolicyInstancePolicyParametersRequest `json:"policyParameters"` /* 实例参数 */
PolicyScope string `json:"policyScope,omitempty"` /* 所属命名空间 */
PolicyAction string `json:"policyAction,omitempty"` /* 规则治理动作,取值:<br />deny:拦截违规部署<br />warn:告警 */
}
type CcseUpdateClusterPolicyInstanceResponse ¶
type CcseUpdateClusterPolicyInstanceResponse struct {
StatusCode int32 `json:"statusCode,omitempty"` /* 状态码 */
Message string `json:"message,omitempty"` /* 提示信息 */
ReturnObj *CcseUpdateClusterPolicyInstanceReturnObjResponse `json:"returnObj"` /* 返回对象 */
Error string `json:"error,omitempty"` /* 错误码 */
}
type CcseUpdateClusterPolicyInstanceReturnObjResponse ¶
type CcseUpdateClusterPolicyInstanceReturnObjResponse struct {
Instances []string `json:"instances"` /* 部署的实例名称列表 */
}
type CcseUpdateClusterRequest ¶
type CcseUpdateClusterRequest struct {
ClusterId string /* 集群ID,获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105">如何获取接口URI中参数</a>。 */
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004422" target="_blank">云容器引擎资源池</a>
另外您通过<a href="https://www.ctyun.cn/document/10026730/10028695" target="_blank">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81" target="_blank">资源池列表查询</a>
*/
ClusterDesc string `json:"clusterDesc,omitempty"` /* 集群描述 */
ClusterAlias string `json:"clusterAlias,omitempty"` /* 集群显示名称 */
StartPort int32 `json:"startPort,omitempty"` /* 服务起始端口,取值范围[20106, 32767] */
EndPort int32 `json:"endPort,omitempty"` /* 服务结束端口,取值范围[20106, 32767] */
SecurityGroupId string `json:"securityGroupId,omitempty"` /* 节点默认安全组ID */
CustomSan *CcseUpdateClusterCustomSanRequest `json:"customSan"` /* 自定义SAN列表 */
Cubecni *CcseUpdateClusterCubecniRequest `json:"cubecni"` /* cubecni插件网络配置 */
}
type CcseUpdateClusterTagsApi ¶
type CcseUpdateClusterTagsApi struct {
// contains filtered or unexported fields
}
func NewCcseUpdateClusterTagsApi ¶
func NewCcseUpdateClusterTagsApi(client *core.CtyunClient) *CcseUpdateClusterTagsApi
func (*CcseUpdateClusterTagsApi) Do ¶
func (a *CcseUpdateClusterTagsApi) Do(ctx context.Context, credential core.Credential, req *CcseUpdateClusterTagsRequest) (*CcseUpdateClusterTagsResponse, error)
type CcseUpdateClusterTagsRequest ¶
type CcseUpdateClusterTagsRequest struct {
ClusterId string /* 集群Id,获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105">如何获取接口URI中参数</a>。 */
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004422" target="_blank">云容器引擎资源池</a>
另外您通过<a href="https://www.ctyun.cn/document/10026730/10028695" target="_blank">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81" target="_blank">资源池列表查询</a> */
Tags []string `json:"tags"` /* 标签列表 */
}
type CcseUpdateConfigMapApi ¶
type CcseUpdateConfigMapApi struct {
// contains filtered or unexported fields
}
func NewCcseUpdateConfigMapApi ¶
func NewCcseUpdateConfigMapApi(client *core.CtyunClient) *CcseUpdateConfigMapApi
func (*CcseUpdateConfigMapApi) Do ¶
func (a *CcseUpdateConfigMapApi) Do(ctx context.Context, credential core.Credential, req *CcseUpdateConfigMapRequest) (*CcseUpdateConfigMapResponse, error)
type CcseUpdateConfigMapRequest ¶
type CcseUpdateConfigMapRequest struct {
ClusterId string /* 集群Id,获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105">如何获取接口URI中参数</a>。 */
NamespaceName string /* 命名空间名称 */
ConfigmapName string /* 资源名称 */
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004422" target="_blank">云容器引擎资源池</a>
另外您通过<a href="https://www.ctyun.cn/document/10026730/10028695" target="_blank">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81" target="_blank">资源池列表查询</a> */
TextPlainDataString string `json:"textPlainDataString,omitempty"` /* 字符串类型的yaml */
}
type CcseUpdateCronHorizontalPodAutoscalerApi ¶
type CcseUpdateCronHorizontalPodAutoscalerApi struct {
// contains filtered or unexported fields
}
func NewCcseUpdateCronHorizontalPodAutoscalerApi ¶
func NewCcseUpdateCronHorizontalPodAutoscalerApi(client *core.CtyunClient) *CcseUpdateCronHorizontalPodAutoscalerApi
func (*CcseUpdateCronHorizontalPodAutoscalerApi) Do ¶
func (a *CcseUpdateCronHorizontalPodAutoscalerApi) Do(ctx context.Context, credential core.Credential, req *CcseUpdateCronHorizontalPodAutoscalerRequest) (*CcseUpdateCronHorizontalPodAutoscalerResponse, error)
type CcseUpdateCronHorizontalPodAutoscalerRequest ¶
type CcseUpdateCronHorizontalPodAutoscalerRequest struct {
ClusterId string /* 集群ID,获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105">如何获取接口URI中参数</a>。 */
NamespaceName string /* 命名空间名称 */
Name string /* 资源名称 */
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004422" target="_blank">云容器引擎资源池</a>
另外您通过<a href="https://www.ctyun.cn/document/10026730/10028695" target="_blank">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81" target="_blank">资源池列表查询</a>
*/
TextPlainDataString string `json:"textPlainDataString,omitempty"` /* 字符串类型的yaml */
}
type CcseUpdateDaemonSetApi ¶
type CcseUpdateDaemonSetApi struct {
// contains filtered or unexported fields
}
func NewCcseUpdateDaemonSetApi ¶
func NewCcseUpdateDaemonSetApi(client *core.CtyunClient) *CcseUpdateDaemonSetApi
func (*CcseUpdateDaemonSetApi) Do ¶
func (a *CcseUpdateDaemonSetApi) Do(ctx context.Context, credential core.Credential, req *CcseUpdateDaemonSetRequest) (*CcseUpdateDaemonSetResponse, error)
type CcseUpdateDaemonSetRequest ¶
type CcseUpdateDaemonSetRequest struct {
ClusterId string /* 集群ID,获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105">如何获取接口URI中参数</a>。 */
NamespaceName string /* 命名空间名称 */
DaemonsetName string /* 资源名称 */
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004422" target="_blank">云容器引擎资源池</a>
另外您通过<a href="https://www.ctyun.cn/document/10026730/10028695" target="_blank">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81" target="_blank">资源池列表查询</a> */
TextPlainDataString string `json:"textPlainDataString,omitempty"` /* 字符串类型的yaml */
}
type CcseUpdateDeploymentApi ¶
type CcseUpdateDeploymentApi struct {
// contains filtered or unexported fields
}
func NewCcseUpdateDeploymentApi ¶
func NewCcseUpdateDeploymentApi(client *core.CtyunClient) *CcseUpdateDeploymentApi
func (*CcseUpdateDeploymentApi) Do ¶
func (a *CcseUpdateDeploymentApi) Do(ctx context.Context, credential core.Credential, req *CcseUpdateDeploymentRequest) (*CcseUpdateDeploymentResponse, error)
type CcseUpdateDeploymentRequest ¶
type CcseUpdateDeploymentRequest struct {
ClusterId string /* 集群ID,获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105">如何获取接口URI中参数</a>。 */
NamespaceName string /* 命名空间名称 */
DeploymentName string /* 资源名称 */
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004422" target="_blank">云容器引擎资源池</a>
另外您通过<a href="https://www.ctyun.cn/document/10026730/10028695" target="_blank">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81" target="_blank">资源池列表查询</a> */
TextPlainDataString string `json:"textPlainDataString,omitempty"` /* 请求入参yaml */
}
type CcseUpdateHorizontalPodAutoscalerApi ¶
type CcseUpdateHorizontalPodAutoscalerApi struct {
// contains filtered or unexported fields
}
func NewCcseUpdateHorizontalPodAutoscalerApi ¶
func NewCcseUpdateHorizontalPodAutoscalerApi(client *core.CtyunClient) *CcseUpdateHorizontalPodAutoscalerApi
func (*CcseUpdateHorizontalPodAutoscalerApi) Do ¶
func (a *CcseUpdateHorizontalPodAutoscalerApi) Do(ctx context.Context, credential core.Credential, req *CcseUpdateHorizontalPodAutoscalerRequest) (*CcseUpdateHorizontalPodAutoscalerResponse, error)
type CcseUpdateHorizontalPodAutoscalerRequest ¶
type CcseUpdateHorizontalPodAutoscalerRequest struct {
ClusterId string /* 集群ID,获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105">如何获取接口URI中参数</a>。 */
NamespaceName string /* 命名空间名称 */
Name string /* 资源名称 */
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004422" target="_blank">云容器引擎资源池</a>
另外您通过<a href="https://www.ctyun.cn/document/10026730/10028695" target="_blank">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81" target="_blank">资源池列表查询</a>
*/
TextPlainDataString string `json:"textPlainDataString,omitempty"` /* 字符串类型的yaml */
}
type CcseUpdateJobApi ¶
type CcseUpdateJobApi struct {
// contains filtered or unexported fields
}
func NewCcseUpdateJobApi ¶
func NewCcseUpdateJobApi(client *core.CtyunClient) *CcseUpdateJobApi
func (*CcseUpdateJobApi) Do ¶
func (a *CcseUpdateJobApi) Do(ctx context.Context, credential core.Credential, req *CcseUpdateJobRequest) (*CcseUpdateJobResponse, error)
type CcseUpdateJobRequest ¶
type CcseUpdateJobRequest struct {
ClusterId string /* 集群Id,获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105">如何获取接口URI中参数</a>。 */
NamespaceName string /* 命名空间名称 */
JobName string /* 资源名称 */
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004422" target="_blank">云容器引擎资源池</a>
另外您通过<a href="https://www.ctyun.cn/document/10026730/10028695" target="_blank">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81" target="_blank">资源池列表查询</a> */
TextPlainDataString string `json:"textPlainDataString,omitempty"` /* 字符串类型的yaml */
}
type CcseUpdateJobResponse ¶
type CcseUpdateNodePoolApi ¶
type CcseUpdateNodePoolApi struct {
// contains filtered or unexported fields
}
func NewCcseUpdateNodePoolApi ¶
func NewCcseUpdateNodePoolApi(client *core.CtyunClient) *CcseUpdateNodePoolApi
func (*CcseUpdateNodePoolApi) Do ¶
func (a *CcseUpdateNodePoolApi) Do(ctx context.Context, credential core.Credential, req *CcseUpdateNodePoolRequest) (*CcseUpdateNodePoolResponse, error)
type CcseUpdateNodePoolDataDisksRequest ¶
type CcseUpdateNodePoolDataDisksRequest struct {
Size int32 `json:"size,omitempty"` /* 数据盘大小,单位G */
DiskSpecName string `json:"diskSpecName,omitempty"` /* 数据盘规格名称,取值范围:
SATA:普通IO,
SAS:高IO,
SSD:超高IO
您可以查看<a href="https://www.ctyun.cn/document/10027696/10162918">磁盘类型及性能介绍</a>磁盘类型相关信息 */
}
type CcseUpdateNodePoolKubeletConfigApi ¶
type CcseUpdateNodePoolKubeletConfigApi struct {
// contains filtered or unexported fields
}
func NewCcseUpdateNodePoolKubeletConfigApi ¶
func NewCcseUpdateNodePoolKubeletConfigApi(client *core.CtyunClient) *CcseUpdateNodePoolKubeletConfigApi
func (*CcseUpdateNodePoolKubeletConfigApi) Do ¶
func (a *CcseUpdateNodePoolKubeletConfigApi) Do(ctx context.Context, credential core.Credential, req *CcseUpdateNodePoolKubeletConfigRequest) (*CcseUpdateNodePoolKubeletConfigResponse, error)
type CcseUpdateNodePoolKubeletConfigRequest ¶
type CcseUpdateNodePoolKubeletConfigRequest struct {
ClusterId string /* 集群ID,获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105" target="_blank">如何获取接口URI中参数</a>。 */
NodePoolId string /* 节点池ID,获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105" target="_blank">如何获取接口URI中参数</a>。 */
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004422" target="_blank">云容器引擎资源池</a>
另外您通过<a href="https://www.ctyun.cn/document/10026730/10028695" target="_blank">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81" target="_blank">资源池列表查询</a> */
KubeletArgs *CcseUpdateNodePoolKubeletConfigKubeletArgsRequest `json:"kubeletArgs"` /* 其他可支持的Kubelet参数:registryPullQPS,registryBurst, podPidsLimit,eventRecordQPS,eventBurst , kubeAPIQPS , kubeAPIBurst, cpuManagerPolicy, topologyManagerScope, cpuCFSQuota, maxPods, */
}
type CcseUpdateNodePoolKubeletConfigResponse ¶
type CcseUpdateNodePoolKubeletConfigResponse struct {
RequestId string `json:"requestId,omitempty"` /* 请求ID */
Message string `json:"message,omitempty"` /* 响应信息 */
ReturnObj *CcseUpdateNodePoolKubeletConfigReturnObjResponse `json:"returnObj"` /* 响应对象 */
}
type CcseUpdateNodePoolKubeletConfigReturnObjResponse ¶
type CcseUpdateNodePoolKubeletConfigReturnObjResponse struct {
TaskId string `json:"taskId,omitempty"` /* 任务ID */
}
type CcseUpdateNodePoolLabelsRequest ¶
type CcseUpdateNodePoolLabelsRequest struct{}
type CcseUpdateNodePoolRequest ¶
type CcseUpdateNodePoolRequest struct {
ClusterId string /* 集群ID,获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105" target="_blank">如何获取接口URI中参数</a>。 */
NodePoolId string /* 节点池ID,获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105" target="_blank">如何获取接口URI中参数</a>。 */
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004422" target="_blank">云容器引擎资源池</a>
另外您通过<a href="https://www.ctyun.cn/document/10026730/10028695" target="_blank">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81" target="_blank">资源池列表查询</a> */
NodePoolName string `json:"nodePoolName,omitempty"` /* 节点池名称 */
BillMode string `json:"billMode,omitempty"` /* 订单类型 1-包年包月 2-按需计费 */
CycleCount int32 `json:"cycleCount,omitempty"` /* 订购时长,billMode为1必传,cycleType为MONTH时,cycleCount为1表示订购1个月 */
CycleType string `json:"cycleType,omitempty"` /* 订购周期类型 MONTH-月 YEAR-年,billMode为1必传 */
AutoRenewStatus int32 `json:"autoRenewStatus,omitempty"` /* 是否自动续订 0-否 1-是,默认为0 */
Description string `json:"description,omitempty"` /* 描述 */
DataDisks []*CcseUpdateNodePoolDataDisksRequest `json:"dataDisks"` /* 数据盘 */
Labels *CcseUpdateNodePoolLabelsRequest `json:"labels"` /* 标签 */
Taints []*CcseUpdateNodePoolTaintsRequest `json:"taints"` /* 节点污点,格式为 [{\"key\":\"{key}\",\"value\":\"{value}\",\"effect\":\"{effect}\"}],上述的{key}、{value}、{effect}替换为所需字段。effect枚举包括NoSchedule、PreferNoSchedule、NoExecute */
EnableAutoScale *bool `json:"enableAutoScale"` /* 是否自动弹性伸缩 */
MaxNum int32 `json:"maxNum,omitempty"` /* 伸缩组最大数量0-20 */
MinNum int32 `json:"minNum,omitempty"` /* 伸缩组最小数量0-20 */
SysDiskSize int32 `json:"sysDiskSize,omitempty"` /* 系统盘大小 */
SysDiskType string `json:"sysDiskType,omitempty"` /* 系统盘规格,云硬盘类型,取值范围:
SATA:普通IO,
SAS:高IO,
SSD:超高IO
您可以查看<a href="https://www.ctyun.cn/document/10027696/10162918">磁盘类型及性能介绍</a>磁盘类型相关信息 */
VisibilityPostHostScript string `json:"visibilityPostHostScript,omitempty"` /* 部署后执行自定义脚本,base64编码 */
VisibilityHostScript string `json:"visibilityHostScript,omitempty"` /* 部署前执行自定义脚本,base64编码 */
}
type CcseUpdateNodePoolResponse ¶
type CcseUpdateNodePoolResponse struct {
StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码 */
RequestId string `json:"requestId,omitempty"` /* 请求ID */
Message string `json:"message,omitempty"` /* 响应信息 */
ReturnObj *bool `json:"returnObj"` /* 返回对象 */
Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */
}
type CcseUpdatePersistentVolumeApi ¶
type CcseUpdatePersistentVolumeApi struct {
// contains filtered or unexported fields
}
func NewCcseUpdatePersistentVolumeApi ¶
func NewCcseUpdatePersistentVolumeApi(client *core.CtyunClient) *CcseUpdatePersistentVolumeApi
func (*CcseUpdatePersistentVolumeApi) Do ¶
func (a *CcseUpdatePersistentVolumeApi) Do(ctx context.Context, credential core.Credential, req *CcseUpdatePersistentVolumeRequest) (*CcseUpdatePersistentVolumeResponse, error)
type CcseUpdatePersistentVolumeClaimApi ¶
type CcseUpdatePersistentVolumeClaimApi struct {
// contains filtered or unexported fields
}
func NewCcseUpdatePersistentVolumeClaimApi ¶
func NewCcseUpdatePersistentVolumeClaimApi(client *core.CtyunClient) *CcseUpdatePersistentVolumeClaimApi
func (*CcseUpdatePersistentVolumeClaimApi) Do ¶
func (a *CcseUpdatePersistentVolumeClaimApi) Do(ctx context.Context, credential core.Credential, req *CcseUpdatePersistentVolumeClaimRequest) (*CcseUpdatePersistentVolumeClaimResponse, error)
type CcseUpdatePersistentVolumeClaimRequest ¶
type CcseUpdatePersistentVolumeClaimRequest struct {
ClusterId string /* 集群id,获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105">如何获取接口URI中参数</a>。 */
NamespaceName string /* 命名空间名称 */
PersistentVolumeClaimName string /* 资源名称 */
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004422" target="_blank">云容器引擎资源池</a>
另外您通过<a href="https://www.ctyun.cn/document/10026730/10028695" target="_blank">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81" target="_blank">资源池列表查询</a> */
TextPlainDataString string `json:"textPlainDataString,omitempty"` /* 字符串类型的yaml */
}
type CcseUpdatePersistentVolumeRequest ¶
type CcseUpdatePersistentVolumeRequest struct {
ClusterId string /* 集群id,获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105">如何获取接口URI中参数</a>。 */
PersistentVolumeName string /* 资源名称 */
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004422" target="_blank">云容器引擎资源池</a>
另外您通过<a href="https://www.ctyun.cn/document/10026730/10028695" target="_blank">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81" target="_blank">资源池列表查询</a> */
TextPlainDataString string `json:"textPlainDataString,omitempty"` /* 字符串类型的yaml */
}
type CcseUpdatePodApi ¶
type CcseUpdatePodApi struct {
// contains filtered or unexported fields
}
func NewCcseUpdatePodApi ¶
func NewCcseUpdatePodApi(client *core.CtyunClient) *CcseUpdatePodApi
func (*CcseUpdatePodApi) Do ¶
func (a *CcseUpdatePodApi) Do(ctx context.Context, credential core.Credential, req *CcseUpdatePodRequest) (*CcseUpdatePodResponse, error)
type CcseUpdatePodRequest ¶
type CcseUpdatePodRequest struct {
ClusterId string /* 集群id, 获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105">如何获取接口URI中参数</a>。 */
NamespaceName string /* 命名空间名称 */
PodName string /* 资源名称 */
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004422" target="_blank">云容器引擎资源池</a>
另外您通过<a href="https://www.ctyun.cn/document/10026730/10028695" target="_blank">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81" target="_blank">资源池列表查询</a> */
TextPlainDataString string `json:"textPlainDataString,omitempty"` /* 字符串类型的yaml */
}
type CcseUpdatePodResponse ¶
type CcseUpdatePodResponse struct {
StatusCode int32 `json:"statusCode,omitempty"` /* 响应状态码 */
Message string `json:"message,omitempty"` /* 响应信息 */
ReturnObj string `json:"returnObj,omitempty"` /* 返回结果 */
Error string `json:"error,omitempty"` /* 错误码,参见错误码说明 */
RequestId string `json:"requestId,omitempty"` /* 请求ID */
}
type CcseUpdateReplicaSetApi ¶
type CcseUpdateReplicaSetApi struct {
// contains filtered or unexported fields
}
func NewCcseUpdateReplicaSetApi ¶
func NewCcseUpdateReplicaSetApi(client *core.CtyunClient) *CcseUpdateReplicaSetApi
func (*CcseUpdateReplicaSetApi) Do ¶
func (a *CcseUpdateReplicaSetApi) Do(ctx context.Context, credential core.Credential, req *CcseUpdateReplicaSetRequest) (*CcseUpdateReplicaSetResponse, error)
type CcseUpdateReplicaSetRequest ¶
type CcseUpdateReplicaSetRequest struct {
ClusterId string /* 集群Id,获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105">如何获取接口URI中参数</a>。 */
NamespaceName string /* 命名空间名称 */
ReplicaSetName string /* 资源名称 */
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004422" target="_blank">云容器引擎资源池</a>
另外您通过<a href="https://www.ctyun.cn/document/10026730/10028695" target="_blank">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81" target="_blank">资源池列表查询</a> */
TextPlainDataString string `json:"textPlainDataString,omitempty"` /* 字符串类型的yaml */
}
type CcseUpdateSecretApi ¶
type CcseUpdateSecretApi struct {
// contains filtered or unexported fields
}
func NewCcseUpdateSecretApi ¶
func NewCcseUpdateSecretApi(client *core.CtyunClient) *CcseUpdateSecretApi
func (*CcseUpdateSecretApi) Do ¶
func (a *CcseUpdateSecretApi) Do(ctx context.Context, credential core.Credential, req *CcseUpdateSecretRequest) (*CcseUpdateSecretResponse, error)
type CcseUpdateSecretRequest ¶
type CcseUpdateSecretRequest struct {
ClusterId string /* 集群id, 获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105">如何获取接口URI中参数</a>。 */
NamespaceName string /* 命名空间名称 */
SecretName string /* 资源名称 */
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004422" target="_blank">云容器引擎资源池</a>
另外您通过<a href="https://www.ctyun.cn/document/10026730/10028695" target="_blank">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81" target="_blank">资源池列表查询</a> */
TextPlainDataString string `json:"textPlainDataString,omitempty"` /* 字符串类型的yaml */
}
type CcseUpdateServiceApi ¶
type CcseUpdateServiceApi struct {
// contains filtered or unexported fields
}
func NewCcseUpdateServiceApi ¶
func NewCcseUpdateServiceApi(client *core.CtyunClient) *CcseUpdateServiceApi
func (*CcseUpdateServiceApi) Do ¶
func (a *CcseUpdateServiceApi) Do(ctx context.Context, credential core.Credential, req *CcseUpdateServiceRequest) (*CcseUpdateServiceResponse, error)
type CcseUpdateServiceRequest ¶
type CcseUpdateServiceRequest struct {
ClusterId string /* 集群ID,获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105" target="_blank">如何获取接口URI中参数</a> */
NamespaceName string /* 命名空间名称 */
ServiceName string /* Service资源名称 */
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004422" target="_blank">云容器引擎资源池</a>
另外您通过<a href="https://www.ctyun.cn/document/10026730/10028695" target="_blank">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81" target="_blank">资源池列表查询</a> */
TextPlainDataString string `json:"textPlainDataString,omitempty"` /* 字符串类型的yaml */
}
type CcseUpdateStatefulSetApi ¶
type CcseUpdateStatefulSetApi struct {
// contains filtered or unexported fields
}
func NewCcseUpdateStatefulSetApi ¶
func NewCcseUpdateStatefulSetApi(client *core.CtyunClient) *CcseUpdateStatefulSetApi
func (*CcseUpdateStatefulSetApi) Do ¶
func (a *CcseUpdateStatefulSetApi) Do(ctx context.Context, credential core.Credential, req *CcseUpdateStatefulSetRequest) (*CcseUpdateStatefulSetResponse, error)
type CcseUpdateStatefulSetRequest ¶
type CcseUpdateStatefulSetRequest struct {
ClusterId string /* 集群ID,获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105">如何获取接口URI中参数</a>。 */
NamespaceName string /* 命名空间名称 */
StatefulsetName string /* 资源名称 */
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004422" target="_blank">云容器引擎资源池</a>
另外您通过<a href="https://www.ctyun.cn/document/10026730/10028695" target="_blank">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81" target="_blank">资源池列表查询</a> */
TextPlainDataString string `json:"textPlainDataString,omitempty"` /* 字符串类型的yaml */
}
type CcseUpdateStorageClassApi ¶
type CcseUpdateStorageClassApi struct {
// contains filtered or unexported fields
}
func NewCcseUpdateStorageClassApi ¶
func NewCcseUpdateStorageClassApi(client *core.CtyunClient) *CcseUpdateStorageClassApi
func (*CcseUpdateStorageClassApi) Do ¶
func (a *CcseUpdateStorageClassApi) Do(ctx context.Context, credential core.Credential, req *CcseUpdateStorageClassRequest) (*CcseUpdateStorageClassResponse, error)
type CcseUpdateStorageClassRequest ¶
type CcseUpdateStorageClassRequest struct {
ClusterId string /* 集群id, 获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105">如何获取接口URI中参数</a>。 */
StorageClassName string /* 资源名称 */
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004422" target="_blank">云容器引擎资源池</a>
另外您通过<a href="https://www.ctyun.cn/document/10026730/10028695" target="_blank">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81" target="_blank">资源池列表查询</a> */
TextPlainDataString string `json:"textPlainDataString,omitempty"` /* 字符串类型的yaml */
}
type CcseUpdateSubUserPermissionsApi ¶
type CcseUpdateSubUserPermissionsApi struct {
// contains filtered or unexported fields
}
func NewCcseUpdateSubUserPermissionsApi ¶
func NewCcseUpdateSubUserPermissionsApi(client *core.CtyunClient) *CcseUpdateSubUserPermissionsApi
func (*CcseUpdateSubUserPermissionsApi) Do ¶
func (a *CcseUpdateSubUserPermissionsApi) Do(ctx context.Context, credential core.Credential, req *CcseUpdateSubUserPermissionsRequest) (*CcseUpdateSubUserPermissionsResponse, error)
type CcseUpdateSubUserPermissionsDataRequest ¶
type CcseUpdateSubUserPermissionsDataRequest struct {
Namespace string `json:"namespace,omitempty"` /* 命名空间,不填默认全部命名空间 */
ClusterRole string `json:"clusterRole,omitempty"` /* 需要绑定的clusterRole,创建,更新需要填写;删除不需要填
目前支持的检查项及含义如下
ccse:preset:admin 管理员
ccse:preset:ops 运维人员
ccse:preset:dev 开发人员
ccse:preset:view 受限用户 */
BindingName string `json:"bindingName,omitempty"` /* clusterRoleBinding或者roleBinding的名称,用于表示权限绑定,创建不需要填写,删除或更新必填;删除或更新通过查询子账号集群授权信息获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=43&api=18049&data=128&isNormal=1&vid=121">查询子账号集群授权信息</a> */
BindingKind string `json:"bindingKind,omitempty"` /* rolebinding类型,创建不需要填写,删除或更新必填;删除或更新通过查询子账号集群授权信息获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=43&api=18049&data=128&isNormal=1&vid=121">查询子账号集群授权信息</a> */
OperType int32 `json:"operType,omitempty"` /* 操作类型。0-增加,1-删除,2-更新。不填默认为0 */
}
type CcseUpdateSubUserPermissionsRequest ¶
type CcseUpdateSubUserPermissionsRequest struct {
ClusterId string /* 集群ID,获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105">如何获取接口URI中参数</a>。 */
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004422" target="_blank">云容器引擎资源池</a>
另外您通过<a href="https://www.ctyun.cn/document/10026730/10028695" target="_blank">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81" target="_blank">资源池列表查询</a>
*/
UserIds []int64 `json:"userIds"` /* 用户ID,可在云容器引擎控制台 > 安全管理 > 授权页面查看子账号列表及对应的用户ID */
Data []*CcseUpdateSubUserPermissionsDataRequest `json:"data"` /* 权限设置列表 */
}
type CcseUpdateSubUserPermissionsResponse ¶
type CcseUpdateSubUserPermissionsResponse struct {
StatusCode int32 `json:"statusCode,omitempty"` /* 状态码 */
Message string `json:"message,omitempty"` /* 提示信息 */
ReturnObj *CcseUpdateSubUserPermissionsReturnObjResponse `json:"returnObj"` /* 返回对象 */
Error string `json:"error,omitempty"` /* 错误码 */
}
type CcseUpdateSubUserPermissionsReturnObjResponse ¶
type CcseUpdateSubUserPermissionsReturnObjResponse struct{}
type CcseUpdateVolumeSnapshotApi ¶
type CcseUpdateVolumeSnapshotApi struct {
// contains filtered or unexported fields
}
func NewCcseUpdateVolumeSnapshotApi ¶
func NewCcseUpdateVolumeSnapshotApi(client *core.CtyunClient) *CcseUpdateVolumeSnapshotApi
func (*CcseUpdateVolumeSnapshotApi) Do ¶
func (a *CcseUpdateVolumeSnapshotApi) Do(ctx context.Context, credential core.Credential, req *CcseUpdateVolumeSnapshotRequest) (*CcseUpdateVolumeSnapshotResponse, error)
type CcseUpdateVolumeSnapshotClassApi ¶
type CcseUpdateVolumeSnapshotClassApi struct {
// contains filtered or unexported fields
}
func NewCcseUpdateVolumeSnapshotClassApi ¶
func NewCcseUpdateVolumeSnapshotClassApi(client *core.CtyunClient) *CcseUpdateVolumeSnapshotClassApi
func (*CcseUpdateVolumeSnapshotClassApi) Do ¶
func (a *CcseUpdateVolumeSnapshotClassApi) Do(ctx context.Context, credential core.Credential, req *CcseUpdateVolumeSnapshotClassRequest) (*CcseUpdateVolumeSnapshotClassResponse, error)
type CcseUpdateVolumeSnapshotClassRequest ¶
type CcseUpdateVolumeSnapshotClassRequest struct {
ClusterId string /* 集群id, 获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105">如何获取接口URI中参数</a>。 */
VolumeSnapshotClassName string /* 资源名称 */
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004422" target="_blank">云容器引擎资源池</a>
另外您通过<a href="https://www.ctyun.cn/document/10026730/10028695" target="_blank">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81" target="_blank">资源池列表查询</a> */
TextPlainDataString string `json:"textPlainDataString,omitempty"` /* 字符串类型的yaml */
}
type CcseUpdateVolumeSnapshotRequest ¶
type CcseUpdateVolumeSnapshotRequest struct {
ClusterId string /* 集群id, 获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105">如何获取接口URI中参数</a>。 */
NamespaceName string /* 命名空间名称 */
VolumeSnapshotName string /* 资源名称 */
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004422" target="_blank">云容器引擎资源池</a>
另外您通过<a href="https://www.ctyun.cn/document/10026730/10028695" target="_blank">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81" target="_blank">资源池列表查询</a> */
TextPlainDataString string `json:"textPlainDataString,omitempty"` /* 字符串类型的yaml */
}
type CcseUpgradeClusterApi ¶
type CcseUpgradeClusterApi struct {
// contains filtered or unexported fields
}
func NewCcseUpgradeClusterApi ¶
func NewCcseUpgradeClusterApi(client *core.CtyunClient) *CcseUpgradeClusterApi
func (*CcseUpgradeClusterApi) Do ¶
func (a *CcseUpgradeClusterApi) Do(ctx context.Context, credential core.Credential, req *CcseUpgradeClusterRequest) (*CcseUpgradeClusterResponse, error)
type CcseUpgradeClusterRequest ¶
type CcseUpgradeClusterRequest struct {
ClusterId string /* 集群ID,获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105">如何获取接口URI中参数</a>。 */
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004422" target="_blank">云容器引擎资源池</a>
另外您通过<a href="https://www.ctyun.cn/document/10026730/10028695" target="_blank">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81" target="_blank">资源池列表查询</a>
*/
NextVersion string `json:"nextVersion,omitempty"` /* 集群可升级版本 */
Version string `json:"version,omitempty"` /* 当前版本 */
Concurrency int32 `json:"concurrency,omitempty"` /* worker升级并发数量 */
}
type CcseUpgradeClusterResponse ¶
type CcseUpgradeClusterResponse struct {
StatusCode int32 `json:"statusCode,omitempty"` /* 状态码 */
Message string `json:"message,omitempty"` /* 提示信息 */
ReturnObj *CcseUpgradeClusterReturnObjResponse `json:"returnObj"` /* 返回对象 */
Error string `json:"error,omitempty"` /* 错误码 */
}
type CcseUpgradeClusterReturnObjResponse ¶
type CcseUpgradeClusterReturnObjResponse struct {
TaskId int64 `json:"taskId,omitempty"` /* 任务id */
ClusterId string `json:"clusterId,omitempty"` /* 集群ID */
ParentTaskId int64 `json:"parentTaskId,omitempty"` /* parentTaskId */
NodeName string `json:"nodeName,omitempty"` /* 节点名称 */
NodeType string `json:"nodeType,omitempty"` /* 节点类型,包括master0, master, node */
MasterPlanHash string `json:"masterPlanHash,omitempty"` /* masterPlanHash */
WorkerPlanHash string `json:"workerPlanHash,omitempty"` /* workerPlanHash */
TaskStatus string `json:"taskStatus,omitempty"` /* 任务状态,start:开始升级,end:完成升级,pause:暂停升级 */
Version string `json:"version,omitempty"` /* 版本 */
Status int32 `json:"status,omitempty"` /* 状态码,0:无效 1:有效 2:删除 */
CreatedBy int64 `json:"createdBy,omitempty"` /* 创建者 */
CreatedTime string `json:"createdTime,omitempty"` /* 创建时间 */
UpdatedTime string `json:"updatedTime,omitempty"` /* 更新时间 */
}
type CcseUpgradeNodePoolApi ¶
type CcseUpgradeNodePoolApi struct {
// contains filtered or unexported fields
}
func NewCcseUpgradeNodePoolApi ¶
func NewCcseUpgradeNodePoolApi(client *core.CtyunClient) *CcseUpgradeNodePoolApi
func (*CcseUpgradeNodePoolApi) Do ¶
func (a *CcseUpgradeNodePoolApi) Do(ctx context.Context, credential core.Credential, req *CcseUpgradeNodePoolRequest) (*CcseUpgradeNodePoolResponse, error)
type CcseUpgradeNodePoolRequest ¶
type CcseUpgradeNodePoolRequest struct {
ClusterId string /* 集群ID,获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105" target="_blank">如何获取接口URI中参数</a>。 */
NodePoolId string /* 节点池ID,获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105" target="_blank">如何获取接口URI中参数</a>。 */
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10026730/10028695">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87">资源池列表查询</a> */
OsUpgrade bool `json:"osUpgrade"` /* 是否升级操作系统 */
UpgradeImageName string `json:"upgradeImageName,omitempty"` /* 目标操作系统名称(最新操作系统名称可参考产品文档”升级节点池“章节) */
UpgradeImageID string `json:"upgradeImageID,omitempty"` /* 目标操作系统镜像ID,请联系相关技术人员获取对应操作系统名称的ID */
KubeletUpgrade bool `json:"kubeletUpgrade"` /* 是否升级kubelet */
UpgradeKubeletVersion string `json:"upgradeKubeletVersion,omitempty"` /* 目标kubelet版本名称(最新kubelet版本可参考产品文档”升级节点池“章节) */
RuntimeUpgrade bool `json:"runtimeUpgrade"` /* 否升级容器运行时 */
RuntimeType string `json:"runtimeType,omitempty"` /* 节点池容器运行时类型,目前支持containerd运行时升级 */
UpgradeRuntimeVersion string `json:"upgradeRuntimeVersion,omitempty"` /* 目标运行时版本名称(最新运行时版本可参考产品文档”升级节点池“章节) */
}
type CcseUpgradeNodePoolResponse ¶
type CcseUpgradeNodePoolResponse struct {
ReturnObj *CcseUpgradeNodePoolReturnObjResponse `json:"returnObj"` /* 响应对象 */
}
type CcseUpgradeNodePoolReturnObjResponse ¶
type CcseUpgradeNodePoolReturnObjResponse struct {
TaskId string `json:"taskId,omitempty"` /* 任务ID */
}
type CcseUpgradePluginInstanceApi ¶
type CcseUpgradePluginInstanceApi struct {
// contains filtered or unexported fields
}
func NewCcseUpgradePluginInstanceApi ¶
func NewCcseUpgradePluginInstanceApi(client *core.CtyunClient) *CcseUpgradePluginInstanceApi
func (*CcseUpgradePluginInstanceApi) Do ¶
func (a *CcseUpgradePluginInstanceApi) Do(ctx context.Context, credential core.Credential, req *CcseUpgradePluginInstanceRequest) (*CcseUpgradePluginInstanceResponse, error)
type CcseUpgradePluginInstanceRequest ¶
type CcseUpgradePluginInstanceRequest struct {
ClusterId string /* 集群ID,获取方式请参见<a href="https://www.ctyun.cn/document/10083472/11002105">如何获取接口URI中参数</a>。 */
RegionId string /* 资源池ID,您可以查看<a href="https://www.ctyun.cn/document/10083472/11004422" target="_blank">云容器引擎资源池</a>
另外您通过<a href="https://www.ctyun.cn/document/10026730/10028695" target="_blank">地域和可用区</a>来了解资源池
获取:
<span style="background-color: rgb(73, 204, 144);color: rgb(255,255,255);padding: 2px; margin:2px">查</span> <a href="https://eop.ctyun.cn/ebp/ctapiDocument/search?sid=25&api=5851&data=87&vid=81" target="_blank">资源池列表查询</a> */
ChartName string `json:"chartName,omitempty"` /* Chart名称 */
ChartVersion string `json:"chartVersion,omitempty"` /* Chart版本号 */
InstanceName string `json:"instanceName,omitempty"` /* 实例名称 */
Values string `json:"values,omitempty"` /* 实例配置参数(YAML格式),与valuesJson参数二选一必填 */
ValuesJson string `json:"valuesJson,omitempty"` /* 实例配置参数(JSON格式),与values参数二选一必填 */
}
type CcseUpgradePluginInstanceResponse ¶
type CcseUpgradePluginInstanceResponse struct {
StatusCode int32 `json:"statusCode,omitempty"` /* 状态码 */
RequestId string `json:"requestId,omitempty"` /* 请求id */
Message string `json:"message,omitempty"` /* 提示信息 */
ReturnObj *bool `json:"returnObj"` /* 返回对象 */
Error string `json:"error,omitempty"` /* 错误码 */
}
Source Files
¶
- apis.go
- ccse_attach_cluster_nodes_api.go
- ccse_batch_delete_node_pool_api.go
- ccse_bind_cluster_tags_api.go
- ccse_cancel_cluster_task_api.go
- ccse_check_control_plane_log_enabled_api.go
- ccse_cluster_upgrade_precheck_api.go
- ccse_create_cluster_api.go
- ccse_create_cluster_autoscaler_policy_api.go
- ccse_create_cluster_delegate_api.go
- ccse_create_cluster_policy_instance_api.go
- ccse_create_config_map_api.go
- ccse_create_cron_horizontal_pod_autoscaler_api.go
- ccse_create_daemon_set_api.go
- ccse_create_deployment_api.go
- ccse_create_horizontal_pod_autoscaler_api.go
- ccse_create_job_api.go
- ccse_create_node_pool_api.go
- ccse_create_persistent_volume_api.go
- ccse_create_persistent_volume_claim_api.go
- ccse_create_pod_api.go
- ccse_create_replica_set_api.go
- ccse_create_secret_api.go
- ccse_create_service_api.go
- ccse_create_stateful_set_api.go
- ccse_create_storage_class_api.go
- ccse_create_volume_snapshot_api.go
- ccse_create_volume_snapshot_class_api.go
- ccse_delete_cluster_api.go
- ccse_delete_cluster_autoscaler_policy_api.go
- ccse_delete_cluster_policy_instance_api.go
- ccse_delete_config_map_api.go
- ccse_delete_cron_horizontal_pod_autoscaler_api.go
- ccse_delete_daemon_set_api.go
- ccse_delete_deployment_api.go
- ccse_delete_job_api.go
- ccse_delete_node_pool_api.go
- ccse_delete_persistent_volume_api.go
- ccse_delete_persistent_volume_claim_api.go
- ccse_delete_plugin_instance_api.go
- ccse_delete_pod_api.go
- ccse_delete_replica_set_api.go
- ccse_delete_secret_api.go
- ccse_delete_service_api.go
- ccse_delete_stateful_set_api.go
- ccse_delete_storage_class_api.go
- ccse_delete_template_instance_api.go
- ccse_delete_volume_snapshot_api.go
- ccse_delete_volume_snapshot_class_api.go
- ccse_deploy_plugin_instance_api.go
- ccse_deploy_template_instance_api.go
- ccse_enable_control_plane_log_api.go
- ccse_get_cluster_api.go
- ccse_get_cluster_autoscaler_policy_api.go
- ccse_get_cluster_events_api.go
- ccse_get_cluster_kube_config_api.go
- ccse_get_cluster_policy_status_api.go
- ccse_get_cluster_quota_api.go
- ccse_get_cluster_resources_api.go
- ccse_get_cluster_task_api.go
- ccse_get_cluster_temp_kube_config_api.go
- ccse_get_config_map_api.go
- ccse_get_cron_horizontal_pod_autoscaler_api.go
- ccse_get_daemon_set_api.go
- ccse_get_deployment_api.go
- ccse_get_horizontal_pod_autoscaler_api.go
- ccse_get_job_api.go
- ccse_get_kubernetes_versions_api.go
- ccse_get_node_detail_api.go
- ccse_get_node_pool_api.go
- ccse_get_persistent_volume_api.go
- ccse_get_persistent_volume_claim_api.go
- ccse_get_plugin_instance_api.go
- ccse_get_pod_api.go
- ccse_get_policy_governance_api.go
- ccse_get_policy_template_api.go
- ccse_get_replica_set_api.go
- ccse_get_secret_api.go
- ccse_get_service_api.go
- ccse_get_stateful_set_api.go
- ccse_get_storage_class_api.go
- ccse_get_sub_user_cluster_kube_config_api.go
- ccse_get_sub_user_cluster_namespaces_api.go
- ccse_get_sub_user_permission_api.go
- ccse_get_template_instance_api.go
- ccse_get_upgrade_cluster_status_api.go
- ccse_get_volume_snapshot_api.go
- ccse_get_volume_snapshot_class_api.go
- ccse_has_plugin_instance_existed_api.go
- ccse_has_template_instance_existed_api.go
- ccse_list_cluster_autoscaler_policies_api.go
- ccse_list_cluster_nodes_api.go
- ccse_list_cluster_policy_instances_api.go
- ccse_list_cluster_tags_api.go
- ccse_list_cluster_task_events_api.go
- ccse_list_cluster_tasks_api.go
- ccse_list_clusters_api.go
- ccse_list_config_maps_api.go
- ccse_list_cron_horizontal_pod_autoscalers_api.go
- ccse_list_daemon_sets_api.go
- ccse_list_deployments_api.go
- ccse_list_events_api.go
- ccse_list_horizontal_pod_autoscalers_api.go
- ccse_list_jobs_api.go
- ccse_list_node_pools_api.go
- ccse_list_nodes_api.go
- ccse_list_persistent_volume_claims_api.go
- ccse_list_persistent_volumes_api.go
- ccse_list_plugin_instances_api.go
- ccse_list_pod_api.go
- ccse_list_policy_rules_api.go
- ccse_list_replica_sets_api.go
- ccse_list_secrets_api.go
- ccse_list_services_api.go
- ccse_list_stateful_sets_api.go
- ccse_list_storage_classes_api.go
- ccse_list_volume_snapshot_classes_api.go
- ccse_list_volume_snapshots_api.go
- ccse_modify_node_api.go
- ccse_pause_cluster_task_api.go
- ccse_query_cluster_sub_user_api.go
- ccse_query_node_api.go
- ccse_redeploy_plugin_instance_api.go
- ccse_remove_horizontal_pod_autoscaler_v2_api.go
- ccse_remove_node_v2_api.go
- ccse_renew_cluster_api.go
- ccse_repair_node_pool_api.go
- ccse_resume_cluster_task_api.go
- ccse_scale_down_node_pool_api.go
- ccse_scale_up_node_pool_api.go
- ccse_sync_node_pool_api.go
- ccse_unbind_cluster_tags_api.go
- ccse_update_cluster_api.go
- ccse_update_cluster_autoscaler_policy_api.go
- ccse_update_cluster_kube_config_expiration_time_api.go
- ccse_update_cluster_policy_instance_api.go
- ccse_update_cluster_tags_api.go
- ccse_update_config_map_api.go
- ccse_update_cron_horizontal_pod_autoscaler_api.go
- ccse_update_daemon_set_api.go
- ccse_update_deployment_api.go
- ccse_update_horizontal_pod_autoscaler_api.go
- ccse_update_job_api.go
- ccse_update_node_pool_api.go
- ccse_update_node_pool_kubelet_config_api.go
- ccse_update_persistent_volume_api.go
- ccse_update_persistent_volume_claim_api.go
- ccse_update_pod_api.go
- ccse_update_replica_set_api.go
- ccse_update_secret_api.go
- ccse_update_service_api.go
- ccse_update_stateful_set_api.go
- ccse_update_storage_class_api.go
- ccse_update_sub_user_permissions_api.go
- ccse_update_volume_snapshot_api.go
- ccse_update_volume_snapshot_class_api.go
- ccse_upgrade_cluster_api.go
- ccse_upgrade_node_pool_api.go
- ccse_upgrade_plugin_instance_api.go
Click to show internal directories.
Click to hide internal directories.