engine

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DeployJob

type DeployJob struct {
	Steps []steps.DeployStep
}

DeployJob executes a sequence of deployment steps in order.

A job is made up of ordered deployment steps. Each step runs one at a time, and the job stops immediately if any step fails.

func (*DeployJob) Run

Run executes each deployment step and stops on the first failure.

type Deployer

type Deployer interface {
	Deploy() (*DeploymentResult, error)
}

Deployer defines the behavior required for deployment implementations.

type DeploymentResult

type DeploymentResult struct {
	DeploymentName string
	Success        bool
	Started        time.Time
	Finished       time.Time
	StepResults    []DeploymentStepResult
}

DeploymentResult represents the overall deployment execution result.

type DeploymentStepResult

type DeploymentStepResult struct {
	StepName string
	Success  bool
	Started  time.Time
	Finished time.Time
	Error    string
}

DeploymentStepResult represents the result of a single deployment step.

Jump to

Keyboard shortcuts

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