- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for dirsToClean (0.12 sec)
-
cmd/kubeadm/app/cmd/phases/reset/cleanupnode.go
} dirsToClean = append(dirsToClean, certsDir) if r.CleanupTmpDir() { tempDir := path.Join(kubeadmconstants.KubernetesDir, kubeadmconstants.TempDirForKubeadm) dirsToClean = append(dirsToClean, tempDir) } resetConfigDir(kubeadmconstants.KubernetesDir, dirsToClean, r.DryRun())
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 06:58:01 UTC 2024 - 7.1K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/phases/reset/cleanupnode_test.go
f.Close() } if test.resetDir == "" { test.resetDir = "pki" } dirsToClean := []string{ filepath.Join(tmpDir, test.resetDir), filepath.Join(tmpDir, kubeadmconstants.ManifestsSubDirName), filepath.Join(tmpDir, kubeadmconstants.TempDirForKubeadm), } resetConfigDir(tmpDir, dirsToClean, false) // Verify the files we cleanup implicitly in every test: assertExists(t, tmpDir)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 06:58:01 UTC 2024 - 5.1K bytes - Viewed (0)