Documentation ¶
Overview ¶
The mpimage package provides utilities for handling CSP marketplace OS images.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AzureMarketplaceImage ¶
AzureMarketplaceImage represents an Azure marketplace image.
func NewAzureMarketplaceImage ¶
func NewAzureMarketplaceImage(version semver.Semver) AzureMarketplaceImage
NewAzureMarketplaceImage returns a new Constellation marketplace image for the given version.
func (AzureMarketplaceImage) URI ¶
func (i AzureMarketplaceImage) URI() string
URI returns the URI for the image.
type MarketplaceImage ¶
type MarketplaceImage interface {
URI() string
}
MarketplaceImage represents a CSP-agnostic marketplace image.
func NewFromURI ¶
func NewFromURI(uri string) (MarketplaceImage, error)
NewFromURI returns a new MarketplaceImage for the given image URI.
Click to show internal directories.
Click to hide internal directories.