Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for RetainVersions (0.3 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
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Dec 02 10:51:33 GMT 2023
    - 19.8K bytes
    - Viewed (0)
  2. 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
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 21K bytes
    - Viewed (1)
  3. 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
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 3K bytes
    - Viewed (0)
Back to top