Beispiel #1
0
func resourceURL(c *gophercloud.ServiceClient, id string) string {
	return c.ServiceURL("subnets", id)
}
Beispiel #2
0
func rootURL(c *gophercloud.ServiceClient) string {
	return c.ServiceURL("subnets")
}
Beispiel #3
0
func listURL(client *gophercloud.ServiceClient) string {
	return client.ServiceURL("flavors", "detail")
}
Beispiel #4
0
func rootURL(c *gophercloud.ServiceClient) string {
	return c.ServiceURL(rootPath)
}
Beispiel #5
0
func metadataURL(client *gophercloud.ServiceClient, id string) string {
	return client.ServiceURL("servers", id, "metadata")
}
Beispiel #6
0
func listAddressesURL(client *gophercloud.ServiceClient, id string) string {
	return client.ServiceURL("servers", id, "ips")
}
Beispiel #7
0
func getURL(c *gophercloud.ServiceClient, name string) string {
	return c.ServiceURL(resourcePath, name)
}
Beispiel #8
0
func deleteURL(client *gophercloud.ServiceClient, id string) string {
	return client.ServiceURL("servers", id)
}
Beispiel #9
0
// CreateURL generates the URL used to create new Tokens.
func CreateURL(client *gophercloud.ServiceClient) string {
	return client.ServiceURL("tokens")
}
Beispiel #10
0
func createURL(c *gophercloud.ServiceClient) string {
	return c.ServiceURL("os-volumes_boot")
}
Beispiel #11
0
func deleteURL(c *gophercloud.ServiceClient, id string) string {
	return c.ServiceURL("volumes", id)
}
Beispiel #12
0
func resourceURL(c *gophercloud.ServiceClient, serverId string) string {
	return c.ServiceURL("servers", serverId, resourcePath)
}
Beispiel #13
0
func getURL(client *gophercloud.ServiceClient, id string) string {
	return client.ServiceURL("flavors", id)
}
Beispiel #14
0
func listURL(client *gophercloud.ServiceClient) string {
	return client.ServiceURL("tenants")
}
Beispiel #15
0
func resourceURL(c *gophercloud.ServiceClient) string {
	return c.ServiceURL(resourcePath)
}
Beispiel #16
0
func listDetailURL(client *gophercloud.ServiceClient) string {
	return client.ServiceURL("servers", "detail")
}
Beispiel #17
0
func copyURL(c *gophercloud.ServiceClient, container, object string) string {
	return c.ServiceURL(container, object)
}
Beispiel #18
0
func actionURL(client *gophercloud.ServiceClient, id string) string {
	return client.ServiceURL("servers", id, "action")
}
Beispiel #19
0
func listURL(c *gophercloud.ServiceClient, container string) string {
	return c.ServiceURL(container)
}
Beispiel #20
0
func createURL(client *gophercloud.ServiceClient) string {
	return client.ServiceURL("servers")
}
Beispiel #21
0
func resourceURL(c *gophercloud.ServiceClient, id string) string {
	return c.ServiceURL(rootPath, id)
}
Beispiel #22
0
func listAddressesByNetworkURL(client *gophercloud.ServiceClient, id, network string) string {
	return client.ServiceURL("servers", id, "ips", network)
}
Beispiel #23
0
func tokenURL(c *gophercloud.ServiceClient) string {
	return c.ServiceURL("auth", "tokens")
}