Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IDFromName ¶
func IDFromName(client *gophercloud.ServiceClient, name string) (string, error)
IDFromName is a convenience function that returns an image's ID given its name. Errors when the number of items found is not one.
func IDsFromName ¶
func IDsFromName(client *gophercloud.ServiceClient, name string) ([]string, error)
IDsFromName returns zero or more IDs corresponding to a name. The returned error is only non-nil in case of failure.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.