MCPcopy Create free account
hub / github.com/compozy/agh / WithForceRecoveryOptions

Function WithForceRecoveryOptions

internal/task/manager.go:208–212  ·  view source on GitHub ↗

WithForceRecoveryOptions injects config-backed force-operation policy.

(options ForceRecoveryOptions)

Source from the content-addressed store, hash-verified

206
207// WithForceRecoveryOptions injects config-backed force-operation policy.
208func WithForceRecoveryOptions(options ForceRecoveryOptions) Option {
209 return func(opts *managerOptions) {
210 opts.forceRecovery = options
211 }
212}
213
214// WithManagerNow overrides the manager clock for deterministic tests.
215func WithManagerNow(now func() time.Time) Option {

Callers 1

Calls

no outgoing calls

Tested by 1