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: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RootCmd = &cobra.Command{
	Use:   "sailor",
	Short: "Follow cluster created by Kaptain and provision config files.",
	Long: `
Sailor 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 Sailor 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>"
$ sailor provision --role=etcd -n dev.example.com

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