apis/

directory
v0.8.8 Latest Latest
Warning

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

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

Directories

Path Synopsis
build
api
Package api implements the build provider layer for the BlanketOps Environments build domain.
Package api implements the build provider layer for the BlanketOps Environments build domain.
application
This file owns BackendSelector — the routing layer that maps a resolved BuildSpec to the correct build provider (Buildah, Kaniko, or Buildpacks).
This file owns BackendSelector — the routing layer that maps a resolved BuildSpec to the correct build provider (Buildah, Kaniko, or Buildpacks).
domain
This file owns the sentinel errors for the build domain.
This file owns the sentinel errors for the build domain.
deployment
api
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).
application
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).
domain
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.
reconcile
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.
strategy
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).
This file owns the sentinel errors for the Domain domain layer.
This file owns the sentinel errors for the Domain domain layer.
api
This file owns KnativeProvider — the implementation of the domain Provider interface that handles both TLS strategies via Knative networking and cert-manager.
This file owns KnativeProvider — the implementation of the domain Provider interface that handles both TLS strategies via Knative networking and cert-manager.
application
This file owns BackendSelector — the routing layer that maps a domain.Domain to the correct Provider implementation based on TLSStrategy.
This file owns BackendSelector — the routing layer that maps a domain.Domain to the correct Provider implementation based on TLSStrategy.
environment
api
Package api resolves the platform ClusterSecretStore name from the environment contract's secretStore provider declaration.
Package api resolves the platform ClusterSecretStore name from the environment contract's secretStore provider declaration.
githubevent
api
This file owns the Provider interface for the GitHubEvent domain — the contract that all event ingress backends must satisfy.
This file owns the Provider interface for the GitHubEvent domain — the contract that all event ingress backends must satisfy.
application
This file owns BackendSelector for the GitHubEvent domain.
This file owns BackendSelector for the GitHubEvent domain.
domain
This file owns the sentinel errors for the GitHubEvent domain.
This file owns the sentinel errors for the GitHubEvent domain.
gitrepository
api
packages
api
route
api
Package api — common.go
Package api — common.go
application
This file owns BackendSelector — the routing layer that maps a domain.Route to the correct Provider implementation based on the Runtime field.
This file owns BackendSelector — the routing layer that maps a domain.Route to the correct Provider implementation based on the Runtime field.
domain
This file owns the sentinel errors for the Route domain layer.
This file owns the sentinel errors for the Route domain layer.
serviceunit
application
This file owns Mapper — the translation layer between the resolved ServiceUnit contract and the domain ServiceUnit aggregate consumed by the application service.
This file owns Mapper — the translation layer between the resolved ServiceUnit contract and the domain ServiceUnit aggregate consumed by the application service.
domain
This file owns the sentinel errors for the ServiceUnit domain layer.
This file owns the sentinel errors for the ServiceUnit domain layer.
query
Package query holds the cross-CR lookups a ServiceUnit needs.
Package query holds the cross-CR lookups a ServiceUnit needs.

Jump to

Keyboard shortcuts

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