func TestWriteCertificateAuthorityFilesIfNotExist(t *testing.T) { … } func TestWriteCertificateFilesIfNotExist(t *testing.T) { … } func TestCreateServiceAccountKeyAndPublicKeyFiles(t *testing.T) { … } func TestSharedCertificateExists(t *testing.T) { … } func TestCreatePKIAssetsWithSparseCerts(t *testing.T) { … } func TestUsingExternalCA(t *testing.T) { … } func TestValidateMethods(t *testing.T) { … } func TestCreateCertificateFilesMethods(t *testing.T) { … } func deleteCertOrKey(name string) func(*kubeadmapi.InitConfiguration) error { … } func assertCertsExist(t *testing.T, dir string) { … }