Documentation ¶
Index ¶
- type LBManager
- func (m *LBManager) CreateOrUpdateDedicatedSvcLB(ctx context.Context, in *api.Postgres) error
- func (m *LBManager) CreateOrUpdateSharedSvcLB(ctx context.Context, in *api.Postgres) error
- func (m *LBManager) DeleteDedicatedSvcLB(ctx context.Context, in *api.Postgres) error
- func (m *LBManager) DeleteSharedSvcLB(ctx context.Context, in *api.Postgres) error
- func (m *LBManager) ReconcileSvcLBs(ctx context.Context, in *api.Postgres) error
- type Options
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LBManager ¶
type LBManager struct {
// contains filtered or unexported fields
}
LBManager Responsible for the creation and deletion of externally accessible Services to access the Postgresql clusters managed by the Postgreslet.
func (*LBManager) CreateOrUpdateDedicatedSvcLB ¶ added in v0.12.0
CreateOrUpdateDedicatedSvcLB Creates or updates a Service of type LoadBalancer with a dedicated ip for the given Postgres resource if necessary
func (*LBManager) CreateOrUpdateSharedSvcLB ¶ added in v0.12.0
CreateOrUpdateSharedSvcLB Creates or updates a Service of type LoadBalancer with a shared ip for the given Postgres resource if necessary
func (*LBManager) DeleteDedicatedSvcLB ¶ added in v0.12.0
DeleteDedicatedSvcLB Deletes the corresponding Service of type LoadBalancer of the given Postgres resource.
func (*LBManager) DeleteSharedSvcLB ¶ added in v0.12.0
DeleteSharedSvcLB Deletes the corresponding Service of type LoadBalancer of the given Postgres resource.