Documentation
¶
Overview ¶
Package stop implements `kuke daemon stop`, which gracefully shuts down the kukeond cell. The command runs in-process — kukeond cannot relay its own shutdown — and escalates to a force-kill if the graceful path does not complete within the configured grace period.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewStopCmd ¶
NewStopCmd builds the `kuke daemon stop` cobra command.
Types ¶
type MockClientKey ¶
type MockClientKey struct{}
MockClientKey injects a kukeonv1.Client (typically a fake) via the command context so unit tests can exercise runStop without a real controller.
Click to show internal directories.
Click to hide internal directories.