I want to use go
to list all my repositories in GCR.
I have come across this library.
However, the only List
function I see seems to be for listing images/tags for a specific repo. (i.e. it requires a priori knowledge of the repo name / url)
Any idea if there is an option for listing repositories (so that one can later list the images for each repo)?
You can use the remote.Catalog
function for listing repositories.
See example usage in the crane
CLI program.