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