Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for MaxNoncurrentVersions (0.43 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 Nov 03 19:28:11 UTC 2024
    - 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu May 23 01:12:48 UTC 2024
    - 55.1K 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 22:13:18 UTC 2024
    - 92.1K bytes
    - Viewed (0)
Back to top