Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 47 for pathPrefix (0.17 sec)

  1. internal/config/etcd/etcd.go

    		return nil, nil
    	}
    	cli, err := clientv3.New(cfg.Config)
    	if err != nil {
    		return nil, err
    	}
    	cli.KV = namespace.NewKV(cli.KV, cfg.PathPrefix)
    	cli.Watcher = namespace.NewWatcher(cli.Watcher, cfg.PathPrefix)
    	cli.Lease = namespace.NewLease(cli.Lease, cfg.PathPrefix)
    	return cli, nil
    }
    
    func parseEndpoints(endpoints string) ([]string, bool, error) {
    	etcdEndpoints := strings.Split(endpoints, config.ValueSeparator)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/api/BaseApiManager.java

        protected String pathPrefix;
    
        protected enum FormatType {
            SEARCH, LABEL, POPULARWORD, FAVORITE, FAVORITES, PING, SCROLL, SUGGEST, OTHER;
        }
    
        public String getPathPrefix() {
            return pathPrefix;
        }
    
        public void setPathPrefix(final String pathPrefix) {
            this.pathPrefix = pathPrefix;
        }
    
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. pilot/pkg/config/kube/gateway/testdata/isolation.yaml

        - "abc.foo.example.com" # request matching is prevented by the isolation of abc-foo-example-com listener
      rules:
        - matches:
            - path:
                type: PathPrefix
                value: /empty-hostname
          backendRefs:
            - name: infra-backend-v1
              port: 8080
    ---
    apiVersion: gateway.networking.k8s.io/v1
    kind: HTTPRoute
    metadata:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed May 08 20:24:52 UTC 2024
    - 4K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. pkg/ctrlz/ctrlz.go

    	return assets.ParseTemplate(layout, page)
    }
    
    func registerTopic(router *mux.Router, layout *template.Template, t fw.Topic) {
    	htmlRouter := router.NewRoute().PathPrefix("/" + t.Prefix() + "z").Subrouter()
    	jsonRouter := router.NewRoute().PathPrefix("/" + t.Prefix() + "j").Subrouter()
    
    	tmpl := template.Must(template.Must(layout.Clone()).Parse("{{ define \"title\" }}" + t.Title() + "{{ end }}"))
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Jun 11 21:22:53 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  9. pilot/pkg/security/authz/builder/testdata/http/extended-custom-http-provider-out2.yaml

            patterns:
            - exact: Authorization
              ignoreCase: true
            - ignoreCase: true
              prefix: x-prefix-
            - ignoreCase: true
              suffix: -suffix
        pathPrefix: /check
        serverUri:
          cluster: outbound|9000||my-custom-ext-authz.foo.svc.cluster.local
          timeout: 10s
          uri: http://my-custom-ext-authz.foo.svc.cluster.local
      statusOnError:
        code: Forbidden
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Mar 25 10:39:25 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  10. 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)
Back to top