Documentation ¶
Index ¶
- func ImageToSDK(image *infrav1.Image) (*compute.ImageReference, error)
- func IngresstoSecurityRule(ingress infrav1.IngressRule) network.SecurityRule
- func MapToTags(src map[string]*string) infrav1.Tags
- func SDKToVM(v compute.VirtualMachine) (*infrav1.VM, error)
- func SDKToVMSS(sdkvmss compute.VirtualMachineScaleSet, ...) *infrav1exp.VMSS
- func SecuritytoIngressRule(rule network.SecurityRule) infrav1.IngressRule
- func TagsToMap(src infrav1.Tags) map[string]*string
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 IngresstoSecurityRule ¶ added in v0.4.7
func IngresstoSecurityRule(ingress infrav1.IngressRule) network.SecurityRule
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
func SDKToVMSS(sdkvmss compute.VirtualMachineScaleSet, sdkinstances []compute.VirtualMachineScaleSetVM) *infrav1exp.VMSS
SDKToVMSS converts an Azure SDK VirtualMachineScaleSet to the AzureMachinePool type.
func SecuritytoIngressRule ¶ added in v0.4.7
func SecuritytoIngressRule(rule network.SecurityRule) infrav1.IngressRule
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.