commands

package
v0.0.0-...-38d8a97 Latest Latest
Warning

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

Go to latest
Published: Mar 7, 2017 License: Apache-2.0 Imports: 27 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ArmorCmd = &cobra.Command{
	Use:   "armor",
	Short: "armor starts a proxy to a Vault server",
	Long: `armor is the main command, used to start your proxy.

Armor is a proxy to HashiCorp Vault.
It addition to proxying the Vault APIs, it provides
features for managing Vault roles, policies and tokens.

Complete documentation is available at https://github.com/cdwlabs/armor `,
	RunE: Start,
}

ArmorCmd is Armor's root command. Every other command attached to ArmorCmd is a child command to it.

Functions

func AddCommands

func AddCommands()

AddCommands adds child commands to the root command ArmorCmd.

func Execute

func Execute()

Execute adds all the child commands to the root command ArmorCmd and sets flags appropriately.

func Start

func Start(cmd *cobra.Command, args []string) error

Start initializes the config and then starts the services based configuration provided.

Types

This section is empty.

Jump to

Keyboard shortcuts

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