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