logs

package
v0.7.2 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2026 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Overview

Package logs implements `kuke daemon logs`, a shortcut that prints the kukeond container's stdout/stderr stream. The kukeond cell coordinates (realm=kuke-system, space=kukeon, stack=kukeon, cell=kukeond, container= kukeond) are static — set by `kuke init` and centralised in internal/consts — so this verb fills them in and dispatches through the same tail loop `kuke log` uses. The command runs in-process for the same reason the rest of `kuke daemon` does: it operates on the daemon cell and must keep working when the daemon socket is not reachable.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewLogsCmd

func NewLogsCmd() *cobra.Command

NewLogsCmd builds the `kuke daemon logs` cobra command.

Types

type MockTailKey

type MockTailKey struct{}

MockTailKey injects a logcmd.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