deploy

package
v1.27.0 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package deploy provides deployment orchestration for deployers.

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrClusterNotReady is returned when the cluster is not in a ready state.
	ErrClusterNotReady = errors.New("cluster is not ready")
)

Functions

func VerifyClusterReady

func VerifyClusterReady(ctx context.Context, manager cluster.Manager) error

VerifyClusterReady checks that the cluster is running and ready. Returns an error if the cluster is not in StateReady.

Types

type DeployerFilterFunc

type DeployerFilterFunc func(deployerName string) bool

DeployerFilterFunc is a predicate function that determines whether a deployer should be processed. It receives the deployer name and returns true if the deployer should be processed, false to skip.

type Orchestrator

type Orchestrator struct {
}

Orchestrator orchestrates deployment operations.

func NewOrchestrator

func NewOrchestrator() *Orchestrator

NewOrchestrator creates a new deployment orchestrator.

func (*Orchestrator) DeployAll

func (o *Orchestrator) DeployAll(ctx context.Context, caproniCfg *v2.CaproniConfig, filter DeployerFilterFunc) error

DeployAll deploys all deployers matching the filter predicate. If filter is nil, all deployers are deployed. Aborts on first deployment failure.

Jump to

Keyboard shortcuts

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