vmsku

package
v5.9.0 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2021 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// CapabilitySupported is the value returned by this API from Azure when the capability is supported
	CapabilitySupported = "True"

	CapabilityAcceleratedNetworking = "AcceleratedNetworkingEnabled"
)

Variables

This section is empty.

Functions

func IsInvalidConfig

func IsInvalidConfig(err error) bool

IsInvalidConfig asserts invalidConfigError.

func IsSkuNotFoundError

func IsSkuNotFoundError(err error) bool

IsSkuNotFoundError asserts skuNotFoundError.

Types

type Config

type Config struct {
	AzureClientSet *client.AzureClientSet
	Location       string
	Logger         micrologger.Logger
}

type VMSKUs

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

func New

func New(config Config) (*VMSKUs, error)

func (*VMSKUs) HasCapability

func (v *VMSKUs) HasCapability(ctx context.Context, vmType string, name string) (bool, error)

Jump to

Keyboard shortcuts

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