Documentation ¶
Index ¶
- Variables
- func CreateSubnet(client *vpc.VpcClient, name, vpcID, pDNS, sDNS string) (*model.CreateSubnetResponse, error)
- func CreateVPC(client *vpc.VpcClient, name, cidr string) (*model.CreateVpcResponse, error)
- func DeleteSubnet(client *vpc.VpcClient, vpcID string, subnetID string) (*model.DeleteSubnetResponse, error)
- func DeleteVPC(client *vpc.VpcClient, ID string) (*model.DeleteVpcResponse, error)
- func DeleteVpcRoute(client *vpc.VpcClient, RouteID string) (*model.DeleteVpcRouteResponse, error)
- func GetVpcRoutes(client *vpc.VpcClient, vpcID string) (*model.ListVpcRoutesResponse, error)
- func ListRouteTables(client *vpc.VpcClient, RtID, VpcID, SubnetID string) (*model.ListRouteTablesResponse, error)
- func ListSecurityGroups(client *vpc.VpcClient, vpcID string) (*model.ListSecurityGroupsResponse, error)
- func NewVpcClient(c *common.ClientAuth) *vpc.VpcClient
- func ShowSubnet(client *vpc.VpcClient, ID string) (*model.ShowSubnetResponse, error)
- func ShowVPC(client *vpc.VpcClient, ID string) (*model.ShowVpcResponse, error)
- func ShowVpcRoute(client *vpc.VpcClient, RouteID string) (*model.ShowVpcRouteResponse, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( DefaultVpcCIDR = "10.224.0.0/16" DefaultSubnetCIDR = "10.224.0.0/16" DefaultSubnetGateway = "10.224.0.1" )
Functions ¶
func CreateSubnet ¶
func DeleteSubnet ¶
func DeleteVpcRoute ¶
func GetVpcRoutes ¶
func ListRouteTables ¶
func ListSecurityGroups ¶
func NewVpcClient ¶
func NewVpcClient(c *common.ClientAuth) *vpc.VpcClient
func ShowSubnet ¶
func ShowVpcRoute ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.