1
0
mirror of https://github.com/rancher/steve.git synced 2025-07-13 14:44:48 +00:00
steve/pkg/resources
Eric Promislow 06c2eb50d1
Index more sqlite cache fields (#271)
* Add more fields to index when sql-caching is on.

Misc changes:
- Use the builtin Event class, not events.k8s.io (by looking at the dashboard client code)
- Specify full path to the management.cattle.io fields.
- Map `Event.type` to `Event._type` for indexing.

Use a compound transform-func to first check for a "signal",
and then to run all the relevant transformers until either
one fails or the list is exhausted.

- Includes moving the fakeSummaryCache type into a common area.

Use a simpler way of running transforms.

* Inline the function to get the gvk key.

* Create a '--sql-cache' flag to turn on caching for the steve CLI.

* Improve error-handling in object transformer.

* Drop the 'GetTransform' function.

* Inline the code that transforms a payload into a k8s-unstructured object.
2024-10-18 11:06:29 -07:00
..
apigroups Adding APIGroups back to the schema 2024-07-02 13:27:04 -05:00
cluster updated wrangler from v2 to v3 2024-06-05 22:53:08 +05:30
common Re-adding formatter when SQL cache is enabled (#300) 2024-10-18 12:15:42 -05:00
counts updated wrangler from v2 to v3 2024-06-05 22:53:08 +05:30
formatters Set pod status to state 2020-08-03 19:52:04 -07:00
schemas Migrate the mocking library to uber's (#291) 2024-10-10 10:28:25 -07:00
userpreferences Add userpreference 2021-03-01 22:26:26 -07:00
virtual Index more sqlite cache fields (#271) 2024-10-18 11:06:29 -07:00
schema.go Re-adding formatter when SQL cache is enabled (#300) 2024-10-18 12:15:42 -05:00