github.com/gophercloud/gophercloud@v1.11.0/openstack/identity/v3/extensions/projectendpoints/doc.go (about) 1 /* 2 Package endpoints provides information and interaction with the service 3 OS-EP-FILTER/endpoints API resource in the OpenStack Identity service. 4 5 For more information, see: 6 https://docs.openstack.org/api-ref/identity/v3-ext/#list-associations-by-project 7 8 Example to List Project Endpoints 9 10 projectD := "e629d6e599d9489fb3ae5d9cc12eaea3" 11 12 allPages, err := projectendpoints.List(identityClient, projectID).AllPages() 13 if err != nil { 14 panic(err) 15 } 16 17 allEndpoints, err := projectendpoints.ExtractEndpoints(allPages) 18 if err != nil { 19 panic(err) 20 } 21 22 for _, endpoint := range allEndpoints { 23 fmt.Printf("%+v\n", endpoint) 24 } 25 */ 26 package projectendpoints