Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 455 for fullpath (0.11 sec)

  1. pkg/volume/util/subpath/subpath_linux_test.go

    				if err := os.MkdirAll(filepath.Join(base, "test1"), defaultPerm); err != nil {
    					return err
    				}
    				if err := os.MkdirAll(filepath.Join(base, "test2"), defaultPerm); err != nil {
    					return err
    				}
    				if err := os.Symlink(filepath.Join(base, "test2"), filepath.Join(base, "test1/dir")); err != nil {
    					return err
    				}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Nov 10 16:52:55 UTC 2021
    - 37.3K bytes
    - Viewed (0)
  2. pkg/volume/util/subpath/subpath_windows_test.go

    		{
    			volumePath:    testingVolumePath,
    			subPath:       filepath.Join(testingVolumePath, `x`),
    			expectError:   false,
    			symlinkTarget: "",
    		},
    		{
    			volumePath:    testingVolumePath,
    			subPath:       filepath.Join(testingVolumePath, `a\b\c\d`),
    			expectError:   false,
    			symlinkTarget: "",
    		},
    		{
    			volumePath:    testingVolumePath,
    			subPath:       filepath.Join(testingVolumePath, `symlink`),
    			expectError:   false,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 24 19:47:49 UTC 2021
    - 13.8K bytes
    - Viewed (0)
  3. src/path/filepath/path_test.go

    	touch(t, filepath.Join(td, "foo"))
    	touch(t, filepath.Join(td, "bar"))
    	dir := filepath.Join(td, "dir")
    	if err := os.MkdirAll(filepath.Join(td, "dir"), 0755); err != nil {
    		t.Fatal(err)
    	}
    	touch(t, filepath.Join(dir, "baz"))
    	touch(t, filepath.Join(dir, "stat-error"))
    	defer func() {
    		*filepath.LstatP = os.Lstat
    	}()
    	statErr := errors.New("some stat error")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 22 16:38:19 UTC 2024
    - 47.1K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiserver/pkg/server/options/encryptionconfig/controller/controller_test.go

    			var hashCalls, loadCalls int
    			d.loadEncryptionConfig = func(ctx context.Context, filepath string, reload bool, apiServerID string) (*encryptionconfig.EncryptionConfiguration, error) {
    				loadCalls++
    				queue.ctx = ctx
    				return test.mockLoadEncryptionConfig(ctx, filepath, reload, apiServerID)
    			}
    			d.getEncryptionConfigHash = func(ctx context.Context, filepath string) (string, error) {
    				hashCalls++
    				queue.ctx = ctx
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  5. pkg/apis/resource/validation/validation.go

    	}
    	if ref.UID == "" {
    		allErrs = append(allErrs, field.Required(fldPath.Child("uid"), ""))
    	}
    	return allErrs
    }
    
    // validateSliceIsASet ensures that a slice contains no duplicates and does not exceed a certain maximum size.
    func validateSliceIsASet[T comparable](slice []T, maxSize int, validateItem func(item T, fldPath *field.Path) field.ErrorList, fldPath *field.Path) field.ErrorList {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 09:18:10 UTC 2024
    - 28.3K bytes
    - Viewed (0)
  6. pkg/istio-agent/agent_test.go

    			a.Security.CredFetcher = plugin.CreateTokenPlugin(filepath.Join(env.IstioSrc, "pkg/istio-agent/testdata/token"))
    			a.ProxyConfig.ProxyMetadata = map[string]string{}
    			a.ProxyConfig.ProxyMetadata[MetadataClientCertChain] = filepath.Join(dir, "cert-chain.pem")
    			a.ProxyConfig.ProxyMetadata[MetadataClientCertKey] = filepath.Join(dir, "key.pem")
    			a.ProxyConfig.ProxyMetadata[MetadataClientRootCert] = filepath.Join(dir, "root-cert.pem")
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 16 22:12:28 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  7. src/cmd/go/internal/search/search.go

    			top = true
    			path = filepath.Clean(path)
    		}
    
    		// Avoid .foo, _foo, and testdata directory trees, but do not avoid "." or "..".
    		_, elem := filepath.Split(path)
    		dot := strings.HasPrefix(elem, ".") && elem != "." && elem != ".."
    		if dot || strings.HasPrefix(elem, "_") || elem == "testdata" {
    			return filepath.SkipDir
    		}
    
    		if !top && cfg.ModulesEnabled {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jan 31 20:33:05 UTC 2023
    - 15.4K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/test/pgo_inl_test.go

    	if err != nil {
    		t.Fatalf("error getting wd: %v", err)
    	}
    	srcDir := filepath.Join(wd, "testdata/pgo/inline")
    
    	// Copy the module to a scratch location so we can add a go.mod.
    	dir := t.TempDir()
    
    	for _, file := range []string{"inline_hot.go", "inline_hot_test.go", profFile} {
    		if err := copyFile(filepath.Join(dir, file), filepath.Join(srcDir, file)); err != nil {
    			t.Fatalf("error copying %s: %v", file, err)
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 11.1K bytes
    - Viewed (0)
  9. pkg/apis/autoscaling/validation/validation.go

    	allErrs := field.ErrorList{}
    
    	allErrs = append(allErrs, ValidateCrossVersionObjectReference(src.DescribedObject, fldPath.Child("describedObject"))...)
    	allErrs = append(allErrs, validateMetricIdentifier(src.Metric, fldPath.Child("metric"))...)
    	allErrs = append(allErrs, validateMetricTarget(src.Target, fldPath.Child("target"))...)
    
    	if src.Target.Value == nil && src.Target.AverageValue == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Feb 25 00:58:00 UTC 2024
    - 19.4K bytes
    - Viewed (0)
  10. pkg/apis/flowcontrol/validation/validation.go

    func ValidateNonResourceURLPath(path string, fldPath *field.Path) *field.Error {
    	if len(path) == 0 {
    		return field.Invalid(fldPath, path, "must not be empty")
    	}
    	if path == "/" { // root path
    		return nil
    	}
    
    	if !strings.HasPrefix(path, "/") {
    		return field.Invalid(fldPath, path, "must start with slash")
    	}
    	if strings.Contains(path, " ") {
    		return field.Invalid(fldPath, path, "must not contain white-space")
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Oct 30 22:22:51 UTC 2023
    - 26.7K bytes
    - Viewed (0)
Back to top