Documentation
¶
Index ¶
- Constants
- Variables
- func AddCommandsFromRegistry(rootCmd *cobra.Command, runtime runtime.Runtime, hiddenColumnTags []string)
- func AddFlags(cmd *cobra.Command, params *params.Params, skipParams []params.ValueHint, ...)
- func AddVerboseFlag(rootCmd *cobra.Command)
- func NewLoginCmd() *cobra.Command
- func NewLogoutCmd() *cobra.Command
- func NewSyncCommand(runtime *grpcruntime.Runtime) *cobra.Command
- func NewVersionCmd() *cobra.Command
- func Version() string
- type Param
Constants ¶
View Source
const ( OutputModeColumns = "columns" OutputModeJSON = "json" OutputModeJSONPretty = "jsonpretty" OutputModeYAML = "yaml" )
View Source
const FilePrefix = "@"
Variables ¶
View Source
var Verbose bool
Functions ¶
func AddCommandsFromRegistry ¶
func AddCommandsFromRegistry(rootCmd *cobra.Command, runtime runtime.Runtime, hiddenColumnTags []string)
AddCommandsFromRegistry adds all gadgets known by the registry as cobra commands as a subcommand to their categories
func AddVerboseFlag ¶ added in v0.18.0
func NewLoginCmd ¶ added in v0.20.0
func NewLogoutCmd ¶ added in v0.20.0
func NewSyncCommand ¶ added in v0.21.0
func NewSyncCommand(runtime *grpcruntime.Runtime) *cobra.Command
func NewVersionCmd ¶ added in v0.21.0
Types ¶
Source Files
¶
Click to show internal directories.
Click to hide internal directories.