blob: 73cc0d5b53134c01681d587eee6efab2841a63b5 [file] [log] [blame]
package apiversions
import (
"gerrit.mcp.mirantis.net/debian/gophercloud.git"
)
// List lists all the API versions available to end users.
func List(client *gophercloud.ServiceClient) (r ListResult) {
_, r.Err = client.Get(listURL(client), &r.Body, nil)
return
}
// Get will get a specific API version, specified by major ID.
func Get(client *gophercloud.ServiceClient, v string) (r GetResult) {
_, r.Err = client.Get(getURL(client, v), &r.Body, nil)
return
}