Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 17 of 17 for Butcher (0.22 sec)

  1. internal/s3select/sql/stringfuncs.go

    		return strings.HasSuffix(text, string(s)), nil
    	}
    	return string(s) == text, nil
    }
    
    // matcher - Finds `pat` in `text`, and returns the part remainder of
    // `text`, after the match. If leadingPercent is false, `pat` must be
    // the prefix of `text`, otherwise it must be a substring.
    func matcher(text, pat string, leadingPercent bool) (res string, match bool) {
    	if !leadingPercent {
    		res = strings.TrimPrefix(text, pat)
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 4.2K bytes
    - Viewed (0)
  2. internal/config/etcd/etcd.go

    	if !cfg.Enabled {
    		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) {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Sep 04 19:57:37 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  3. cni/pkg/install/cniconfig_test.go

    					t.Fatalf("expected %s, got %s", expectedFilepath, result)
    				}
    				// Successful test case
    				return
    			}
    
    			// Handle chained CNI plugin cases
    			// Call with goroutine to test fsnotify watcher
    			parent, cancel := context.WithCancel(context.Background())
    			defer cancel()
    			resultChan, errChan := make(chan string, 1), make(chan error, 1)
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed May 17 02:22:22 GMT 2023
    - 15.4K bytes
    - Viewed (0)
  4. cmd/iam.go

    }
    
    func (sys *IAMSys) periodicRoutines(ctx context.Context, baseInterval time.Duration) {
    	// Watch for IAM config changes for iamStorageWatcher.
    	watcher, isWatcher := sys.store.IAMStorageAPI.(iamStorageWatcher)
    	if isWatcher {
    		go func() {
    			ch := watcher.watch(ctx, iamConfigPrefix)
    			for event := range ch {
    				if err := sys.loadWatchedEvent(ctx, event); err != nil {
    					// we simply log errors
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 71.1K bytes
    - Viewed (1)
  5. istioctl/pkg/writer/envoy/configdump/listener.go

    	n := match.GetMatcherTree().GetInput().GetName()
    
    	var m map[string]*matcher.Matcher_OnMatch
    	equality := "="
    	switch v := match.GetMatcherTree().GetTreeType().(type) {
    	case *matcher.Matcher_MatcherTree_ExactMatchMap:
    		m = v.ExactMatchMap.Map
    	case *matcher.Matcher_MatcherTree_PrefixMatchMap:
    		m = v.PrefixMatchMap.Map
    		equality = "^"
    	case *matcher.Matcher_MatcherTree_CustomMatch:
    		tc := v.CustomMatch.GetTypedConfig()
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Wed Nov 29 12:37:14 GMT 2023
    - 18.1K bytes
    - Viewed (0)
  6. cmd/object-api-utils.go

    	etag, ok := metadata["etag"]
    	if !ok {
    		// md5Sum tag is kept for backward compatibility.
    		etag = metadata["md5Sum"]
    	}
    	// Success.
    	return etag
    }
    
    // HasPrefix - Prefix matcher string matches prefix in a platform specific way.
    // For example on windows since its case insensitive we are supposed
    // to do case insensitive checks.
    func HasPrefix(s string, prefix string) bool {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Mar 11 11:55:34 GMT 2024
    - 35.6K bytes
    - Viewed (1)
  7. cmd/api-router.go

    				// is available and honored at this domain.
    				//
    				// All other `<bucket>.<namespace>.svc.<cluster_domain>`
    				// makes sure that buckets are routed through this matcher
    				// to match for `<bucket>`
    				return host != minioReservedBucket+"."+domainName
    			}).Host("{bucket:.+}."+domainName).Subrouter())
    		} else {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Mar 04 18:05:56 GMT 2024
    - 22.8K bytes
    - Viewed (0)
Back to top