feat: reimplement influx telegrafs with new APIs (#120)

* feat: reimplement `influx telegrafs` with new APIs

* chore: restructure structs for later modification

* refactor: bump openapi & regenerate clients

* refactor: better error output and descriptions

Co-authored-by: Dan Moran <dmoran@influxdata.com>
This commit is contained in:
Dane Strandboge
2021-06-15 14:55:04 -05:00
committed by GitHub
parent 581daaa5ba
commit abe521add0
18 changed files with 2890 additions and 80 deletions

View File

@ -67,6 +67,8 @@ type APIClient struct {
TasksApi TasksApi
TelegrafsApi TelegrafsApi
UsersApi UsersApi
WriteApi WriteApi
@ -98,6 +100,7 @@ func NewAPIClient(cfg *Configuration) *APIClient {
c.RestoreApi = (*RestoreApiService)(&c.common)
c.SetupApi = (*SetupApiService)(&c.common)
c.TasksApi = (*TasksApiService)(&c.common)
c.TelegrafsApi = (*TelegrafsApiService)(&c.common)
c.UsersApi = (*UsersApiService)(&c.common)
c.WriteApi = (*WriteApiService)(&c.common)