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 (20 lines) | stat: -rw-r--r-- 445 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/*
Package trunk_details provides the ability to extend a ports result with
additional information about any trunk and subports associated with the port.

Example:

	type portExt struct {
	  ports.Port
	  trunk_details.TrunkDetailsExt
	}
	var portExt portExt

	err := ports.Get(networkClient, "2ba3a709-e40e-462c-a541-85e99de589bf").ExtractInto(&portExt)
	if err != nil {
	  panic(err)
	}

	fmt.Printf("%+v\n", portExt)
*/
package trunk_details