Submodules
- patroni.watchdog.base module
-
patroni.watchdog.linux module
-
IOC() -
IOR() -
IOW() -
IOWR() -
LinuxWatchdogDevice-
LinuxWatchdogDevice.DEFAULT_DEVICE -
LinuxWatchdogDevice.__init__() -
LinuxWatchdogDevice._abc_impl -
LinuxWatchdogDevice._ioctl() -
LinuxWatchdogDevice.can_be_disabled -
LinuxWatchdogDevice.close() -
LinuxWatchdogDevice.describe() -
LinuxWatchdogDevice.from_config() -
LinuxWatchdogDevice.get_support() -
LinuxWatchdogDevice.get_timeout() -
LinuxWatchdogDevice.has_set_timeout() -
LinuxWatchdogDevice.is_healthy -
LinuxWatchdogDevice.is_running -
LinuxWatchdogDevice.keepalive() -
LinuxWatchdogDevice.open() -
LinuxWatchdogDevice.set_timeout()
-
-
TestingWatchdogDevice -
WatchdogInfo -
watchdog_info
-
Module contents
- class patroni.watchdog. Watchdog ( config : Config ) View on GitHub
-
Bases:
objectFacade to dynamically manage watchdog implementations and handle config changes.
When activation fails underlying implementation will be switched to a Null implementation. To avoid log spam activation will only be retried when watchdog configuration is changed.
- __init__ ( config : Config ) None View on GitHub
- _activate ( ) bool View on GitHub
- _disable ( ) None View on GitHub
- _set_timeout ( ) int | None View on GitHub
- activate ( * args : Any , ** kwargs : Any ) Any View on GitHub
- disable ( * args : Any , ** kwargs : Any ) Any View on GitHub
- property is_healthy : Any View on GitHub
- property is_running : Any View on GitHub
- keepalive ( * args : Any , ** kwargs : Any ) Any View on GitHub
- reload_config ( * args : Any , ** kwargs : Any ) Any View on GitHub
- exception patroni.watchdog. WatchdogError ( value : Any ) View on GitHub
-
Bases:
PatroniExceptionAny problem faced while managing a watchdog device.