-
批量迁移GitLab内网仓库到代码托管CodeArts Repo
plan["groups"]: # 检查目标代码组,如果存在则检查下一层 if group == "": group = " %s" % g else: group = "%s / %s" % (group, g) if group in group_dict: last_group =
来自:百科 -
创建ServicecreateCoreV1NamespacedService
system. If specified, it will be allocated to the service if unused or else creation of the service will fail. Default is to auto-allocate a port
来自:百科 -
创建集群CreateCluster
CreateCluster(request) if err == nil { fmt.Printf("%+v\n", response) } else { fmt.Println(err) } } 创建一个v1.19版本的CCE集群,计费模式为按需计费,集群规模为50节点,且为高可用集群,并在集群中安装ICAgent。
来自:百科 -
更新AddonInstanceUpdateAddonInstance
UpdateAddonInstance(request) if err == nil { fmt.Printf("%+v\n", response) } else { fmt.Println(err) } } 更多编程语言的SDK代码示例,请参见API Explorer的代码示例页签,可生成自动对应的SDK代码示例。
来自:百科 -
纳管节点AddNode
-
查询service状态readCoreV1NamespacedServiceStatus
-
查询ServicereadCoreV1NamespacedService
-
更新ServicepatchCoreV1NamespacedService
-
获取集群下所有节点ListNodes
-
删除节点池DeleteNodePool
-
获取指定的节点池ShowNodePool
-
更新指定的节点UpdateNode
-
删除节点DeleteNode
-
获取集群下所有节点池ListNodePools
-
查询指定namespace下的ServiceslistCoreV1NamespacedService
-
获取指定的集群ShowCluster
-
获取指定项目下的集群ListClusters
-
删除集群DeleteCluster
-
创建节点CreateNode
-
更新指定节点池UpdateNodePool
-
创建节点池CreateNodePool
