- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 17 for newCerts (0.18 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) -
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) -
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) -
src/cmd/vendor/golang.org/x/mod/modfile/work.go
if d.Path == path { d.Syntax.markRemoved() *d = Use{} } } return nil } func (f *WorkFile) AddReplace(oldPath, oldVers, newPath, newVers string) error { return addReplace(f.Syntax, &f.Replace, oldPath, oldVers, newPath, newVers) } func (f *WorkFile) DropReplace(oldPath, oldVers string) error { for _, r := range f.Replace { if r.Old.Path == oldPath && r.Old.Version == oldVers {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 14 18:34:56 UTC 2024 - 7.7K bytes - Viewed (0) -
operator/pkg/apis/istio/v1alpha1/validation/validation.go
validators := []FeatureValidator{ CheckServicePorts, CheckAutoScaleAndReplicaCount, } for _, validator := range validators { newErrs, newWarnings := validator(values, spec) errs = util.AppendErrs(errs, newErrs) warnings = append(warnings, newWarnings...) } return } // CheckAutoScaleAndReplicaCount warns when autoscaleEnabled is true and k8s replicaCount is set.
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 16 20:02:28 UTC 2024 - 14.9K bytes - Viewed (0) -
pkg/kubelet/cm/cgroup_manager_linux.go
if len(cgroupName) == 0 || (len(cgroupName) == 1 && cgroupName[0] == "") { return "/" } newparts := []string{} for _, part := range cgroupName { part = escapeSystemdCgroupName(part) newparts = append(newparts, part) } result, err := cgroupsystemd.ExpandSlice(strings.Join(newparts, "-") + systemdSuffix) if err != nil { // Should never happen...
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Sep 27 13:02:15 UTC 2023 - 26.5K bytes - Viewed (0)