Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for MaxNoncurrentVersions (1.9 sec)

  1. internal/bucket/lifecycle/noncurrentversion.go

    		NewerNoncurrentVersions int            `xml:"NewerNoncurrentVersions,omitempty"`
    		MaxNoncurrentVersions   int            `xml:"MaxNoncurrentVersions,omitempty"`
    	}
    
    	var val noncurrentExpiration
    	err := d.DecodeElement(&val, &startElement)
    	if err != nil {
    		return err
    	}
    	if val.MaxNoncurrentVersions > 0 {
    		val.NewerNoncurrentVersions = val.MaxNoncurrentVersions
    	}
    	*n = NoncurrentVersionExpiration{
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Dec 14 17:41:44 UTC 2021
    - 5.3K bytes
    - Viewed (0)
  2. internal/bucket/lifecycle/lifecycle_test.go

    				NoncurrentDays:          1,
    				NewerNoncurrentVersions: 3,
    				set:                     true,
    			},
    		},
    		{
    			xml: `<NoncurrentVersionExpiration><NoncurrentDays>2</NoncurrentDays><MaxNoncurrentVersions>4</MaxNoncurrentVersions></NoncurrentVersionExpiration>`,
    			expected: NoncurrentVersionExpiration{
    				XMLName: xml.Name{
    					Local: "NoncurrentVersionExpiration",
    				},
    				NoncurrentDays:          2,
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 55.5K bytes
    - Viewed (0)
  3. cmd/api-errors.go

    		HTTPStatusCode: http.StatusNotFound,
    	},
    	ErrInvalidLifecycleWithObjectLock: {
    		Code:           "InvalidLifecycleWithObjectLock",
    		Description:    "The lifecycle configuration containing MaxNoncurrentVersions is not supported with object locking",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    	ErrNoSuchBucketSSEConfig: {
    		Code:           "ServerSideEncryptionConfigurationNotFoundError",
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed Apr 16 07:34:24 UTC 2025
    - 93K bytes
    - Viewed (3)
Back to top