cmd

package
v1.14.0-alpha.2 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2026 License: MPL-2.0 Imports: 30 Imported by: 1

Documentation

Overview

Package cmd provides the talosctl command implementation.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertIndentedCodeBlocks

func ConvertIndentedCodeBlocks(s string) string

ConvertIndentedCodeBlocks converts tab-indented lines to fenced code blocks. This handles Cobra's built-in completion commands which use tab-indented lines in their Long descriptions instead of fenced code blocks.

func Execute

func Execute() error

Execute invokes the user-entered command in a cancellable context (with Ctrl^C). Handles errors related to incorrect usage and prints the error message to stderr.

func GenMarkdownReference

func GenMarkdownReference(cmd *cobra.Command, w io.Writer, linkHandler func(string) string) error

GenMarkdownReference is the same as GenMarkdownTree, but with custom filePrepender and linkHandler.

Types

This section is empty.

Directories

Path Synopsis
Package common provides common functionality for talosctl commands.
Package common provides common functionality for talosctl commands.
cluster
Package cluster implements "cluster" subcommands.
Package cluster implements "cluster" subcommands.
cluster/create
Package create provides way to create talos clusters
Package create provides way to create talos clusters
cluster/internal/firewallpatch
Package firewallpatch provides a set of default config patches to enable firewall.
Package firewallpatch provides a set of default config patches to enable firewall.
debug
Package debug implements "debug" subcommands.
Package debug implements "debug" subcommands.
gen
Package gen implements the genration of various artifacts.
Package gen implements the genration of various artifacts.
cgroupsprinter
Package cgroupsprinter provides functions to print cgroup information.
Package cgroupsprinter provides functions to print cgroup information.
drain
Package drain implements Kubernetes node drain progress reporting.
Package drain implements Kubernetes node drain progress reporting.
lifecycle
Package lifecycle implements image install progress reporting.
Package lifecycle implements image install progress reporting.
output
Package output provides writers in different formats.
Package output provides writers in different formats.
pull
Package pull implements image pull progress reporting.
Package pull implements image pull progress reporting.

Jump to

Keyboard shortcuts

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