Documentation ¶
Overview ¶
* Copyright 2016 Adobe Systems Incorporated. All rights reserved. * This file is licensed to you under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. You may obtain a copy * of the License at http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software distributed under * the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS * OF ANY KIND, either express or implied. See the License for the specific language * governing permissions and limitations under the License.
Index ¶
- func AllocateAddress(client *ec2lib.EC2, domain string) string
- func AssociateAddress(client *ec2lib.EC2, allocationId, networkInterfaceId string)
- func AssociateRouteTable(client *ec2lib.EC2, routeTableId, subnetId string)
- func AttachInternetGateway(client *ec2lib.EC2, vpcId, gatewayId string)
- func CreateInternetGateway(client *ec2lib.EC2, name string) string
- func CreateNetworkInterface(client *ec2lib.EC2, subnetId, name string) string
- func CreateRouteForInternetGateway(client *ec2lib.EC2, routeTableId, gatewayId string)
- func CreateRouteForNetworkInterface(client *ec2lib.EC2, routeTableId, networkInterfaceId string)
- func CreateRouteTable(client *ec2lib.EC2, vpcId, name string) string
- func CreateSubnet(client *ec2lib.EC2, vpcId, cidrBlock, name string) string
- func CreateVpc(client *ec2lib.EC2, cidrBlock, name string) string
- func CreateVpcScenario2(region, tag string, createNATInstance bool) string
- func DescribeInstances(client *ec2lib.EC2, kvps map[string][]string, instanceIds ...string) ([]*ec2lib.Reservation, error)
- func DescribeRouteTables(client *ec2lib.EC2, kvps map[string][]string, routeTableIds ...string) []*ec2lib.RouteTable
- func DescribeSubnets(client *ec2lib.EC2, kvps map[string][]string, subnetIds ...string) []*ec2lib.Subnet
- func NameResource(client *ec2lib.EC2, resourceId, tagValue string) (err error)
- func New(config *session.Session) *ec2lib.EC2
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AllocateAddress ¶
http://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_AllocateAddress.html
func AssociateAddress ¶
func AssociateRouteTable ¶
func AttachInternetGateway ¶
func CreateNetworkInterface ¶
func DescribeInstances ¶
func DescribeRouteTables ¶
func DescribeSubnets ¶
Types ¶
This section is empty.