- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for WithReplicationConfig (0.17 sec)
-
internal/bucket/lifecycle/evaluator.go
func (e *Evaluator) WithLockRetention(lr *objlock.Retention) *Evaluator { e.lockRetention = lr return e } // WithReplicationConfig - sets the replication configuration for the evaluator func (e *Evaluator) WithReplicationConfig(rcfg *replication.Config) *Evaluator { e.replCfg = rcfg return e } // IsPendingReplication checks if the object is pending replication.
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Tue Apr 08 15:41:24 UTC 2025 - 4.6K bytes - Viewed (0) -
cmd/data-scanner.go
} 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. bugLogIf(ctx, err, i.bucket, i.objectPath())
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 45.5K bytes - Viewed (0)