loadbalancer/

directory
v0.17.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 10, 2021 License: Apache-2.0

Directories

Path Synopsis
v2
Package lbaas_v2 provides information and interaction with the Load Balancer as a Service v2 extension for the OpenStack Networking service.
Package lbaas_v2 provides information and interaction with the Load Balancer as a Service v2 extension for the OpenStack Networking service.
amphorae
Package amphorae provides information and interaction with Amphorae of OpenStack Load-balancing service.
Package amphorae provides information and interaction with Amphorae of OpenStack Load-balancing service.
apiversions
Package apiversions provides information and interaction with the different API versions for the OpenStack Load Balancer service.
Package apiversions provides information and interaction with the different API versions for the OpenStack Load Balancer service.
apiversions/testing
apiversions unit tests
apiversions unit tests
l7policies
Package l7policies provides information and interaction with L7Policies and Rules of the LBaaS v2 extension for the OpenStack Networking service.
Package l7policies provides information and interaction with L7Policies and Rules of the LBaaS v2 extension for the OpenStack Networking service.
l7policies/testing
l7policies unit tests
l7policies unit tests
listeners
Package listeners provides information and interaction with Listeners 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.
listeners/testing
listeners unit tests
listeners unit tests
loadbalancers
Package loadbalancers provides information and interaction with Load Balancers 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.
loadbalancers/testing
loadbalancers unit tests
loadbalancers unit tests
monitors
Package monitors provides information and interaction with Monitors 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.
monitors/testing
monitors unit tests
monitors unit tests
pools
Package pools provides information and interaction with Pools and Members 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.
pools/testing
pools unit tests
pools unit tests
providers
Package providers provides information about the supported providers at OpenStack Octavia Load Balancing service.
Package providers provides information about the supported providers at OpenStack Octavia Load Balancing service.
providers/testing
providers unit tests
providers unit tests
quotas
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)
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)
quotas/testing
quotas unit tests
quotas unit tests

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL