kuke

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: 30 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.
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.
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