Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 6 commits into from
Mar 5, 2018
Merged

Conversation

ernoaapa
Copy link
Owner

@ernoaapa ernoaapa commented Mar 1, 2018

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".

ernoaapa added 6 commits March 5, 2018 06:45
Previously we were calling target computer as "device" which is more
familiar name for IoT computers, "devices".
But in future we want to bring the attached devices (sensors,
usb devices, harddrives) into the model so "Device" name
were conflicting with it.
Renamed Device concept to Node as it is in Kubernetes so we can
use Device to describe attached devices.
So if some information changes over time, the information get
updated.
@codecov
Copy link

codecov bot commented Mar 5, 2018

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%> (ø) ⬆️
cmd/utils.go 35.47% <0%> (ø) ⬆️
pkg/api/server.go 2.2% <0%> (ø) ⬆️
pkg/api/client.go 0% <0%> (ø) ⬆️
pkg/discovery/mapping.go 100% <100%> (ø) ⬆️
pkg/node/resolver.go 69.38% <100%> (ø)
pkg/printers/yaml.go 44.82% <33.33%> (ø) ⬆️
pkg/node/utils.go 66.66% <66.66%> (ø)
pkg/printers/humanreadable.go 54.83% <84.84%> (+11.98%) ⬆️
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.

@ernoaapa ernoaapa merged commit f20de61 into master Mar 5, 2018
@ernoaapa ernoaapa deleted the node-devices branch March 25, 2018 09:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant