Documentation ¶ Index ¶ func AllowAll(agent string) string func Approval(agent, decision, reason string) string Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func AllowAll ¶ func AllowAll(agent string) string AllowAll returns a fail-open approval response for the given agent. func Approval ¶ func Approval(agent, decision, reason string) string Approval returns JSON for a hook approval decision formatted for the given agent. The decision parameter uses graith's internal values ("allow", "block", "deny"). Each agent maps these to its own hook schema vocabulary. Types ¶ This section is empty. Source Files ¶ View all Source files hookoutput.go Click to show internal directories. Click to hide internal directories.