deployment/

directory
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: Nov 10, 2026 License: Apache-2.0

Directories

Path Synopsis
Package api owns the infra that actually materializes a DeploymentIntent onto a backend — it does not decide which backend or strategy to use (that dispatch lives in pkg/apis/deployment/strategy and pkg/apis/deployment/reconcile).
Package api owns the infra that actually materializes a DeploymentIntent onto a backend — it does not decide which backend or strategy to use (that dispatch lives in pkg/apis/deployment/strategy and pkg/apis/deployment/reconcile).
Package application owns DeploymentService, the single entry point that orchestrates a Deployment's reconciliation: build a DeploymentIntent from resolved inputs (pkg/intent/deployment.IntentBuilder), execute it across the Imperative/GitOps axis (pkg/apis/deployment/reconcile.ReconciliationExecutor), then persist the outcome as CR status and conditions (StatusWriter).
Package application owns DeploymentService, the single entry point that orchestrates a Deployment's reconciliation: build a DeploymentIntent from resolved inputs (pkg/intent/deployment.IntentBuilder), execute it across the Imperative/GitOps axis (pkg/apis/deployment/reconcile.ReconciliationExecutor), then persist the outcome as CR status and conditions (StatusWriter).
Package domain holds the pure Deployment domain model: DeploymentSpec (the desired state), DeploymentResult/ServiceUnitResult (the outcome of a reconciliation), and the Runtime/Strategy/ReconciliationStrategy/Phase enums shared across pkg/apis/deployment's other layers.
Package domain holds the pure Deployment domain model: DeploymentSpec (the desired state), DeploymentResult/ServiceUnitResult (the outcome of a reconciliation), and the Runtime/Strategy/ReconciliationStrategy/Phase enums shared across pkg/apis/deployment's other layers.
Package reconcile dispatches a DeploymentIntent across the Imperative-vs- GitOps axis: apply the resolved workload live via pkg/apis/deployment/strategy.RuntimeProvider, or commit manifests for Flux to reconcile via pkg/apis/deployment/api.KustomizeStrategyProvider.
Package reconcile dispatches a DeploymentIntent across the Imperative-vs- GitOps axis: apply the resolved workload live via pkg/apis/deployment/strategy.RuntimeProvider, or commit manifests for Flux to reconcile via pkg/apis/deployment/api.KustomizeStrategyProvider.
render
builders
Package builders owns BuildDeployment and BuildService — pure functions that translate a DeploymentIntent and a single ServiceUnitIntent into Kubernetes object literals.
Package builders owns BuildDeployment and BuildService — pure functions that translate a DeploymentIntent and a single ServiceUnitIntent into Kubernetes object literals.
Package strategy dispatches a DeploymentIntent across the Runtime/Strategy axis: which backend to deploy to (Kubernetes, ECS, Knative) and, once a backend is chosen, which rollout strategy to run there (Rolling, BlueGreen).
Package strategy dispatches a DeploymentIntent across the Runtime/Strategy axis: which backend to deploy to (Kubernetes, ECS, Knative) and, once a backend is chosen, which rollout strategy to run there (Rolling, BlueGreen).

Jump to

Keyboard shortcuts

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