Directories
¶
| Path | Synopsis |
|---|---|
|
api
|
|
|
v1alpha1
Package v1alpha1 contains the Kohen API types for group kohen.dev.
|
Package v1alpha1 contains the Kohen API types for group kohen.dev. |
|
cmd
|
|
|
operator
command
Command operator runs the Kohen controller manager (SPEC §7, §12).
|
Command operator runs the Kohen controller manager (SPEC §7, §12). |
|
internal
|
|
|
apply
Package apply implements Kohen's Server-Side Apply engine for objects it fully owns (ConfigMaps and, in Phase 2, Kohen-applied secret manifests).
|
Package apply implements Kohen's Server-Side Apply engine for objects it fully owns (ConfigMaps and, in Phase 2, Kohen-applied secret manifests). |
|
config
Package config defines the operator-scoped configuration (SPEC §12, §16): security allow-lists and fail-safe timing that an operator/platform team sets at install time, distinct from per-ConfigSync tenant fields.
|
Package config defines the operator-scoped configuration (SPEC §12, §16): security allow-lists and fail-safe timing that an operator/platform team sets at install time, distinct from per-ConfigSync tenant fields. |
|
controller
Package controller contains the ConfigSync reconciler (SPEC §7.3, §10): the fetch → render → apply → prune → wire → stamp/rollout pipeline with a fail-safe (keep last-good on failure, never prune on fetch failure) and a finalizer that unwires the workload and prunes owned objects on deletion.
|
Package controller contains the ConfigSync reconciler (SPEC §7.3, §10): the fetch → render → apply → prune → wire → stamp/rollout pipeline with a fail-safe (keep last-good on failure, never prune on fetch failure) and a finalizer that unwires the workload and prunes owned objects on deletion. |
|
git
Package git fetches and resolves configuration content from a git repository deterministically and securely (PLAN step S1.1, SPEC §7).
|
Package git fetches and resolves configuration content from a git repository deterministically and securely (PLAN step S1.1, SPEC §7). |
|
manifest
Package manifest provides lightweight recognition of Kubernetes manifests that Kohen treats specially when reading a git config tree.
|
Package manifest provides lightweight recognition of Kubernetes manifests that Kohen treats specially when reading a git config tree. |
|
metrics
Package metrics registers Kohen's Prometheus metrics on the controller-runtime registry so every failure state surfaces as a metric, not only logs/conditions (SPEC R10.2, R13.1).
|
Package metrics registers Kohen's Prometheus metrics on the controller-runtime registry so every failure state surfaces as a metric, not only logs/conditions (SPEC R10.2, R13.1). |
|
redact
Package redact provides a centralized redacting logger so secret material never reaches logs, events, or status (SPEC R8.3, TM9).
|
Package redact provides a centralized redacting logger so secret material never reaches logs, events, or status (SPEC R8.3, TM9). |
|
render
Package render turns a file tree (a resolved config path from a git repo) into deterministic ConfigMap data, per SPEC §7.4 and PLAN step S1.2.
|
Package render turns a file tree (a resolved config path from a git repo) into deterministic ConfigMap data, per SPEC §7.4 and PLAN step S1.2. |
|
rollout
Package rollout computes the Kohen config version, stamps it per the sync's rollout mode, and evaluates rollout progress (SPEC §9, R-CONS, R-VERSION, R-ROLLOUT.1–.6).
|
Package rollout computes the Kohen config version, stamps it per the sync's rollout mode, and evaluates rollout progress (SPEC §9, R-CONS, R-VERSION, R-ROLLOUT.1–.6). |
|
secret
Package secret is Kohen's backend-independent secret resolution framework (PLAN S2.2, SPEC §8).
|
Package secret is Kohen's backend-independent secret resolution framework (PLAN S2.2, SPEC §8). |
|
secret/eso
Package eso resolves backend=externalSecret references against the External Secrets Operator (SPEC §8.3, PLAN S2.4).
|
Package eso resolves backend=externalSecret references against the External Secrets Operator (SPEC §8.3, PLAN S2.4). |
|
secret/fake
Package fake provides an in-memory secret.Resolver for tests (PLAN S2.2).
|
Package fake provides an in-memory secret.Resolver for tests (PLAN S2.2). |
|
secret/native
Package native resolves backend=nativeSecret references (SPEC §8.3, PLAN S2.3): a Secret created out-of-band (cert-manager, kubectl, another controller) that Kohen only awaits and wires — never produces or mutates (P2).
|
Package native resolves backend=nativeSecret references (SPEC §8.3, PLAN S2.3): a Secret created out-of-band (cert-manager, kubectl, another controller) that Kohen only awaits and wires — never produces or mutates (P2). |
|
testenv
Package testenv provides a reusable envtest bootstrap for Tier 2 integration tests (PLAN S0.2): a real API server + etcd with Kohen's CRDs installed.
|
Package testenv provides a reusable envtest bootstrap for Tier 2 integration tests (PLAN S0.2): a real API server + etcd with Kohen's CRDs installed. |
|
wire
Package wire merges Kohen-owned fields into a target workload via Server-Side Apply, engineered to coexist with GitOps (SPEC §6.2, R-WIRE.1–R-WIRE.6).
|
Package wire merges Kohen-owned fields into a target workload via Server-Side Apply, engineered to coexist with GitOps (SPEC §6.2, R-WIRE.1–R-WIRE.6). |
|
kohen-agent
module
|
|
|
test
|
|
|
e2e/gitserver
command
Command gitserver is a tiny in-cluster smart-HTTP git server used only by the U1 end-to-end suite.
|
Command gitserver is a tiny in-cluster smart-HTTP git server used only by the U1 end-to-end suite. |
|
leakcheck
Package leakcheck provides a reusable secret-leak assertion helper (PLAN S0.2).
|
Package leakcheck provides a reusable secret-leak assertion helper (PLAN S0.2). |
Click to show internal directories.
Click to hide internal directories.