Documentation
¶
Index ¶
- func EmptyAndUnknownSubCommands(cmd *cobra.Command)
- func InitializeConfig()
- func NewDefaultKnCommand() (*cobra.Command, error)
- func NewDefaultKnCommandWithArgs(rootCmd *cobra.Command, pluginHandler plugin.PluginHandler, args []string, ...) (*cobra.Command, error)
- func NewKnCommand(params ...commands.KnParams) *cobra.Command
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EmptyAndUnknownSubCommands ¶
EmptyAndUnknownSubCommands adds a RunE to all commands that are groups to deal with errors when called with empty or unknown sub command
func InitializeConfig ¶
func InitializeConfig()
InitializeConfig initializes the kubeconfig used by all commands
func NewDefaultKnCommand ¶
NewDefaultKnCommand creates the default `kn` command with a default plugin handler
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.