Documentation
¶
Index ¶
- Variables
- func NewDeliveryCommand() (*cobra.Command, context.Context)
- func NewHelpJSONCommand(rootCmd *cobra.Command) *cobra.Command
- func NewKubectlCommand() *cobra.Command
- func NewLoginCommand() *cobra.Command
- func NewStrongholdCommand() *cobra.Command
- func NewVirtualizationCommand() *cobra.Command
- func ReplaceCommandName(from, to string, c *cobra.Command) *cobra.Command
- func StrongholdSubcommands() []*cobra.Command
- type CommandInfo
- type FlagInfo
Constants ¶
This section is empty.
Variables ¶
View Source
var HelpUsername = "user"
Functions ¶
func NewHelpJSONCommand ¶ added in v0.20.9
func NewKubectlCommand ¶
func NewLoginCommand ¶
func NewStrongholdCommand ¶
func StrongholdSubcommands ¶ added in v0.29.29
StrongholdSubcommands builds a cobra command tree from the vault CLI command registry (via CommandSynopses). This keeps synopses in sync with initCommands and respects build tags (e.g. clionly omits server/agent). Cobra exposes the structure to help and help-json; execution still goes through vaultcommand.Run.
Types ¶
type CommandInfo ¶
Click to show internal directories.
Click to hide internal directories.