Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for newerThan (0.12 sec)

  1. cmd/update-notifier.go

    	t := time.Time{}
    	newerThan := humanize.RelTime(t, t.Add(older), "before the latest release", "")
    
    	if globalServerCtxt.JSON {
    		return fmt.Sprintf("You are running an older version of MinIO released %s, update: %s", newerThan, downloadURL)
    	}
    
    	// Return the nicely colored and formatted update message.
    	return colorizeUpdateMessage(downloadURL, newerThan)
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Mar 09 03:07:08 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  2. cmd/batch-rotate_gen.go

    		zb0001--
    		field, err = dc.ReadMapKeyPtr()
    		if err != nil {
    			err = msgp.WrapError(err)
    			return
    		}
    		switch msgp.UnsafeString(field) {
    		case "NewerThan":
    			z.NewerThan, err = dc.ReadDuration()
    			if err != nil {
    				err = msgp.WrapError(err, "NewerThan")
    				return
    			}
    		case "OlderThan":
    			z.OlderThan, err = dc.ReadDuration()
    			if err != nil {
    				err = msgp.WrapError(err, "OlderThan")
    				return
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Dec 02 10:51:33 UTC 2023
    - 27.1K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. docs/batch-jobs/README.md

    	#   secretKey: SECRET-KEY
    	#   sessionToken: SESSION-TOKEN # Available when rotating credentials are used
    
      # optional flags based filtering criteria
      # for all source objects
      flags:
    	filter:
    	  newerThan: "7d" # 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 Oct 06 06:00:43 UTC 2022
    - 4.8K bytes
    - Viewed (0)
  8. 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