pkg/

directory
v0.8.7 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2026 License: Apache-2.0

Directories

Path Synopsis
apis
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.
build/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).
build/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).
deployment/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).
deployment/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.
deployment/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.
deployment/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.
deployment/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).
domain/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.
domain/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.
domain/domain
This file owns the sentinel errors for the Domain domain layer.
This file owns the sentinel errors for the Domain domain layer.
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.
githubevent/application
This file owns BackendSelector for the GitHubEvent domain.
This file owns BackendSelector for the GitHubEvent domain.
githubevent/domain
This file owns the sentinel errors for the GitHubEvent domain.
This file owns the sentinel errors for the GitHubEvent domain.
route/api
Package api — common.go
Package api — common.go
route/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.
route/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.
serviceunit/domain
This file owns the sentinel errors for the ServiceUnit domain layer.
This file owns the sentinel errors for the ServiceUnit domain layer.
serviceunit/query
Package query holds the cross-CR lookups a ServiceUnit needs.
Package query holds the cross-CR lookups a ServiceUnit needs.
intent
deployment
Package deployment owns DeploymentIntent — the Kubernetes-free, fully resolved plan for a Deployment, built once its ResolvedDeployment and ResolvedServiceUnits are known.
Package deployment owns DeploymentIntent — the Kubernetes-free, fully resolved plan for a Deployment, built once its ResolvedDeployment and ResolvedServiceUnits are known.
package
Package intent (imported as pkg/intent/package — "package" is a Go keyword, so the directory is named singular while the package itself is still named intent, matching pkg/intent/deployment and pkg/intent/serviceunit's naming) owns PackageIntent, the compiled, immutable execution plan for a Package CR: its stable identity, manifest source, GitOps state repository, and apply strategy.
Package intent (imported as pkg/intent/package — "package" is a Go keyword, so the directory is named singular while the package itself is still named intent, matching pkg/intent/deployment and pkg/intent/serviceunit's naming) owns PackageIntent, the compiled, immutable execution plan for a Package CR: its stable identity, manifest source, GitOps state repository, and apply strategy.
serviceunit
Package serviceunit owns ServiceUnitIntent and its constructor, ResolveServiceUnitIntent — a ServiceUnit resolves its own deployment intent (image, port, size, routes, workload) here rather than Deployment reaching into it, the same "resolve yourself" principle already applied to ServiceUnit's own resolution and domain layers elsewhere in the repo.
Package serviceunit owns ServiceUnitIntent and its constructor, ResolveServiceUnitIntent — a ServiceUnit resolves its own deployment intent (image, port, size, routes, workload) here rather than Deployment reaching into it, the same "resolve yourself" principle already applied to ServiceUnit's own resolution and domain layers elsewhere in the repo.
secrets
git/build
Package build reconciles the Build git-ssh clone secret — the ExternalSecret used to clone the Build's source/state repository over SSH, and the teardown of both that ExternalSecret and its ESO-materialized Secret when the Build is deleted.
Package build reconciles the Build git-ssh clone secret — the ExternalSecret used to clone the Build's source/state repository over SSH, and the teardown of both that ExternalSecret and its ESO-materialized Secret when the Build is deleted.
git/deployment
Package deployment reconciles the Deployment git-ssh clone secret — the same ExternalSecret lifecycle as the Build variant (pkg/secrets/git/build), scoped to the Deployment's manifests repository.
Package deployment reconciles the Deployment git-ssh clone secret — the same ExternalSecret lifecycle as the Build variant (pkg/secrets/git/build), scoped to the Deployment's manifests repository.
git/fluxcd
Package fluxcd reconciles the Flux git-ssh deploy keypair — a self-generated Secret (no ExternalSecret involved, since the key has no external source of truth) whose public half is registered as a deploy key on the Deployment's manifests repository.
Package fluxcd reconciles the Flux git-ssh deploy keypair — a self-generated Secret (no ExternalSecret involved, since the key has no external source of truth) whose public half is registered as a deploy key on the Deployment's manifests repository.
git/packagerepo
Package packagerepo reconciles the Package repository clone secret — the same ExternalSecret lifecycle as the state-repository variant (pkg/secrets/git/staterepo), scoped to a Package's declared package repository.
Package packagerepo reconciles the Package repository clone secret — the same ExternalSecret lifecycle as the state-repository variant (pkg/secrets/git/staterepo), scoped to a Package's declared package repository.
git/staterepo
Package staterepo reconciles the Package state-repository clone secret — the same ExternalSecret lifecycle as the Build/Deployment variants (pkg/secrets/git/build, pkg/secrets/git/deployment), scoped to a Package's declared state repository.
Package staterepo reconciles the Package state-repository clone secret — the same ExternalSecret lifecycle as the Build/Deployment variants (pkg/secrets/git/build, pkg/secrets/git/deployment), scoped to a Package's declared state repository.
github/crossplane
Package crossplane reconciles the Crossplane GitHub provider credential secret — a cluster-scoped ExternalSecret consumed by the Crossplane GitHub (Upjet) provider in crossplane-system.
Package crossplane reconciles the Crossplane GitHub provider credential secret — a cluster-scoped ExternalSecret consumed by the Crossplane GitHub (Upjet) provider in crossplane-system.
github/hookurl
Package hookurl reconciles the webhook hook-url secret — a plain Secret (no ESO involvement, since the URL is user-declared on the GitRepository CR rather than sourced from an external store) that exists only because Upjet's RepositoryWebhook consumes the URL via urlSecretRef.
Package hookurl reconciles the webhook hook-url secret — a plain Secret (no ESO involvement, since the URL is user-declared on the GitRepository CR rather than sourced from an external store) that exists only because Upjet's RepositoryWebhook consumes the URL via urlSecretRef.
github/webhook
Package webhook reconciles the GitHub webhook secret — the ExternalSecret backing the shared secret GitHub signs webhook deliveries with, scoped to a GitHubEvent resource, and the teardown of both that ExternalSecret and its ESO-materialized Secret when the GitHubEvent is deleted.
Package webhook reconciles the GitHub webhook secret — the ExternalSecret backing the shared secret GitHub signs webhook deliveries with, scoped to a GitHubEvent resource, and the teardown of both that ExternalSecret and its ESO-materialized Secret when the GitHubEvent is deleted.
internal/testutil
Package testutil provides fake-client test helpers shared by every reconciler package under pkg/secrets — scheme construction and ExternalSecret/Secret assertions.
Package testutil provides fake-client test helpers shared by every reconciler package under pkg/secrets — scheme construction and ExternalSecret/Secret assertions.
registry/build
Package build reconciles the Build registry credential secret — the ExternalSecret backing the Build's image-pull ServiceAccount, and the teardown of both that ExternalSecret and its ESO-materialized Secret when the Build is deleted.
Package build reconciles the Build registry credential secret — the ExternalSecret backing the Build's image-pull ServiceAccount, and the teardown of both that ExternalSecret and its ESO-materialized Secret when the Build is deleted.
registry/packageregistry
Package packageregistry reconciles the Package registry credential secret — the same ExternalSecret lifecycle as the Build variant (pkg/secrets/registry/build), scoped to a Package's declared package repository.
Package packageregistry reconciles the Package registry credential secret — the same ExternalSecret lifecycle as the Build variant (pkg/secrets/registry/build), scoped to a Package's declared package repository.

Jump to

Keyboard shortcuts

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