Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for ExpiredObjectAllVersions (0.26 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>
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Feb 21 20:28:34 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  2. 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
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Wed Feb 21 20:28:34 GMT 2024
    - 6.6K bytes
    - Viewed (1)
  3. 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
    
    Plain Text
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Aug 26 07:33:25 GMT 2023
    - 9K bytes
    - Viewed (1)
  4. internal/bucket/lifecycle/lifecycle_test.go

    		},
    		// Should delete expired object right away with 1 day expiration
    		{
    			inputConfig:        `<BucketLifecycleConfiguration><Rule><Expiration><Days>1</Days><ExpiredObjectAllVersions>true</ExpiredObjectAllVersions></Expiration><Filter></Filter><Status>Enabled</Status></Rule></BucketLifecycleConfiguration>`,
    			objectName:         "foodir/fooobject",
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Sat Mar 09 06:41:22 GMT 2024
    - 45.6K bytes
    - Viewed (0)
Back to top