patroni.watchdog package
Submodules
- patroni.watchdog.base module
- patroni.watchdog.linux module
IOC()IOR()IOW()IOWR()LinuxWatchdogDeviceLinuxWatchdogDevice.DEFAULT_DEVICELinuxWatchdogDevice.__init__()LinuxWatchdogDevice._abc_implLinuxWatchdogDevice._ioctl()LinuxWatchdogDevice.can_be_disabledLinuxWatchdogDevice.close()LinuxWatchdogDevice.describe()LinuxWatchdogDevice.from_config()LinuxWatchdogDevice.get_support()LinuxWatchdogDevice.get_timeout()LinuxWatchdogDevice.has_set_timeout()LinuxWatchdogDevice.is_healthyLinuxWatchdogDevice.is_runningLinuxWatchdogDevice.keepalive()LinuxWatchdogDevice.open()LinuxWatchdogDevice.set_timeout()
TestingWatchdogDeviceWatchdogInfowatchdog_info
Module contents
- class patroni.watchdog.Watchdog(config: Config)
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.
- exception patroni.watchdog.WatchdogError(value: Any)
Bases:
PatroniExceptionAny problem faced while managing a watchdog device.