1
0
mirror of https://github.com/rancher/steve.git synced 2025-06-30 08:42:06 +00:00
Commit Graph

3 Commits

Author SHA1 Message Date
Sakala Venkata Krishna Rohit
da9bc2a114
Update urfave/cli to v2 (#523) 2025-04-08 12:46:32 -07:00
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
Darren Shepherd
8b42d0aff8 Refactor 2020-01-30 22:37:59 -07:00