Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
image: Add several parsing related helpers
In the next commits, we'll want to parse/validate docker:// URLs, this commit adds several helpers to make it easier to go from docker://quay.io/crcont/podman-bundle:4.1.1 to the expected bundle name (crc_podman_libvirt_4.1.1_amd64.crcbundle) The requirements on the docker:// URL are very strict, hopefully in the future we'll relax them, and allow stuff like quay.io/myorg/my-custom-bundle:latest , and crc will be able to figure out the corresponding bundle name through the use of labels, or through an intermediate metadata file.
- Loading branch information