MCPcopy Create free account
hub / github.com/Dstack-TEE/dstack / get_certbot_config

Method get_certbot_config

gateway/src/kv/mod.rs:779–784  ·  view source on GitHub ↗

Get global certbot configuration (returns default if not set)

(&self)

Source from the content-addressed store, hash-verified

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<()> {

Callers 2

start_certbot_taskFunction · 0.45
configMethod · 0.45

Calls 1

decodeMethod · 0.45

Tested by

no test coverage detected