Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var CmdKeeper = &cobra.Command{ Use: "stolon-keeper", Run: keeper, Version: cmd.Version, }
Functions ¶
Types ¶
type DBLocalState ¶
type DBLocalState struct {
UID string
Generation int64
// Initializing registers when the db is initializing. Needed to detect
// when the initialization has failed.
Initializing bool
// InitPGParameters contains the postgres parameter after the
// initialization
InitPGParameters common.Parameters
}
func (*DBLocalState) DeepCopy ¶ added in v0.12.0
func (s *DBLocalState) DeepCopy() *DBLocalState
type KeeperLocalState ¶
type PostgresKeeper ¶
type PostgresKeeper struct {
// contains filtered or unexported fields
}
func NewPostgresKeeper ¶
func NewPostgresKeeper(cfg *config, end chan error) (*PostgresKeeper, error)
func (*PostgresKeeper) GetInSyncStandbys ¶ added in v0.12.0
func (p *PostgresKeeper) GetInSyncStandbys() ([]string, error)
func (*PostgresKeeper) GetPGState ¶
func (p *PostgresKeeper) GetPGState(pctx context.Context) (*cluster.PostgresState, error)
func (*PostgresKeeper) Start ¶
func (p *PostgresKeeper) Start(ctx context.Context)
Click to show internal directories.
Click to hide internal directories.