- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 455 for fullpath (0.13 sec)
-
pkg/kubelet/volumemanager/reconciler/reconstruct_test.go
// create kubelet pod directory tmpKubeletPodDir := filepath.Join(tmpKubeletDir, "pods") os.MkdirAll(tmpKubeletPodDir, 0755) // create pod and volume directories so as reconciler can find them. vp := filepath.Join(tmpKubeletPodDir, tc.volumePath) mountPaths := []string{vp} os.MkdirAll(vp, 0755) // Arrange 2 - populate DSW outerName := filepath.Base(tc.volumePath)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Jun 04 06:25:43 UTC 2024 - 14.8K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/api/validation/objectmeta.go
allErrs = append(allErrs, ValidateAnnotations(meta.GetAnnotations(), fldPath.Child("annotations"))...) allErrs = append(allErrs, ValidateOwnerReferences(meta.GetOwnerReferences(), fldPath.Child("ownerReferences"))...) allErrs = append(allErrs, ValidateFinalizers(meta.GetFinalizers(), fldPath.Child("finalizers"))...)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Sep 07 03:12:31 UTC 2022 - 12K bytes - Viewed (0) -
pkg/kubelet/logs/container_log_manager_test.go
"test-log.20180101-000000", "test-log", } for i := range testLogs { f, err := os.Create(filepath.Join(dir, testLogs[i])) require.NoError(t, err) f.Close() } got, err := GetAllLogs(filepath.Join(dir, "test-log")) assert.NoError(t, err) for i := range expectLogs { expectLogs[i] = filepath.Join(dir, expectLogs[i]) } assert.Equal(t, expectLogs, got) } func TestRotateLogs(t *testing.T) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 12.7K bytes - Viewed (0) -
internal/logger/logger.go
} for _, defaultgoPathString := range defaultgoPathList { trimStrings = append(trimStrings, filepath.Join(defaultgoPathString, "src")+string(filepath.Separator)) } for _, defaultgoRootString := range defaultgoRootList { trimStrings = append(trimStrings, filepath.Join(defaultgoRootString, "src")+string(filepath.Separator)) }
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 12.4K bytes - Viewed (0) -
src/cmd/internal/moddeps/moddeps_test.go
gorootCopyDir := t.TempDir() err := filepath.Walk(testenv.GOROOT(t), func(src string, info os.FileInfo, err error) error { if err != nil { return err } if info.IsDir() && src == filepath.Join(testenv.GOROOT(t), ".git") { return filepath.SkipDir } rel, err := filepath.Rel(testenv.GOROOT(t), src) if err != nil { return fmt.Errorf("filepath.Rel(%q, %q): %v", testenv.GOROOT(t), src, err) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Feb 21 22:16:54 UTC 2024 - 18.6K bytes - Viewed (0) -
platforms/ide/ide-native/src/integTest/groovy/org/gradle/ide/visualstudio/VisualStudioSoftwareModelSingleProjectIntegrationTest.groovy
and: final libProject = projectFile("helloLib.vcxproj") libProject.assertHasComponentSources(app.library, "src/hello") libProject.projectConfigurations.keySet() == projectConfigurations libProject.projectConfigurations['win32Debug'].includePath == filePath("src/hello/headers") and:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Oct 05 19:36:14 UTC 2023 - 35.7K bytes - Viewed (0) -
pkg/apis/apps/validation/validation.go
allErrs = append(allErrs, unversionedvalidation.ValidateLabels(template.Labels, fldPath.Child("labels"))...) allErrs = append(allErrs, apivalidation.ValidateAnnotations(template.Annotations, fldPath.Child("annotations"))...) allErrs = append(allErrs, apivalidation.ValidatePodSpecificAnnotations(template.Annotations, &template.Spec, fldPath.Child("annotations"), opts)...) } return allErrs }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat Apr 06 22:11:20 UTC 2024 - 41.4K bytes - Viewed (0) -
src/os/removeall_test.go
"internal/testenv" . "os" "path/filepath" "runtime" "strconv" "strings" "testing" ) func TestRemoveAll(t *testing.T) { t.Parallel() tmpDir := t.TempDir() if err := RemoveAll(""); err != nil { t.Errorf("RemoveAll(\"\"): %v; want nil", err) } file := filepath.Join(tmpDir, "file") path := filepath.Join(tmpDir, "_TestRemoveAll_") fpath := filepath.Join(path, "file")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:21:29 UTC 2024 - 12.3K bytes - Viewed (0) -
cmd/kubeadm/app/util/config/upgradeconfiguration_test.go
for _, tt := range tests { t.Run(tt.name, func(t *testing.T) { if tt.cfgPath == filePath { err = os.WriteFile(tt.cfgPath, []byte(tt.fileContents), 0644) if err != nil { t.Fatalf("Couldn't write content to file: %v", err) } defer func() { if err := os.RemoveAll(filePath); err != nil { t.Fatalf("Couldn't remove filePath: %v", err) } }() }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu May 16 08:34:39 UTC 2024 - 11.8K bytes - Viewed (0) -
cmd/kubeadm/app/apis/kubeadm/validation/validation.go
allErrs = append(allErrs, field.Invalid(fldPath, usages, err.Error())) } return allErrs } // ValidateEtcd validates the .Etcd sub-struct. func ValidateEtcd(e *kubeadm.Etcd, fldPath *field.Path) field.ErrorList { allErrs := field.ErrorList{} localPath := fldPath.Child("local") externalPath := fldPath.Child("external") if e.Local == nil && e.External == nil {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed May 01 16:01:49 UTC 2024 - 33.4K bytes - Viewed (0)