Documentation
¶
Index ¶
- Variables
- func AdoptCmd() *cobra.Command
- func ApplyCmd() *cobra.Command
- func CRDCmd() *cobra.Command
- func CompletionCmd() *cobra.Command
- func CreateCmd() *cobra.Command
- func DeleteCmd() *cobra.Command
- func DeployControllerCmd() *cobra.Command
- func EditCmd() *cobra.Command
- func Execute()
- func ExplainCmd() *cobra.Command
- func GetConfigCmd() *cobra.Command
- func ImageCmd() *cobra.Command
- func ListCmd() *cobra.Command
- func PromptCmd() *cobra.Command
- func RunCreate(options *cli.CreateOptions) error
- func VersionCmd() *cobra.Command
- type OutputData
Constants ¶
This section is empty.
Variables ¶
View Source
var RootCmd = &cobra.Command{ Use: "kubicorn", Short: "Kubernetes cluster management, without any magic", Long: fmt.Sprintf(` %s `, Unicorn), Run: func(cmd *cobra.Command, args []string) { if logger.Fabulous { cmd.SetOutput(logger.FabulousWriter) } if viper.GetString(keyTrueColor) != "" { cmd.SetOutput(logger.FabulousTrueWriter) } cmd.Help() }, BashCompletionFunction: bashCompletionFunc, }
RootCmd represents the base command when called without any subcommands
View Source
var ( Unicorn = fmt.Sprintf(`----------------------------------------------------------------------------------- ,/ // ,// ___ /| |// __/\_ --(/|___/-/ The Kubicorn Authors \|\_-\___ __-_ - /-/ \. Copyright 2017 |\_-___,-\_____--/_)' ) \ \ -_ / __ \( ( __ \| \__| |\)\ ) /(/| ,._____., ',--//-| \ | ' / / __. \, / /,---| \ / / / _. \ \ / _/ _,' | | | | ( ( \ | ,/\'__/'/ | | | \ \ --, _/_------______/ \( )/ | | \ \_. \, \___/\ | | \_ \ \ \ \ \ \_ \ \ / Kubicorn \ \ \ \._ \__ \_| | v%s \ \ \___ \ \ | \ \__ \__ \ \_ | \ | | \_____ \ ____ | | | \ \__ ---' .__\ | | | \ \__ --- / ) | \ / \ \____/ / ()( \ ---_ /| \__________/(,--__ \_________. | ./ | | \ \ ---_\--, \ \_,./ | | \ \_ \ / ---_______-\ \\ / \ \.___, | / \ \\ \ \ | \_ \| \ ( |: | \ \ \ | / / | ; \ \ \ \ ( _' \ | \. \ \. \ __/ | | \ \ \. \ | | \ \ \ \ ( ) \ | \ | | | | \ \ \ | | ---- ( __; ( _; ('-_'; -------- |___\ \___: \___: --------------- ----[ %s ]-------------------------------------------- Create, Manage, and Scale Kubernetes infrastructure in the cloud. `, version.GetVersion().Version, version.GetVersion().GitCommit) )
Functions ¶
func CompletionCmd ¶
CompletionCmd represents the completion command
func DeployControllerCmd ¶
DeployControllerCmd represents the apply command
func RunCreate ¶
func RunCreate(options *cli.CreateOptions) error
RunCreate is the starting point when a user runs the create command.
Types ¶
Click to show internal directories.
Click to hide internal directories.