github.com/huaweicloud/golangsdk@v0.0.0-20210831081626-d823fe11ceba/openstack/compute/v2/extensions/limits/doc.go (about)

     1  /*
     2  Package limits shows rate and limit information for a tenant/project.
     3  
     4  Example to Retrieve Limits for a Tenant
     5  
     6  	getOpts := limits.GetOpts{
     7  		TenantID: "tenant-id",
     8  	}
     9  
    10  	limits, err := limits.Get(computeClient, getOpts).Extract()
    11  	if err != nil {
    12  		panic(err)
    13  	}
    14  
    15  	fmt.Printf("%+v\n", limits)
    16  */
    17  package limits