Create structs for ui objects in kueue-viz instead of ad-hoc objects #4053
Labels
kind/cleanup
Categorizes issue or PR as related to cleaning up code, process, or technical debt.
kind/dashboard
Denotes a PR that is related to the built-in dashboard
What would you like to be cleaned:
In most backend functions, ad-hoc objects are created to convey data from the kube api to the websocket layer. This was done for several reasons:
Why is this needed:
It could be interesting to have dedicated objects for this usage for better debuggability, especially on the client side, and to ensure data consistency.
As a first pass, we can create structs manually based on the existing ad-hoc objects. But, if we can find a way to generate them later it could be more efficient.
The text was updated successfully, but these errors were encountered: