mirror of
https://github.com/rancher/steve.git
synced 2025-04-27 19:05:09 +00:00
Extend the partition store to parse the "sort" query parameter as a sorting condition. Dot notation is used to denote the object field. Preceding the key with "-" denotes descending (reverse) order. Example sorting by name: GET /v1/secrets?sort=metadata.name Reverse sorting by name: GET /v1/secrets?sort=-metadata.name All values are converted to strings and sorted lexicographically. |
||
---|---|---|
.. | ||
processor_test.go | ||
processor.go |