Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[kueuectl] Added kueuectl list pods command (#2280)
* Added kueuectl list pods cmd * indent and fix PR comments * fix: goimports * chore: remove ctx args in tt * refactor get pods logic for multiple types * test: Add more job type tests * refactor: based on comments for listpods & helpers * remove fmt * refactor unit tests * refactor based on commments (1) * refactor based on commments (2) * refactor: handle if no resources found * Added seperate printer for list pods * rename list_pods_printer * Refactor printers logic and comments * fix lint * Refactor ForObject parsing and comments * Refactor ListPods logic to use common podLabelSelector * Refactor jobLabels as per comment * breakdown Complete() by adding functions * merge listPods() to Run() * go mod vendor * more refactor for podLabelSelection * support more columns for list pod * more refactor based on PR comments (1) * Refactor get pods logic to user API directly * More refactor based on comments (1) * Run generate-docs * support multiple outputs * refactor: support multiple outputs * refactor & rm unused params in test * go mod tidy * handle podLablesSelectors and refactor * bugfix: label selectors for raycluster and MPI * bugfix: add operator name labels for pod selectors * remove podgroup support * use kubectl get package for table_printers * remove podLabelSelector from GenericJob interface * (revert) remove podgroup support * go mod tidy (remove goVersion)
- Loading branch information