stop

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: 14 Imported by: 0

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

func NewStopCmd() *cobra.Command

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.

Jump to

Keyboard shortcuts

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