refactor: expose generated code and client business logic to share with Kapacitor (#103)

* refactor: take clients out of internal

* refactor: move stdio to pkg

* Move internal/api to api

* refactor: final changes for Kapacitor to access shared functionality

* chore: regenerate mocks

* fix: bad automated refactor

* chore: extra formatting not caught by make fmt
This commit is contained in:
Sam Arnold
2021-05-25 10:05:01 -04:00
committed by GitHub
parent d54aa9ec2d
commit 9747d05ae1
191 changed files with 377 additions and 372 deletions

7
api/README.md Normal file
View File

@ -0,0 +1,7 @@
# Influx CLI - HTTP Client
The `.go` files in this module are generated using [`OpenAPITools/openapi-generator`](https://github.com/OpenAPITools/openapi-generator),
based off of our public API documentation.
Run `make openapi` from the project root to regenerate files as needed. See [`contract/README.md`](./contract/README.md)
and [`templates/README.md`](./templates/README.md) for more detailed information and use-cases.