73dc5ef63bd460b5026ccf23d7723461fec9f1b0

* Use `[]byte` for generated request bodies when the source schema has `format: byte` * Gzip-compress request bodies when `Content-Encoding: gzip` is set * Require that all models returned as error conditions in our API implement the `error` interface * Move the implementation for `api.HealthCheck` out of `ping.go` and into `api/error.go` Co-authored-by: William Baker <55118525+wbaker85@users.noreply.github.com>
influx-cli
CLI for managing resources in InfluxDB v2
Status
This is a work-in-progress effort to decouple the influx
CLI from the OSS influxdb
codebase.
Our goals are to:
- Make it easier to keep the CLI up-to-date with InfluxDB Cloud API changes
- Enable faster turn-around on fixes/features that only affect the CLI
- Allow the CLI to be built & released for a wider range of platforms than the server can support
Building
Run make
to build the CLI. The output binary will be written to bin/$(GOOS)/influx
.
Regenerating OpenAPI client
We use OpenAPITools/openapi-generator
to generate
the underlying HTTP client used by the CLI. Run make openapi
to re-generate the code. You'll need Docker
running locally for the script to work.
Testing
Run make test
to run unit tests.
Description
Languages
Go
92%
Mustache
6.1%
Shell
1.6%
Makefile
0.3%