internal/

directory
v0.6.5 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
register.go wires the controller manager's runtime at startup.
register.go wires the controller manager's runtime at startup.
setup.go aggregates every domain's cache behind a single Caches struct, so callers construct and pass around one value instead of six.
setup.go aggregates every domain's cache behind a single Caches struct, so callers construct and pass around one value instead of six.
build
build.go constructs this controller's Build domain cache: a thin wrapper around blanketops-environments-core's cache/build package.
build.go constructs this controller's Build domain cache: a thin wrapper around blanketops-environments-core's cache/build package.
deployment
deployment.go constructs this controller's Deployment domain cache: a thin wrapper around blanketops-environments-core's cache/deployment package.
deployment.go constructs this controller's Deployment domain cache: a thin wrapper around blanketops-environments-core's cache/deployment package.
domain
domain.go constructs this controller's Domain domain cache: a thin wrapper around blanketops-environments-core's cache/domain package.
domain.go constructs this controller's Domain domain cache: a thin wrapper around blanketops-environments-core's cache/domain package.
environment
environment.go constructs this controller's Environment domain cache: a thin wrapper around blanketops-environments-core's cache/environment package.
environment.go constructs this controller's Environment domain cache: a thin wrapper around blanketops-environments-core's cache/environment package.
githubevent
githubevent.go constructs this controller's GitHubEvent domain cache: a thin wrapper around blanketops-environments-core's cache/githubevent package.
githubevent.go constructs this controller's GitHubEvent domain cache: a thin wrapper around blanketops-environments-core's cache/githubevent package.
gitrepository
gitrepository.go constructs this controller's GitRepository domain cache: a thin wrapper around blanketops-environments-core's cache/gitrepository package.
gitrepository.go constructs this controller's GitRepository domain cache: a thin wrapper around blanketops-environments-core's cache/gitrepository package.
packages
package.go constructs this controller's Package domain cache: a thin wrapper around blanketops-environments-core's cache/packages package.
package.go constructs this controller's Package domain cache: a thin wrapper around blanketops-environments-core's cache/packages package.
route
route.go constructs this controller's Route domain cache: a thin wrapper around blanketops-environments-core's cache/route package.
route.go constructs this controller's Route domain cache: a thin wrapper around blanketops-environments-core's cache/route package.
serviceunit
serviceunit.go constructs this controller's ServiceUnit domain cache: a thin wrapper around blanketops-environments-core's cache/serviceunit package.
serviceunit.go constructs this controller's ServiceUnit domain cache: a thin wrapper around blanketops-environments-core's cache/serviceunit package.
controller
environments
build.go reconciles the Build CR: routes create/update/delete through the core CQRS engine and, on setup, wires the Build domain's mediator, backend providers (Buildah, Kaniko, Buildpacks), and service into the domain registry.
build.go reconciles the Build CR: routes create/update/delete through the core CQRS engine and, on setup, wires the Build domain's mediator, backend providers (Buildah, Kaniko, Buildpacks), and service into the domain registry.
events
githubevent.go reconciles the GitHubEvent CR: routes create/update/ delete through the core CQRS engine and, on setup, wires the GitHubEvent domain's mediator, GitHub provider, and service into the domain registry.
githubevent.go reconciles the GitHubEvent CR: routes create/update/ delete through the core CQRS engine and, on setup, wires the GitHubEvent domain's mediator, GitHub provider, and service into the domain registry.
networks
This file owns DomainReconciler — the controller-runtime reconciler for the Domain CR.
This file owns DomainReconciler — the controller-runtime reconciler for the Domain CR.
observers/build
Package build (build-observer) is the side-channel reconciler for Build CRs.
Package build (build-observer) is the side-channel reconciler for Build CRs.
observers/buildrun
Package buildrun observes Shipwright BuildRun objects and reflects their terminal Succeeded condition back onto the owning Build CR's status.
Package buildrun observes Shipwright BuildRun objects and reflects their terminal Succeeded condition back onto the owning Build CR's status.
observers/deployment
Package deployment implements the Deployment observer.
Package deployment implements the Deployment observer.
observers/environment
Package environment (environment-observer) is the status rollup reconciler for Environment CRs.
Package environment (environment-observer) is the status rollup reconciler for Environment CRs.
observers/githubevent
Package githubevent observes GitHubEvent CRs and the Argo Events Sensor provisioned for each, deriving and writing the event's accepted/triggered/ success status and conditions.
Package githubevent observes GitHubEvent CRs and the Argo Events Sensor provisioned for each, deriving and writing the event's accepted/triggered/ success status and conditions.
observers/gitrepository
Package gitrepository observes the Crossplane Repository object the GitRepository domain's provider creates and reflects its Ready condition back onto the owning GitRepository CR's status.
Package gitrepository observes the Crossplane Repository object the GitRepository domain's provider creates and reflects its Ready condition back onto the owning GitRepository CR's status.
observers/packages
Package packages observes kapp-controller App objects and reflects what they report back onto the owning Package CR's status.
Package packages observes kapp-controller App objects and reflects what they report back onto the owning Package CR's status.
sources
gitrepository.go reconciles the GitRepository CR — the entry point of the delivery pipeline (GitRepository → GitHubEvent → Build → SupplyChain → Package → Deployment).
gitrepository.go reconciles the GitRepository CR — the entry point of the delivery pipeline (GitRepository → GitHubEvent → Build → SupplyChain → Package → Deployment).
domains
build
Package build implements the Build resource domain.
Package build implements the Build resource domain.
deployment
Package deployment implements the Deployment resource domain.
Package deployment implements the Deployment resource domain.
domain
Package domain implements the Domain resource domain.
Package domain implements the Domain resource domain.
environment
Package environment implements the Environment resource domain.
Package environment implements the Environment resource domain.
githubevent
Package githubevent implements the GitHubEvent resource domain.
Package githubevent implements the GitHubEvent resource domain.
gitrepository
Package gitrepository implements the GitRepository resource domain.
Package gitrepository implements the GitRepository resource domain.
packages
Package packages implements the Package resource domain.
Package packages implements the Package resource domain.
route
Package route implements the Route resource domain.
Package route implements the Route resource domain.
serviceunit
Package serviceunit implements the ServiceUnit resource domain.
Package serviceunit implements the ServiceUnit resource domain.
Package logging owns the controller's root logger construction: a single zap.Logger (Init, guarded by sync.Once so repeated calls are safe and always return the same instance) wrapped as a logr.Logger (AsLogr) for controller-runtime's consumption.
Package logging owns the controller's root logger construction: a single zap.Logger (Init, guarded by sync.Once so repeated calls are safe and always return the same instance) wrapped as a logr.Logger (AsLogr) for controller-runtime's consumption.
Package environment provides two standalone helpers other mediators use to interact with the Environment CR that roots their delivery chain: EnsureEnvironment (find-or-create the Environment named by an object's environments.blanketops.dev/{name,type} labels) and PatchEnvironmentAggregate (resolve the Environment's contract, apply a caller-supplied mutation, and re-encode it back onto the CR).
Package environment provides two standalone helpers other mediators use to interact with the Environment CR that roots their delivery chain: EnsureEnvironment (find-or-create the Environment named by an object's environments.blanketops.dev/{name,type} labels) and PatchEnvironmentAggregate (resolve the Environment's contract, apply a caller-supplied mutation, and re-encode it back onto the CR).
build
Package build implements the Build prerequisite mediator.
Package build implements the Build prerequisite mediator.
serviceunit
Package serviceunit implements the ServiceUnit prerequisite mediator.
Package serviceunit implements the ServiceUnit prerequisite mediator.
Package runtime bundles the shared CQRS infrastructure every domain and mediator in this controller depends on: the field cache, event recorder, Domain registry, and command-dispatch Engine (all from github.com/blanketops/environments/core).
Package runtime bundles the shared CQRS infrastructure every domain and mediator in this controller depends on: the field cache, event recorder, Domain registry, and command-dispatch Engine (all from github.com/blanketops/environments/core).
Package testsupport provides shared fixtures for the domain, mediator, and cache layer unit tests: a scheme matching production's RegisterSchemes (internal/bootstrap/register.go), a fake controller-runtime client builder with status-subresource support, a no-op event recorder, and helpers for encoding a Go map into the runtime.RawExtension contract format every BlanketOps CR spec/status uses.
Package testsupport provides shared fixtures for the domain, mediator, and cache layer unit tests: a scheme matching production's RegisterSchemes (internal/bootstrap/register.go), a fake controller-runtime client builder with status-subresource support, a no-op event recorder, and helpers for encoding a Go map into the runtime.RawExtension contract format every BlanketOps CR spec/status uses.

Jump to

Keyboard shortcuts

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