1
0
mirror of https://github.com/rancher/steve.git synced 2025-09-18 08:20:36 +00:00
Files
steve/pkg
Colleen Murphy b151f25581 Add secondary sort parameter
Extend the sorting functionality in the partition store to support
primary and secondary sorting criteria. Sorting parameters are specified
by a single 'sort' query and comma separated. Example:

Sort by name and creation time:

GET /v1/secrets?sort=metadata.name,metadata.creationTimestamp

Reverse sort by name, normal sort by creation time:

GET /v1/secrets?sort=-metadata.name,metadata.creationTimestamp

Normal sort by name, reverse sort by creation time:

GET /v1/secrets?sort=metadata.name,-metadata.creationTimestamp
2022-12-20 15:01:19 -08:00
..
2022-10-14 15:21:17 -05:00
2021-05-20 12:10:28 -07:00
2020-01-30 22:37:59 -07:00
2022-02-14 17:39:37 -07:00
2022-10-27 14:27:13 -07:00
2022-12-13 16:12:33 -06:00
2022-12-20 15:01:19 -08:00
2019-08-04 10:41:32 -07:00