- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 22 for newCerts (0.21 sec)
-
platforms/software/resources-http/src/test/groovy/org/gradle/internal/resource/transport/http/FakeKeyStore.java
Certificate[] certs = certChains.get(alias); if (certs == null) { Certificate[] newCerts = new Certificate[1]; newCerts[0] = cert; certChains.put(alias, newCerts); } else { Certificate[] updatedCerts = Arrays.copyOf(certs, certs.length + 1); updatedCerts[certs.length] = cert;
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 12 19:38:08 UTC 2023 - 5K bytes - Viewed (0) -
cmd/kubeadm/app/phases/upgrade/staticpods_test.go
t.Fatalf("couldn't create kubeconfig %q: %v", kubeConfig, err) } newCerts, err := getEmbeddedCerts(tmpDir, kubeConfig) if err != nil { t.Fatalf("error reading embedded certs from %s: %v", kubeConfig, err) } certMaps[kubeConfig] = *newCerts[0].SerialNumber } // Renew everything rm, err := renewal.NewManager(&cfg.ClusterConfiguration, tmpDir)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Jun 01 07:10:31 UTC 2024 - 32K bytes - Viewed (0) -
cmd/kubeadm/app/phases/certs/renewal/manager_test.go
} certtestutil.AssertCertificateIsSignedByCa(t, newCert, testCACert) certtestutil.AssertCertificateHasClientAuthUsage(t, newCert) certtestutil.AssertCertificateHasOrganizations(t, newCert, test.expectedOrganization...) certtestutil.AssertCertificateHasCommonName(t, newCert, testCertCfg.CommonName)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 01 16:01:49 UTC 2024 - 13.9K bytes - Viewed (0) -
src/crypto/tls/cache_test.go
if p == nil { t.Fatal("Failed to decode certificate") } certA, err := cc.newCert(p.Bytes) if err != nil { t.Fatalf("newCert failed: %s", err) } certB, err := cc.newCert(p.Bytes) if err != nil { t.Fatalf("newCert failed: %s", err) } if certA.cert != certB.cert { t.Fatal("newCert returned a unique reference for a duplicate certificate") } if entry, ok := cc.Load(string(p.Bytes)); !ok {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Nov 07 19:46:27 UTC 2022 - 2.6K bytes - Viewed (0) -
cmd/kubeadm/app/phases/certs/renewal/readwriter_test.go
t.Errorf("read cert does not match with expected cert") } // Create a new cert newCert, newkey, err := pkiutil.NewCertAndKey(testCACert, testCAKey, testCertCfg) if err != nil { t.Fatalf("couldn't generate certificate: %v", err) } // Writes the new certificate err = pkiReadWriter.Write(newCert, newkey) if err != nil { t.Fatalf("couldn't write new 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) -
staging/src/k8s.io/apiextensions-apiserver/pkg/registry/customresource/status_strategy.go
// ratcheting validation of x-kubernetes-list-type value map and set if newErrs := structurallisttype.ValidateListSetsAndMaps(nil, a.structuralSchema, uNew.Object); len(newErrs) > 0 { if oldErrs := structurallisttype.ValidateListSetsAndMaps(nil, a.structuralSchema, uOld.Object); len(oldErrs) == 0 { errs = append(errs, newErrs...) } } // validate x-kubernetes-validations rules
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Oct 18 22:16:10 UTC 2023 - 4.6K bytes - Viewed (0) -
cmd/xl-storage-format-v2_test.go
vMod := make([][]xlMetaV2ShallowVersion, 0, len(vers)) for i, ver := range vers { newVers := make([]xlMetaV2ShallowVersion, 0, len(ver)) for _, v := range ver { v.header.Signature = [4]byte{byte(i + 10), 0, 0, 0} newVers = append(newVers, v) } vMod = append(vMod, newVers) } merged := mergeXLV2Versions(i, false, 0, vMod...) if len(merged) == 0 {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri Mar 08 17:50:48 UTC 2024 - 36.4K bytes - Viewed (0) -
operator/pkg/validate/validate.go
} if !util.IsPtr(structPtr) { metrics.CRValidationErrorTotal.Increment() return util.NewErrs(fmt.Errorf("validate path %s, value: %v, expected ptr, got %T", path, structPtr, structPtr)) } structElems := reflect.ValueOf(structPtr).Elem() if !util.IsStruct(structElems) { metrics.CRValidationErrorTotal.Increment() return util.NewErrs(fmt.Errorf("validate path %s, value: %v, expected struct, got %T", path, structElems, structElems)) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Jan 12 16:04:15 UTC 2023 - 7.7K bytes - Viewed (0) -
operator/pkg/validate/common.go
scope.Debugf("validatePortNumberString %v:", val) if !util.IsString(val) { return util.NewErrs(fmt.Errorf("validatePortNumberString(%s) bad type %T, want string", path, val)) } if val.(string) == "*" || val.(string) == "" { return nil } intV, err := strconv.ParseInt(val.(string), 10, 32) if err != nil { return util.NewErrs(fmt.Errorf("%s : %s", path, err)) } return validatePortNumber(path, intV) }
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu Aug 10 15:35:03 UTC 2023 - 11K bytes - Viewed (0) -
cmd/kubeadm/app/phases/certs/renewal/readwriter.go
return certs[0], nil } // Write a certificate to files in the K8s pki managed by kubeadm func (rw *pkiCertificateReadWriter) Write(newCert *x509.Certificate, newKey crypto.Signer) error { if err := pkiutil.WriteCertAndKey(rw.certificateDir, rw.baseName, newCert, newKey); err != nil { return errors.Wrapf(err, "failed to write new certificate %s", rw.baseName) } return nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Apr 01 03:09:53 UTC 2024 - 8.4K bytes - Viewed (0)