- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestWritePublicKey (0.13 sec)
-
cmd/kubeadm/app/util/pkiutil/pki_helpers_test.go
defer os.RemoveAll(tmpdir) actual := WriteKey(tmpdir, "foo", rootCAKey) if actual != nil { t.Errorf( "failed WriteCertAndKey with an error: %v", actual, ) } } func TestWritePublicKey(t *testing.T) { tmpdir, err := os.MkdirTemp("", "") if err != nil { t.Fatalf("Couldn't create tmpdir") } defer os.RemoveAll(tmpdir) actual := WritePublicKey(tmpdir, "foo", rootCAKey.Public())
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jan 31 21:49:21 UTC 2024 - 22.5K bytes - Viewed (0)