juju: github.com/juju/juju/provider/azure/internal/imageutils Index | Files

package imageutils

import "github.com/juju/juju/provider/azure/internal/imageutils"


Package Files


func SeriesImage Uses

func SeriesImage(
    ctx context.ProviderCallContext,
    series, stream, location string,
    client compute.VirtualMachineImagesClient,
) (*instances.Image, error)

SeriesImage gets an instances.Image for the specified series, 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.

Package imageutils imports 17 packages (graph) and is imported by 24 packages. Updated 2020-07-26. Refresh now. Tools for package owners.