Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for removeAll (0.34 sec)

  1. 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 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 20:34:28 GMT 2024
    - 12.5K bytes
    - Viewed (0)
  2. 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 May 08 22:53:08 GMT 2024
    - Last Modified: Thu Apr 18 18:16:49 GMT 2024
    - 43.5K bytes
    - Viewed (0)
Back to top