ctlcmd

package
v0.32.1 Latest Latest
Warning

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

Go to latest
Published: Aug 26, 2026 License: Apache-2.0 Imports: 36 Imported by: 0

Documentation

Overview

Package ctlcmd is the jenticctl command tree — the operator/lifecycle CLI (install, wizard, setup, doctor, status, start/stop, logs, update, uninstall). Its commands are methods on a tree-local app that embeds *cmdcore.App; unlike the api (jentic) tree it legitimately links the operator packages (internal/install, internal/proc, internal/update). Named ctlcmd rather than ctl to avoid clashing with internal/cli/ctl (the config-driven installer machinery). See impl/1.1 §1a.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExecuteCtl

func ExecuteCtl()

ExecuteCtl runs the jenticctl (installer / lifecycle) command tree and exits with an appropriate status code.

func NewDocsRoot

func NewDocsRoot() *cobra.Command

NewDocsRoot builds the assembled `jenticctl` root with a throwaway App for documentation generation. No filesystem or network access happens at construction time — commands only act when run — so a zero App is safe.

func TreeBuilder

func TreeBuilder() core.TreeBuilder

TreeBuilder exposes the built-in `jenticctl` (installer/lifecycle) command tree as a core.TreeBuilder so a downstream module can compose it via core.NewRootCmd(deps, ctlcmd.TreeBuilder()). cli/pkg/clitree re-exports it so other modules can import it (internal/ is not importable cross-module).

Types

This section is empty.

Jump to

Keyboard shortcuts

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