- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 12 for newCerts (0.11 sec)
-
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/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/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) -
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) -
src/crypto/tls/ticket.go
case 0: ss.EarlyData = false case 1: ss.EarlyData = true default: return nil, errors.New("tls: invalid session encoding") } for _, cert := range cert.Certificate { c, err := globalCertCache.newCert(cert) if err != nil { return nil, err } ss.activeCertHandles = append(ss.activeCertHandles, c) ss.peerCertificates = append(ss.peerCertificates, c.cert) } ss.ocspResponse = cert.OCSPStaple
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 17:23:54 UTC 2024 - 12.6K bytes - Viewed (0) -
pkg/registry/core/service/strategy.go
out.Insert(int(svc.Spec.Ports[i].NodePort)) } } return out } oldPorts := allNodePorts(oldSvc) newPorts := allNodePorts(newSvc) // Users can add, remove, or modify ports, as long as they don't add any // net-new NodePorts. return oldPorts.IsSuperset(newPorts) } func needsHCNodePort(svc *api.Service) bool { if svc.Spec.Type != api.ServiceTypeLoadBalancer { return false }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Apr 11 13:09:36 UTC 2024 - 14.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/ir/tf_executor.cc
llvm::SmallVector<Value, 8> new_rets; for (Value operand : fetch_op.getFetches()) { // Control results should not be propagated out. if (mlir::isa<ControlType>(operand.getType())) break; if (operand.getDefiningOp() != island_op) { // Operand is not from island, simply propagate it out. new_rets.push_back(operand); } else {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 42.7K bytes - Viewed (0) -
cmd/kubeadm/app/phases/certs/renewal/manager.go
return false, err } // create a new certificate with the same config newCert, newKey, err := NewFileRenewer(caCert, caKey).Renew(cfg) if err != nil { return false, errors.Wrapf(err, "failed to renew certificate %s", name) } // writes the new certificate to disk err = handler.readwriter.Write(newCert, newKey) if err != nil { return false, err } return true, nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 01 16:01:49 UTC 2024 - 15K bytes - Viewed (0)