orchestrate

package
v0.14.0-dryrun.51 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2026 License: Apache-2.0 Imports: 14 Imported by: 0

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

func NewCommand() *cobra.Command

NewCommand creates the orchestrate command with subcommands.

Types

type Option added in v0.12.0

type Option func(*Orchestrator)

Option configures an Orchestrator at construction. Options are the additive extension point so new per-invocation scoping (such as a component selector) is never a breaking change to NewOrchestrator's positional signature.

func WithComponent added in v0.12.0

func WithComponent(name string) Option

WithComponent scopes the orchestration to the named declared component, so its version is derived from that component's path-scoped commits and strict tag namespace rather than the whole repo. An empty name is a no-op, preserving the single-component path.

type Orchestrator

type Orchestrator struct {
	// contains filtered or unexported fields
}

Orchestrator handles CI/CD orchestration logic.

func NewOrchestrator

func NewOrchestrator(configPath, manifestKey, environment string, opts ...Option) (*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.

Jump to

Keyboard shortcuts

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