Documentation
¶
Index ¶
Constants ¶
View Source
const Version = "v1"
Version indicates the version of the 'Spec' struct used to hold 'Hooks' information.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EnvsMap ¶
EnvsMap holds the (key, value) pairs associated with a set of environment variables.
type HookSpec ¶
type HookSpec struct { Command string `json:"command"` Args []string `json:"args"` Envs EnvsMap `json:"envs"` Workdir string `json:"workdir"` }
HookSpec holds the actual data associated with a runnable Hook.
type HooksMap ¶
HooksMap holds (key, value) pairs mapping a list of HookSpec's to a named hook.
Click to show internal directories.
Click to hide internal directories.