Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 89 for pathPrefix (0.16 sec)

  1. pilot/pkg/security/authz/builder/extauthz.go

    	}
    	if config.PathPrefix != "" {
    		if _, err := url.Parse(config.PathPrefix); err != nil {
    			errs = multierror.Append(errs, multierror.Prefix(err, fmt.Sprintf("invalid pathPrefix %q:", config.PathPrefix)))
    		}
    		if !strings.HasPrefix(config.PathPrefix, "/") {
    			errs = multierror.Append(errs, fmt.Errorf("pathPrefix must begin with `/`, found: %q", config.PathPrefix))
    		}
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 20:06:41 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  2. pkg/config/validation/agent/extensionprovider.go

    		errs = AppendErrors(errs, err)
    	}
    	if config.PathPrefix != "" {
    		if _, err := url.Parse(config.PathPrefix); err != nil {
    			errs = AppendErrors(errs, fmt.Errorf("invalid pathPrefix %s: %v", config.PathPrefix, err))
    		}
    		if !strings.HasPrefix(config.PathPrefix, "/") {
    			errs = AppendErrors(errs, fmt.Errorf("pathPrefix should begin with `/` but found %q", config.PathPrefix))
    		}
    	}
    	return
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 20:06:41 UTC 2024
    - 11K bytes
    - Viewed (0)
  3. src/cmd/go/internal/modfetch/coderepo.go

    	if codeRoot != path {
    		if !hasPathPrefix(pathPrefix, codeRoot) {
    			return nil, fmt.Errorf("repository rooted at %s cannot contain module %s", codeRoot, path)
    		}
    		codeDir = strings.Trim(pathPrefix[len(codeRoot):], "/")
    	}
    
    	r := &codeRepo{
    		modPath:     path,
    		code:        code,
    		codeRoot:    codeRoot,
    		codeDir:     codeDir,
    		pathPrefix:  pathPrefix,
    		pathMajor:   pathMajor,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Apr 14 18:50:24 UTC 2024
    - 38.4K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/api/engine/SearchEngineApiManager.java

                    final String pathPrefix = ADMIN_SERVER + token;
                    if (!servletPath.startsWith(pathPrefix)) {
                        throw new WebApiException(HttpServletResponse.SC_FORBIDDEN, "Invalid access token.");
                    }
                    final String path;
                    final String value = servletPath.substring(pathPrefix.length());
                    if (!value.startsWith("/")) {
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu May 09 06:28:46 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  5. src/cmd/go/internal/vcs/vcs.go

    	}
    	for _, srv := range vcsPaths {
    		if !str.HasPathPrefix(importPath, srv.pathPrefix) {
    			continue
    		}
    		m := srv.regexp.FindStringSubmatch(importPath)
    		if m == nil {
    			if srv.pathPrefix != "" {
    				return nil, importErrorf(importPath, "invalid %s import path %q", srv.pathPrefix, importPath)
    			}
    			continue
    		}
    
    		// Build map of named subexpression matches for expand.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:30:18 UTC 2024
    - 46.2K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/storage/etcd3/store.go

    	// no-op for default prefix of '/registry'.
    	// keeps compatibility with etcd2 impl for custom prefixes that don't start with '/'
    	pathPrefix := path.Join("/", prefix)
    	if !strings.HasSuffix(pathPrefix, "/") {
    		// Ensure the pathPrefix ends in "/" here to simplify key concatenation later.
    		pathPrefix += "/"
    	}
    
    	w := &watcher{
    		client:        c,
    		codec:         codec,
    		newFunc:       newFunc,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 11:56:42 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/storage/etcd3/store_test.go

    		"/../foo",
    		"/foo/bar/../",
    		".",
    		"/.",
    		"./",
    		"/./",
    		"/foo/.",
    		"./bar",
    		"/foo/./bar/",
    	}
    	const (
    		pathPrefix   = "/first/second"
    		expectPrefix = pathPrefix + "/"
    	)
    	_, store, _ := testSetup(t, withPrefix(pathPrefix))
    
    	for _, key := range validKeys {
    		k, err := store.prepareKey(key)
    		if err != nil {
    			t.Errorf("key %q should be valid; unexpected error: %v", key, err)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 11 12:45:33 UTC 2024
    - 26.5K bytes
    - Viewed (0)
  8. cmd/iam-object-store.go

    		err = errNoSuchGroup
    	}
    	return err
    }
    
    // Lists objects in the minioMetaBucket at the given path prefix. All returned
    // items have the pathPrefix removed from their names.
    func listIAMConfigItems(ctx context.Context, objAPI ObjectLayer, pathPrefix string) <-chan itemOrErr[string] {
    	ch := make(chan itemOrErr[string])
    
    	go func() {
    		defer xioutil.SafeClose(ch)
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 19.5K bytes
    - Viewed (0)
  9. common-protos/k8s.io/api/policy/v1beta1/generated.proto

    message AllowedHostPath {
      // pathPrefix is the path prefix that the host volume must match.
      // It does not support `*`.
      // Trailing slashes are trimmed when validating the path prefix with a host path.
      //
      // Examples:
      // `/foo` would allow `/foo`, `/foo/` and `/foo/bar`
      // `/foo` would not allow `/food` or `/etc/foo`
      optional string pathPrefix = 1;
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  10. pilot/pkg/security/authz/builder/builder_test.go

    						Port:                         9000,
    						Timeout:                      &durationpb.Duration{Seconds: 10},
    						FailOpen:                     true,
    						StatusOnError:                "403",
    						PathPrefix:                   "/check",
    						IncludeRequestHeadersInCheck: []string{"x-custom-id", "x-prefix-*", "*-suffix"},
    						//nolint: staticcheck
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Apr 17 22:20:44 UTC 2024
    - 13.8K bytes
    - Viewed (0)
Back to top