func (d *Driver) getClient() *ecs.Client { if d.client == nil { client := ecs.NewClient(d.AccessKey, d.SecretKey) client.SetDebug(false) d.client = client } return d.client }
func AliyunClient() *ecs.Client { return ecs.NewClient(AliyunAppKey, AliyunAppSecrety) }