Documentation ¶
Index ¶
- Variables
- func AddIGtoRT(vpc, ig string, e2 *ec2.Client) (err error)
- func AddRouteToRT(rt, dest, gateway string, e2 *ec2.Client) error
- func CreateSubnets(vpc VPC, e2 *ec2.Client) (err error)
- func NewIG(vpc VPC, e2 *ec2.Client) (id string, err error)
- func NewRT(vpc VPC, e2 *ec2.Client) (err error)
- func SubnetsToIds(subnets []Subnet) (out []string)
- func Tag(tags []ec2types.Tag, key string) string
- func VPCHasIG(v string, e2 *ec2.Client) (id string, err error)
- func ValidateCIDR(cidr string) error
- type Route
- type RouteTable
- type Subnet
- type VPC
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNoSubnetsFound = fmt.Errorf("no subnets found")
View Source
var ErrNoVPCsFound = fmt.Errorf("No VPCs found.")
Functions ¶
func SubnetsToIds ¶
func ValidateCIDR ¶
Types ¶
type RouteTable ¶
func (RouteTable) CoutainsRoute ¶
func (rt RouteTable) CoutainsRoute(dest string) bool
Click to show internal directories.
Click to hide internal directories.