Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 23 of 23 for writeToFile (0.32 sec)

  1. pkg/kubelet/certificate/bootstrap/bootstrap.go

    			Cluster:   "default-cluster",
    			AuthInfo:  "default-auth",
    			Namespace: "default",
    		}},
    		CurrentContext: "default-context",
    	}
    
    	// Marshal to disk
    	return clientcmd.WriteToFile(kubeconfigData, kubeconfigPath)
    }
    
    func loadRESTClientConfig(kubeconfig string) (*restclient.Config, error) {
    	// Load structured kubeconfig data from the given path.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 27 08:04:25 UTC 2022
    - 14.2K bytes
    - Viewed (0)
  2. platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/visualstudio/VisualStudioSoftwareModelSingleProjectIntegrationTest.groovy

        @ToBeFixedForConfigurationCache
        def "visual studio project includes headers co-located with sources"() {
            when:
            // Write headers so they sit with sources
            app.files.each {
                it.writeToFile(file("src/main/cpp/${it.name}"))
            }
            buildFile << """
    model {
        components {
            main(NativeExecutableSpec) {
                sources {
                    cpp.source.include "**/*.cpp"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 35.7K bytes
    - Viewed (0)
  3. src/cmd/go/internal/modfetch/fetch.go

    	if zipExists {
    		return hashZip(mod, zipfile, ziphashfile)
    	}
    
    	// From here to the os.Rename call below is functionally almost equivalent to
    	// renameio.WriteToFile, with one key difference: we want to validate the
    	// contents of the file (by hashing it) before we commit it. Because the file
    	// is zip-compressed, we need an actual file — or at least an io.ReaderAt — to
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 14:56:56 UTC 2024
    - 30.3K bytes
    - Viewed (0)
Back to top