Versions in this module Expand all Collapse all v3 v3.0.0 Jan 5, 2022 Changes in this version + const LBMethodLeastConnections + const LBMethodRoundRobin + const LBMethodSourceIp + const ProtocolHTTP + const ProtocolHTTPS + const ProtocolPROXY + const ProtocolPROXYV2 + const ProtocolSCTP + const ProtocolTCP + const ProtocolUDP + func List(c *gophercloud.ServiceClient, opts ListOptsBuilder) pagination.Pager + func ListMembers(c *gophercloud.ServiceClient, poolID string, opts ListMembersOptsBuilder) pagination.Pager + type BatchUpdateMemberOpts struct + Address string + AdminStateUp *bool + Backup *bool + MonitorAddress *string + MonitorPort *int + Name *string + ProjectID string + ProtocolPort int + SubnetID *string + Tags []string + Weight *int + func (opts BatchUpdateMemberOpts) ToBatchMemberUpdateMap() (map[string]interface{}, error) + type BatchUpdateMemberOptsBuilder interface + ToBatchMemberUpdateMap func() (map[string]interface{}, error) + type CreateMemberOpts struct + Address string + AdminStateUp *bool + Backup *bool + MonitorAddress string + MonitorPort *int + Name string + ProjectID string + ProtocolPort int + SubnetID string + Tags []string + Weight *int + func (opts CreateMemberOpts) ToMemberCreateMap() (map[string]interface{}, error) + type CreateMemberOptsBuilder interface + ToMemberCreateMap func() (map[string]interface{}, error) + type CreateMemberResult struct + func CreateMember(c *gophercloud.ServiceClient, poolID string, opts CreateMemberOptsBuilder) (r CreateMemberResult) + func (r CreateMemberResult) Extract() (*Member, error) + type CreateOpts struct + AdminStateUp *bool + Description string + LBMethod LBMethod + ListenerID string + LoadbalancerID string + Members []BatchUpdateMemberOpts + Monitor *monitors.CreateOpts + Name string + Persistence *SessionPersistence + ProjectID string + Protocol Protocol + Tags []string + func (opts CreateOpts) ToPoolCreateMap() (map[string]interface{}, error) + type CreateOptsBuilder interface + ToPoolCreateMap func() (map[string]interface{}, error) + type CreateResult struct + func Create(c *gophercloud.ServiceClient, opts CreateOptsBuilder) (r CreateResult) + func (r CreateResult) Extract() (*Pool, error) + type DeleteMemberResult struct + func DeleteMember(c *gophercloud.ServiceClient, poolID string, memberID string) (r DeleteMemberResult) + type DeleteResult struct + func Delete(c *gophercloud.ServiceClient, id string) (r DeleteResult) + type GetMemberResult struct + func GetMember(c *gophercloud.ServiceClient, poolID string, memberID string) (r GetMemberResult) + func (r GetMemberResult) Extract() (*Member, error) + type GetResult struct + func Get(c *gophercloud.ServiceClient, id string) (r GetResult) + func (r GetResult) Extract() (*Pool, error) + type LBMethod string + type ListMembersOpts struct + Address string + AdminStateUp *bool + ID string + Limit int + Marker string + Name string + ProjectID string + ProtocolPort int + SortDir string + SortKey string + Weight int + func (opts ListMembersOpts) ToMembersListQuery() (string, error) + type ListMembersOptsBuilder interface + ToMembersListQuery func() (string, error) + type ListOpts struct + AdminStateUp *bool + ID string + LBMethod string + Limit int + LoadbalancerID string + Marker string + Name string + ProjectID string + Protocol string + SortDir string + SortKey string + func (opts ListOpts) ToPoolListQuery() (string, error) + type ListOptsBuilder interface + ToPoolListQuery func() (string, error) + type ListenerID struct + ID string + type LoadBalancerID struct + ID string + type Member struct + Address string + AdminStateUp bool + Backup bool + CreatedAt time.Time + ID string + MonitorAddress string + MonitorPort int + Name string + OperatingStatus string + PoolID string + ProjectID string + ProtocolPort int + ProvisioningStatus string + SubnetID string + Tags []string + UpdatedAt time.Time + Weight int + func ExtractMembers(r pagination.Page) ([]Member, error) + func (r *Member) UnmarshalJSON(b []byte) error + type MemberPage struct + func (r MemberPage) IsEmpty() (bool, error) + func (r MemberPage) NextPageURL() (string, error) + type Pool struct + AdminStateUp bool + Description string + ID string + LBMethod string + Listeners []ListenerID + Loadbalancers []LoadBalancerID + Members []Member + Monitor monitors.Monitor + MonitorID string + Name string + OperatingStatus string + Persistence SessionPersistence + ProjectID string + Protocol string + Provider string + ProvisioningStatus string + SubnetID string + Tags []string + func ExtractPools(r pagination.Page) ([]Pool, error) + type PoolPage struct + func (r PoolPage) IsEmpty() (bool, error) + func (r PoolPage) NextPageURL() (string, error) + type Protocol string + type SessionPersistence struct + CookieName string + Type string + type UpdateMemberOpts struct + AdminStateUp *bool + Backup *bool + MonitorAddress *string + MonitorPort *int + Name *string + Tags []string + Weight *int + func (opts UpdateMemberOpts) ToMemberUpdateMap() (map[string]interface{}, error) + type UpdateMemberOptsBuilder interface + ToMemberUpdateMap func() (map[string]interface{}, error) + type UpdateMemberResult struct + func UpdateMember(c *gophercloud.ServiceClient, poolID string, memberID string, ...) (r UpdateMemberResult) + func (r UpdateMemberResult) Extract() (*Member, error) + type UpdateMembersResult struct + func BatchUpdateMembers(c *gophercloud.ServiceClient, poolID string, opts []BatchUpdateMemberOpts) (r UpdateMembersResult) + type UpdateOpts struct + AdminStateUp *bool + Description *string + LBMethod LBMethod + Name *string + Tags *[]string + func (opts UpdateOpts) ToPoolUpdateMap() (map[string]interface{}, error) + type UpdateOptsBuilder interface + ToPoolUpdateMap func() (map[string]interface{}, error) + type UpdateResult struct + func Update(c *gophercloud.ServiceClient, id string, opts UpdateOptsBuilder) (r UpdateResult) + func (r UpdateResult) Extract() (*Pool, error) Other modules containing this package github.com/pierreprinetti/gophercloud github.com/pierreprinetti/gophercloud/v2