Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for ExpiredObjectDeleteMarker (0.17 sec)

  1. internal/bucket/lifecycle/expiration_test.go

                                        </Expiration>`,
    			expectedErr: errLifecycleInvalidExpiration,
    		},
    		{ // Expiration with both ExpiredObjectDeleteMarker and days
    			inputXML: `<Expiration>
                                        <Days>3</Days>
    			            <ExpiredObjectDeleteMarker>false</ExpiredObjectDeleteMarker>
                                        </Expiration>`,
    			expectedErr: errLifecycleInvalidDeleteMarker,
    		},
    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.go

    	TransitionStatus string
    	RestoreOngoing   bool
    	RestoreExpires   time.Time
    }
    
    // ExpiredObjectDeleteMarker returns true if an object version referred to by o
    // is the only version remaining and is a delete marker. It returns false
    // otherwise.
    func (o ObjectOpts) ExpiredObjectDeleteMarker() bool {
    	return o.DeleteMarker && o.NumVersions == 1
    }
    
    // Event contains a lifecycle action with associated info
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu May 23 01:12:48 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  3. internal/bucket/lifecycle/expiration.go

    	if eDate.Time.IsZero() {
    		return nil
    	}
    	return e.EncodeElement(eDate.Format(time.RFC3339), startElement)
    }
    
    // ExpireDeleteMarker represents value of ExpiredObjectDeleteMarker field in Expiration XML element.
    type ExpireDeleteMarker struct {
    	Boolean
    }
    
    // Boolean signifies a boolean XML struct with custom marshaling
    type Boolean struct {
    	val    bool
    	set    bool
    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. docs/bucket/lifecycle/README.md

    ```
    {
        "Rules": [
            {
                "ID": "Removing all delete markers",
                "Expiration": {
                    "ExpiredObjectDeleteMarker": true
                },
                "Status": "Enabled"
            }
        ]
    }
    ```
    
    ## 4. Enable ILM transition feature
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jul 09 01:45:38 UTC 2024
    - 9K bytes
    - Viewed (0)
  5. internal/bucket/lifecycle/lifecycle_test.go

    			expectedAction: DeleteAction,
    		},
    		// Should delete expired delete marker right away
    		{
    			inputConfig:    `<BucketLifecycleConfiguration><Rule><Expiration><ExpiredObjectDeleteMarker>true</ExpiredObjectDeleteMarker></Expiration><Filter></Filter><Status>Enabled</Status></Rule></BucketLifecycleConfiguration>`,
    			objectName:     "foodir/fooobject",
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu May 23 01:12:48 UTC 2024
    - 55.1K bytes
    - Viewed (0)
Back to top