Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for ExpiredObjectAllVersions (0.09 sec)

  1. internal/bucket/lifecycle/expiration_test.go

    		},
    		{ // Expiration with a valid number of days and ExpiredObjectAllVersions
    			inputXML: `<Expiration>
    									<Days>3</Days>
    			            <ExpiredObjectAllVersions>true</ExpiredObjectAllVersions>
                                        </Expiration>`,
    			expectedErr: nil,
    		},
    		{ // Expiration with a valid ISO 8601 date and ExpiredObjectAllVersions
    			inputXML: `<Expiration>
    									<Date>2019-04-20T00:00:00Z</Date>
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed Feb 21 20:28:34 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  2. cmd/data-scanner_test.go

                           <Value>true</Value>
                           </Tag>
                   </Filter>
                   <Expiration>
                           <Days>1</Days>
    	               <ExpiredObjectAllVersions>true</ExpiredObjectAllVersions>
                   </Expiration>
           </Rule>
    </LifecycleConfiguration>
    `
    	lc, err := lifecycle.ParseLifecycleConfig(strings.NewReader(lcXML))
    	if err != nil {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 12K bytes
    - Viewed (0)
  3. internal/bucket/lifecycle/lifecycle_test.go

    			expectedParsingErr:    nil,
    			expectedValidationErr: nil,
    		},
    		{ // Using ExpiredObjectAllVersions element with an object locked bucket
    			inputConfig: `<LifecycleConfiguration>
                                            <Rule>
                                              <ID>ExpiredObjectAllVersions with object locking</ID>
    		                          <Filter>
    		                             <Prefix>prefix</Prefix>
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 55.5K bytes
    - Viewed (0)
  4. internal/bucket/lifecycle/expiration.go

    	errLifecycleDateNotMidnight     = Errorf("'Date' must be at midnight GMT")
    	errLifecycleInvalidDeleteAll    = Errorf("Days (positive integer) should be present inside Expiration with ExpiredObjectAllVersions.")
    )
    
    // ExpirationDays is a type alias to unmarshal Days in Expiration
    type ExpirationDays int
    
    // UnmarshalXML parses number of days from Expiration and validates if
    // greater than zero
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Mar 30 00:56:02 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  5. docs/bucket/lifecycle/README.md

                "Status": "Enabled",
                "Filter": {
                    "Prefix": "users-uploads/"
                },
                "Expiration": {
                    "Days": 7,
                    "ExpiredObjectAllVersions": true
                }
            }
        ]
    }
    ```
    
    ### 3.3 Automatic removal of delete markers with no other versions
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  6. internal/bucket/lifecycle/lifecycle.go

    	errXMLNotWellFormed      = Errorf("The XML you provided was not well-formed or did not validate against our published schema")
    	errLifecycleBucketLocked = Errorf("ExpiredObjectAllVersions element and DelMarkerExpiration action cannot be used on an object locked bucket")
    )
    
    const (
    	// TransitionComplete marks completed transition
    	TransitionComplete = "complete"
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Thu Apr 03 06:45:06 UTC 2025
    - 18.2K bytes
    - Viewed (0)
Back to top