common

package
v0.0.0-...-ad5c618 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2015 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package common provides stuff for the esctl commands to use.

Index

Constants

View Source
const ArgHost = "host"

ArgHost is the ES connection host command-line argument

View Source
const ArgPort = "port"

ArgPort is the ES port

Variables

This section is empty.

Functions

func CreateConnection

func CreateConnection(c *cli.Context) *elastigo.Conn

CreateConnection will create an ES connection and setup the hosts and ports passed on the command line.

func CreateGlobalFlags

func CreateGlobalFlags() []cli.Flag

CreateGlobalFlags is used to populate the global/top-level flags of a cli app

Types

This section is empty.

Jump to

Keyboard shortcuts

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