commands

package
v0.39.9 Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2026 License: Apache-2.0 Imports: 120 Imported by: 0

Documentation

Overview

Package commands implements the CLI commands for stackkit.

Index

Constants

View Source
const ExitCodeHostBlocked = 3

ExitCodeHostBlocked is returned when host admission refused to mutate the target. It is distinct from a general failure so an installer or orchestrator can tell "this device cannot run the kit" from "the rollout broke".

Variables

This section is empty.

Functions

func Execute

func Execute() error

Execute runs the root command

func ExitCode

func ExitCode(err error) int

ExitCode reports the process exit code an Execute error should produce. An error without an explicit code is an ordinary failure.

func SetProgramName

func SetProgramName(name string)

SetProgramName lets the explicitly tagged publisher entry point present a distinct executable identity while sharing command implementations.

func SetVersionInfo

func SetVersionInfo(v, gc, bd string)

SetVersionInfo sets version information from build

Types

This section is empty.

Source Files

Jump to

Keyboard shortcuts

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