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

Method get_txt_records

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

Source from the content-addressed store, hash-verified

331 impl CloudflareClient {
332 #[cfg(test)]
333 async fn get_txt_records(&self, domain: &str) -> Result<Vec<Record>> {
334 Ok(self
335 .get_records(domain)
336 .await?
337 .into_iter()
338 .filter(|r| r.r#type == "TXT")
339 .collect())
340 }
341
342 #[cfg(test)]
343 async fn get_caa_records(&self, domain: &str) -> Result<Vec<Record>> {

Callers 2

can_add_txt_recordFunction · 0.80
can_remove_txt_recordFunction · 0.80

Calls 2

into_iterMethod · 0.80
get_recordsMethod · 0.80

Tested by

no test coverage detected