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

Method try_renew_all

gateway/src/distributed_certbot.rs:86–94  ·  view source on GitHub ↗

Try to renew all ZT-Domain certificates

(&self)

Source from the content-addressed store, hash-verified

84
85 /// Try to renew all ZT-Domain certificates
86 pub async fn try_renew_all(&self) -> Result<()> {
87 let configs = self.kv_store.list_zt_domain_configs();
88 for config in configs {
89 if let Err(err) = self.try_renew(&config.domain, false).await {
90 error!("cert[{}]: failed to renew: {err:?}", config.domain);
91 }
92 }
93 Ok(())
94 }
95
96 /// Try to renew certificate for a specific domain if needed
97 #[tracing::instrument(skip(self))]

Callers 1

renew_certMethod · 0.80

Calls 2

try_renewMethod · 0.80

Tested by

no test coverage detected