Documentation
¶
Index ¶
Constants ¶
View Source
const ( // RootCommandName is the name of the root command RootCommandName = "odo" // SkipConnectionCheckFlagName is the name of the global flag used to skip connection check in the client SkipConnectionCheckFlagName = "skip-connection-check" // ProjectFlagName is the name of the flag allowing a user to specify which project to operate on ProjectFlagName = "project" // ApplicationFlagName is the name of the flag allowing a user to specify which application to operate on ApplicationFlagName = "app" // ComponentFlagName is the name of the flag allowing a user to specify which component to operate on ComponentFlagName = "component" )
Variables ¶
This section is empty.
Functions ¶
func CheckError ¶
CheckError prints the cause of the given error and exits the code with an exit code of 1. If the context is provided, then that is printed, if not, then the cause is detected using errors.Cause(err)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.