cmd

package
v0.0.0-...-b2d20b0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 4, 2018 License: Apache-2.0, Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RootCmd = &cobra.Command{
	Use:   "kaptain",
	Short: "Manage configuration files and TLS assets for a Kubernetes deployment",
	Long: `
Kaptain relies on a backend store to save state. The default is "s3://aws.all.kaptain?region=eu-west-1".
To change it, set environment variable "KAPTAIN_STORE" to the desired store URL. E.g. The following example
set Kaptain to use Vault as the store.

$ export VAULT_ADDR="https://vault.service.consul:8200"
$ export KAPTAIN_STORE="vault://project/kaptain?role_id=1234-1234-1234-1234&secret_id=<redacted>"
$ kaptain list

For details usage, please see help of each sub-command.
`,
}

RootCmd represents the base command when called without any subcommands

Functions

func Execute

func Execute()

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.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL