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

Function random_subdomain

certbot/src/dns01_client/cloudflare.rs:363–369  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

361 }
362
363 fn random_subdomain() -> String {
364 format!(
365 "_acme-challenge.{}.{}",
366 rand::random::<u64>(),
367 std::env::var("TEST_DOMAIN").expect("TEST_DOMAIN not set"),
368 )
369 }
370
371 #[tokio::test]
372 async fn can_add_txt_record() {

Callers 3

can_add_txt_recordFunction · 0.85
can_remove_txt_recordFunction · 0.85
can_add_caa_recordFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected