package
0.0.0-20241124183659-bba8be701433
Repository: https://github.com/captainhook-go/captainhook.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

ActionResult is the way to communicate the result of an action to the hook runner It contains the action output and errors It also knows if all events where dispatched correctly If you execute actions concurrently the channel is collection action results.
ActionRunner executes an action Besides executing the action the runner triggers the relevant events.
ConditionRunner executes conditions If the execution is successful the condition is considered true.
ConfigInfo blah blah.
HookRunner executes all configured actions for the executed hook.
Initializer creates an empty CaptainHook configuration file Is used to set up a empty dummy configuration.
Installer is responsible to write the hook files into your local .git/hooks directory Normally it makes sure you don't overwrite your existing git hooks.
Uninstaller is responsible to delete the hook files from your local .git/hooks directory Normally it makes sure to ask for confirmation.