kuke

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: 38 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 build hosts the `kuke build` CLI shim.
Package build hosts the `kuke build` CLI shim.
blueprint
Package blueprint implements `kuke create blueprint <name>` (issue #816, child of the #814 epic:create umbrella).
Package blueprint implements `kuke create blueprint <name>` (issue #816, child of the #814 epic:create umbrella).
config
Package config implements `kuke create config <name> --from-blueprint <bp>` (issue #817, child of the #814 epic:create umbrella).
Package config implements `kuke create config <name> --from-blueprint <bp>` (issue #817, child of the #814 epic:create umbrella).
registrycredential
Package registrycredential implements `kuke create registry-credential` — an imperative path to attach pull credentials to an existing realm's spec.registryCredentials without round-tripping through a hand-edited YAML manifest.
Package registrycredential implements `kuke create registry-credential` — an imperative path to attach pull credentials to an existing realm's spec.registryCredentials without round-tripping through a hand-edited YAML manifest.
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.
recreate
Package recreate implements `kuke daemon recreate`, a composed verb that tears down the kukeond cell and re-provisions it using the same cell-creation path `kuke init` exercises.
Package recreate implements `kuke daemon recreate`, a composed verb that tears down the kukeond cell and re-provisions it using the same cell-creation path `kuke init` exercises.
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
image
Package image hosts the `kuke get image` subcommand: cross-realm-by-default image listing under the `kuke get <kind>` family.
Package image hosts the `kuke get image` subcommand: cross-realm-by-default image listing under the `kuke get <kind>` family.
testutil
Package testutil provides test helpers shared across the kuke get subcommand test suites.
Package testutil provides test helpers shared across the kuke get subcommand test suites.
Package image hosts the `kuke image` parent command and its subcommands: `load` (#200), `delete` (#212), and `prune` (#1036).
Package image hosts the `kuke image` parent command and its subcommands: `load` (#200), `delete` (#212), and `prune` (#1036).
internal
lifecycle
Package lifecycle holds the scaffolding shared by the `kuke daemon` lifecycle verbs (start, stop, kill, restart, reset, logs).
Package lifecycle holds the scaffolding shared by the `kuke daemon` lifecycle verbs (start, stop, kill, restart, reset, logs).
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.
Package status implements `kuke status`, the consolidated health report that absorbs the original gaps doc's three separate proposals — `kuke doctor` (host pre-flight is now `kuke doctor cgroups`), `kuke ping` (daemon liveness), and `kuke selftest` (parity + state consistency) — into one post-init smoke command.
Package status implements `kuke status`, the consolidated health report that absorbs the original gaps doc's three separate proposals — `kuke doctor` (host pre-flight is now `kuke doctor cgroups`), `kuke ping` (daemon liveness), and `kuke selftest` (parity + state consistency) — into one post-init smoke command.
Package team hosts the `kuke team` parent command and its subcommands.
Package team hosts the `kuke team` parent command and its subcommands.

Jump to

Keyboard shortcuts

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