File: doc.go

package info (click to toggle)
golang-github-gophercloud-gophercloud 1.4.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 11,416 kB
  • sloc: sh: 99; makefile: 21
file content (26 lines) | stat: -rw-r--r-- 656 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
/*
Package endpoints provides information and interaction with the service
OS-EP-FILTER/endpoints API resource in the OpenStack Identity service.

For more information, see:
https://docs.openstack.org/api-ref/identity/v3-ext/#list-associations-by-project

Example to List Project Endpoints

	projectD := "e629d6e599d9489fb3ae5d9cc12eaea3"

	allPages, err := projectendpoints.List(identityClient, projectID).AllPages()
	if err != nil {
		panic(err)
	}

	allEndpoints, err := projectendpoints.ExtractEndpoints(allPages)
	if err != nil {
		panic(err)
	}

	for _, endpoint := range allEndpoints {
		fmt.Printf("%+v\n", endpoint)
	}
*/
package projectendpoints