Documentation
¶
Overview ¶
Package run implements the `kuke run` verb. The original `-f <file>` form (phase 1c) parses a single-cell YAML doc and idempotently create-and-starts the cell. Phase 2a added `-a/--attach` so the same invocation can drop the operator into the cell's attachable terminal. Phase 2b adds `-p/--profile`, which materializes a CellDoc from a per-user CellProfile under $HOME/.kuke/profiles.d (or $KUKE_PROFILES_DIR) and then walks the same create+start[+attach] path.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type MockControllerKey ¶
type MockControllerKey struct{}
MockControllerKey is used to inject a mock kukeonv1.Client via context in tests.
type MockRunKey ¶
type MockRunKey struct{}
MockRunKey is used to inject a mock runFn via context in tests, so the real pkg/attach.Run (which would open a TTY and connect to a real control socket) is bypassed.