Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RootCmd = &cobra.Command{ Use: "helm-value-store", Short: "A helm plugin for working with Helm Release data", PersistentPreRun: func(cmd *cobra.Command, args []string) { var err error switch backend := viper.GetString("backend"); backend { case "dynamodb": releaseStore, err = dynamo.NewReleaseStore(viper.GetString("dynamodb-table")) case "datastore": releaseStore, err = datastore.NewReleaseStore(viper.GetString("service-account")) default: err = fmt.Errorf("No valid value store specified: %s. Must be one of %v", backend, storeTypes) } exitOnErr(err) }, }
RootCmd is the root command
View Source
var Version string
Version holds the application version
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.