Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for DeleteVersioned (0.14 sec)

  1. internal/bucket/lifecycle/lifecycle.go

    func (a Action) DeleteRestored() bool {
    	return a == DeleteRestoredAction || a == DeleteRestoredVersionAction
    }
    
    // DeleteVersioned - Returns true if action demands delete on a versioned object
    func (a Action) DeleteVersioned() bool {
    	return a == DeleteVersionAction || a == DeleteRestoredVersionAction
    }
    
    // DeleteAll - Returns true if the action demands deleting all versions of an object
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu May 23 01:12:48 UTC 2024
    - 17.9K bytes
    - Viewed (0)
  2. cmd/bucket-lifecycle.go

    	traceFn := globalLifecycleSys.trace(*oi)
    	opts := ObjectOptions{
    		Versioned:  globalBucketVersioningSys.PrefixEnabled(oi.Bucket, oi.Name),
    		Expiration: ExpirationOptions{Expire: true},
    	}
    	if lcEvent.Action.DeleteVersioned() {
    		opts.VersionID = oi.VersionID
    	}
    	tags := newLifecycleAuditEvent(src, lcEvent).Tags()
    	if lcEvent.Action.DeleteRestored() {
    		// delete locally restored copy of object or object version
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Oct 23 15:35:37 UTC 2024
    - 33.7K bytes
    - Viewed (0)
  3. cmd/data-scanner.go

    	traceFn := globalLifecycleSys.trace(obj)
    	opts := ObjectOptions{
    		Expiration: ExpirationOptions{Expire: true},
    	}
    
    	if lcEvent.Action.DeleteVersioned() {
    		opts.VersionID = obj.VersionID
    	}
    
    	opts.Versioned = globalBucketVersioningSys.PrefixEnabled(obj.Bucket, obj.Name)
    	opts.VersionSuspended = globalBucketVersioningSys.PrefixSuspended(obj.Bucket, obj.Name)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 21:10:34 UTC 2024
    - 48.4K bytes
    - Viewed (0)
Back to top