physical.cloudflarefunctionno test imports itfunction cloudflare(options: CloudflareOptions): DnsProviderThe Cloudflare provider of a zone.
The DNS provider that the fleet uses, Cloudflare, behind a port: the zone is read page by page and a plan is applied record by record, over HTTPS, with the token given in the header of the request and nowhere else. A token is in no error.
import { cloudflare } from "./cloudflare.ts";
const dns = cloudflare({ zoneId: "z", token: "t", base: "http://127.0.0.1:1" });
typeof dns.list; // "function"physical.cloudflarefunctionno test imports itfunction cloudflare(options: CloudflareOptions): DnsProviderThe Cloudflare provider of a zone.
physical.CloudflareOptionstypeno test imports ittype CloudflareOptions = {
readonly zoneId: string;
/** The API token; used in the Authorization header of requests to `base` only. */
readonly token: string;
/** The address of the API; Cloudflare's own by default. */
readonly base?: string;
};What the Cloudflare provider is made with.
physical.DnsProvidertypeno test imports ittype DnsProvider = {
readonly list: () => Promise<readonly FoundRecord[]>;
readonly apply: (plan: DnsPlan) => Promise<void>;
};The port to the DNS of a name.
cloudflarefunctionfunction cloudflare(options: CloudflareOptions): DnsProviderThe Cloudflare provider of a zone.
CloudflareOptionstypeno test imports ittype CloudflareOptions = {
readonly zoneId: string;
/** The API token; used in the Authorization header of requests to `base` only. */
readonly token: string;
/** The address of the API; Cloudflare's own by default. */
readonly base?: string;
};What the Cloudflare provider is made with.
DnsProvidertypeno test imports ittype DnsProvider = {
readonly list: () => Promise<readonly FoundRecord[]>;
readonly apply: (plan: DnsPlan) => Promise<void>;
};The port to the DNS of a name.