Package cmd is the root package of the various command-line utilities for InfluxDB.
Internal call graph ▹
Internal call graph ▾
In the call graph viewer below, each node is a function belonging to this package and its children are the functions it calls—perhaps dynamically.
The root nodes are the entry points of the package: functions that may be called from outside the package. There may be non-exported or anonymous functions among them if they are called dynamically from another package.
Click a node to visit that function's source code.
From there you can visit its callers by
clicking its declaring
Functions may be omitted if they were determined to be unreachable in the particular programs or tests that were analyzed.
func ParseCommandName ¶
func ParseCommandName(args string) (string, string)
ParseCommandName extracts the command name and args from the args list.
|influx||The influx command is a CLI client to InfluxDB.|
|cli||Package cli contains the logic of the influx command line client.|
|influx_inspect||The influx_inspect command displays detailed information about InfluxDB data files.|
|dumptsm||Package dumptsm inspects low-level details about tsm1 files.|
|export||Package export exports TSM files into InfluxDB line protocol format.|
|help||Package help contains the help for the influx_inspect command.|
|report||Package report reports statistics about TSM files.|
|verify||Package verify verifies integrity of TSM files.|
|influx_stress||Command influx_stress is deprecated; use github.com/influxdata/influx-stress instead.|
|influx_tsm||Command influx_tsm converts b1 or bz1 shards (from InfluxDB releases earlier than v0.11) to the current tsm1 format.|
|b1||Package b1 reads data from b1 shards.|
|bz1||Package bz1 reads data from bz1 shards.|
|stats||Package stats contains statistics for converting non-TSM shards to TSM.|
|tsdb||Pacage tsdb abstracts the various shard types supported by the influx_tsm command.|
|influxd||Command influxd is the InfluxDB server.|
|backup||Package backup is the backup subcommand for the influxd command.|
|help||Package help is the help subcommand of the influxd command.|
|restore||Package restore is the restore subcommand for the influxd command, for restoring from a backup.|
|run||Package run is the run (default) subcommand for the influxd command.|