Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for ExpiredObjectAllVersions (0.14 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Feb 21 20:28:34 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  2. 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu May 23 01:12:48 UTC 2024
    - 55.1K bytes
    - Viewed (0)
  3. 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Feb 21 20:28:34 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  4. cmd/data-scanner_test.go

    		NumVersions:  4,
    	}
    	deleteAllILM := `<LifecycleConfiguration>
    			    <Rule>
    		               <Expiration>
    		                  <Days>30</Days>
    	                          <ExpiredObjectAllVersions>true</ExpiredObjectAllVersions>
    	                       </Expiration>
    	                       <Filter></Filter>
    	                       <Status>Enabled</Status>
    			       <ID>DeleteAllVersions</ID>
    	                    </Rule>
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 03 11:18:58 UTC 2024
    - 6.9K 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jul 09 01:45:38 UTC 2024
    - 9K 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 Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu May 23 01:12:48 UTC 2024
    - 17.9K bytes
    - Viewed (0)
Back to top