You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add a new API extension to both internal/version/api.go and doc/api-extensions.md, let's call it images_all_projects
Add support for all-projects to cmd/incusd/images.go for the imagesGet function. You can find examples of detecting all-projects in cmd/incusd/storage_volumes.go, cmd/incusd/network_allocations.go, cmd/incusd/instances_get.go, cmd/incusd/events.go and cmd/incusd/operations.go. This should also include adding the all-projects to the swagger comments on imagesGet.
Re-generate the swagger YAML data (make update-api).
Add a new GetImagesAllProjects function to client/incus_images.go and add that function to the ImageServer interface. Implement it in client/simplestreams_images.go as an alias for the standard GetImages.
Add the new argument to cmd/incus/image.go, when passed, call GetImagesAllProjects instead of GetImages.
Re-generate the translation template for the new CLI string.
Similar to instance listing supporting querying for all projects at the same time, it'd be useful to add that to the images API and CLI.
https://discuss.linuxcontainers.org/t/incus-image-list-columns/18711
The text was updated successfully, but these errors were encountered: