- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for secretData (0.16 sec)
-
cmd/kubeadm/app/phases/copycerts/copycerts.go
secretData := map[string][]byte{} for certName, certPath := range certsToTransfer(cfg) { cert, err := loadAndEncryptCert(certPath, key) if err == nil || os.IsNotExist(err) { secretData[certOrKeyNameToSecretName(certName)] = cert } else { return nil, err } } return secretData, nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Jan 01 00:15:30 UTC 2023 - 10.2K bytes - Viewed (0) -
cmd/kubeadm/app/phases/copycerts/copycerts_test.go
} } secretData, err := getDataFromDisk(cfg, decodedKey) if err != nil { t.Fatalf("failed to get secret data. fatal error: %v", err) } re := regexp.MustCompile(`[-.\w]+`) for name, data := range secretData { if !re.MatchString(name) { t.Fatalf(dedent.Dedent("failed to validate secretData\n %s isn't a valid secret key"), name) }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sun Jan 01 00:15:30 UTC 2023 - 9.1K bytes - Viewed (0) -
istioctl/pkg/writer/compare/sds/writer_test.go
format: TABULAR, items: []SecretItem{ { Name: "olinger", Data: "certdata", Source: "source", Destination: "destination", SecretMeta: SecretMeta{ Valid: true, SerialNumber: "serial_number", NotAfter: "expires", NotBefore: "valid", Type: "type", }, }, }, expected: append(
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Fri May 29 20:42:01 UTC 2020 - 4.9K bytes - Viewed (0) -
istioctl/pkg/writer/compare/sds/util.go
Data string `json:"cert"` Source string `json:"source"` Destination string `json:"destination"` State string `json:"state"` SecretMeta } // SecretMeta holds selected fields which can be extracted from parsed x509 cert type SecretMeta struct { Valid bool `json:"cert_valid"` SerialNumber string `json:"serial_number"` NotAfter string `json:"not_after"`
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Tue Jun 06 15:14:48 UTC 2023 - 6.6K bytes - Viewed (0)