Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for CreatedBefore (0.26 sec)

  1. cmd/batch-expire_gen.go

    				return
    			}
    		case "CreatedBefore":
    			if dc.IsNil() {
    				err = dc.ReadNil()
    				if err != nil {
    					err = msgp.WrapError(err, "CreatedBefore")
    					return
    				}
    				z.CreatedBefore = nil
    			} else {
    				if z.CreatedBefore == nil {
    					z.CreatedBefore = new(time.Time)
    				}
    				*z.CreatedBefore, err = dc.ReadTime()
    				if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 01 12:53:30 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  2. cmd/batch-rotate.go

    	OlderThan     time.Duration `yaml:"olderThan,omitempty" json:"olderThan"`
    	CreatedAfter  time.Time     `yaml:"createdAfter,omitempty" json:"createdAfter"`
    	CreatedBefore time.Time     `yaml:"createdBefore,omitempty" json:"createdBefore"`
    	Tags          []BatchJobKV  `yaml:"tags,omitempty" json:"tags"`
    	Metadata      []BatchJobKV  `yaml:"metadata,omitempty" json:"metadata"`
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 18 17:59:03 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  3. cmd/batch-expire.go

    type BatchJobExpireFilter struct {
    	line, col     int
    	OlderThan     xtime.Duration      `yaml:"olderThan,omitempty" json:"olderThan"`
    	CreatedBefore *time.Time          `yaml:"createdBefore,omitempty" json:"createdBefore"`
    	Tags          []BatchJobKV        `yaml:"tags,omitempty" json:"tags"`
    	Metadata      []BatchJobKV        `yaml:"metadata,omitempty" json:"metadata"`
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 18 17:59:03 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  4. cmd/batch-replicate.go

    	OlderThan     xtime.Duration `yaml:"olderThan,omitempty" json:"olderThan"`
    	CreatedAfter  time.Time      `yaml:"createdAfter,omitempty" json:"createdAfter"`
    	CreatedBefore time.Time      `yaml:"createdBefore,omitempty" json:"createdBefore"`
    	Tags          []BatchJobKV   `yaml:"tags,omitempty" json:"tags"`
    	Metadata      []BatchJobKV   `yaml:"metadata,omitempty" json:"metadata"`
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 01 12:53:30 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  5. cmd/batch-expire_test.go

      rules:
        - type: object  # regular objects with zero or more older versions
          name: NAME # match object names that satisfy the wildcard expression.
          olderThan: 7d10h # match objects older than this value
          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:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 01 12:53:30 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  6. cmd/batch-replicate_gen.go

    			z.CreatedAfter, err = dc.ReadTime()
    			if err != nil {
    				err = msgp.WrapError(err, "CreatedAfter")
    				return
    			}
    		case "CreatedBefore":
    			z.CreatedBefore, err = dc.ReadTime()
    			if err != nil {
    				err = msgp.WrapError(err, "CreatedBefore")
    				return
    			}
    		case "Tags":
    			var zb0002 uint32
    			zb0002, err = dc.ReadArrayHeader()
    			if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 01 12:53:30 UTC 2024
    - 40.7K bytes
    - Viewed (0)
  7. cmd/batch-replicate_test.go

          newerThan: "7d10h31s" # match objects newer than this value (e.g. 7d10h31s)
          olderThan: "7d" # match objects older than this value (e.g. 7d10h31s)
    #      createdAfter: "date" # match objects created after "date"
    #      createdBefore: "date" # match objects created before "date"
    
          ## NOTE: tags are not supported when "source" is remote.
          tags:
             - key: "name"
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 01 12:53:30 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  8. cmd/batch-handlers.go

    			// skip all objects that are created before the specified time.
    			return true
    		}
    
    		if !r.Flags.Filter.CreatedBefore.IsZero() && r.Flags.Filter.CreatedBefore.Before(oi.ModTime) {
    			// skip all objects that are created after the specified time.
    			return true
    		}
    
    		if hasTags {
    			// Only parse object tags if tags filter is specified.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 18 15:32:09 UTC 2024
    - 62.2K bytes
    - Viewed (0)
Back to top