cmd

package
v1.7.2 Latest Latest
Warning

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

Go to latest
Published: May 17, 2024 License: MPL-2.0 Imports: 23 Imported by: 0

Documentation

Overview

Package cmd provides the talosctl command implementation.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Execute

func Execute() error

Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

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/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.
output
Package output provides writers in different formats.
Package output provides writers in different formats.

Jump to

Keyboard shortcuts

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