- Sort Score
- Num 10 results
- Language All
Results 1 - 3 of 3 for evts (0.02 seconds)
-
internal/bucket/lifecycle/lifecycle_test.go
evaluator := NewEvaluator(lc) evts := evaluator.eval([]ObjectOpts{obj1, obj2}, now) evt := evts[0] if evt.Action != TransitionAction { t.Fatalf("Expected action: %s but got %s", TransitionAction, evt.Action) } if evt.StorageClass != "TIER-1" { t.Fatalf("Expected TIER-1 but got %s", evt.StorageClass) } evt = evts[1] if evt.Action != TransitionVersionAction {
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 55.5K bytes - Click Count (0) -
cmd/erasure-server-pool.go
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() { // Skip entry if ILM action was DeleteVersionAction or DeleteAction
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 89.2K bytes - Click Count (0) -
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: // opts.DeletePrefix is used only in the above lifecycle Expiration actions.Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Oct 24 04:05:31 GMT 2025 - 80.4K bytes - Click Count (0)