Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LatestImageURL ¶
func LatestImageURL(ctx context.Context, machineHardwareName string, client *http.Client) (string, error)
LatestImageURL takes the machine hardware name (architecture, the result of `uname -m`), reads the GitHub releases API and returns the latest non-draft and non-prerelease metal ISO URL.
Types ¶
type Disk ¶ added in v0.0.5
Click to show internal directories.
Click to hide internal directories.