Documentation ¶
Index ¶
- Variables
- type Shell
- func (shell *Shell) Connect(args []string) (string, error)
- func (shell *Shell) Create(args []string) (string, error)
- func (shell *Shell) Exit(args []string) (string, error)
- func (shell *Shell) Health(args []string) (string, error)
- func (shell *Shell) Index(args []string) (string, error)
- func (shell *Shell) Indices(args []string) (string, error)
- func (shell *Shell) IsConnected() bool
- func (shell *Shell) Nodes(args []string) (string, error)
- func (shell *Shell) Output(args []string) (string, error)
- func (shell *Shell) Ping(args []string) (string, error)
- func (shell *Shell) Quit(args []string) (string, error)
- func (shell *Shell) Run() error
- func (shell *Shell) Search(args []string) (string, error)
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNotConnected = errors.New("Not connected")
ErrNotConnected means the shell is not connected to Elasticsearch
Functions ¶
This section is empty.
Types ¶
type Shell ¶
type Shell struct {
// contains filtered or unexported fields
}
Shell is the REPL
func (*Shell) IsConnected ¶
IsConnected returns whether the client is connected
Click to show internal directories.
Click to hide internal directories.