github.com/vnpaycloud-console/gophercloud/v2@v2.0.5/openstack/compute/v2/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(context.TODO(), computeClient, getOpts).Extract()
    11  	if err != nil {
    12  		panic(err)
    13  	}
    14  
    15  	fmt.Printf("%+v\n", limits)
    16  */
    17  package limits