cmd

package
v1.14.4 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2026 License: MPL-2.0 Imports: 32 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package cmd provides the talosctl command implementation.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertIndentedCodeBlocks added in v1.14.0

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