mirror of
https://github.com/Oxalide/vsphere-influxdb-go.git
synced 2023-10-10 11:36:51 +00:00
add vendoring with go dep
This commit is contained in:
41
vendor/github.com/influxdata/influxdb/man/Makefile
generated
vendored
Normal file
41
vendor/github.com/influxdata/influxdb/man/Makefile
generated
vendored
Normal file
@@ -0,0 +1,41 @@
|
||||
#!/usr/bin/make -f
|
||||
|
||||
DESTDIR = /usr/local
|
||||
|
||||
MAN1_TXT =
|
||||
MAN1_TXT += influxd.txt
|
||||
MAN1_TXT += influxd-backup.txt
|
||||
MAN1_TXT += influxd-config.txt
|
||||
MAN1_TXT += influxd-restore.txt
|
||||
MAN1_TXT += influxd-run.txt
|
||||
MAN1_TXT += influxd-version.txt
|
||||
MAN1_TXT += influx.txt
|
||||
MAN1_TXT += influx_inspect.txt
|
||||
MAN1_TXT += influx_stress.txt
|
||||
MAN1_TXT += influx_tsm.txt
|
||||
|
||||
MAN_TXT = $(MAN1_TXT)
|
||||
MAN_XML = $(patsubst %.txt,%.xml,$(MAN_TXT))
|
||||
|
||||
DOC_MAN1 = $(patsubst %.txt,%.1,$(MAN1_TXT))
|
||||
|
||||
build: $(DOC_MAN1)
|
||||
|
||||
install: build
|
||||
@echo ' INSTALL $(DOC_MAN1)' && \
|
||||
mkdir -p $(DESTDIR)/share/man/man1 && \
|
||||
install -m 0644 $(DOC_MAN1) $(DESTDIR)/share/man/man1
|
||||
|
||||
clean:
|
||||
rm -f $(MAN_XML) $(DOC_MAN1)
|
||||
|
||||
%.xml : %.txt
|
||||
@echo ' ASCIIDOC $@' && rm -f $@+ && \
|
||||
asciidoc -d manpage -b docbook -o $@+ $< && \
|
||||
mv $@+ $@
|
||||
|
||||
%.1 : %.xml
|
||||
@echo ' XMLTO $@' && \
|
||||
xmlto man $< 2> /dev/null
|
||||
|
||||
.PHONY: build install clean
|
38
vendor/github.com/influxdata/influxdb/man/README.md
generated
vendored
Normal file
38
vendor/github.com/influxdata/influxdb/man/README.md
generated
vendored
Normal file
@@ -0,0 +1,38 @@
|
||||
# Building the Man Pages
|
||||
|
||||
The man pages are created with `asciidoc`, `docbook`, and `xmlto`.
|
||||
|
||||
## Debian/Ubuntu
|
||||
|
||||
This is the easiest since Debian and Ubuntu automatically install the
|
||||
dependencies correctly.
|
||||
|
||||
```bash
|
||||
$ sudo apt-get install -y build-essential asciidoc xmlto
|
||||
```
|
||||
|
||||
You should then be able to run `make` and the man pages will be
|
||||
produced.
|
||||
|
||||
## Mac OS X
|
||||
|
||||
Mac OS X also has the tools necessary to build the docs, but one of the
|
||||
dependencies gets installed incorrectly and you need an environment
|
||||
variable to run it correctly.
|
||||
|
||||
Use Homebrew to install the dependencies. There might be other methods
|
||||
to get the dependencies, but that's left up to the reader if they want
|
||||
to use a different package manager.
|
||||
|
||||
If you have Homebrew installed, you should already have the Xcode tools
|
||||
and that should include `make`.
|
||||
|
||||
```bash
|
||||
$ brew install asciidoc xmlto
|
||||
```
|
||||
|
||||
Then set the following environment variable everytime you run `make`.
|
||||
|
||||
```bash
|
||||
export XML_CATALOG_FILES=/usr/local/etc/xml/catalog
|
||||
```
|
13
vendor/github.com/influxdata/influxdb/man/footer.txt
generated
vendored
Normal file
13
vendor/github.com/influxdata/influxdb/man/footer.txt
generated
vendored
Normal file
@@ -0,0 +1,13 @@
|
||||
BUGS
|
||||
----
|
||||
Report bugs to the GitHub issue tracker <https://github.com/influxdata/influxdb>.
|
||||
|
||||
AUTHORS
|
||||
-------
|
||||
InfluxDB is written and maintained by InfluxData <https://influxdata.com>.
|
||||
|
||||
COPYRIGHT
|
||||
---------
|
||||
InfluxDB is released under the MIT license.
|
||||
|
||||
This man page is released under Creative Commons Attribution 4.0 International License.
|
81
vendor/github.com/influxdata/influxdb/man/influx.txt
generated
vendored
Normal file
81
vendor/github.com/influxdata/influxdb/man/influx.txt
generated
vendored
Normal file
@@ -0,0 +1,81 @@
|
||||
influx(1)
|
||||
=========
|
||||
|
||||
NAME
|
||||
----
|
||||
influx - InfluxDB client
|
||||
|
||||
SYNOPSIS
|
||||
--------
|
||||
[verse]
|
||||
'influx' [options]
|
||||
'influx' -execute <command> [options]
|
||||
'influx' -import -path <path> (-compressed) [options]
|
||||
'influx' -version
|
||||
|
||||
DESCRIPTION
|
||||
-----------
|
||||
'influx' is the command line program for interacting with an InfluxDB server.
|
||||
|
||||
In the first form, the program starts a CLI that can be used to write data or query the database. The command line is described in *COMMAND LINE*.
|
||||
|
||||
In the second form, this will execute a single command, usually a query. This is the equivalent of starting the command line, running one command, and then exiting.
|
||||
|
||||
In the third form, this imports a previously exported database to the database.
|
||||
|
||||
The fourth form outputs the version of the command line and then immediately exits.
|
||||
|
||||
OPTIONS
|
||||
-------
|
||||
-host <host>::
|
||||
Host to connect to. Default is localhost.
|
||||
|
||||
-port <port>::
|
||||
Port to use when connecting to the host. Default is 8086.
|
||||
|
||||
-database <database>::
|
||||
Database to use when connecting to the database.
|
||||
|
||||
-username <username>::
|
||||
Username to connect to the server.
|
||||
|
||||
-password <password>::
|
||||
Password to connect to the server. If left blank, this will prompt for a password.
|
||||
|
||||
-ssl:
|
||||
Use https for requests.
|
||||
|
||||
-unsafeSsl::
|
||||
Set this with '-ssl' to allow unsafe connections.
|
||||
|
||||
-execute <command>::
|
||||
Executes the command and exits.
|
||||
|
||||
-format <json|csv|column>::
|
||||
Sets the format of the server responses. Default is column.
|
||||
|
||||
-precision <rfc3339|h|m|s|ms|u|ns>::
|
||||
Specifies the format of the timestamp. Default is ns.
|
||||
|
||||
-consistency <any|one|quorum|all>::
|
||||
Set the write consistency level. Default is one.
|
||||
|
||||
-pretty::
|
||||
Turns on pretty print format for the JSON format.
|
||||
|
||||
-import::
|
||||
Import a previous database export from a file. If specified, '-path <path>' must also be specified.
|
||||
|
||||
-path <path>::
|
||||
Path to the database export file to import. Must be used with '-import'.
|
||||
|
||||
-pps <n>:
|
||||
How many points per second the import will allow. By default, it is zero and will not throttle importing.
|
||||
|
||||
-compressed::
|
||||
Set if the import file is compressed. Must be used with '-import'.
|
||||
|
||||
-version::
|
||||
Outputs the version of the influx client.
|
||||
|
||||
include::footer.txt[]
|
86
vendor/github.com/influxdata/influxdb/man/influx_inspect.txt
generated
vendored
Normal file
86
vendor/github.com/influxdata/influxdb/man/influx_inspect.txt
generated
vendored
Normal file
@@ -0,0 +1,86 @@
|
||||
influx_inspect(1)
|
||||
=================
|
||||
|
||||
NAME
|
||||
----
|
||||
influx_inspect - Displays detailed information about InfluxDB data files
|
||||
|
||||
SYNPOSIS
|
||||
--------
|
||||
[verse]
|
||||
'influx_inspect dumptsm' [options]
|
||||
'influx_inspect export' [options]
|
||||
'influx_inspect report' [options]
|
||||
'influx_inspect verify' [options]
|
||||
|
||||
DESCRIPTION
|
||||
-----------
|
||||
Displays detailed information about InfluxDB data files through one of the
|
||||
following commands.
|
||||
|
||||
*dumptsm*::
|
||||
Dumps low-level details about tsm1 files.
|
||||
|
||||
*export*::
|
||||
Exports TSM files into InfluxDB line protocol format.
|
||||
|
||||
*report*::
|
||||
Displays shard level report.
|
||||
|
||||
*verify*::
|
||||
Verifies integrity of TSM files.
|
||||
|
||||
DUMPTSM OPTIONS
|
||||
---------------
|
||||
-all::
|
||||
Dump all data. Caution: This may print a lot of information.
|
||||
|
||||
-blocks::
|
||||
Dump raw block data.
|
||||
|
||||
-filter-key <string>::
|
||||
Only display index and block data that match this key substring.
|
||||
|
||||
-index::
|
||||
Dump raw index data.
|
||||
|
||||
EXPORT OPTIONS
|
||||
--------------
|
||||
-compress::
|
||||
Compress the output.
|
||||
|
||||
-db <name>::
|
||||
The database to export. Optional.
|
||||
|
||||
-rp <name>::
|
||||
The retention policy to export. Optional. Requires the '-db <name>' option to be specified.
|
||||
|
||||
-data-dir <path>::
|
||||
Data storage path. Defaults to '~/.influxdb/data'.
|
||||
|
||||
-wal-dir <path>::
|
||||
Wal storage path. Defaults to '~/.influxdb/wal'.
|
||||
|
||||
-start <timestamp>::
|
||||
The start time of the export. The timestamp is in RFC3339 format. Optional.
|
||||
|
||||
-end <timestamp>::
|
||||
The end time of the export. The timestamp is in RFC3339 format. Optional.
|
||||
|
||||
-out <path>::
|
||||
Destination file to write exported data to. Defaults to '~/.influxdb/export'.
|
||||
|
||||
REPORT OPTIONS
|
||||
--------------
|
||||
-detailed::
|
||||
Report detailed cardinality estimates.
|
||||
|
||||
-pattern <string>::
|
||||
Include only files matching a pattern.
|
||||
|
||||
VERIFY OPTIONS
|
||||
--------------
|
||||
-dir <path>::
|
||||
Root storage path. Defaults to '~/.influxdb'.
|
||||
|
||||
include:footer.txt[]
|
52
vendor/github.com/influxdata/influxdb/man/influx_stress.txt
generated
vendored
Normal file
52
vendor/github.com/influxdata/influxdb/man/influx_stress.txt
generated
vendored
Normal file
@@ -0,0 +1,52 @@
|
||||
influx_stress(1)
|
||||
================
|
||||
|
||||
NAME
|
||||
----
|
||||
influx_stress - Runs a stress test against one or multiple InfluxDB servers
|
||||
|
||||
SYNOPSIS
|
||||
--------
|
||||
[verse]
|
||||
'influx_stress' [options]
|
||||
|
||||
DESCRIPTION
|
||||
-----------
|
||||
Runs write and query stress tests against one or multiple InfluxDB servers to
|
||||
create reproducible performance benchmarks against InfluxDB.
|
||||
|
||||
OPTIONS
|
||||
-------
|
||||
-addr <addr>::
|
||||
IP address and port of the database where response times will persist. This
|
||||
is not for specifying which database to test against. That option is located
|
||||
inside of the configuration file. The default is 'http://localhost:8086'.
|
||||
|
||||
-database <name>::
|
||||
The database where response times will persist. This is not for specifying
|
||||
which database to test against. See '-db' or the configuration file for that
|
||||
option. The default is 'stress'.
|
||||
|
||||
-retention-policy <name>::
|
||||
The retention policy where response times will persist. This is not for
|
||||
specifying which retention policy to test against. See the configuration file
|
||||
for that option. The default is an empty string which will use the default
|
||||
retention policy.
|
||||
|
||||
-config <path>::
|
||||
The stress configuration file.
|
||||
|
||||
-cpuprofile <path>::
|
||||
Write the cpu profile to the path. No cpu profile is written unless this is
|
||||
used. This profiles 'influx_stress', not the InfluxDB server.
|
||||
|
||||
-db <name>::
|
||||
The target database within the test system for write and query load.
|
||||
|
||||
-tags <values>::
|
||||
A comma separated list of tags.
|
||||
|
||||
-v2::
|
||||
Use version 2 of the stress tool. The default is to use version 1.
|
||||
|
||||
include::footer.txt[]
|
58
vendor/github.com/influxdata/influxdb/man/influx_tsm.txt
generated
vendored
Normal file
58
vendor/github.com/influxdata/influxdb/man/influx_tsm.txt
generated
vendored
Normal file
@@ -0,0 +1,58 @@
|
||||
influx_tsm(1)
|
||||
=============
|
||||
|
||||
NAME
|
||||
----
|
||||
influx_tsm - Convert a database from b1 or bz1 format to tsm1 format
|
||||
|
||||
SYNPOSIS
|
||||
--------
|
||||
[verse]
|
||||
'influx_tsm' [options] <data-path>
|
||||
|
||||
DESCRIPTION
|
||||
-----------
|
||||
This tool can be used to convert a database from the deprecated b1 or bz1
|
||||
formats to tsm1 format. The b1 and bz1 formats were deprecated in 0.10 and
|
||||
removed in 0.12.
|
||||
|
||||
This tool will backup the directories before conversion (if not disabled). The
|
||||
backed-up files must be removed manually, generally after starting up the node
|
||||
again to make sure all of the data has been converted correctly.
|
||||
|
||||
To restore a backup after attempting to convert to tsm1, you shut down the
|
||||
node, remove the converted directory, and copy the backed-up directory to the
|
||||
original location.
|
||||
|
||||
OPTIONS
|
||||
-------
|
||||
-backup <path>::
|
||||
The location to backup the current databases. Must not be within the data
|
||||
directory.
|
||||
|
||||
-dbs <names>::
|
||||
Comma-delimited list of databases to convert. The default is to convert all
|
||||
databases.
|
||||
|
||||
-debug <addr>::
|
||||
If set, http debugging endpoints will be enabled on the given address.
|
||||
|
||||
-interval <duration>::
|
||||
How often status updates are printed. Default is '5s'.
|
||||
|
||||
-nobackup::
|
||||
Disable database backups. Not recommended.
|
||||
|
||||
-parallel::
|
||||
Perform parallel conversions (up to GOMAXPROCS shards at once).
|
||||
|
||||
-profile <path>::
|
||||
Write a CPU profile to the path.
|
||||
|
||||
-sz <size>::
|
||||
Maximum size of individual TSM files. Defaults to 2147483648.
|
||||
|
||||
-y::
|
||||
Don't ask, just convert.
|
||||
|
||||
include::footer.txt[]
|
37
vendor/github.com/influxdata/influxdb/man/influxd-backup.txt
generated
vendored
Normal file
37
vendor/github.com/influxdata/influxdb/man/influxd-backup.txt
generated
vendored
Normal file
@@ -0,0 +1,37 @@
|
||||
influxd-backup(1)
|
||||
=================
|
||||
|
||||
NAME
|
||||
----
|
||||
influxd-backup - Downloads a snapshot of a data node and saves it to disk
|
||||
|
||||
SYNOPSIS
|
||||
--------
|
||||
'influxd backup' [options]
|
||||
|
||||
DESCRIPTION
|
||||
-----------
|
||||
Downloads a snapshot of a data node and saves it to disk.
|
||||
|
||||
OPTIONS
|
||||
-------
|
||||
-host <host:port>::
|
||||
The host to connect to and perform a snapshot of. Defaults to '127.0.0.1:8088'.
|
||||
|
||||
-database <name>::
|
||||
The database to backup. Required.
|
||||
|
||||
-retention <name>::
|
||||
The retention policy to backup. Optional.
|
||||
|
||||
-shard <id>::
|
||||
The shard id to backup. Optional. If specified, '-retention <name>' is required.
|
||||
|
||||
-since <2015-12-24T08:12:13>::
|
||||
Do an incremental backup since the passed in time. The time needs to be in the RFC3339 format. Optional.
|
||||
|
||||
SEE ALSO
|
||||
--------
|
||||
*influxd-restore*(1)
|
||||
|
||||
include::footer.txt[]
|
40
vendor/github.com/influxdata/influxdb/man/influxd-config.txt
generated
vendored
Normal file
40
vendor/github.com/influxdata/influxdb/man/influxd-config.txt
generated
vendored
Normal file
@@ -0,0 +1,40 @@
|
||||
influxd-config(1)
|
||||
=================
|
||||
|
||||
NAME
|
||||
----
|
||||
influxd-config - Generate configuration files for InfluxDB
|
||||
|
||||
SYNOPSIS
|
||||
--------
|
||||
[verse]
|
||||
'influxd' config (-config <path>)
|
||||
'influxd config' -config /dev/null
|
||||
|
||||
DESCRIPTION
|
||||
-----------
|
||||
'influxd config' will generate a configuration file for InfluxDB. The configuration file will be output to standard output and can be written to a file by redirecting the shell output to another file.
|
||||
|
||||
When a configuration file is specified using '-config <path>', this configuration file will be read and will overwrite the default values for any values that are present. It can be used to provide a configuration fragment with only the options you want to customize and generate a new configuration file from that file. If '-config <path>' is not specified, the command will look for a default configuration file using the same method as *influxd-run*(1).
|
||||
|
||||
When using this command to regenerate a configuration file in place, be sure to use a temporary file as the output. This command will not work:
|
||||
|
||||
===
|
||||
# DO NOT USE!
|
||||
$ influxd config -config influxdb.conf > influxdb.conf
|
||||
|
||||
# PROPER METHOD!
|
||||
$ influxd config -config influxdb.conf > influxdb.conf.tmp && \
|
||||
mv influxdb.conf.tmp influxdb.conf
|
||||
===
|
||||
|
||||
The shell will truncate the configuration file before 'influxd config' can read it and you will lose all of your custom options. For safety, redirect output to a temporary file instead and use 'mv' to move the file afterwards.
|
||||
|
||||
The second command version will force 'influxd config' to output the default configuration file. Setting the configuration file to */dev/null* will cause the command to output only the defaults and will not read any values from any existing configuration files.
|
||||
|
||||
OPTIONS
|
||||
-------
|
||||
-config <path>::
|
||||
Customize the default configuration file to load. Disables automatic loading when the path is */dev/null*.
|
||||
|
||||
include::footer.txt[]
|
37
vendor/github.com/influxdata/influxdb/man/influxd-restore.txt
generated
vendored
Normal file
37
vendor/github.com/influxdata/influxdb/man/influxd-restore.txt
generated
vendored
Normal file
@@ -0,0 +1,37 @@
|
||||
influxd-restore(1)
|
||||
==================
|
||||
|
||||
NAME
|
||||
----
|
||||
influxd-restore - Restores the metastore, databases, retention policies, or specific shards
|
||||
|
||||
SYNOPSIS
|
||||
--------
|
||||
'influxd restore' [options] PATH
|
||||
|
||||
DESCRIPTION
|
||||
-----------
|
||||
Uses backups from the PATH to restore the metastore, databases, retention policies, or specific shards. The InfluxDB process must not be running during a restore.
|
||||
|
||||
OPTIONS
|
||||
-------
|
||||
-metadir <path>::
|
||||
If set, the metastore will be recovered to the given path. Optional.
|
||||
|
||||
-datadir <path>::
|
||||
If set, the restore process will recover the specified database, retention policy, or shard to the given directory. Optional.
|
||||
|
||||
-database <name>::
|
||||
Will restore the database TSM files. Required if no metadir is given. Optional.
|
||||
|
||||
-retention <name>::
|
||||
Will restore the retention policy's TSM files. If given, database is required. Optional.
|
||||
|
||||
-shard <id>::
|
||||
Will restore the shard's TSM files. If given, database and retention are required. Optional.
|
||||
|
||||
SEE ALSO
|
||||
--------
|
||||
*influxd-backup*(1)
|
||||
|
||||
include::footer.txt[]
|
32
vendor/github.com/influxdata/influxdb/man/influxd-run.txt
generated
vendored
Normal file
32
vendor/github.com/influxdata/influxdb/man/influxd-run.txt
generated
vendored
Normal file
@@ -0,0 +1,32 @@
|
||||
influxd-run(1)
|
||||
==============
|
||||
|
||||
NAME
|
||||
----
|
||||
influxd-run - Configure and start an InfluxDB server
|
||||
|
||||
SYNOPSIS
|
||||
--------
|
||||
[verse]
|
||||
'influxd' [-config <path>] [-pidfile <path>] [-cpuprofile <path>] [-memprofile <path>]
|
||||
'influxd run' [-config <path>] [-pidfile <path>] [-cpuprofile <path>] [-memprofile <path>]
|
||||
|
||||
DESCRIPTION
|
||||
-----------
|
||||
Runs the InfluxDB server.
|
||||
|
||||
OPTIONS
|
||||
-------
|
||||
-config <path>::
|
||||
Sets the path to the configuration file. This defaults to the environment variable *INFLUXDB_CONFIG_PATH*, *~/.influxdb/influxdb.conf*, or */etc/influxdb/influxdb.conf* if a file is present at any of these locations. Disable the automatic loading of a configuration file by using the null device as the path (such as /dev/null on Linux or Mac OS X).
|
||||
|
||||
-pidfile <path>::
|
||||
Write process ID to a file.
|
||||
|
||||
-cpuprofile <path>::
|
||||
Write CPU profiling information to a file.
|
||||
|
||||
-memprofile <path>::
|
||||
Write memory usage information to a file.
|
||||
|
||||
include::footer.txt[]
|
17
vendor/github.com/influxdata/influxdb/man/influxd-version.txt
generated
vendored
Normal file
17
vendor/github.com/influxdata/influxdb/man/influxd-version.txt
generated
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
influxd-version(1)
|
||||
==================
|
||||
|
||||
NAME
|
||||
----
|
||||
influxd-version - Display the version of influxdb
|
||||
|
||||
SYNOPSIS
|
||||
--------
|
||||
[verse]
|
||||
'influxd version'
|
||||
|
||||
DESCRIPTION
|
||||
-----------
|
||||
'influxd version' will output the version of the InfluxDB server.
|
||||
|
||||
include::footer.txt[]
|
40
vendor/github.com/influxdata/influxdb/man/influxd.txt
generated
vendored
Normal file
40
vendor/github.com/influxdata/influxdb/man/influxd.txt
generated
vendored
Normal file
@@ -0,0 +1,40 @@
|
||||
influxd(1)
|
||||
==========
|
||||
|
||||
NAME
|
||||
----
|
||||
influxd - InfluxDB server daemon
|
||||
|
||||
SYNOPSIS
|
||||
--------
|
||||
[verse]
|
||||
'influxd' [command] [options]
|
||||
|
||||
DESCRIPTION
|
||||
-----------
|
||||
'influxd' is the server daemon for InfluxDB.
|
||||
|
||||
COMMANDS
|
||||
--------
|
||||
These commands can be invoked using the 'influxd' program. The default is 'run' if the command parameter is skipped.
|
||||
|
||||
backup::
|
||||
Downloads a snapshot of a data node and saves it to disk.
|
||||
|
||||
config::
|
||||
Displays the default configuration. This can also read an existing configuration file and output the default values for any missing fields. Default values and existing entries in a configuration file can be customized through environment variables.
|
||||
|
||||
restore::
|
||||
Uses backups to restore the metastore, databases, retention policies, or specific shards. The InfluxDB process must not be running during a restore.
|
||||
|
||||
run::
|
||||
Runs the InfluxDB server. This is the default command if none is specified.
|
||||
|
||||
version::
|
||||
Displays the InfluxDB version, build branch, and git commit hash.
|
||||
|
||||
SEE ALSO
|
||||
--------
|
||||
*influxd-backup*(1), *influxd-config*(1), *influxd-restore*(1), *influxd-run*(1), *influxd-version*(1)
|
||||
|
||||
include::footer.txt[]
|
Reference in New Issue
Block a user