Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for WriteCert (0.21 sec)

  1. 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)
Back to top