Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HookExecutor ¶
type HookExecutor struct {
// contains filtered or unexported fields
}
func NewHookExecutor ¶
func NewHookExecutor(hook *configuration.Hook, gitCommandArguments []string, env map[string]string) *HookExecutor
func (*HookExecutor) Run ¶
func (h *HookExecutor) Run()
func (*HookExecutor) RunStep ¶
func (h *HookExecutor) RunStep(step *configuration.Step)
func (*HookExecutor) WithExitOnStepError ¶
func (h *HookExecutor) WithExitOnStepError() *HookExecutor
type StepExecutionStatus ¶
type StepExecutionStatus string
const ( StepExecutionStatusPending StepExecutionStatus = "pending" StepExecutionStatusRunning StepExecutionStatus = "running" StepExecutionStatusSuccess StepExecutionStatus = "success" StepExecutionStatusFailed StepExecutionStatus = "failed" )
Click to show internal directories.
Click to hide internal directories.