alicloud

package
v0.0.0-...-be4dc66 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 7, 2019 License: Apache-2.0, BSD-2-Clause, MIT, + 1 more Imports: 4 Imported by: 0

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>.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL