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 ¶
Types ¶
type DeployerFilterFunc ¶
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.
Click to show internal directories.
Click to hide internal directories.