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