feat(cluster): add cluster agent list command
Description
This change set implements a new glab cluster agent list
command to list all cluster agents. This is also the first glab cluster
command and more are to come. See Manage local cluster connections (#7288 - closed)
Example:
./bin/glab cluster agent list -R timofurrer/agentk-test
Showing 1 cluster on timofurrer/agentk-test
ID Name Created At
73450 local about 6 days ago
Related Issues
References: Integrate GitLab Agents for Kubernetes manageme... (&11455 - closed)
Closes Implement CLI command to list all cluster agents (#7295 - closed)
How has this been tested?
- unit tests
- explorative testing on my local machine: ... it worked on my machine
🤷 ;)
Screenshots (if appropriate):
Types of changes
-
Bug fix (non-breaking change which fixes an issue) -
New feature (non-breaking change which adds functionality) -
Breaking change (fix or feature that would cause existing functionality to change) -
Documentation -
Chore (Related to CI or Packaging to platforms) -
Test gap
Edited by Timo Furrer