Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
khook
command
khook is declarative bootstrap for Kubernetes: one static binary that initializes a freshly created cluster from a declarative YAML spec.
|
khook is declarative bootstrap for Kubernetes: one static binary that initializes a freshly created cluster from a declarative YAML spec. |
|
internal
|
|
|
cli
Package cli wires the khook cobra commands: apply, plan, validate, graph, schema, version.
|
Package cli wires the khook cobra commands: apply, plan, validate, graph, schema, version. |
|
engine
Package engine resolves a Khook document's steps into DAG levels and runs them level-parallel with retries, timeouts, and onError semantics.
|
Package engine resolves a Khook document's steps into DAG levels and runs them level-parallel with retries, timeouts, and onError semantics. |
|
kube
Package kube builds the Kubernetes clients khook uses: a dynamic client for arbitrary manifests, a typed clientset for well-known operations, and a shortcut-expanding RESTMapper for resolving resource arguments like "pods" or "daemonset/aws-node".
|
Package kube builds the Kubernetes clients khook uses: a dynamic client for arbitrary manifests, a typed clientset for well-known operations, and a shortcut-expanding RESTMapper for resolving resource arguments like "pods" or "daemonset/aws-node". |
|
ops
Package ops implements the executors for the step types.
|
Package ops implements the executors for the step types. |
|
spec
Package spec defines the khook DSL (apiVersion khook.io/v1, kind Khook), its parser, variable substitution, and validation.
|
Package spec defines the khook DSL (apiVersion khook.io/v1, kind Khook), its parser, variable substitution, and validation. |
|
state
Package state persists a run-state record — a journal of one spec's last run (per-step input hashes + outcomes) — in an in-cluster Secret, so a re-run can resume past steps that already succeeded with unchanged inputs.
|
Package state persists a run-state record — a journal of one spec's last run (per-step input hashes + outcomes) — in an in-cluster Secret, so a re-run can resume past steps that already succeeded with unchanged inputs. |
Click to show internal directories.
Click to hide internal directories.