Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for bootstrapClient (0.26 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/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)
  3. 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)
Back to top