Search Options

Results per page
Sort
Preferred Languages
Advance

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

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

      private val cacheFs = FakeFileSystem()
      private val bootstrapClient =
        OkHttpClient.Builder()
          .protocols(listOf(Protocol.HTTP_2, Protocol.HTTP_1_1))
          .build()
    
      @BeforeEach
      fun setUp(server: MockWebServer) {
        this.server = server
        server.protocols = bootstrapClient.protocols
        dns = buildLocalhost(bootstrapClient, false)
      }
    
      @Test
      fun getOne() {
        server.enqueue(
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 11K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/cmd/phases/join/kubelet.go

    		if err := certutil.WriteCert(caPath, tlsBootstrapCfg.Clusters[cluster].CertificateAuthorityData); err != nil {
    			return errors.Wrap(err, "couldn't save the CA certificate to disk")
    		}
    	}
    
    	bootstrapClient, err := kubeconfigutil.ClientSetFromFile(bootstrapKubeConfigFile)
    	if err != nil {
    		return errors.Errorf("couldn't create client from kubeconfig file %q", bootstrapKubeConfigFile)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 07:10:31 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  3. pkg/kubelet/certificate/bootstrap/bootstrap.go

    	bootstrapClientConfig, err := loadRESTClientConfig(bootstrapPath)
    	if err != nil {
    		return fmt.Errorf("unable to load bootstrap kubeconfig: %v", err)
    	}
    
    	bootstrapClient, err := clientset.NewForConfig(bootstrapClientConfig)
    	if err != nil {
    		return fmt.Errorf("unable to create certificates signing request client: %v", err)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 27 08:04:25 UTC 2022
    - 14.2K bytes
    - Viewed (0)
  4. android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt

        val response = this.newCall(request).execute()
    
        response.use {
          assertEquals(200, response.code)
        }
      }
    
      fun buildCloudflareIp(bootstrapClient: OkHttpClient): DnsOverHttps {
        return DnsOverHttps.Builder().client(bootstrapClient)
          .url("https://1.1.1.1/dns-query".toHttpUrl())
          .build()
      }
    
      private fun enableTls() {
        client =
          client.newBuilder()
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 27K bytes
    - Viewed (0)
Back to top