Documentation ¶
Index ¶
- func Check(cache bool) error
- func ListIndex(conn *elasticsearch.Client, indexes []string) (indexData []map[string]string, exitCode int, err error)
- func PrintHealthInformation(healthData []map[string]string)
- func PrintListIndexResults(indexData []map[string]string)
- func PrintNodeInformation(nodeData []map[string]string)
- func PrintPendingTasks(pendingData []map[string]string)
- func PrintSearchResults(searchData models.SearchResponse)
- func PrintSnapshots(snapData []map[string]string)
- func Search(conn *elasticsearch.Client, indexes []string, query string) (searchData models.SearchResponse, exitCode int, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ListIndex ¶
func ListIndex(conn *elasticsearch.Client, indexes []string) (indexData []map[string]string, exitCode int, err error)
ListIndex takes a connection and slice of strings and runs a CatIndicesRequest to return data, an exit code to bubble up, and an error
func PrintHealthInformation ¶
func PrintListIndexResults ¶
PrintListIndexResults prints results returned by the ListIndex function
func PrintNodeInformation ¶
func PrintPendingTasks ¶
func PrintSearchResults ¶
func PrintSearchResults(searchData models.SearchResponse)
PrintSearchResults prints the results of the search command
func PrintSnapshots ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.