File: doc.go

package info (click to toggle)
golang-github-gophercloud-gophercloud 0.0~git20180917.45f1c769-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 7,768 kB
  • sloc: sh: 98; makefile: 14
file content (25 lines) | stat: -rw-r--r-- 514 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
/*
Package amphorae provides information and interaction with Amphorae
of OpenStack Load-balancing service.

Example to List Amphorae

	listOpts := amphorae.ListOpts{
		LoadbalancerID: "6bd55cd3-802e-447e-a518-1e74e23bb106",
	}

	allPages, err := amphorae.List(octaviaClient, listOpts).AllPages()
	if err != nil {
		panic(err)
	}

	allAmphorae, err := amphorae.ExtractAmphorae(allPages)
	if err != nil {
		panic(err)
	}

	for _, amphora := range allAmphorae {
		fmt.Printf("%+v\n", amphora)
	}
*/
package amphorae