Versions in this module Expand all Collapse all v0 v0.1.0 Apr 24, 2026 Changes in this version + func Dispatch(ctx context.Context, manifests []Manifest, hookCtx Context, ...) error + func IsVeto(err error) bool + type Client struct + func Spawn(ctx context.Context, m Manifest) (*Client, error) + func (c *Client) Call(ctx context.Context, method string, params any, out any) error + func (c *Client) Close() error + type Context struct + Branch string + Hook string + ProjectKey string + RemoteURL string + RepoSlug string + type HookResult struct + Allow bool + Mutate map[string]any + Reason string + type Manifest struct + Dir string + Entrypoint string + Hooks []string + Match Match + Name string + Version string + func Discover(pluginsDir string) ([]Manifest, error) + func (m Manifest) Matches(ctx Context) bool + type Match struct + BranchPrefix []string + ProjectKey []string + RemoteHost []string + RemoteRegex []string + RepoSlug []string + type VetoError struct + Hook string + Plugin string + Reason string + func (e *VetoError) Error() string v0.0.1-alpha Apr 24, 2026