We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1c31206 commit 77b8f98Copy full SHA for 77b8f98
1 file changed
openstack/compute/v2/extensions/services/doc.go
@@ -2,26 +2,6 @@
2
Package services returns information about the compute services in the OpenStack
3
cloud.
4
5
-Example of Retrieving list of all services
6
-
7
- opts := services.ListOpts{
8
- Binary: "nova-compute",
9
- }
10
11
- allPages, err := services.List(computeClient, opts).AllPages()
12
- if err != nil {
13
- panic(err)
14
15
16
- allServices, err := services.ExtractServices(allPages)
17
18
19
20
21
- for _, service := range allServices {
22
- fmt.Printf("%+v\n", service)
23
24
25
Example of Retrieving list of all services
26
27
opts := services.ListOpts{
0 commit comments