[builds-cli]: drop direct k8s api calls and use builds-api exclusively
What was done:
- refactor the codebase to remove all use of the k8sclient.
- remove all unnecessary functions previously used to format kubernetes data.
- switch to using relevant builds-api endpoints instead.
- write tests to test every cli command and utility functions.
Depends-on: T343606
Bug: T344031 Bug: T343504 Bug: T340076 Signed-off-by: Ndibe Raymond Olisaemeka rolisaemeka-ctr@wikimedia.org
Edited by Raymond Ndibe