github.com/gophercloud/gophercloud@v1.11.0/openstack/loadbalancer/v2/apiversions/doc.go (about) 1 /* 2 Package apiversions provides information and interaction with the different 3 API versions for the OpenStack Load Balancer service. This functionality is not 4 restricted to this particular version. 5 6 Example to List API Versions 7 8 allPages, err := apiversions.List(loadbalancerClient).AllPages() 9 if err != nil { 10 panic(err) 11 } 12 13 allVersions, err := apiversions.ExtractAPIVersions(allPages) 14 if err != nil { 15 panic(err) 16 } 17 18 for _, version := range allVersions { 19 fmt.Printf("%+v\n", version) 20 } 21 */ 22 package apiversions