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

Method renew

certbot/src/bot.rs:184–188  ·  view source on GitHub ↗

Run the certbot once.

(&self, force: bool)

Source from the content-addressed store, hash-verified

182
183 /// Run the certbot once.
184 pub async fn renew(&self, force: bool) -> Result<bool> {
185 tokio::time::timeout(self.config.renew_timeout, self.renew_inner(force))
186 .await
187 .context("requesting cert timeout")?
188 }
189
190 pub fn renew_interval(&self) -> Duration {
191 self.config.renew_interval

Callers 2

renewFunction · 0.80
runMethod · 0.80

Calls 1

renew_innerMethod · 0.80

Tested by

no test coverage detected