Implement a set of generic methods for creating/deleting/getting/listing objects in k8s instead of the current set of methods per object type offered by the xk6-kubernetes extension. In this way the extension is simplified and the code base is reduced significantly as one set of methods cover all the resource types.
Implement a set of generic methods for creating/deleting/getting/listing objects in k8s instead of the current set of methods per object type offered by the xk6-kubernetes extension. In this way the extension is simplified and the code base is reduced significantly as one set of methods cover all the resource types.
For example, for creating a job:
Similarly, for retrieving resources such a listing jobs: