talos/api
Artem Chernyshev e7e99cf1b3 feat: support disk usage command in talosctl
Usage example:

```bash
talosctl du --nodes 10.5.0.2 /var -H -d 2
NODE       NAME
10.5.0.2   8.4 kB   etc
10.5.0.2   1.3 GB   lib
10.5.0.2   16 MB    log
10.5.0.2   25 kB    run
10.5.0.2   4.1 kB   tmp
10.5.0.2   1.3 GB   .
```

Supported flags:
- `-a` writes counts for all files, not just directories.
- `-d` recursion depth
- '-H' humanize size outputs.
- '-t' size threshold (skip files if < size or > size).

Fixes: https://github.com/talos-systems/talos/issues/2504

Signed-off-by: Artem Chernyshev <artem.0xD2@gmail.com>
2020-10-13 09:30:31 -07:00
..
cluster refactor: move external API packages into machinery/ 2020-08-17 09:56:14 -07:00
common refactor: move external API packages into machinery/ 2020-08-17 09:56:14 -07:00
health refactor: move external API packages into machinery/ 2020-08-17 09:56:14 -07:00
machine feat: support disk usage command in talosctl 2020-10-13 09:30:31 -07:00
network refactor: move external API packages into machinery/ 2020-08-17 09:56:14 -07:00
os refactor: move external API packages into machinery/ 2020-08-17 09:56:14 -07:00
security refactor: move external API packages into machinery/ 2020-08-17 09:56:14 -07:00
time refactor: move external API packages into machinery/ 2020-08-17 09:56:14 -07:00