Documentation ¶
Index ¶
- Constants
- func BoolPointer(b bool) *bool
- func Error(msg string, args ...interface{}) error
- func Int32Pointer(i int32) *int32
- func Int64Pointer(i int64) *int64
- func IsExpectedErrors(err error, expectCodes []string) bool
- func ParseResourceId(id string, length int) (parts []string, err error)
- func Provider() *schema.Provider
- func StringPointer(s string) *string
- func WrapComplexError(cause, err error, filepath string, fileline int) error
- func WrapError(cause error) error
- type ApiVersion
- type Client
- type ComplexError
- type Config
- type Region
Constants ¶
View Source
const ( Hangzhou = Region("cn-hangzhou") Qingdao = Region("cn-qingdao") Beijing = Region("cn-beijing") Hongkong = Region("cn-hongkong") Shenzhen = Region("cn-shenzhen") Shanghai = Region("cn-shanghai") Zhangjiakou = Region("cn-zhangjiakou") Huhehaote = Region("cn-huhehaote") ChengDu = Region("cn-chengdu") HeYuan = Region("cn-heyuan") WuLanChaBu = Region("cn-wulanchabu") GuangZhou = Region("cn-guangzhou") APSouthEast1 = Region("ap-southeast-1") APNorthEast1 = Region("ap-northeast-1") APSouthEast2 = Region("ap-southeast-2") APSouthEast3 = Region("ap-southeast-3") APSouthEast5 = Region("ap-southeast-5") APSouth1 = Region("ap-south-1") USWest1 = Region("us-west-1") USEast1 = Region("us-east-1") MEEast1 = Region("me-east-1") EUCentral1 = Region("eu-central-1") EUWest1 = Region("eu-west-1") ShenZhenFinance = Region("cn-shenzhen-finance-1") ShanghaiFinance = Region("cn-shanghai-finance-1") ShanghaiFinance1Pub = Region("cn-shanghai-finance-1-pub") CnNorth2Gov1 = Region("cn-north-2-gov-1") )
Constants of region definition
View Source
const (
ApiVersion20160815 = ApiVersion("2016-08-15")
)
View Source
const COLON_SEPARATED = ":"
View Source
const DefaultClientRetryCountSmall = 5
Variables ¶
This section is empty.
Functions ¶
func BoolPointer ¶ added in v0.2.0
func Int32Pointer ¶ added in v0.2.0
func Int64Pointer ¶ added in v0.2.0
func IsExpectedErrors ¶ added in v0.2.0
func ParseResourceId ¶ added in v0.2.0
func StringPointer ¶ added in v0.2.0
func WrapComplexError ¶ added in v0.2.0
Types ¶
type ApiVersion ¶
type ApiVersion string
type ComplexError ¶ added in v0.2.0
func (ComplexError) Error ¶ added in v0.2.0
func (e ComplexError) Error() string
Source Files ¶
Click to show internal directories.
Click to hide internal directories.