- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 81 for fullpath (0.2 sec)
-
pkg/kubelet/util/util_windows_test.go
expectedAddress := "//./pipe/kubelet-pod-resources" fullPath, err := LocalEndpoint(`pod-resources`, "kubelet") require.NoErrorf(t, err, "Failed to create the local endpoint path") address, dialer, err := util.GetAddressAndDialer(fullPath) require.NoErrorf(t, err, "Failed to parse the endpoint path and get back address and dialer (path=%q)", fullPath) dialerPointer := reflect.ValueOf(dialer).Pointer()
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 14 08:58:18 UTC 2024 - 3.1K bytes - Viewed (0) -
pkg/kubelet/util/util_unix_test.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue May 14 08:58:18 UTC 2024 - 1.3K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/phases/reset/cleanupnode_test.go
assertDirEmpty(t, filepath.Join(tmpDir, "manifests")) assertDirEmpty(t, filepath.Join(tmpDir, "pki")) assertDirEmpty(t, filepath.Join(tmpDir, "tmp")) // Verify the files as requested by the test: for _, path := range test.verifyExists { assertExists(t, filepath.Join(tmpDir, path)) } for _, path := range test.verifyNotExists {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 06:58:01 UTC 2024 - 5.1K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/inputs/undeclared/UndeclaredFileAccess.groovy
"new File(\"${filePath}\").$checkKind()" } } static FileCheck fileExists(String filePath) { new FileCheck(filePath, "exists") } static FileCheck fileIsFile(String filePath) { new FileCheck(filePath, "isFile") } static FileCheck fileIsDirectory(String filePath) { new FileCheck(filePath, "isDirectory") }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 9.6K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/phases/reset/cleanupnode.go
} filesToClean := []string{ filepath.Join(configPathDir, kubeadmconstants.AdminKubeConfigFileName), filepath.Join(configPathDir, kubeadmconstants.SuperAdminKubeConfigFileName), filepath.Join(configPathDir, kubeadmconstants.KubeletKubeConfigFileName), filepath.Join(configPathDir, kubeadmconstants.KubeletBootstrapKubeConfigFileName), filepath.Join(configPathDir, kubeadmconstants.ControllerManagerKubeConfigFileName),
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 29 06:58:01 UTC 2024 - 7.1K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/telemetry/internal/upload/upload.go
match := dateRE.FindStringSubmatch(fname) if match == nil || len(match) < 2 { u.logger.Printf("malformed report name: missing date: %q", filepath.Base(fname)) return time.Time{} } d, err := time.Parse(dateFormat, match[1]) if err != nil { u.logger.Printf("malformed report name: bad date: %q", filepath.Base(fname)) return time.Time{} } return d } func (u *uploader) uploadReport(fname string) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 14:52:56 UTC 2024 - 3.4K bytes - Viewed (0) -
platforms/core-runtime/base-services/src/main/java/org/gradle/internal/FileUtils.java
*/ public static String removeExtension(String filePath) { int fileNameStart = Math.max(filePath.lastIndexOf('/'), filePath.lastIndexOf('\\')); int extensionPos = filePath.lastIndexOf('.'); if (extensionPos > fileNameStart) { return filePath.substring(0, extensionPos); } return filePath; } /** * Canonicalizes the given file.
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed May 29 06:47:40 UTC 2024 - 8.2K bytes - Viewed (0) -
src/internal/trace/testdata/mktests.go
generators, err := filepath.Glob("./generators/*.go") if err != nil { return fmt.Errorf("reading generators: %v", err) } genroot := "./tests" if err := os.MkdirAll(genroot, 0777); err != nil { return fmt.Errorf("creating generated root: %v", err) } for _, path := range generators { name := filepath.Base(path) name = name[:len(name)-len(filepath.Ext(name))]
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 18:48:18 UTC 2024 - 3.7K bytes - Viewed (0) -
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) -
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)