ernoaapa / eliot

Open source system for managing containerized applications in IoT device
https://docs.eliot.run
Apache License 2.0
269 stars 20 forks source link

Add more info to 'eli describe device <name>' #33

Closed ernoaapa closed 6 years ago

ernoaapa commented 6 years ago

Added filesystem and uptime information to eli describe device command.

Also under the hood renamed concept of Device to Node because in future we want to call attached devices as "devices" and follow same naming convention as Kubernetes about the actual device where containers run, as "nodes".

codecov[bot] commented 6 years ago

Codecov Report

Merging #33 into master will increase coverage by 4.02%. The diff coverage is 66.06%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #33      +/-   ##
==========================================
+ Coverage   19.94%   23.97%   +4.02%     
==========================================
  Files          49       50       +1     
  Lines        2346     2419      +73     
==========================================
+ Hits          468      580     +112     
+ Misses       1825     1775      -50     
- Partials       53       64      +11
Impacted Files Coverage Δ
pkg/discovery/client.go 0% <0%> (ø) :arrow_up:
cmd/utils.go 35.47% <0%> (ø) :arrow_up:
pkg/api/server.go 2.2% <0%> (ø) :arrow_up:
pkg/api/client.go 0% <0%> (ø) :arrow_up:
pkg/discovery/mapping.go 100% <100%> (ø) :arrow_up:
pkg/node/resolver.go 69.38% <100%> (ø)
pkg/printers/yaml.go 44.82% <33.33%> (ø) :arrow_up:
pkg/node/utils.go 66.66% <66.66%> (ø)
pkg/printers/humanreadable.go 54.83% <84.84%> (+11.98%) :arrow_up:
pkg/node/resolver_linux.go 87.5% <87.5%> (ø)
... and 3 more

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 5b0fcc8...8aa124f. Read the comment docs.