Documentation ¶
Index ¶
- Variables
- func Execute()
- func RunApply(options *ApplyOptions) error
- func RunBashGeneration() error
- func RunCreate(options *CreateOptions) error
- func RunDelete(options *DeleteOptions) error
- func RunEdit(options *EditOptions) error
- func RunGetConfig(options *GetConfigOptions) error
- func RunList(options *ListOptions) error
- func RunVersion(vo *VersionOptions) error
- func RunZshGeneration() error
- type ApplyOptions
- type CreateOptions
- type DeleteOptions
- type EditOptions
- type GetConfigOptions
- type ListOptions
- type Options
- type VersionOptions
Constants ¶
This section is empty.
Variables ¶
View Source
var GitSha string
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 os.Getenv("KUBICORN_TRUECOLOR") != "" { cmd.SetOutput(&lol.Writer{Output: os.Stdout, ColorMode: lol.ColorModeTrueColor}) } 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, Image, and Scale Kubernetes infrastructure in the cloud. `, Version, GitSha)
View Source
var Version string
Functions ¶
func RunApply ¶
func RunApply(options *ApplyOptions) error
func RunBashGeneration ¶
func RunBashGeneration() error
func RunCreate ¶
func RunCreate(options *CreateOptions) error
RunCreate is the starting point when a user runs the create command.
func RunDelete ¶
func RunDelete(options *DeleteOptions) error
func RunEdit ¶
func RunEdit(options *EditOptions) error
func RunGetConfig ¶
func RunGetConfig(options *GetConfigOptions) error
func RunList ¶
func RunList(options *ListOptions) error
func RunVersion ¶
func RunVersion(vo *VersionOptions) error
RunVersion populates VersionOptions and prints to stdout
func RunZshGeneration ¶
func RunZshGeneration() error
Types ¶
type ApplyOptions ¶
type ApplyOptions struct {
Options
}
type CreateOptions ¶
type DeleteOptions ¶
type EditOptions ¶
type GetConfigOptions ¶
type GetConfigOptions struct {
Options
}
type ListOptions ¶
Click to show internal directories.
Click to hide internal directories.