mirror of
https://github.com/rancher/steve.git
synced 2025-04-28 03:10:32 +00:00
* Move types related to list options and sql queries into their own package. The problem having these in the informer package is that eventually code in other packages will need to import `informer` only for constants or types, but some members of the informer package may already depend on those. Best to move type definitions into their own simpler package. * Fix the ListOptions sort field. Instead of making it a single array-ish field, convert it into a true array of Sort Directives. Easier to read, less bending backwards. * Pass the listOptions struct by reference to avoid copying. We never update the ListOptions struct once it's created so there's no need to pass it by value. This might be a near-useless optimization... |
||
---|---|---|
.. | ||
metrics | ||
partition | ||
proxy | ||
queryhelper | ||
selector | ||
sqlpartition | ||
sqlproxy | ||
switchschema |