Commit 3730ed3
feat: Add experimental debug container command (#204)
* Basic ability to create and attach a debug container
* Add support for copying env from a target container, as well as running a custom command
* Send TTY window size
* Read asynchronously from stdin
* Default to the default namespace
* Fix stdin not being re-registered correctly with the waker
* Add debug error messages
* Let AsyncStdin reset its state once shut down
* Docs, demarcate as experimental
* Move debug container name to span
* Changelog
* ci: use install-nix-action
* fix(nix): add shebang to script (stackabletech/operator-templating#325)
* Move dependencies into root Cargo.toml
* Uglify formatting
* Change the container prefix from sble-debug- to stackablectl-debug-
* Default to the target container's image
* Run debug container as root
---------
Co-authored-by: Nick Larsen <nick.larsen@stackable.tech>1 parent 499ac11 commit 3730ed3
File tree
13 files changed
+711
-35
lines changed- docs/modules/stackablectl/partials/commands
- extra
- completions
- man
- rust/stackablectl
- src
- cli
- cmds
13 files changed
+711
-35
lines changedSome generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
| 36 | + | |
36 | 37 | | |
37 | 38 | | |
| 39 | + | |
38 | 40 | | |
39 | 41 | | |
40 | 42 | | |
| |||
49 | 51 | | |
50 | 52 | | |
51 | 53 | | |
52 | | - | |
| 54 | + | |
53 | 55 | | |
54 | 56 | | |
| 57 | + | |
55 | 58 | | |
56 | 59 | | |
57 | 60 | | |
58 | 61 | | |
59 | 62 | | |
| 63 | + | |
60 | 64 | | |
61 | 65 | | |
62 | 66 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6 | 6 | | |
7 | 7 | | |
8 | 8 | | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
16 | | - | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments