executor

package
v0.8.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 24, 2025 License: MIT Imports: 9 Imported by: 0

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"
)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL