Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for retainVersions (0.08 sec)

  1. cmd/batch-expire_gen.go

    				if err != nil {
    					err = msgp.WrapError(err, "Purge")
    					return
    				}
    				switch msgp.UnsafeString(field) {
    				case "RetainVersions":
    					z.Purge.RetainVersions, err = dc.ReadInt()
    					if err != nil {
    						err = msgp.WrapError(err, "Purge", "RetainVersions")
    						return
    					}
    				default:
    					err = dc.Skip()
    					if err != nil {
    						err = msgp.WrapError(err, "Purge")
    						return
    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-expire_test.go

            greaterThan: 1MiB # match objects with size greater than this value (e.g. 1MiB)
          purge:
              # retainVersions: 0 # (default) delete all versions of the object. This option is the fastest.
              # retainVersions: 5 # keep the latest 5 versions of the object.
      
        - type: deleted # objects with delete marker as their latest version
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 01 12:53:30 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  3. cmd/batch-expire.go

    //go:generate msgp -file $GOFILE
    
    // BatchJobExpirePurge type accepts non-negative versions to be retained
    type BatchJobExpirePurge struct {
    	line, col      int
    	RetainVersions int `yaml:"retainVersions" json:"retainVersions"`
    }
    
    var _ yaml.Unmarshaler = &BatchJobExpirePurge{}
    
    // UnmarshalYAML - BatchJobExpirePurge extends unmarshal to extract line, col
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Sep 18 17:59:03 UTC 2024
    - 21.9K bytes
    - Viewed (0)
Back to top