patroni.raft_controller module

class _patroni.raft_controller.RaftController(_config: Config) View on GitHub

Bases: AbstractPatroniDaemon +

__init\\__(config: Config) → None View on GitHub

Set up signal handlers, logging handler and configuration. +

Parameters

config – configuration options for this daemon. +

abc_impl = <_abc._abc_data object>_

+

_run_cycle() → None View on GitHub

Define what the daemon should do in each execution cycle.
Keep being called in the daemon’s main loop until the daemon is eventually terminated. +

_shutdown() → None View on GitHub

Define what the daemon should do when shutting down.

patroni.raft_controller.main() → None View on GitHub

Previous Next


© Copyright 2015 Compose, Zalando SE. Revision 9d231aee.

Built with Sphinx using a theme provided by Read the Docs.

Read the Docs v: latest

+ Builds