forked from gophercloud/gophercloud
-
Notifications
You must be signed in to change notification settings - Fork 0
/
urls.go
23 lines (17 loc) · 788 Bytes
/
urls.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
package introspection
import "github.com/gophercloud/gophercloud"
func listIntrospectionsURL(client *gophercloud.ServiceClient) string {
return client.ServiceURL("introspection")
}
func introspectionURL(client *gophercloud.ServiceClient, nodeID string) string {
return client.ServiceURL("introspection", nodeID)
}
func abortIntrospectionURL(client *gophercloud.ServiceClient, nodeID string) string {
return client.ServiceURL("introspection", nodeID, "abort")
}
func introspectionDataURL(client *gophercloud.ServiceClient, nodeID string) string {
return client.ServiceURL("introspection", nodeID, "data")
}
func introspectionUnprocessedDataURL(client *gophercloud.ServiceClient, nodeID string) string {
return client.ServiceURL("introspection", nodeID, "data", "unprocessed")
}