Engine policy checker for chainloop attestations and materials
| 32 | |
| 33 | // Engine policy checker for chainloop attestations and materials |
| 34 | type Engine struct { |
| 35 | // operatingMode defines the mode of running the policy engine |
| 36 | // by restricting or not the operations allowed by the compiler |
| 37 | operatingMode EnvironmentMode |
| 38 | // Embed common engine options |
| 39 | *engine.CommonEngineOptions |
| 40 | } |
| 41 | |
| 42 | // NewEngine creates a new policy engine with the given options |
| 43 | // default operating mode is EnvironmentModeRestrictive |
nothing calls this directly
no outgoing calls
no test coverage detected