converters

package
v0.4.5 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ImageToSDK added in v0.4.0

func ImageToSDK(image *infrav1.Image) (*compute.ImageReference, error)

ImageToSDK converts a CAPZ Image (as RawExtension) to a Azure SDK Image Reference.

func MapToTags

func MapToTags(src map[string]*string) infrav1.Tags

MapToTags converts a map[string]*string into a infrav1.Tags.

func SDKToVM

func SDKToVM(v compute.VirtualMachine) (*infrav1.VM, error)

SDKToVM converts an Azure SDK VirtualMachine to the CAPZ VM type.

func SDKToVMSS added in v0.4.3

SDKToVMSS converts an Azure SDK VirtualMachineScaleSet to the AzureMachinePool type.

func TagsToMap

func TagsToMap(src infrav1.Tags) map[string]*string

TagsToMap converts infrav1.Tags into a map[string]*string.

Types

This section is empty.

Jump to

Keyboard shortcuts

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