Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Command ¶
Command creates and returns a new cobra.Command for the 'config' subcommand. It sets up the command structure for managing Results configuration, including options to set, view, and reset the config.
Parameters:
- p: common.Params - A struct containing common parameters used across the CLI.
Returns:
- *cobra.Command: A pointer to the newly created cobra.Command for the 'config' subcommand.
Types ¶
type ResetOptions ¶
ResetOptions holds the configuration for the reset command.
type SetOptions ¶
SetOptions holds options for the set command
type ViewOptions ¶
type ViewOptions struct {
Config config.Config
PrintFlags *genericclioptions.PrintFlags
PrinterFunc printers.ResourcePrinterFunc
IOStreams *genericiooptions.IOStreams
}
ViewOptions contains the configuration for the view command.
Click to show internal directories.
Click to hide internal directories.