Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 49 for camera (0.29 sec)

  1. cmd/kubeadm/app/phases/kubeconfig/kubeconfig_test.go

    	kubeconfigtestutil.AssertKubeConfigCurrentCluster(t, config, "https://1.2.3.4:1234", caCert)
    	kubeconfigtestutil.AssertKubeConfigCurrentAuthInfoWithClientCert(t, config, caCert, notAfter, "myClientName", "myOrg1", "myOrg2")
    }
    
    func TestBuildKubeConfigFromSpecWithTokenAuth(t *testing.T) {
    	// Creates a CA
    	caCert, _ := certstestutil.SetupCertificateAuthority(t)
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 17:04:18 UTC 2024
    - 39.5K bytes
    - Viewed (0)
  2. pilot/pkg/xds/sds_test.go

    		credentials.GenericScrtCaCert: readFile(filepath.Join(certDir, "mountedcerts-client/root-cert.pem")),
    	})
    )
    
    func readFile(name string) string {
    	cacert, _ := os.ReadFile(name)
    	return string(cacert)
    }
    
    func TestGenerateSDS(t *testing.T) {
    	type Expected struct {
    		Key    string
    		Cert   string
    		CaCert string
    		CaCrl  string
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 13 20:55:20 UTC 2024
    - 17.7K bytes
    - Viewed (0)
  3. cmd/kubeadm/app/phases/kubeconfig/kubeconfig.go

    	}
    	// Validate period
    	certsphase.CheckCertificatePeriodValidity(kubeadmconstants.CACertAndKeyBaseName, caCert)
    
    	configs, err := getKubeConfigSpecsBase(cfg)
    	if err != nil {
    		return nil, err
    	}
    	for _, spec := range configs {
    		spec.CACert = caCert
    		spec.ClientCertAuth.CAKey = caKey
    	}
    	return configs, nil
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 17:04:18 UTC 2024
    - 27K bytes
    - Viewed (0)
  4. tests/integration/pilot/ingress_test.go

    				{
    					// Basic HTTPS call for foo. CaCert matches the secret
    					name: "https-foo",
    					call: echo.CallOptions{
    						Port: echo.Port{
    							Protocol: protocol.HTTPS,
    						},
    						HTTP: echo.HTTP{
    							Path:    "/test",
    							Headers: headers.New().WithHost("foo.example.com").Build(),
    						},
    						TLS: echo.TLS{
    							CaCert: ingressutil.IngressCredentialA.CaCert,
    						},
    						Check: successChecker,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 22:12:34 UTC 2024
    - 19.5K bytes
    - Viewed (0)
  5. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/TaskSelectionIntegrationTest.groovy

            run "thing"
    
            then:
            result.assertTasksExecuted(":a:thing")
    
            // camel case matching
            when:
            run "th"
    
            then:
            result.assertTasksExecuted(":a:thing", ":b:thing", ":b:b:thing")
        }
    
        @ToBeFixedForIsolatedProjects(because = "allprojects")
        def "can use camel-case for all segments of qualified task name"() {
            createDirs("child", "child/child")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 20 11:16:24 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  6. cmd/kubeadm/app/phases/certs/renewal/readwriter_test.go

    	}
    }
    
    // writeTestCertificate is a utility for creating a test certificate
    func writeTestCertificate(t *testing.T, dir, name string, caCert *x509.Certificate, caKey crypto.Signer, organization []string, notBefore, notAfter time.Time) *x509.Certificate {
    	cert, key, err := pkiutil.NewCertAndKey(caCert, caKey, makeTestCertConfig(organization, notBefore, notAfter))
    	if err != nil {
    		t.Fatalf("couldn't generate certificate: %v", err)
    	}
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 30 15:17:24 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/cmd/phases/init/certs.go

    			caCertData, err := pkiutil.TryLoadCertFromDisk(data.CertificateDir(), caCert.BaseName)
    			if err != nil {
    				return errors.Wrapf(err, "couldn't load CA certificate %s", caCert.Name)
    			}
    
    			certsphase.CheckCertificatePeriodValidity(caCert.BaseName, caCertData)
    
    			if err := pkiutil.VerifyCertChain(certData, intermediates, caCertData); err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 08 06:35:45 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  8. cmd/kubeadm/app/phases/upgrade/staticpods_test.go

    			if err := pkiutil.WriteCertAndKey(tmpDir, constants.CACertAndKeyBaseName, caCert, caKey); err != nil {
    				t.Fatalf("couldn't write out CA: %v", err)
    			}
    			if test.externalCA {
    				os.Remove(filepath.Join(tmpDir, constants.CAKeyName))
    			}
    			if err := pkiutil.WriteCertAndKey(tmpDir, constants.FrontProxyCACertAndKeyBaseName, caCert, caKey); err != nil {
    				t.Fatalf("couldn't write out front-proxy-CA: %v", err)
    			}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Jun 01 07:10:31 UTC 2024
    - 32K bytes
    - Viewed (0)
  9. pkg/test/echo/proto/echo.pb.go

    	Cert string `protobuf:"bytes,10,opt,name=cert,proto3" json:"cert,omitempty"`
    	Key  string `protobuf:"bytes,11,opt,name=key,proto3" json:"key,omitempty"`
    	// If non-empty, verify the server CA
    	CaCert string `protobuf:"bytes,12,opt,name=caCert,proto3" json:"caCert,omitempty"`
    	// If non-empty, make the request with the corresponding cert and key file.
    	CertFile string `protobuf:"bytes,16,opt,name=certFile,proto3" json:"certFile,omitempty"`
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 02:27:10 UTC 2024
    - 33.3K bytes
    - Viewed (0)
  10. pkg/config/analysis/analyzers/analyzers_test.go

    	},
    	{
    		name: "destinationrule with no cacert, simple at destinationlevel",
    		inputFiles: []string{
    			"testdata/destinationrule-simple-destination.yaml",
    		},
    		analyzer: &destinationrule.CaCertificateAnalyzer{},
    		expected: []message{
    			{msg.NoServerCertificateVerificationDestinationLevel, "DestinationRule db-tls"},
    		},
    	},
    	{
    		name: "destinationrule with no cacert, mutual at destinationlevel",
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 07:22:31 UTC 2024
    - 42.6K bytes
    - Viewed (0)
Back to top