Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 255 for match (0.18 sec)

  1. cmd/batch-expire_test.go

          createdBefore: "2006-01-02T15:04:05.00Z" # match objects created before "date"
          tags:
            - key: name
              value: pick* # match objects with tag 'name', all values starting with 'pick'
          metadata:
            - key: content-type
              value: image/* # match objects with 'content-type', all values starting with 'image/'
          size:
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 3K bytes
    - Viewed (0)
  2. cmd/object-handlers-common.go

    // operation should not proceed. Preconditions supported are:
    //
    //	x-amz-copy-source-if-modified-since
    //	x-amz-copy-source-if-unmodified-since
    //	x-amz-copy-source-if-match
    //	x-amz-copy-source-if-none-match
    func checkCopyObjectPartPreconditions(ctx context.Context, w http.ResponseWriter, r *http.Request, objInfo ObjectInfo) bool {
    	return checkCopyObjectPreconditions(ctx, w, r, objInfo)
    }
    
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Apr 09 08:17:49 GMT 2024
    - 14.6K bytes
    - Viewed (0)
  3. cmd/batch-handlers.go

    					continue
    				}
    
    				batch = append(batch, obj)
    
    				if len(batch) < *r.Source.Snowball.Batch {
    					continue
    				}
    				writeFn(batch)
    				batch = batch[:0]
    			}
    			writeFn(batch)
    			xioutil.SafeClose(slowCh)
    		}()
    	} else {
    		slowCh = walkCh
    	}
    
    	workerSize, err := strconv.Atoi(env.Get("_MINIO_BATCH_REPLICATION_WORKERS", strconv.Itoa(runtime.GOMAXPROCS(0)/2)))
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Mon Apr 08 14:11:38 GMT 2024
    - 55.2K bytes
    - Viewed (0)
  4. misc/go_android_exec/main.go

    	f.buf.Write(data)
    	// Flush to w until a potential match of exitRe
    	b := f.buf.Bytes()
    	match := f.exitRe.FindIndex(b)
    	if match == nil {
    		// Flush all of the buffer.
    		_, err := f.w.Write(b)
    		f.buf.Reset()
    		if err != nil {
    			return n, err
    		}
    	} else {
    		// Flush up to the beginning of the (potential) match.
    		_, err := f.w.Write(b[:match[0]])
    		f.buf.Next(match[0])
    		if err != nil {
    			return n, err
    		}
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Aug 21 17:46:57 GMT 2023
    - 15.3K bytes
    - Viewed (0)
  5. internal/handlers/proxy.go

    		// with the approach we took for returning first ip from multiple
    		// params.
    		if match := forRegex.FindStringSubmatch(proto); len(match) > 1 {
    			if match = protoRegex.FindStringSubmatch(match[2]); len(match) > 1 {
    				scheme = strings.ToLower(match[2])
    			}
    		}
    	}
    
    	return scheme
    }
    
    // GetSourceIPFromHeaders retrieves the IP from the X-Forwarded-For, X-Real-IP
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Fri Dec 22 00:56:55 GMT 2023
    - 5.1K bytes
    - Viewed (0)
  6. istioctl/pkg/describe/describe.go

    	}
    	return strings.Join(matches, ", ")
    }
    
    func renderMatch(match *v1alpha3.HTTPMatchRequest) string {
    	retval := "Match: "
    	// TODO Are users interested in seeing Scheme, Method, Authority?
    	if match.Uri != nil {
    		retval += renderStringMatch(match.Uri)
    
    		if match.IgnoreUriCase {
    			retval += " uncased"
    		}
    	}
    
    	if len(match.Headers) > 0 {
    		headerConds := []string{}
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Sat Apr 13 05:23:38 GMT 2024
    - 50.4K bytes
    - Viewed (0)
  7. istioctl/pkg/tag/tag_test.go

    		},
    		{
    			name: "TestDeleteTagWithDependentNamespace",
    			tag:  "match",
    			webhooksBefore: admitv1.MutatingWebhookConfigurationList{
    				Items: []admitv1.MutatingWebhookConfiguration{
    					{
    						ObjectMeta: metav1.ObjectMeta{
    							Name:   "istio-revision-tag-match",
    							Labels: map[string]string{IstioTagLabel: "match"},
    						},
    					},
    				},
    			},
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Fri Nov 17 22:41:06 GMT 2023
    - 8.7K bytes
    - Viewed (0)
  8. internal/event/rulesmap.go

    func (rulesMap RulesMap) MatchSimple(eventName Name, objectName string) bool {
    	return rulesMap[eventName].MatchSimple(objectName)
    }
    
    // Match - returns TargetIDSet matching object name and event name in rules map.
    func (rulesMap RulesMap) Match(eventName Name, objectName string) TargetIDSet {
    	return rulesMap[eventName].Match(objectName)
    }
    
    // NewRulesMap - creates new rules map with given values.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Jun 01 21:59:40 GMT 2021
    - 2.6K bytes
    - Viewed (0)
  9. cni/pkg/repair/repair_test.go

    			false,
    		},
    		{
    			"Check termination message match false",
    			config.RepairConfig{
    				SidecarAnnotation:  "sidecar.istio.io/status",
    				InitContainerName:  constants.ValidationContainerName,
    				InitTerminationMsg: "Termination Message",
    			},
    			makeDetectPod(
    				"TerminationMessageMatchFalse",
    				"This Does Not Match",
    				0),
    			false,
    		},
    		{
    Go
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Tue Oct 24 03:31:28 GMT 2023
    - 10.6K bytes
    - Viewed (0)
  10. internal/etag/reader.go

    	sum := r.md5.Sum(nil)
    	return ETag(sum)
    }
    
    // VerifyError is an error signaling that a
    // computed ETag does not match an expected
    // ETag.
    type VerifyError struct {
    	Expected ETag
    	Computed ETag
    }
    
    func (v VerifyError) Error() string {
    	return fmt.Sprintf("etag: expected ETag %q does not match computed ETag %q", v.Expected, v.Computed)
    }
    
    // UUIDHash - use uuid to make md5sum
    type UUIDHash struct {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 4.8K bytes
    - Viewed (0)
Back to top