- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 208 for newSel (0.1 sec)
-
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) -
src/internal/syscall/unix/getentropy_netbsd.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Aug 15 19:42:54 UTC 2023 - 779 bytes - Viewed (0) -
pkg/registry/batch/cronjob/strategy.go
func (cronJobStrategy) GetResetFields() map[fieldpath.APIVersion]*fieldpath.Set { fields := map[fieldpath.APIVersion]*fieldpath.Set{ "batch/v1": fieldpath.NewSet( fieldpath.MakePathOrDie("status"), ), "batch/v1beta1": fieldpath.NewSet( fieldpath.MakePathOrDie("status"), ), } return fields } // PrepareForCreate clears the status of a scheduled job before creation.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Oct 20 15:14:03 UTC 2023 - 7.3K bytes - Viewed (0) -
pkg/test/framework/label/instance.go
package label import ( "sort" "strings" ) // Instance is a label instance. type Instance string // Set is a set of labels type Set map[Instance]struct{} // NewSet returns a new label set. func NewSet(labels ...Instance) Set { s := make(map[Instance]struct{}) for _, l := range labels { s[l] = struct{}{} } return s } // Add adds the given labels and returns a new, combined set
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 29 20:42:01 UTC 2020 - 2K bytes - Viewed (0) -
pilot/pkg/config/monitor/monitor.go
cpy := config.DeepCopy() copyConfigs = append(copyConfigs, &cpy) } // Compare the new list to the previous one and detect changes. oldLen := len(m.configs) newLen := len(newConfigs) oldIndex, newIndex := 0, 0 for oldIndex < oldLen && newIndex < newLen { oldConfig := m.configs[oldIndex] newConfig := newConfigs[newIndex] if v := compareIDs(oldConfig, newConfig); v < 0 { m.deleteConfig(oldConfig) oldIndex++
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Feb 12 17:36:33 UTC 2024 - 7.2K bytes - Viewed (0) -
src/cmd/link/internal/ld/macho_combine_dwarf.go
if err != nil { return nil, nil, err } newSec := *sect newSec.Offset = uint32(dwarfseg.Offset) + uint32(buf.Len()) newSec.Addr = dwarfseg.Addr + uint64(buf.Len()) if compressed { newSec.Name = "__z" + sect.Name[2:] newSec.Size = uint64(len(contents)) } sects = append(sects, &newSec) buf.Write(contents) } return sects, buf.Bytes(), nil }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 21 18:45:27 UTC 2024 - 13.3K bytes - Viewed (0) -
istioctl/pkg/writer/table/writer.go
header: Row{}, } } type BuildRowFunc func(obj interface{}) Row type Cell struct { Value string Attributes []color.Attribute } type Row struct { Cells []Cell } func NewCell(value string, attributes ...color.Attribute) Cell { attrs := append([]color.Attribute{}, attributes...) return Cell{value, attrs} } func (cell Cell) String() string { if len(cell.Attributes) == 0 {
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sat Oct 08 04:41:42 UTC 2022 - 2.8K bytes - Viewed (0) -
tests/helper_test.go
func doCheckPet(t *testing.T, pet Pet, expect Pet, unscoped bool) { if pet.ID != 0 { var newPet Pet if err := db(unscoped).Where("id = ?", pet.ID).First(&newPet).Error; err != nil { t.Fatalf("errors happened when query: %v", err) } else { AssertObjEqual(t, newPet, pet, "ID", "CreatedAt", "UpdatedAt", "DeletedAt", "UserID", "Name") AssertObjEqual(t, newPet, expect, "ID", "CreatedAt", "UpdatedAt", "DeletedAt", "UserID", "Name") } }
Registered: Wed Jun 12 16:27:09 UTC 2024 - Last Modified: Tue Mar 19 03:50:28 UTC 2024 - 8K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/main/kotlin/org/gradle/internal/cc/impl/EncryptionService.kt
fun generateKey(keyStoreFile: File, alias: String): SecretKey { val newKey = KeyGenerator.getInstance(encryptionAlgorithm).generateKey() require(newKey != null) { "Failed to generate encryption key using $encryptionAlgorithm." } logger.debug("Generated key") val entry = KeyStore.SecretKeyEntry(newKey) keyStore.setEntry(alias, entry, keyProtection)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:30 UTC 2024 - 11.9K 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)