Documentation
¶
Overview ¶
Package log implements the `kuke log` subcommand. It mirrors `kuke attach`'s flag/arg shape but instead of opening an interactive sbsh session it tails the per-container sbsh capture file. Bytes never traverse the daemon RPC: the daemon validates the Attachable gate and returns the host path of the capture file; this subcommand opens that path directly.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type MockControllerKey ¶
type MockControllerKey struct{}
MockControllerKey injects a kukeonv1.Client via context for tests.
type MockTailKey ¶
type MockTailKey struct{}
MockTailKey injects a tailFn via context for tests, so the real follow loop (which would block on a real file) can be bypassed.
Click to show internal directories.
Click to hide internal directories.