Versions in this module Expand all Collapse all v1 v1.0.0 Dec 28, 2021 Changes in this version + func List(c *gophercloud.ServiceClient, opts ListOptsBuilder) pagination.Pager + type CreateOpts struct + AdminStateUp *bool + AvailabilityZone string + Description string + FlavorID string + Listeners []listeners.CreateOpts + Name string + Pools []pools.CreateOpts + ProjectID string + Provider string + Tags []string + VipAddress string + VipNetworkID string + VipPortID string + VipSubnetID string + func (opts CreateOpts) ToLoadBalancerCreateMap() (map[string]interface{}, error) + type CreateOptsBuilder interface + ToLoadBalancerCreateMap func() (map[string]interface{}, error) + type CreateResult struct + func Create(c *gophercloud.ServiceClient, opts CreateOptsBuilder) (r CreateResult) + func (r CreateResult) Extract() (*LoadBalancer, error) + type DeleteOpts struct + Cascade bool + func (opts DeleteOpts) ToLoadBalancerDeleteQuery() (string, error) + type DeleteOptsBuilder interface + ToLoadBalancerDeleteQuery func() (string, error) + type DeleteResult struct + func Delete(c *gophercloud.ServiceClient, id string, opts DeleteOptsBuilder) (r DeleteResult) + type FailoverResult struct + func Failover(c *gophercloud.ServiceClient, id string) (r FailoverResult) + type GetResult struct + func Get(c *gophercloud.ServiceClient, id string) (r GetResult) + func (r GetResult) Extract() (*LoadBalancer, error) + type GetStatusesResult struct + func GetStatuses(c *gophercloud.ServiceClient, id string) (r GetStatusesResult) + func (r GetStatusesResult) Extract() (*StatusTree, error) + type ListOpts struct + AdminStateUp *bool + AvailabilityZone string + Description string + FlavorID string + ID string + Limit int + Marker string + Name string + OperatingStatus string + ProjectID string + Provider string + ProvisioningStatus string + SortDir string + SortKey string + Tags []string + TagsAny []string + TagsNot []string + TagsNotAny []string + VipAddress string + VipNetworkID string + VipPortID string + VipSubnetID string + func (opts ListOpts) ToLoadBalancerListQuery() (string, error) + type ListOptsBuilder interface + ToLoadBalancerListQuery func() (string, error) + type LoadBalancer struct + AdminStateUp bool + AvailabilityZone string + CreatedAt time.Time + Description string + FlavorID string + ID string + Listeners []listeners.Listener + Name string + OperatingStatus string + Pools []pools.Pool + ProjectID string + Provider string + ProvisioningStatus string + Tags []string + UpdatedAt time.Time + VipAddress string + VipNetworkID string + VipPortID string + VipSubnetID string + func ExtractLoadBalancers(r pagination.Page) ([]LoadBalancer, error) + func (r *LoadBalancer) UnmarshalJSON(b []byte) error + type LoadBalancerPage struct + func (r LoadBalancerPage) IsEmpty() (bool, error) + func (r LoadBalancerPage) NextPageURL() (string, error) + type Stats struct + ActiveConnections int + BytesIn int + BytesOut int + RequestErrors int + TotalConnections int + type StatsResult struct + func GetStats(c *gophercloud.ServiceClient, id string) (r StatsResult) + func (r StatsResult) Extract() (*Stats, error) + type StatusTree struct + Loadbalancer *LoadBalancer + type UpdateOpts struct + AdminStateUp *bool + Description *string + Name *string + Tags *[]string + func (opts UpdateOpts) ToLoadBalancerUpdateMap() (map[string]interface{}, error) + type UpdateOptsBuilder interface + ToLoadBalancerUpdateMap func() (map[string]interface{}, error) + type UpdateResult struct + func Update(c *gophercloud.ServiceClient, id string, opts UpdateOpts) (r UpdateResult) + func (r UpdateResult) Extract() (*LoadBalancer, error) Other modules containing this package github.com/pierreprinetti/gophercloud/v2 github.com/pierreprinetti/gophercloud/v3