Documentation ¶
Overview ¶
Package converter provides conversion methods for AWS models.
Package converter provides conversion methods for AWS models.
Package converter provides conversion methods for AWS models.
Package converter provides conversion methods for ec2 models.
Package converter provides conversion methods for ec2 models.
Index ¶
- func DecodeAddress(data *ec2.Address) *provider.Address
- func DecodeCommonError(msg string, err error) error
- func DecodeEC2Error(msg string, err error) error
- func DecodeInstance(data *ec2.Instance) *provider.Instance
- func DecodeIpPermission(data *ec2.IpPermission) *provider.IPPermission
- func DecodeIpPermissions(data []*ec2.IpPermission) []*provider.IPPermission
- func DecodeIpRange(data *ec2.IpRange) *provider.IPRange
- func DecodeIpRanges(data []*ec2.IpRange) []*provider.IPRange
- func DecodeNetworkInterface(data *ec2.InstanceNetworkInterface) *provider.NetworkInterface
- func DecodeNetworkInterfaces(data []*ec2.InstanceNetworkInterface) []*provider.NetworkInterface
- func DecodeSecurityGroup(data *ec2.SecurityGroup) *provider.FirewallRule
- func DecodeSecurityGroups(data []*ec2.SecurityGroup) []*provider.FirewallRule
- func EncodeIPPermission(req provider.IPPermission) *ec2.IpPermission
- func EncodeIpRange(data *provider.IPRange) *ec2.IpRange
- func EncodeIpRanges(data []*provider.IPRange) []*ec2.IpRange
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DecodeAddress ¶
DecodeAddress converts an ec2 Address to an Address.
func DecodeCommonError ¶
DecodeCommonError converts an AWS common client Error to a QXError.
func DecodeEC2Error ¶
DecodeEC2Error converts an ec2 specific Error to a QXError.
func DecodeInstance ¶
DecodeInstance converts an ec2 Instance to an Instance.
func DecodeIpPermission ¶
func DecodeIpPermission(data *ec2.IpPermission) *provider.IPPermission
DecodeIpPermission converts an ec2 IpPermission to an IPPermission.
func DecodeIpPermissions ¶
func DecodeIpPermissions(data []*ec2.IpPermission) []*provider.IPPermission
DecodeIpPermissions converts an ec2 IpPermission slice to an IPPermission slice.
func DecodeIpRange ¶
DecodeIpRange converts an ec2 IpRange to an IPRange.
func DecodeIpRanges ¶
DecodeIpRanges converts an ec2 IpRange slice to an IPRange slice.
func DecodeNetworkInterface ¶
func DecodeNetworkInterface(data *ec2.InstanceNetworkInterface) *provider.NetworkInterface
DecodeNetworkInterface converts an ec2 InstanceNetworkInterface to a NetworkInterface.
func DecodeNetworkInterfaces ¶
func DecodeNetworkInterfaces(data []*ec2.InstanceNetworkInterface) []*provider.NetworkInterface
DecodeNetworkInterfaces converts an ec2 InstanceNetworkInterface slice to a NetworkInterface slice.
func DecodeSecurityGroup ¶
func DecodeSecurityGroup(data *ec2.SecurityGroup) *provider.FirewallRule
DecodeSecurityGroup converts an ec2 SecurityGroup to a Firewall.
func DecodeSecurityGroups ¶
func DecodeSecurityGroups(data []*ec2.SecurityGroup) []*provider.FirewallRule
DecodeSecurityGroups converts an ec2 SecurityGroup slice to a Firewall slice.
func EncodeIPPermission ¶
func EncodeIPPermission(req provider.IPPermission) *ec2.IpPermission
EncodeIPPermission converts an IPPermission to an ec2 IpPermission.
func EncodeIpRange ¶
EncodeIpRange converts an IPRange to an ec2 IpRange.
Types ¶
This section is empty.