node

package
v0.3.2 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CommandTree

func CommandTree() *cli.Command

CommandTree returns the top level node command

func NameValidArgs

func NameValidArgs(c *cobra.Command, args []string, toComplete string) ([]string, cobra.ShellCompDirective)

NameValidArgs returns node names as per Cobra argument validation rules.

func SetClusterFlag

func SetClusterFlag(c *cobra.Command)

SetClusterFlag adds a "--cluster" flag to a Cobra command, and sets it up for autocompletion with cluster names.

Types

This section is empty.

Jump to

Keyboard shortcuts

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