log

package
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 30, 2026 License: Apache-2.0 Imports: 17 Imported by: 0

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

func NewLogCmd

func NewLogCmd() *cobra.Command

NewLogCmd builds the `kuke log` cobra command.

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL