Documentation ¶
Overview ¶
Package hooks contains a runner that can run hook configured in config file. It uses an abstraction for different executors to make it possible to run different hooks in different executors.
Standard implementation contains an executor for simple commands and scripts. Scripts will use go-getter to download the script and run locally.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Runner ¶
type Runner struct {
// contains filtered or unexported fields
}
Runner that can execute hooks
Directories ¶
Path | Synopsis |
---|---|
Package command implements creator and executor interface to create a command executor that can execute any command line commands.
|
Package command implements creator and executor interface to create a command executor that can execute any command line commands. |
Package def contains definitions / interfaces used across hooks packages.
|
Package def contains definitions / interfaces used across hooks packages. |
Package script contains an execution creator that can download scripts using go-getter and then execute the local script.
|
Package script contains an execution creator that can download scripts using go-getter and then execute the local script. |
Click to show internal directories.
Click to hide internal directories.