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

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