- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for WriteCert (0.21 sec)
-
cmd/kubeadm/app/util/certs/util.go
func WritePKIFiles(t *testing.T, dir string, files PKIFiles) { for filename, body := range files { switch body := body.(type) { case *x509.Certificate: if err := certutil.WriteCert(filepath.Join(dir, filename), pkiutil.EncodeCertPEM(body)); err != nil { t.Errorf("unable to write certificate to file %q: [%v]", dir, err) } case *rsa.PublicKey:
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 01 16:01:49 UTC 2024 - 9.1K bytes - Viewed (0)