Documentation
¶
Overview ¶
Package image handles cloud image download, verification, and conversion.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Catalog = map[string]ImageInfo{ "debian-12": { URLs: map[string]string{ "amd64": "https://cloud.debian.org/images/cloud/bookworm/latest/debian-12-generic-amd64.raw", "arm64": "https://cloud.debian.org/images/cloud/bookworm/latest/debian-12-generic-arm64.raw", }, SHA256: "", }, "ubuntu-24.04": { URLs: map[string]string{ "amd64": "https://cloud-images.ubuntu.com/releases/24.04/release/ubuntu-24.04-server-cloudimg-amd64.img", "arm64": "https://cloud-images.ubuntu.com/releases/24.04/release/ubuntu-24.04-server-cloudimg-arm64.img", }, SHA256: "", }, }
Catalog maps image aliases to a per-GOARCH URL and an optional SHA256. The arch tokens in the URLs (amd64/arm64) match Go's GOARCH, so the same alias resolves to the right image on macOS Apple Silicon and on Linux amd64/arm64.
Functions ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.