Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 86 for filters (4.41 sec)

  1. internal/s3select/select.go

    		}
    		// Suffix length
    		return -end, -1, nil
    	}
    	start = int64(*s.Start)
    	end := int64(*s.End)
    	return start, end - start + 1, nil
    }
    
    // S3Select - filters the contents on a simple structured query language (SQL) statement. It
    // represents elements inside <SelectRequest/> in request XML specified in detail at
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Nov 06 22:26:08 GMT 2023
    - 21K bytes
    - Viewed (0)
  2. cmd/batch-rotate.go

    		if !r.Flags.Filter.CreatedAfter.IsZero() && r.Flags.Filter.CreatedAfter.Before(info.ModTime) {
    			// skip all objects that are created before the specified time.
    			return false
    		}
    
    		if !r.Flags.Filter.CreatedBefore.IsZero() && r.Flags.Filter.CreatedBefore.After(info.ModTime) {
    			// skip all objects that are created after the specified time.
    			return false
    		}
    
    		if len(r.Flags.Filter.Tags) > 0 {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 14.2K bytes
    - Viewed (0)
  3. cmd/object_api_suite_test.go

    }
    
    // Wrapper for calling TestPaging for both Erasure and FS.
    func TestPaging(t *testing.T) {
    	ExecObjectLayerTest(t, testPaging)
    }
    
    // Tests validate creation of objects and the order of listing using various filters for ListObjects operation.
    func testPaging(obj ObjectLayer, instanceType string, t TestErrHandler) {
    	obj.MakeBucket(context.Background(), "bucket", MakeBucketOptions{})
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Feb 22 06:26:06 GMT 2024
    - 32.3K bytes
    - Viewed (0)
  4. cmd/batch-expire.go

    		// Only parse object tags if tags filter is specified.
    		var tagMap map[string]string
    		if len(obj.UserTags) != 0 {
    			t, err := tags.ParseObjectTags(obj.UserTags)
    			if err != nil {
    				return false
    			}
    			tagMap = t.ToMap()
    		}
    
    		for _, kv := range ef.Tags {
    			// Object (version) must match all tags specified in
    			// the filter
    			var match bool
    			for t, v := range tagMap {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 21K bytes
    - Viewed (1)
  5. cmd/object-api-utils.go

    	if hasStringSuffixInSlice(objStr, standardExcludeCompressExtensions) || hasPattern(standardExcludeCompressContentTypes, contentType) {
    		return true
    	}
    
    	// Filter compression includes.
    	if len(cfg.Extensions) == 0 && len(cfg.MimeTypes) == 0 {
    		// Nothing to filter, include everything.
    		return false
    	}
    
    	if len(cfg.Extensions) > 0 && hasStringSuffixInSlice(objStr, cfg.Extensions) {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 11 11:55:34 GMT 2024
    - 35.6K bytes
    - Viewed (1)
  6. internal/bucket/lifecycle/rule.go

    }
    
    // Tags - a rule can either have tag under <filter></filter> or under
    // <filter><and></and></filter>. This method returns all the tags from the
    // rule in the format tag1=value1&tag2=value2
    func (r Rule) Tags() string {
    	if !r.Filter.Tag.IsEmpty() {
    		return r.Filter.Tag.String()
    	}
    	if len(r.Filter.And.Tags) != 0 {
    		var buf bytes.Buffer
    		for _, t := range r.Filter.And.Tags {
    			if buf.Len() > 0 {
    				buf.WriteString("&")
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 01:11:10 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  7. cmd/batch-replicate_gen.go

    		zb0001--
    		field, err = dc.ReadMapKeyPtr()
    		if err != nil {
    			err = msgp.WrapError(err)
    			return
    		}
    		switch msgp.UnsafeString(field) {
    		case "Filter":
    			err = z.Filter.DecodeMsg(dc)
    			if err != nil {
    				err = msgp.WrapError(err, "Filter")
    				return
    			}
    		case "Notify":
    			err = z.Notify.DecodeMsg(dc)
    			if err != nil {
    				err = msgp.WrapError(err, "Notify")
    				return
    			}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Nov 22 18:51:46 GMT 2023
    - 40.6K bytes
    - Viewed (0)
  8. cmd/data-scanner_test.go

    	                       <Filter></Filter>
    	                       <Status>Enabled</Status>
    			       <ID>DeleteAllVersions</ID>
    	                    </Rule>
    	                 </LifecycleConfiguration>`
    	delMarkerILM := `<LifecycleConfiguration>
                                <Rule>
                                  <ID>DelMarkerExpiration</ID>
                                  <Filter></Filter>
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 11:18:58 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  9. cmd/erasure-server-pool.go

    				return false
    			}
    		}
    		for entry := range merged {
    			if opts.LatestOnly {
    				fi, err := entry.fileInfo(bucket)
    				if err != nil {
    					return
    				}
    				if opts.Filter != nil {
    					if opts.Filter(fi) {
    						if !send(fi.ToObjectInfo(bucket, fi.Name, vcfg != nil && vcfg.Versioned(fi.Name))) {
    							return
    						}
    					}
    				} else {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 03 20:08:20 GMT 2024
    - 80.5K bytes
    - Viewed (0)
  10. cmd/signature-v4-utils.go

    			//
    			// So it safe to assume that '100-continue' is what would
    			// be sent, for the time being keep this work around.
    			// Adding a *TODO* to remove this later when Golang server
    			// doesn't filter out the 'Expect' header.
    			extractedSignedHeaders.Set(header, "100-continue")
    		case "host":
    			// Go http server removes "host" from Request.Header
    			extractedSignedHeaders.Set(header, r.Host)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Jan 31 18:56:45 GMT 2024
    - 9K bytes
    - Viewed (0)
Back to top