Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for evalActionFromLifecycle (0.09 sec)

  1. cmd/erasure-object.go

    			// based on the latest objectInfo and see if the object still
    			// qualifies for deletion.
    			if gerr == nil {
    				var isErr bool
    				evt := evalActionFromLifecycle(ctx, *lc, rcfg, replcfg, goi)
    				switch evt.Action {
    				case lifecycle.DeleteAllVersionsAction, lifecycle.DelMarkerDeleteAllVersionsAction:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 78.8K bytes
    - Viewed (0)
  2. cmd/erasure-server-pool.go

    			objInfo, err := z.GetObjectInfo(ctx, bucket, path.Dir(prefix), ObjectOptions{NoLock: true})
    			if err == nil || objInfo.IsLatest && objInfo.DeleteMarker {
    				if opts.Lifecycle != nil {
    					evt := evalActionFromLifecycle(ctx, *opts.Lifecycle, opts.Retention, opts.Replication.Config, objInfo)
    					if evt.Action.Delete() {
    						globalExpiryState.enqueueByDays(objInfo, evt, lcEventSrc_s3ListObjects)
    						if !evt.Action.DeleteRestored() {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Sep 29 22:40:36 UTC 2024
    - 89.8K bytes
    - Viewed (0)
Back to top