Closed jackfrancis closed 8 years ago
moving out of the 2.2 milestone
@@ master #81 diff @@
==========================================
Files 9 8 -1
Lines 343 359 +16
Methods 0 0
Messages 0 0
Branches 0 0
==========================================
+ Hits 89 112 +23
+ Misses 235 220 -15
- Partials 19 27 +8
Powered by Codecov. Last update e010f7a...73bd54f
Above-noted future TODO item for k8s mock data filed here:
Above-noted future TODO for deis doctor data modeling filed here:
I tested this by putting it into the workflow-dev chart. Resulted in a huge JSON blob full of the above information--good stuff!
closes #79
This PR delivers the following feature additions:
data
property. This makes for a predictably heavy-weight data payload, and in the future it may make sense to include some filtering. That, and any additional explicit properties data modeling is TODO.Included in the implementation to support these features are the following under-the-hood items worth emphasizing:
k8s
sub-package was created to accommodate all new business logic responsible for gathering and preparing kubernetes cluster data; pre-existing kubernetes-specific implementations that were formerly in thedata
package were moved tok8s
, as appropriate (e.g., thedata.getRCItems()
helper function becomes the exportablek8s.GetReplicationControllers()
.kubeapp
dependency was updated, and in factgithub.com/deis
absorbed what was formerly @arschles's personal creation.glide.yaml
andglide.lock
updated to reflect updatedkubeapp
dependenciesk8s.ResourceInterface
is meant, with the help of its constructor, to conveniently provide a re-usable kubernetes-namespace-specific, per-resource data retrieval singleton.