github.com/huaweicloud/golangsdk@v0.0.0-20210831081626-d823fe11ceba/openstack/bms/v2/flavors/doc.go (about)

     1  /*
     2  Package flavors enables management and retrieval of Flavors
     3  BMS service.
     4  
     5  Example to List Flavors
     6  
     7  	listOpts := flavors.ListOpts{}
     8  	allFlavors, err := flavors.List(bmsClient, listOpts)
     9  	if err != nil {
    10  		panic(err)
    11  	}
    12  
    13  	for _, flavor := range allFlavors {
    14  		fmt.Printf("%+v\n", flavor)
    15  	}
    16  */
    17  package flavors