Exemplo n.º 1
0
func listURL(client *gophercloud.ServiceClient) string {
	return client.ServiceURL("flavors")
}
Exemplo n.º 2
0
func copyURL(c *gophercloud.ServiceClient, container, object string) string {
	return c.ServiceURL(container, object)
}
Exemplo n.º 3
0
func deleteURL(c *gophercloud.ServiceClient, id string) string {
	return c.ServiceURL("volumes", id)
}
Exemplo n.º 4
0
// CreateURL generates the URL used to create new Tokens.
func CreateURL(client *gophercloud.ServiceClient) string {
	return client.ServiceURL("tokens")
}
Exemplo n.º 5
0
func baseURL(c *gophercloud.ServiceClient, instanceID string) string {
	return c.ServiceURL("instances", instanceID, "users")
}
Exemplo n.º 6
0
func resourceURL(c *gophercloud.ServiceClient, serverId string) string {
	return c.ServiceURL("servers", serverId, resourcePath)
}
Exemplo n.º 7
0
func baseURL(c *gophercloud.ServiceClient) string {
	return c.ServiceURL("datastores")
}
Exemplo n.º 8
0
func backupsURL(c *gophercloud.ServiceClient, id string) string {
	return c.ServiceURL("instances", id, "backups")
}
Exemplo n.º 9
0
func baseURL(c *gophercloud.ServiceClient) string {
	return c.ServiceURL("instances")
}
Exemplo n.º 10
0
func resourceURL(c *gophercloud.ServiceClient, id string) string {
	return c.ServiceURL("instances", id)
}
Exemplo n.º 11
0
func configURL(c *gophercloud.ServiceClient, id string) string {
	return c.ServiceURL("instances", id, "configuration")
}
Exemplo n.º 12
0
func abandonURL(c *gophercloud.ServiceClient, name, id string) string {
	return c.ServiceURL("stacks", name, id, "abandon")
}
Exemplo n.º 13
0
func previewURL(c *gophercloud.ServiceClient) string {
	return c.ServiceURL("stacks", "preview")
}
Exemplo n.º 14
0
func getURL(c *gophercloud.ServiceClient, name, id string) string {
	return c.ServiceURL("stacks", name, id)
}
Exemplo n.º 15
0
func resourceURL(c *gophercloud.ServiceClient, id string) string {
	return c.ServiceURL("subnets", id)
}
Exemplo n.º 16
0
func listURL(client *gophercloud.ServiceClient) string {
	return client.ServiceURL("tenants")
}
Exemplo n.º 17
0
func rootURL(c *gophercloud.ServiceClient) string {
	return c.ServiceURL("subnets")
}
Exemplo n.º 18
0
func resourceURL(c *gophercloud.ServiceClient, id string) string {
	return c.ServiceURL(rootPath, id)
}
Exemplo n.º 19
0
func versionURL(c *gophercloud.ServiceClient, dsID, versionID string) string {
	return c.ServiceURL("datastores", dsID, "versions", versionID)
}
Exemplo n.º 20
0
func rootURL(c *gophercloud.ServiceClient) string {
	return c.ServiceURL(rootPath)
}
Exemplo n.º 21
0
func resourceURL(c *gophercloud.ServiceClient, dsID string) string {
	return c.ServiceURL("datastores", dsID)
}
Exemplo n.º 22
0
func listResourceEventsURL(c *gophercloud.ServiceClient, stackName, stackID, resourceName string) string {
	return c.ServiceURL("stacks", stackName, stackID, "resources", resourceName, "events")
}
Exemplo n.º 23
0
func dbURL(c *gophercloud.ServiceClient, instanceID, userName, dbName string) string {
	return c.ServiceURL("instances", instanceID, "users", userName, "databases", dbName)
}
Exemplo n.º 24
0
func getURL(c *gophercloud.ServiceClient, stackName, stackID, resourceName, eventID string) string {
	return c.ServiceURL("stacks", stackName, stackID, "resources", resourceName, "events", eventID)
}
Exemplo n.º 25
0
func userURL(c *gophercloud.ServiceClient, instanceID, userName string) string {
	return c.ServiceURL("instances", instanceID, "users", userName)
}
Exemplo n.º 26
0
func findURL(c *gophercloud.ServiceClient, stackName string) string {
	return c.ServiceURL("stacks", stackName, "events")
}
Exemplo n.º 27
0
func listURL(c *gophercloud.ServiceClient, container string) string {
	return c.ServiceURL(container)
}
Exemplo n.º 28
0
func listURL(c *gophercloud.ServiceClient, stackName, stackID string) string {
	return c.ServiceURL("stacks", stackName, stackID, "events")
}
Exemplo n.º 29
0
func createURL(c *gophercloud.ServiceClient) string {
	return c.ServiceURL("volumes")
}
Exemplo n.º 30
0
func getURL(client *gophercloud.ServiceClient, id string) string {
	return client.ServiceURL("flavors", id)
}