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