Documentation ¶
Index ¶
Constants ¶
View Source
const ( FlagManifests = "manifests" DefaultManifestBase = "https://github.com/bitnami/kube-prod-runtime/manifests/" FlagPlatformConfig = "config" )
View Source
const ( ReleaseNamespace = "kubeprod" ReleaseName = "release" )
Variables ¶
View Source
var InstallCmd = &cobra.Command{ Use: "install", Short: "Install Bitnami Production Runtime for Kubernetes", Args: cobra.NoArgs, }
View Source
var RootCmd = &cobra.Command{ Use: "kubeprod", Short: "Install the Bitnami Kubernetes Production Runtime", SilenceErrors: true, SilenceUsage: true, PersistentPreRunE: func(cmd *cobra.Command, args []string) error { goflag.CommandLine.Parse([]string{}) out := cmd.OutOrStderr() log.SetOutput(out) logFmt := NewLogFormatter(out) log.SetFormatter(logFmt) if glog.V(1) { log.SetLevel(log.DebugLevel) } else { log.SetLevel(log.InfoLevel) } return nil }, }
View Source
var Version = "(dev build)"
Functions ¶
func NewInstallSubcommand ¶ added in v0.2.0
func NewInstallSubcommand(cmd *cobra.Command, platform string, config installer.PlatformConfig) (*installer.InstallCmd, error)
Common initialisation for platform install subcommands
Types ¶
Click to show internal directories.
Click to hide internal directories.