kuke

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: May 14, 2026 License: Apache-2.0 Imports: 31 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadConfig

func LoadConfig() error

LoadConfig is a public wrapper for backward compatibility.

func NewKukeCmd

func NewKukeCmd() (*cobra.Command, error)

func SetFlags

func SetFlags(_ *cobra.Command) error

func SetPersistentLoggingFlags

func SetPersistentLoggingFlags(rootCmd *cobra.Command) error

func SetupKukeCmd

func SetupKukeCmd(rootCmd *cobra.Command) error

Types

type ConfigLoader

type ConfigLoader interface {
	LoadConfig() error
}

type MockConfigLoaderKey

type MockConfigLoaderKey struct{}

MockConfigLoaderKey is used to inject mock config loaders in tests via context.

Directories

Path Synopsis
Package attach implements the `kuke attach` thin sbsh client subcommand.
Package attach implements the `kuke attach` thin sbsh client subcommand.
Package daemon hosts the `kuke daemon` subcommand group, which exposes daemon-lifecycle verbs (start, stop, kill, and later restart/reset).
Package daemon hosts the `kuke daemon` subcommand group, which exposes daemon-lifecycle verbs (start, stop, kill, and later restart/reset).
kill
Package kill implements `kuke daemon kill`, the immediate-SIGKILL escape hatch for the kukeond cell.
Package kill implements `kuke daemon kill`, the immediate-SIGKILL escape hatch for the kukeond cell.
logs
Package logs implements `kuke daemon logs`, a shortcut that prints the kukeond container's stdout/stderr stream.
Package logs implements `kuke daemon logs`, a shortcut that prints the kukeond container's stdout/stderr stream.
reset
Package reset implements `kuke daemon reset`, the lightweight dev-loop teardown for the kukeond cell.
Package reset implements `kuke daemon reset`, the lightweight dev-loop teardown for the kukeond cell.
restart
Package restart implements `kuke daemon restart`, which is the composed stop-then-start lifecycle verb for the kukeond cell.
Package restart implements `kuke daemon restart`, which is the composed stop-then-start lifecycle verb for the kukeond cell.
start
Package start implements `kuke daemon start`, which brings up the existing kukeond cell on a host that has already been initialized.
Package start implements `kuke daemon start`, which brings up the existing kukeond cell on a host that has already been initialized.
stop
Package stop implements `kuke daemon stop`, which gracefully shuts down the kukeond cell.
Package stop implements `kuke daemon stop`, which gracefully shuts down the kukeond cell.
Package doctor hosts `kuke doctor`, a parent command for host-level pre-flight checks invoked before `kuke init` to surface environmental problems that would otherwise be diagnosed only via cryptic mid-bootstrap failures (e.g., missing cgroup-v2 controller delegation).
Package doctor hosts `kuke doctor`, a parent command for host-level pre-flight checks invoked before `kuke init` to surface environmental problems that would otherwise be diagnosed only via cryptic mid-bootstrap failures (e.g., missing cgroup-v2 controller delegation).
cgroups
Package cgroups implements `kuke doctor cgroups`: a pre-flight that classifies the host root cgroup's controller availability against the set kukeon's cell-creation path will require, with actionable output for the contributor running `make dev-init`.
Package cgroups implements `kuke doctor cgroups`: a pre-flight that classifies the host root cgroup's controller availability against the set kukeon's cell-creation path will require, with actionable output for the contributor running `make dev-init`.
get
Package image hosts the `kuke image` parent command and its subcommands: `load` (#200), `get` (#211), and `delete` (#212).
Package image hosts the `kuke image` parent command and its subcommands: `load` (#200), `get` (#211), and `delete` (#212).
Package log implements the `kuke log` subcommand.
Package log implements the `kuke log` subcommand.
Package run implements the `kuke run` verb.
Package run implements the `kuke run` verb.

Jump to

Keyboard shortcuts

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