cmd

package
v0.0.0-...-eb06fd2 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2017 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RootCmd = &cobra.Command{
	Use:   "dynamokv",
	Short: "Use AWS DynamoDB as a simple Key Value storage",
	Long: `dynamokv is specially designed to store configuration in a dynamodb table
and load them as environment variables`,
	SilenceUsage: true,
}

RootCmd represents the base command when called without any subcommands

Functions

func Execute

func Execute()

Execute adds all child commands to the root command sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

Types

type Session

type Session struct {
	Session  *session.Session
	DynamoDB *dynamodb.DynamoDB
	KMS      *kms.KMS
}

Jump to

Keyboard shortcuts

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