- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for NewEvaluator (0.17 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
internal/bucket/lifecycle/lifecycle_test.go
IsLatest: true, ModTime: now, } obj2 := ObjectOpts{ Name: "obj2", ModTime: now, } // Go back seven days in the past now = now.Add(7 * 24 * time.Hour) 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) }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/data-scanner.go
return } objOpts := make([]lifecycle.ObjectOpts, len(objInfos)) for i, oi := range objInfos { objOpts[i] = oi.ToLifecycleOpts() } evaluator := lifecycle.NewEvaluator(*i.lifeCycle).WithLockRetention(&lr).WithReplicationConfig(i.replication.Config) events, err := evaluator.Eval(objOpts) if err != nil { // This error indicates that the objOpts passed to Eval is invalid.
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 45.5K bytes - Click Count (0)