Get global certbot configuration (returns default if not set)
(&self)
| 777 | |
| 778 | /// Get global certbot configuration (returns default if not set) |
| 779 | pub fn get_certbot_config(&self) -> GlobalCertbotConfig { |
| 780 | self.persistent |
| 781 | .read() |
| 782 | .decode(keys::GLOBAL_CERTBOT_CONFIG) |
| 783 | .unwrap_or_default() |
| 784 | } |
| 785 | |
| 786 | /// Set global certbot configuration |
| 787 | pub fn set_certbot_config(&self, config: &GlobalCertbotConfig) -> Result<()> { |
no test coverage detected