Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for bootstrapClient (0.23 sec)

  1. okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/TestDohMain.kt

          listOf(
            DnsOverHttps.Builder()
              .client(bootstrapClient)
              .url(url)
              .post(true)
              .build(),
          )
        runBatch(badProviders, names)
        println("cached first run\n****************\n")
        names = listOf("google.com", "graph.facebook.com")
        bootstrapClient =
          bootstrapClient.newBuilder()
            .cache(dnsCache)
            .build()
        dnsProviders =
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  2. okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/DohProviders.kt

        return DnsOverHttps.Builder()
          .client(bootstrapClient)
          .url("https://1.1.1.1/dns-query".toHttpUrl())
          .bootstrapDnsHosts(getByIp("1.1.1.1"), getByIp("1.0.0.1"))
          .includeIPv6(false)
          .build()
      }
    
      private fun buildCloudflarePost(bootstrapClient: OkHttpClient): DnsOverHttps {
        return DnsOverHttps.Builder()
          .client(bootstrapClient)
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Dec 23 10:26:25 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  3. okhttp-dnsoverhttps/README.md

      val bootstrapClient = OkHttpClient.Builder().cache(appCache).build()
    
      val dns = DnsOverHttps.Builder().client(bootstrapClient)
        .url("https://dns.google/dns-query".toHttpUrl())
        .bootstrapDnsHosts(InetAddress.getByName("8.8.4.4"), InetAddress.getByName("8.8.8.8"))
        .build()
    
      val client = bootstrapClient.newBuilder().dns(dns).build()
    ```
    
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sun Dec 17 15:34:10 UTC 2023
    - 740 bytes
    - Viewed (0)
  4. cmd/kubeadm/app/cmd/phases/join/controlplaneprepare.go

    	certsDir := cfg.CertificatesDir
    	cfg.CertificatesDir = data.CertificateWriteDir()
    	defer func() { cfg.CertificatesDir = certsDir }()
    
    	client, err := bootstrapClient(data)
    	if err != nil {
    		return err
    	}
    
    	if err := copycerts.DownloadCerts(client, cfg, data.CertificateKey()); err != nil {
    		return errors.Wrap(err, "error downloading certs")
    	}
    	return nil
    }
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Apr 18 12:46:34 UTC 2024
    - 9.5K bytes
    - Viewed (0)
Back to top