- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for removeAll (0.19 sec)
-
cni/test/install_cni.go
if err = os.WriteFile(dest, data, os.FileMode(defaultFileMode)); err != nil { t.Fatalf("Failed to write file %v, err: %v", dest, err) } } func rmDir(dir string, t *testing.T) { t.Helper() err := os.RemoveAll(dir) if err != nil { t.Fatalf("Failed to remove dir %v, err: %v", dir, err) } } // Removes Istio CNI's config from the CNI config file func rmCNIConfig(cniConfigFilepath string, t *testing.T) {
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Fri Jan 26 20:34:28 GMT 2024 - 12.5K bytes - Viewed (0) -
operator/cmd/mesh/manifest-generate_test.go
if cpErr != nil { return cpErr } return nil }) } func TestMain(m *testing.M) { code := m.Run() // Cleanup uncompress snapshot charts os.RemoveAll(string(snapshotCharts)) os.Exit(code) } func TestManifestGenerateComponentHubTag(t *testing.T) { g := NewWithT(t)
Go - Registered: Wed Mar 20 22:53:08 GMT 2024 - Last Modified: Thu Feb 22 08:32:23 GMT 2024 - 42K bytes - Viewed (0) -
istioctl/pkg/validate/validate_test.go
}) validTempDirJSON := createTestDirectory(t, map[string]string{ "valid.json": validJSON, }) t.Cleanup(func() { os.RemoveAll(tempDirYAML) os.RemoveAll(validTempDirYAML) os.RemoveAll(tempDirJSON) os.RemoveAll(validTempDirJSON) }) cases := []struct { name string args []string wantError bool
Go - Registered: Wed May 01 22:53:12 GMT 2024 - Last Modified: Tue Jul 25 08:08:36 GMT 2023 - 21.5K bytes - Viewed (0)