converters

package
v0.4.6 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ELBTagsToMap

func ELBTagsToMap(src []*elb.Tag) infrav1.Tags

ELBTagsToMap converts a []*elb.Tag into a infrav1.Tags.

func MapToELBTags

func MapToELBTags(src infrav1.Tags) []*elb.Tag

MapToELBTags converts a infrav1.Tags to a []*elb.Tag

func MapToTags

func MapToTags(src infrav1.Tags) []*ec2.Tag

MapToTags converts a infrav1.Tags to a []*ec2.Tag

func SDKToInstance

func SDKToInstance(v *ec2.Instance) *infrav1.Instance

SDKToInstance converts an EC2 instance type to the CAPA instance type. Note: This does not return a complete instance, as rootVolumeSize can not be determined via the output of EC2.DescribeInstances.

func TagsToMap

func TagsToMap(src []*ec2.Tag) infrav1.Tags

TagsToMap converts a []*ec2.Tag into a infrav1.Tags.

Types

This section is empty.

Jump to

Keyboard shortcuts

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