converters

package
v0.3.5 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 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) v1alpha1.Tags

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

func MapToELBTags

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

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

func MapToTags

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

MapToTags converts a v1alpha1.Tags 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) v1alpha1.Tags

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

Types

This section is empty.

Jump to

Keyboard shortcuts

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