github.com/altoros/juju-vmware@v0.0.0-20150312064031-f19ae857ccca/environs/export_test.go (about) 1 // Copyright 2012, 2013 Canonical Ltd. 2 // Licensed under the AGPLv3, see LICENCE file for details. 3 4 package environs 5 6 var ( 7 Providers = &providers 8 ProviderAliases = &providerAliases 9 ) 10 11 func UpdateEnvironAttrs(envs *Environs, name string, newAttrs map[string]interface{}) { 12 for k, v := range newAttrs { 13 envs.rawEnvirons[name][k] = v 14 } 15 }