添加uhadoop-cli相关命令和测试文档#1
Open
markwei-ucloud wants to merge 53 commits into
Open
Conversation
- Add `resize` command to the memcache product - Bump `github.com/ucloud/ucloud-sdk-go` to `v0.22.90` (required for `NewResizeUMemcacheGroupRequest` / `ResizeUMemcacheGroup`) - Update `cmdtree` / `completion` golden testdata for memcache Co-Authored-By: Claude <noreply@anthropic.com>
…ource-type dispatch New commands: - modify-name, modify-password - flush, isolation, resize - list-block, list-proxy - create-proxy, delete-proxy, resize-proxy Refactor: - Introduce `describeRedisMode` to dispatch `delete`/`restart` by resource type instead of guessing from the id prefix (`uredis` / `uhredis` / `uregionredis` / `udredis`) - Add `BlockRow` / `ProxyRow` row types Deps / testdata: - Bump `github.com/ucloud/ucloud-sdk-go` to `v0.22.90` - Update `cmdtree` / `completion` golden testdata for redis Co-Authored-By: Claude <noreply@anthropic.com>
- list.go: use resourceTypeToMode instead of the redisTypeMap lookup (single source of truth for resource-type → mode mapping) - rows.go: drop the now-unused redisTypeMap; gofmt BlockRow/ProxyRow - product.yaml: update owner Co-Authored-By: Claude <noreply@anthropic.com>
Co-Authored-By: Claude <noreply@anthropic.com>
Add create, list, describe, delete, expand, resize, restart, and create-option commands for UClickhouse cluster management.
service create(mainland + overseas): - 成功时经 ProgressWriter 打印叙述,table 模式不再零输出; ResourceId 为空时报错,避免静默当成功 - 新增 --async flag;默认同步轮询 DescribeService 直到 DefenceStatus="Started" overseas ip:移除未启用的 bind/unbind 命令及 checkOverseasService 辅助 同步更新 cmdtree.golden 与 testcases.md Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
feat(cli): add --wait-timeout-sec to configure synchronous poll timeout (ucloud#119)
feat(uclickhouse): add UClickhouse CLI commands
- Extract shared deleteOpts/newDeleteCmd into delete.go to satisfy one-constructor-per-file rule (rule10) - Add missing newDeleteSharded with correct action=DeleteUMongoDBShardedCluster and idParam=ShardedClusterId - Remove stale flag=async lines from cmdtree.golden for create-replset and create-sharded (flags were removed in prior commit)
…ommands feat(redis): add proxy/flush/isolation/resize/modify commands and resource-type dispatch
…e-resize feat(memcache): add resize command
feat(utidb): 接入 UTiDB CLI
Fix product/css Application version, e.g. 7.10.2
* fix(urocketmq): correct command behavior * fix(urocketmq): correct command behavior
feat: add nlb cli
feature: add uddos cli
ukafka ucloud-cli
umongodb cli
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Features:
添加uhadoop-api相关操作命令,包含以下命令:
Commands:
list List all UHadoop clusters
describe Describe a UHadoop cluster
create Create a UHadoop cluster
delete Delete a UHadoop cluster
add-node Add nodes to a UHadoop cluster
list-node-type List available node types for UHadoop
list-framework-app List UHadoop framework apps by use case
restart-service Restart/start/stop a UHadoop cluster service
upgrade-node Upgrade UHadoop node instance type
upgrade-disk Upgrade UHadoop node disk size
Fixes: