Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 724 for JOIN (0.29 sec)

  1. pkg/kubelet/certificate/kubelet_test.go

    	if err != nil {
    		return "", "", nil
    	}
    
    	var certKeyPathFn = func(dataDir string) (string, string, string) {
    		outputDir := filepath.Join(certDir, dataDir)
    		return outputDir, filepath.Join(outputDir, "kubelet.cert"), filepath.Join(outputDir, "kubelet.key")
    	}
    
    	writeDir, writeCertPath, writeKeyPath := certKeyPathFn("identity.tmp")
    	if err := os.Mkdir(writeDir, 0777); err != nil {
    		return "", "", err
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 06 03:07:40 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  2. pkg/kubelet/util/util_windows.go

    	// this is why we have the extra logic in here instead of changing the function signature. Join the file to make sure the
    	// last path component is a file, so the operation chain works..
    	podResourcesDir := filepath.Base(filepath.Dir(filepath.Join(path, file)))
    	if podResourcesDir == "" {
    		// should not happen because the user can configure a root directory, and we expected a subdirectory inside
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 14 08:58:18 UTC 2024
    - 3K bytes
    - Viewed (0)
  3. src/cmd/go/internal/cache/default.go

    	}
    	if err := os.MkdirAll(dir, 0777); err != nil {
    		base.Fatalf("failed to initialize build cache at %s: %s\n", dir, err)
    	}
    	if _, err := os.Stat(filepath.Join(dir, "README")); err != nil {
    		// Best effort.
    		os.WriteFile(filepath.Join(dir, "README"), []byte(cacheREADME), 0666)
    	}
    
    	diskCache, err := Open(dir)
    	if err != nil {
    		base.Fatalf("failed to initialize build cache at %s: %s\n", dir, err)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 3K bytes
    - Viewed (0)
  4. cmd/kubeadm/app/phases/etcd/local.go

    		{Name: "cert-file", Value: filepath.Join(cfg.CertificatesDir, kubeadmconstants.EtcdServerCertName)},
    		{Name: "key-file", Value: filepath.Join(cfg.CertificatesDir, kubeadmconstants.EtcdServerKeyName)},
    		{Name: "trusted-ca-file", Value: filepath.Join(cfg.CertificatesDir, kubeadmconstants.EtcdCACertName)},
    		{Name: "client-cert-auth", Value: "true"},
    		{Name: "peer-cert-file", Value: filepath.Join(cfg.CertificatesDir, kubeadmconstants.EtcdPeerCertName)},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 14:07:27 UTC 2024
    - 13.8K bytes
    - Viewed (1)
  5. platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/undeclared/KotlinPluginImplementation.groovy

        void kotlinPlugin(TestFile sourceFile, BuildInputRead read) {
            sourceFile << """
                import ${Project.name}
                import ${Plugin.name}
                ${read.requiredImports().collect { "import $it" }.join("\n")}
    
                class SneakyPlugin: Plugin<Project> {
                    override fun apply(project: Project) {
                        var value = ${read.kotlinExpression}
                        println("apply = " + value)
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:25 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  6. src/cmd/go/script_test.go

    	telemetryDir = filepath.Join(work, "telemetry")
    	must(os.MkdirAll(telemetryDir, 0777))
    	must(s.Setenv("TEST_TELEMETRY_DIR", filepath.Join(work, "telemetry")))
    
    	must(os.MkdirAll(filepath.Join(work, "tmp"), 0777))
    	must(s.Setenv(tempEnvName(), filepath.Join(work, "tmp")))
    
    	gopath := filepath.Join(work, "gopath")
    	must(s.Setenv("GOPATH", gopath))
    	gopathSrc := filepath.Join(gopath, "src")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 18:15:22 UTC 2024
    - 12.2K bytes
    - Viewed (0)
  7. src/testing/fstest/testfs_test.go

    func TestSymlink(t *testing.T) {
    	testenv.MustHaveSymlink(t)
    
    	tmp := t.TempDir()
    	tmpfs := os.DirFS(tmp)
    
    	if err := os.WriteFile(filepath.Join(tmp, "hello"), []byte("hello, world\n"), 0644); err != nil {
    		t.Fatal(err)
    	}
    
    	if err := os.Symlink(filepath.Join(tmp, "hello"), filepath.Join(tmp, "hello.link")); err != nil {
    		t.Fatal(err)
    	}
    
    	if err := TestFS(tmpfs, "hello", "hello.link"); err != nil {
    		t.Fatal(err)
    	}
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  8. src/os/os_windows_test.go

    	chdir(t, tmpdir)
    
    	dir := filepath.Join(tmpdir, "dir")
    	err := os.Mkdir(dir, 0777)
    	if err != nil {
    		t.Fatal(err)
    	}
    	fi, err := os.Stat(dir)
    	if err != nil {
    		t.Fatal(err)
    	}
    	err = os.WriteFile(filepath.Join(dir, "abc"), []byte("abc"), 0644)
    	if err != nil {
    		t.Fatal(err)
    	}
    	for _, test := range tests {
    		link := filepath.Join(tmpdir, test.name+"_link")
    		err := test.mklink(link, dir)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 41.8K bytes
    - Viewed (0)
  9. callbacks/preload.go

    	}
    	sort.Strings(preloadNames)
    
    	isJoined := func(name string) (joined bool, nestedJoins []string) {
    		for _, join := range joins {
    			if _, ok := relationships.Relations[join]; ok && name == join {
    				joined = true
    				continue
    			}
    			joinNames := strings.SplitN(join, ".", 2)
    			if len(joinNames) == 2 {
    				if _, ok := relationships.Relations[joinNames[0]]; ok && name == joinNames[0] {
    					joined = true
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Wed Jun 12 10:52:33 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  10. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/plugins/ide/tooling/r30/ToolingApiEclipseModelSourceDirectoryExcludeIncludePatternCrossVersionSpec.groovy

        }
    
        def "Source folder has exclude and include patterns defined"() {
            setup:
            def excludePatterns = excludes.collect { "exclude '$it'" }.join('\n')
            def includePatterns = includes.collect { "include '$it'" }.join('\n')
            settingsFile << 'rootProject.name = "root"'
            buildFile <<
            """apply plugin: 'java'
               sourceSets {
                   main {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 2.4K bytes
    - Viewed (0)
Back to top