Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for NewerThan (0.09 sec)

  1. cmd/batch-rotate.go

    			return err
    		}
    	}
    	return nil
    }
    
    // BatchKeyRotateFilter holds all the filters currently supported for batch replication
    type BatchKeyRotateFilter struct {
    	NewerThan     time.Duration `yaml:"newerThan,omitempty" json:"newerThan"`
    	OlderThan     time.Duration `yaml:"olderThan,omitempty" json:"olderThan"`
    	CreatedAfter  time.Time     `yaml:"createdAfter,omitempty" json:"createdAfter"`
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 18 17:59:03 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  2. cmd/batch-replicate.go

    //       secretKey: "minioadmin"
    //       sessionToken: ""
    
    // BatchReplicateFilter holds all the filters currently supported for batch replication
    type BatchReplicateFilter struct {
    	NewerThan     xtime.Duration `yaml:"newerThan,omitempty" json:"newerThan"`
    	OlderThan     xtime.Duration `yaml:"olderThan,omitempty" json:"olderThan"`
    	CreatedAfter  time.Time      `yaml:"createdAfter,omitempty" json:"createdAfter"`
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 01 12:53:30 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  3. cmd/batch-replicate_gen.go

    		field, err = dc.ReadMapKeyPtr()
    		if err != nil {
    			err = msgp.WrapError(err)
    			return
    		}
    		switch msgp.UnsafeString(field) {
    		case "NewerThan":
    			err = z.NewerThan.DecodeMsg(dc)
    			if err != nil {
    				err = msgp.WrapError(err, "NewerThan")
    				return
    			}
    		case "OlderThan":
    			err = z.OlderThan.DecodeMsg(dc)
    			if err != nil {
    				err = msgp.WrapError(err, "OlderThan")
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 01 12:53:30 UTC 2024
    - 40.7K bytes
    - Viewed (0)
  4. cmd/batch-replicate_test.go

      # - configurable notification endpoints
      # - configurable retries for the job (each retry skips successfully previously replaced objects)
      flags:
        filter:
          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"
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 01 12:53:30 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  5. cmd/batch-handlers.go

    			// skip all objects that are newer than specified older duration
    			return true
    		}
    
    		if r.Flags.Filter.NewerThan > 0 && time.Since(oi.ModTime) >= r.Flags.Filter.NewerThan.D() {
    			// skip all objects that are older than specified newer duration
    			return true
    		}
    
    		if !r.Flags.Filter.CreatedAfter.IsZero() && r.Flags.Filter.CreatedAfter.After(oi.ModTime) {
    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