imageutils

package
v0.0.0-...-c3d9892 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 5, 2025 License: AGPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BaseImage

func BaseImage(
	ctx context.Context,
	invalidator environs.CredentialInvalidator,
	base jujubase.Base, stream, location, arch string,
	client *armcompute.VirtualMachineImagesClient,
	preferGen1Image bool,
) (*instances.Image, error)

BaseImage gets an instances.Image for the specified base, image stream and location. The resulting Image's ID is in the URN format expected by Azure Resource Manager.

For Ubuntu, we query the SKUs to determine the most recent point release for a series.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL