azure

package
v1.25.2 Latest Latest
Warning

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

Go to latest
Published: Dec 15, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnsureImageDescriptions

func EnsureImageDescriptions(
	ctx context.Context,
	credentials *Credentials,
	description *ImageDescription,
	location string,
	subscriptionID string,
) error

Types

type Credentials

type Credentials struct {
	ID          string
	Secret      string
	TenantID    string
	CloudConfig cloud.Configuration
}

func NewCredentials

func NewCredentials(clientID, clientSecret, tenantID string, CloudConfig cloud.Configuration) (*Credentials, error)

type ImageDescription

type ImageDescription struct {
	GalleryName       string
	GalleryImageName  string
	Offer             string
	Publisher         string
	ResourceGroupName string
	SKU               string
}

func NewImageDescription

func NewImageDescription(
	galleryName string,
	galleryImageName string,
	offer string,
	publisher string,
	resourceGroupName string,
	sku string,
) (*ImageDescription, error)

Jump to

Keyboard shortcuts

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