package
1.14.3
Repository: https://github.com/elastic/ecctl.git
Documentation: pkg.go.dev

# Packages

Package templates Code generated by go-bindata.

# Functions

New initializes a ChainFormatter defaulting to the JSON Formatter if no known formatter is passed, else It will use the mentioned formatter and use the JSON Formatter to fallback when parsing the output fails.
NewChain wraps a formatter into a Chain.
NewJSON acts as the factory for formatter.JSON.
NewText acts as the factory for formatter.Text.

# Structs

Chain implements the Chain interface Allows the formatting responsibility to become a chain.
JSON formats into text.
Text formats into text.
TextConfig is the configuration to use for a text formatter.

# Interfaces

Chainer implements the Single Chain of Responsibility Pattern, to be able to chain off multiple Formatters.
Formatter models the formatter actions.

# Type aliases

AssetLoaderFunc loads and returns the asset for the given name.