Documentation
¶
Overview ¶
Package kaimahi embeds the assets kmx needs when installed without a checkout. Embedded paths are relative to this module root and cannot cross into plane/.
Index ¶
Constants ¶
This section is empty.
Variables ¶
var Managed embed.FS
Managed holds managed-cluster observability, model egress and installer scripts. Callers materialize the scripts in a checkout-shaped temporary tree, preserving their relative references and fail-closed shell behavior.
var Manifests embed.FS
Manifests holds the runtime kmx installs and the model plane it deploys. Explicit paths keep the packaging boundary independent of unrelated checkout additions.
What is NOT here any more: the legacy runtime's Helm values, its two demo agents, and the k8s/models model presets. All five belonged to a runtime kmx no longer installs, and nothing applied them — `kmx plane` applies k8s/plane/, and `kmx migrate` writes a Secret into the operator's own namespace.
Functions ¶
This section is empty.
Types ¶
This section is empty.
Directories
¶
| Path | Synopsis |
|---|---|
|
cmd
|
|
|
kmx
command
Command kmx is the CLI entry point for Kaimahi's developer and governance workflows.
|
Command kmx is the CLI entry point for Kaimahi's developer and governance workflows. |
|
internal
|
|
|
kmx/admin
Package admin talks to the governance plane's admin API.
|
Package admin talks to the governance plane's admin API. |
|
kmx/app
Package app implements kmx's commands.
|
Package app implements kmx's commands. |
|
kmx/cliui
Package cliui renders human-facing terminal output without changing the plain formats consumed by scripts, tests, and redirected logs.
|
Package cliui renders human-facing terminal output without changing the plain formats consumed by scripts, tests, and redirected logs. |
|
kmx/config
Package config resolves kmx's settings.
|
Package config resolves kmx's settings. |
|
kmx/guard
Package guard is scripts/kube-guard.sh in Go: the context-safety net in front of every mutating kmx command.
|
Package guard is scripts/kube-guard.sh in Go: the context-safety net in front of every mutating kmx command. |
|
kmx/lift
Package lift holds the parts of the managed-cluster path that must be right whether or not a cloud is reachable: what the lift is about to do, what it actually created, and — the one that can cost somebody else money — what it is allowed to delete afterwards.
|
Package lift holds the parts of the managed-cluster path that must be right whether or not a cloud is reachable: what the lift is about to do, what it actually created, and — the one that can cost somebody else money — what it is allowed to delete afterwards. |
|
kmx/orkaschema
Package orkaschema validates whole Orka custom resources against installed CRDs or immutable embedded CRDs.
|
Package orkaschema validates whole Orka custom resources against installed CRDs or immutable embedded CRDs. |
|
kmx/planebuild
Package planebuild produces the governance plane's container image on the machine kmx is running on, without a clone and without a registry.
|
Package planebuild produces the governance plane's container image on the machine kmx is running on, without a clone and without a registry. |
|
kmx/run
Package run is kmx's shell-out layer for external tools such as kind, kubectl, container engines and cloud CLIs.
|
Package run is kmx's shell-out layer for external tools such as kind, kubectl, container engines and cloud CLIs. |
|
kmx/runtime
Identity digests.
|
Identity digests. |
|
kmx/scaffold
Package scaffold generates reviewable Kubernetes YAML and provides shared name, reference and credential-shape checks.
|
Package scaffold generates reviewable Kubernetes YAML and provides shared name, reference and credential-shape checks. |
|
kmx/seamcert
Package seamcert mints the certificate the governance plane serves its two data seams with, and reads back what an operator has to know about it.
|
Package seamcert mints the certificate the governance plane serves its two data seams with, and reads back what an operator has to know about it. |
|
kmx/secretshapes
Package secretshapes is the one list of credential shapes this repository refuses to carry.
|
Package secretshapes is the one list of credential shapes this repository refuses to carry. |
|
kmx/toolchain
Package toolchain fetches the external binaries kmx shells out to, pinned and checksum-verified, so that a machine with a container engine and nothing else can still run the journey.
|
Package toolchain fetches the external binaries kmx shells out to, pinned and checksum-verified, so that a machine with a container engine and nothing else can still run the journey. |
|
kmx/version
Package version answers one question an adopter has to be able to ask: which build of kmx is this?
|
Package version answers one question an adopter has to be able to ask: which build of kmx is this? |
|
plane
module
|