1
0
mirror of synced 2026-03-30 20:56:56 +00:00

Add get auto image-policy and refactor

This factors the get command implementation so that the control flow
is generic and relies on a handful of methods, then uses that to add
`get auto image-policy` and to rewrite `get auto image-repository`.

Signed-off-by: Michael Bridgen <michael@weave.works>
This commit is contained in:
Michael Bridgen
2020-12-04 18:06:27 +00:00
parent 037a5b71fd
commit 512761080e
5 changed files with 226 additions and 68 deletions

View File

@@ -26,5 +26,6 @@ The get auto sub-commands print the statuses of the automation objects.
### SEE ALSO
* [flux get](flux_get.md) - Get sources and resources
* [flux get auto image-policy](flux_get_auto_image-policy.md) - Get ImagePolicy statuses
* [flux get auto image-repository](flux_get_auto_image-repository.md) - Get ImageRepository statuses