package
Version:
v1.17.0
Opens a new window with list of versions in this module.
Published: May 12, 2026
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type EnforcementResult struct {
Allowed bool
RequiresApproval bool
Reason string
}
EnforcementResult describes the outcome of a policy check.
Enforcer validates job capabilities against environment policies.
NewEnforcer creates a new policy enforcer.
Enforce checks whether the given capabilities are permitted by the policies.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.