Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 455 for fullpath (0.13 sec)

  1. pkg/kubelet/kubelet_getters.go

    	return filepath.Join(kl.getRootDir(), config.DefaultKubeletPluginsDirName)
    }
    
    // getPluginsRegistrationDir returns the full path to the directory under which
    // plugins socket should be placed to be registered.
    // More information is available about plugin registration in the pluginwatcher
    // module
    func (kl *Kubelet) getPluginsRegistrationDir() string {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Mar 09 00:48:07 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  2. src/cmd/vendor/github.com/google/pprof/internal/driver/fetch.go

    		searchPath = filepath.Join(os.Getenv(homeEnv()), "pprof", "binaries")
    	}
    mapping:
    	for _, m := range p.Mapping {
    		var noVolumeFile string
    		var baseName string
    		var dirName string
    		if m.File != "" {
    			noVolumeFile = strings.TrimPrefix(m.File, filepath.VolumeName(m.File))
    			baseName = filepath.Base(m.File)
    			dirName = filepath.Dir(noVolumeFile)
    		}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 19K bytes
    - Viewed (0)
  3. 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)
  4. src/cmd/go/internal/fsys/fsys_test.go

    		{"symlink_with_slash", "symlink" + string(filepath.Separator), []string{"symlink" + string(filepath.Separator), filepath.Join("symlink", "file")}},
    		{"overlay_to_symlink_to_dir", "overlay_symlink" + string(filepath.Separator), []string{"overlay_symlink" + string(filepath.Separator), filepath.Join("overlay_symlink", "file")}},
    	}
    
    	for _, tc := range testCases {
    		t.Run(tc.name, func(t *testing.T) {
    			var got []string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 20 18:52:11 UTC 2023
    - 29.1K bytes
    - Viewed (0)
  5. pkg/volume/volume_linux_test.go

    				}
    
    				// create a subdirectory with invalid permissions
    				rogueDir := filepath.Join(path, "roguedir")
    				nosgidPerm := info.Mode() &^ os.ModeSetgid
    				err = os.Mkdir(rogueDir, nosgidPerm)
    				if err != nil {
    					return err
    				}
    				return nil
    			},
    			assertFunc: func(path string) error {
    				rogueDir := filepath.Join(path, "roguedir")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 03 19:34:37 UTC 2023
    - 12.1K bytes
    - Viewed (0)
  6. pkg/apis/rbac/validation/validation.go

    func ValidatePolicyRule(rule rbac.PolicyRule, isNamespaced bool, fldPath *field.Path) field.ErrorList {
    	allErrs := field.ErrorList{}
    	if len(rule.Verbs) == 0 {
    		allErrs = append(allErrs, field.Required(fldPath.Child("verbs"), "verbs must contain at least one value"))
    	}
    
    	if len(rule.NonResourceURLs) > 0 {
    		if isNamespaced {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Nov 08 01:48:21 UTC 2022
    - 10.4K bytes
    - Viewed (0)
  7. src/cmd/link/internal/ld/ld_test.go

    	default:
    		t.Skip("no need for test on " + pair)
    	}
    	switch runtime.GOOS {
    	case "openbsd", "windows":
    		t.Skip("c-archive unsupported")
    	}
    	dir := t.TempDir()
    
    	srcfile := filepath.Join(dir, "test.go")
    	arfile := filepath.Join(dir, "test.a")
    	if err := os.WriteFile(srcfile, []byte(carchiveSrcText), 0666); err != nil {
    		t.Fatal(err)
    	}
    
    	ldf := fmt.Sprintf("-ldflags=-v -tmpdir=%s", dir)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 13 05:45:53 UTC 2023
    - 10.3K bytes
    - Viewed (0)
  8. cmd/sftp-server-driver.go

    				info:  object,
    				isDir: isDir,
    			})
    		}
    
    		return listerAt(files), nil
    
    	case "Stat":
    		if r.Filepath == SlashSeparator {
    			return listerAt{&minioFileInfo{
    				p:     r.Filepath,
    				isDir: true,
    			}}, nil
    		}
    
    		bucket, object := path2BucketObject(r.Filepath)
    		if bucket == "" {
    			return nil, errors.New("bucket name cannot be empty")
    		}
    
    		if object == "" {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Jun 05 07:51:13 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  9. pkg/volume/util/subpath/subpath_windows.go

    		return path, nil
    	}
    	// If the target is not an absolute path, join iit with the current upperpath
    	if !filepath.IsAbs(linkedPath) {
    		linkedPath = filepath.Join(getUpperPath(upperpath), linkedPath)
    	}
    	nextLink, err := evalSymlink(linkedPath)
    	if err != nil {
    		return path, err
    	}
    	return filepath.Join(nextLink, base), nil
    }
    
    // check whether hostPath is within volume path
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Aug 23 12:57:11 UTC 2023
    - 12.5K bytes
    - Viewed (0)
  10. src/cmd/covdata/tool_test.go

    	emitFile(t, src, insrc)
    	indep := filepath.Join("testdata", "dep.go")
    	dep := filepath.Join(depdir, "dep.go")
    	emitFile(t, dep, indep)
    
    	// Emit go.mod.
    	mod := filepath.Join(subdir, "go.mod")
    	modsrc := "\nmodule " + mainPkgPath + "\n\ngo 1.19\n"
    	if err := os.WriteFile(mod, []byte(modsrc), 0666); err != nil {
    		t.Fatal(err)
    	}
    	exepath := filepath.Join(subdir, prog+".exe")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 20:46:32 UTC 2024
    - 24.5K bytes
    - Viewed (0)
Back to top