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

Method get_caa_records

certbot/src/dns01_client/cloudflare.rs:343–350  ·  view source on GitHub ↗
(&self, domain: &str)

Source from the content-addressed store, hash-verified

341
342 #[cfg(test)]
343 async fn get_caa_records(&self, domain: &str) -> Result<Vec<Record>> {
344 Ok(self
345 .get_records(domain)
346 .await?
347 .into_iter()
348 .filter(|r| r.r#type == "CAA")
349 .collect())
350 }
351 }
352
353 async fn create_client() -> CloudflareClient {

Callers 1

can_add_caa_recordFunction · 0.80

Calls 2

into_iterMethod · 0.80
get_recordsMethod · 0.80

Tested by

no test coverage detected