Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ClientInterface ¶
type ClientInterface interface { GetCIDR(vpcID string) (string, error) //Return NatGatewayID, SnatTableID GetNatGatewayInfo(vpcID string) (string, string, error) }
ClientInterface is an interface which must be implemented by Alicloud clients.
func NewClient ¶
func NewClient(accessKeyID, accessKeySecret, region string) (ClientInterface, error)
NewClient creates a new Client for the given Alicloud credentials <accessKeyID>, <accessKeySecret>, and the region <region>.
Click to show internal directories.
Click to hide internal directories.