package
Version:
v0.11.0
Opens a new window with list of versions in this module.
Published: Apr 14, 2023
License: AGPL-3.0
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
LBManager Responsible for the creation and deletion of externally accessible Services to access the Postgresql clusters managed by the Postgreslet.
New Creates a new LBManager with the given configuration
CreateSvcLBIfNone Creates a new Service of type LoadBalancer for the given Postgres resource if neccessary
DeleteSvcLB Deletes the corresponding Service of type LoadBalancer of the given Postgres resource.
type Options struct {
LBIP string
PortRangeStart int32
PortRangeSize int32
EnableStandbyLeaderSelector bool
EnableLegacyStandbySelector bool
StandbyClustersSourceRanges []string
EnableLBSourceRanges bool
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.