Consolidate test object creation under the wrappers pkg #353
Labels
help wanted
Denotes an issue that needs help from a contributor. Must meet "help wanted" guidelines.
kind/cleanup
Categorizes issue or PR as related to cleaning up code, process, or technical debt.
In a few places in tests we create pools, models and pods. We used at the wrapper pattern in a few projects and it worked generally well. I think we can follow the same pattern here.
#350 introduces the wrapper pkg and adds the PodWrapper, we can follow up with InferencePoolWrapper, InferenceModelWrapper, PodMetricsWrapper and RequestWrapper (for which we have some functions that we can repurpose https://github.com/kubernetes-sigs/gateway-api-inference-extension/blob/main/pkg/ext-proc/test/utils.go#L63).
The text was updated successfully, but these errors were encountered: