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 ¶
CreateConnection will create an ES connection and setup the hosts and ports passed on the command line.
func CreateGlobalFlags ¶
CreateGlobalFlags is used to populate the global/top-level flags of a cli app
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.