- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for TestPathForPublicKey (0.3 sec)
-
cmd/kubeadm/app/util/pkiutil/pki_helpers_test.go
keyPath := pathForKey("/foo", "bar") expectedPath := filepath.FromSlash("/foo/bar.key") if keyPath != expectedPath { t.Errorf("unexpected certificate path: %s", keyPath) } } func TestPathForPublicKey(t *testing.T) { pubPath := pathForPublicKey("/foo", "bar") expectedPath := filepath.FromSlash("/foo/bar.pub") if pubPath != expectedPath { t.Errorf("unexpected certificate path: %s", pubPath) } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jan 31 21:49:21 UTC 2024 - 22.5K bytes - Viewed (0)