Versions in this module Expand all Collapse all v0 v0.2.0 Feb 23, 2022 Changes in this version + const BasicDateFormat + const VPCDefaultEndpoint + const VPCName + const VPCVersion + type BWDesc struct + ChgMode string + Name string + ShrType string + Size uint32 + type Client struct + func NewClient(accessKeyId, accessKeySecret string) *Client + func (client *Client) AllocateEIP(region, projectId string, arg *EIPAllocArg) (eIp *EipResp, err error) + func (client *Client) AssociateEIP(region, projectId, elasticIPId string, arg *EIPAssocArg) error + func (client *Client) Do(region, method, uri string, args interface{}) (respbytes []byte, err error) + func (client *Client) ListSecurityGroups(region, projectId string, args *ListSecurityGroupsAttributeArgs) (*SecurityGroupsResponse, error) + func (client *Client) ListSubnet(region, projectId, vpcId string) (snList *SubnetResponse, err error) + type EIP struct + Addr string + BWSize uint32 + CreateTime string + Id string + Status string + TenantId string + Type string + type EIPAllocArg struct + BandWidth BWDesc + EIPDesc PubIP + type EIPAssocArg struct + Port PortDesc + type EipResp struct + Eip EIP + type ListSecurityGroupsAttributeArgs struct + Limit uint32 + Marker string + TenantId string + VpcId string + type PortDesc struct + PortId string + type PubIP struct + Type string + type SecurityGroup struct + Id string + Name string + Rules []sgrule + VpcId string + type SecurityGroupsResponse struct + SecurityGroups []SecurityGroup + type SubnetList struct + Avail_Zone string + Cidr string + Dhcp_En bool + Gateway_Ip string + Id string + Name string + Primary_Dns string + Second_Dns string + Status string + Vpc_Id string + type SubnetResponse struct + Subnets []SubnetList