haifxu opened a new pull request, #5958:
URL: https://github.com/apache/inlong/pull/5958
### Prepare a Pull Request
- Fixes #5102
### Motivation
Manager tools supports CRUD for inlong cluster.
### Modifications
1.Add CRUD for inlong cluster.
2.Add cluster type parameter validation.
2.Add cluster id validation in
`org.apache.inlong.manager.client.api.inner.client.InlongClusterClient#update`.
### Verifying this change
1. managerctl list cluster
```
cluster Get cluster summary information
Usage: cluster [options]
Options:
--tag
cluster tag
--type
cluster type
```
2. managerctl describe cluster
```
cluster Get cluster details
Usage: cluster [options]
Options:
* -id, --id
cluster id
```
3. managerctl create cluster
```
cluster Create cluster by json file
Usage: cluster [options]
Options:
-f, --file
json file
```
4. managerctl update cluster
```
cluster Update cluster by json file
Usage: cluster [options]
Options:
-f, --file
json file
```
5. managerctl delete cluster
```
cluster Delete cluster by cluster id
Usage: cluster [options]
Options:
* -id, --id
cluster id
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]