1
0
mirror of https://github.com/rancher/steve.git synced 2025-08-16 21:36:26 +00:00
steve/pkg/stores/sqlproxy
Eric Promislow ca28cd31be Add a special case handler to sort raw namespaces.
For any namespaces in a project, we want to group them by project,
sorted by the project's human name.  Then display the others.
Sort the names ascending otherwise.

This is a bit hacky -- if the client adds any filter or sort field,
we no longer do the bespoke joining.

It took all day to come up with this SQL to get all the namespaces.
LMK if there's a better way, and especially if you've got a way
to integrate this technique with user-specified filters and sort params.
2025-03-24 12:44:00 -07:00
..
tablelistconvert Migrate the mocking library to uber's (#291) 2024-10-10 10:28:25 -07:00
dynamic_mocks_test.go Migrate the mocking library to uber's (#291) 2024-10-10 10:28:25 -07:00
proxy_mocks_test.go sql: propagate and use contexts (#465) 2025-02-12 09:46:10 +01:00
proxy_store_test.go Generate field names with brackets when needed. (#477) 2025-02-25 10:39:29 -08:00
proxy_store.go Add a special case handler to sort raw namespaces. 2025-03-24 12:44:00 -07:00
sql_informer_mocks_test.go Move lasso SQL cache in Steve (#452) 2025-01-17 09:34:48 -05:00