# Packages
Package amphorae provides information and interaction with Amphorae
of OpenStack Load-balancing service.
Package apiversions provides information and interaction with the different
API versions for the OpenStack Load Balancer service.
Package l7policies provides information and interaction with L7Policies and
Rules of the LBaaS v2 extension for the OpenStack Networking service.
Package listeners provides information and interaction with Listeners of the
LBaaS v2 extension for the OpenStack Networking service.
Package loadbalancers provides information and interaction with Load Balancers
of the LBaaS v2 extension for the OpenStack Networking service.
Package monitors provides information and interaction with Monitors
of the LBaaS v2 extension for the OpenStack Networking service.
Package pools provides information and interaction with Pools and
Members of the LBaaS v2 extension for the OpenStack Networking service.
Package providers provides information about the supported providers
at OpenStack Octavia Load Balancing service.
Package quotas provides the ability to retrieve and manage Load Balancer quotas
Example to Get project quotas
projectID = "23d5d3f79dfa4f73b72b8b0b0063ec55"
quotasInfo, err := quotas.Get(networkClient, projectID).Extract()
if err != nil {
log.Fatal(err)
}
fmt.Printf("quotas: %#v\n", quotasInfo)
Example to Update project quotas
projectID = "23d5d3f79dfa4f73b72b8b0b0063ec55"
updateOpts := quotas.UpdateOpts{
Loadbalancer: gophercloud.IntToPointer(20),
Listener: gophercloud.IntToPointer(40),
Member: gophercloud.IntToPointer(200),
Pool: gophercloud.IntToPointer(20),
Healthmonitor: gophercloud.IntToPointer(1),
L7Policy: gophercloud.IntToPointer(50),
L7Rule: gophercloud.IntToPointer(100),
}
quotasInfo, err := quotas.Update(networkClient, projectID)
if err != nil {
log.Fatal(err)
}
fmt.Printf("quotas: %#v\n", quotasInfo)
*/.
No description provided by the author