mirror of https://github.com/rancher/steve.git
* Capture type info so numeric values sort correctly.
* Replace conditional string prefixing with strings.TrimPrefix
* Add tabular data for other metadata.fields to sort numerically.
The issue is that some fields are not numeric, but are represented
in an entry in metadata.fields with a numeric indicator. Like
with secrets, metadata.fields[2] gives the number of actual keys
in the stored secret.
* Index more fields round 7, part 1
Add status.{allocatable,requested}.{cpus,pods,memory,memoryRaw}
* Add a converter to convert the annotated strings to float64's
* Fold the 'builtinIntTable' into the prepopulated 'typeGuidanceTable'.
- More test tweaking - verify the status.available fields work when not specified.
* Correction: 'status.available' should be 'status.requested'.
* Add the 'memoryRaw' field to status.A/R
* golint change, but the sql function uses underscores
* Fix decoding problems.
* Remove redundant type registering for GOB
* We no longer need to process this type because everything is 'map[string]any'.
* Remove commented-out debug helpers
* Use k8s library quantity-parser over ours.
Our unit tests pass as if with this change, looks good.
|
||
|---|---|---|
| .. | ||
| clusters.go | ||
| clusters_test.go | ||