azure

package
v0.0.0-...-811ccc8 Latest Latest
Warning

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

Go to latest
Published: Sep 21, 2022 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultResourceGroupName = "CONSTELLATION-IMAGES"
	DefaultGalleryName       = "Constellation_CVM"
	DefaultImageDefinition   = "constellation"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

func NewClient

func NewClient(log *logger.Logger, opts Options) *Client

func (*Client) FetchImages

func (c *Client) FetchImages(ctx context.Context) (map[string]string, error)

type Options

type Options struct {
	SubscriptionID    string
	ResourceGroupName string
	GalleryName       string
	ImageDefinition   string
}

func DefaultOptions

func DefaultOptions() Options

func (*Options) SetSubscription

func (o *Options) SetSubscription(sub string) error

Jump to

Keyboard shortcuts

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