-
Notifications
You must be signed in to change notification settings - Fork 418
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
## Problem During incidents, we may need to quickly access the storage controller's API without trying API client code or crafting `curl` CLIs on the fly. A basic CLI client is needed for this. ## Summary of changes - Update storage controller node listing API to only use public types in controller_api.rs - Add a storage controller API for listing tenants - Add a basic test that the CLI can list and modify nodes and tenants.
- Loading branch information
Showing
11 changed files
with
822 additions
and
67 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
[package] | ||
name = "storcon_cli" | ||
version = "0.1.0" | ||
edition.workspace = true | ||
license.workspace = true | ||
|
||
|
||
[dependencies] | ||
anyhow.workspace = true | ||
clap.workspace = true | ||
comfy-table.workspace = true | ||
hyper.workspace = true | ||
pageserver_api.workspace = true | ||
pageserver_client.workspace = true | ||
reqwest.workspace = true | ||
serde.workspace = true | ||
serde_json = { workspace = true, features = ["raw_value"] } | ||
thiserror.workspace = true | ||
tokio.workspace = true | ||
tracing.workspace = true | ||
utils.workspace = true | ||
workspace_hack.workspace = true | ||
|
Oops, something went wrong.
6e3834d
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
2834 tests run: 2681 passed, 0 failed, 153 skipped (full report)
Flaky tests (1)
Postgres 15
test_vm_bit_clear_on_heap_lock
: debugCode coverage* (full report)
functions
:28.1% (6380 of 22709 functions)
lines
:47.0% (44976 of 95727 lines)
* collected from Rust tests only
6e3834d at 2024-04-03T11:19:53.610Z :recycle: