packer-cn/vendor/github.com/profitbricks/profitbricks-sdk-go/location.go

12 lines
264 B
Go
Raw Normal View History

2016-06-28 22:35:41 -04:00
package profitbricks
// ListLocations returns location collection data
func ListLocations() Collection {
return is_list(location_col_path())
}
// GetLocation returns location data
func GetLocation(locid string) Instance {
return is_get(location_path(locid))
}