Documentation
¶
Index ¶
- Constants
- func Execute(version string)
- func NewCopyCloudCommand() *cobra.Command
- func NewCreateCloudCommand() *cobra.Command
- func NewCreateProfileCommand() *cobra.Command
- func NewDeleteCloudCommand() *cobra.Command
- func NewDeleteProfileCommand() *cobra.Command
- func NewListProfileCommand() *cobra.Command
- func NewRootCommand(flags *rootFlags) *cobra.Command
- func NewSetCloudCommand() *cobra.Command
- func NewSetProfileCommand() *cobra.Command
- func NewShowCloudCommand() *cobra.Command
- func NewShowProfileCommand() *cobra.Command
- func NewSmokeTestsCommand() *cobra.Command
- func NewVersionCommand(version string) *cobra.Command
- type AllCloudsOrProfilesFunc
- type ValidArgsFunc
Constants ¶
View Source
const ( ColorGreen = "\033[32m" ColorReset = "\033[0m" )
View Source
const ( //nolint:varnamelen OK = "OK" Fail = "Fail" Testing = "Testing" Unsupported = "Unsupported" )
Variables ¶
This section is empty.
Functions ¶
func Execute ¶
func Execute(version string)
Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.
func NewCopyCloudCommand ¶ added in v0.3.0
func NewCreateCloudCommand ¶
func NewCreateProfileCommand ¶
func NewDeleteCloudCommand ¶
func NewDeleteProfileCommand ¶
func NewListProfileCommand ¶
NewListProfileCommand creates the show command.
func NewRootCommand ¶
NewRootCommand creates the root command.
func NewSetCloudCommand ¶
func NewSetProfileCommand ¶
func NewShowCloudCommand ¶
func NewShowProfileCommand ¶
func NewSmokeTestsCommand ¶ added in v0.6.0
NewSmokeTestsCommand creates the root command.
func NewVersionCommand ¶ added in v0.6.8
Types ¶
type AllCloudsOrProfilesFunc ¶
type ValidArgsFunc ¶
Click to show internal directories.
Click to hide internal directories.