- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for createKubeConfigFileIfNotExists (0.4 sec)
-
cmd/kubeadm/app/phases/kubeconfig/kubeconfig_test.go
// Writes the existing kubeconfig file to disk if test.existingKubeConfig != nil { if err := createKubeConfigFileIfNotExists(tmpdir, "test.conf", test.existingKubeConfig); err != nil { t.Errorf("createKubeConfigFileIfNotExists failed") } } // Writes the kubeconfig file to disk err := createKubeConfigFileIfNotExists(tmpdir, "test.conf", test.kubeConfig) if test.expectedError && err == nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 07 17:04:18 UTC 2024 - 39.5K bytes - Viewed (0) -
cmd/kubeadm/app/phases/kubeconfig/kubeconfig.go
config, err := buildKubeConfigFromSpec(spec, cfg.ClusterName) if err != nil { return err } // writes the kubeconfig to disk if it does not exist if err = createKubeConfigFileIfNotExists(outDir, kubeConfigFileName, config); err != nil { return err } } return nil }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 07 17:04:18 UTC 2024 - 27K bytes - Viewed (0)