package utils
import "k8s.io/kubernetes/Godeps/_workspace/src/github.com/rackspace/gophercloud/openstack/utils"
Index ¶
Types ¶
type Version ¶
Version is a supported API version, corresponding to a vN package within the appropriate service.
func ChooseVersion ¶
func ChooseVersion(client *gophercloud.ProviderClient, recognized []*Version) (*Version, string, error)
ChooseVersion queries the base endpoint of an API to choose the most recent non-experimental alternative from a service's published versions. It returns the highest-Priority Version among the alternatives that are provided, as well as its corresponding endpoint.
Source Files ¶
choose_version.go
- Version
- v0.17.1
- Published
- May 21, 2015
- Platform
- js/wasm
- Imports
- 3 packages
- Last checked
- 38 seconds ago –
Tools for package owners.