Skip to main content

Module policy

Module policy 

Source
Expand description

Static operation policy, sparse runtime overlays and per-invocation resolution.

Structs§

MismatchLogging
Content of the one warning emitted per confirmed shadow mismatch. Both leaves default off, and the warning is emitted when either is on.
Policy
Static caching policy of one operation. Omitted leaves use library defaults or are overridden by a runtime overlay.
PolicyDefaults
Instance defaults consulted during resolution.
PolicyError
Why a whole invocation’s policy could not be resolved.
ResolvedLayer
One serving layer after resolution.
ResolvedPolicy
The captured policy of one enabled invocation.
ResolvedShadow
Shadow policy after resolution.
RuntimePolicy
A sparse runtime overlay returned by a PolicyProvider.
ShadowPolicy
Per-use-case shadow validation policy.

Enums§

MismatchDiff
How much of the structural difference a confirmed-mismatch warning logs. The levels are ordered: each logs everything the previous one does.

Functions§

resolve_policy
Merge a static policy with a sparse overlay once, for one logical key.