converters

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: May 31, 2019 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ELBTagsToMap

func ELBTagsToMap(src []*elb.Tag) tags.Map

ELBTagsToMap converts a []*elb.Tag into a tags.Map.

func MapToELBTags

func MapToELBTags(src tags.Map) []*elb.Tag

MapToELBTags converts a tags.Map to a []*elb.Tag

func MapToTags

func MapToTags(src tags.Map) []*ec2.Tag

MapToTags converts a tags.Map to a []*ec2.Tag

func SDKToInstance

func SDKToInstance(v *ec2.Instance) *v1alpha1.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) tags.Map

TagsToMap converts a []*ec2.Tag into a tags.Map.

Types

This section is empty.

Jump to

Keyboard shortcuts

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