github.com/vnpaycloud-console/gophercloud/v2@v2.0.5/openstack/sharedfilesystems/v2/schedulerstats/doc.go (about) 1 /* 2 Package schedulerstats returns information about shared file systems capacity 3 and utilisation. Example: 4 5 listOpts := schedulerstats.ListOpts{ 6 } 7 8 allPages, err := schedulerstats.List(client, listOpts).AllPages(context.TODO()) 9 if err != nil { 10 panic(err) 11 } 12 13 allStats, err := schedulerstats.ExtractPools(allPages) 14 if err != nil { 15 panic(err) 16 } 17 18 for _, stat := range allStats { 19 fmt.Printf("%+v\n", stat) 20 } 21 */ 22 package schedulerstats