Documentation
¶
Overview ¶
Package orchestrate provides CLI commands for CI/CD orchestration.
Index ¶
Constants ¶
View Source
const DefaultStateKey = "prerelease"
DefaultStateKey is used for state tracking when no environments are configured.
Variables ¶
This section is empty.
Functions ¶
func NewCommand ¶
NewCommand creates the orchestrate command with subcommands.
Types ¶
type Orchestrator ¶
type Orchestrator struct {
// contains filtered or unexported fields
}
Orchestrator handles CI/CD orchestration logic.
func NewOrchestrator ¶
func NewOrchestrator(configPath, manifestKey, environment string) (*Orchestrator, error)
NewOrchestrator creates a new Orchestrator.
func (*Orchestrator) Finalize ¶
func (o *Orchestrator) Finalize(headSHA, version string, deployResults, buildResults map[string]string) error
Finalize runs the finalize phase.
func (*Orchestrator) Setup ¶
func (o *Orchestrator) Setup(headSHA string) (*output.SetupResult, error)
Setup runs the setup phase and returns the result.
Click to show internal directories.
Click to hide internal directories.