Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 98 for path_prefix (0.32 sec)

  1. docs/config/README.md

    ```
    KEY:
    etcd  federate multiple clusters for IAM and Bucket DNS
    
    ARGS:
    endpoints*       (csv)       comma separated list of etcd endpoints e.g. "http://localhost:2379"
    path_prefix      (path)      namespace prefix to isolate tenants e.g. "customer1/"
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Sep 11 21:48:54 UTC 2023
    - 17.7K bytes
    - Viewed (0)
  2. cmd/admin-handlers-users_test.go

    	ctx, cancel := context.WithTimeout(context.Background(), testDefaultTimeout)
    	defer cancel()
    
    	configCmds := []string{
    		"etcd",
    		"endpoints=" + etcdServer,
    		"path_prefix=" + mustGetUUID(),
    	}
    	_, err := s.adm.SetConfigKV(ctx, strings.Join(configCmds, " "))
    	if err != nil {
    		c.Fatalf("unable to setup Etcd for tests: %v", err)
    	}
    
    	s.RestartIAMSuite(c)
    }
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 45.7K 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. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top