Daniel Moran
e609d4462d
fix: update openapi and regenerate to pull in fix for replications API ( #280 )
2021-09-23 15:04:08 -04:00
Daniel Moran
13799e7662
refactor: use updated API in restore client ( #226 )
2021-08-13 13:50:02 -04:00
Daniel Moran
d615694ee9
refactor: replace uses of ioutil
with io
and os
( #223 )
2021-08-04 14:45:22 -04:00
Daniel Moran
c3feea5900
feat: update restore
to support InfluxDB 2.0.x ( #185 )
2021-07-09 15:36:44 -04:00
Daniel Moran
4452aac87d
feat: update codegen to include legacy backup/restore routes ( #182 )
2021-07-08 14:00:42 -04:00
William Baker
d7b2983dd4
fix: cloud or oss only error msg for parsable responses ( #165 )
...
* fix: cloud or oss only error msg for parsable responses
* fix: add code text to error message
* fix: keep the last part of the error msg
* chore: make the error code a little more succinct
* fix: corrected errors for non-server specific commands
* chore: sync openapi submodule with main
2021-06-30 12:37:31 -04:00
William Baker
d519890f03
feat: improved error messages for cloud- or oss-only commands ( #140 )
...
* feat: set logging info for cloud- or oss-only commands
* fix: add cloud-only to BucketSchemasApi
* fix: api-only flagging and %w for return error wrapping
* fix: keep the model assignment
2021-06-23 10:41:35 -04:00
Dane Strandboge
abe521add0
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>
2021-06-15 14:55:04 -05:00
Daniel Moran
0acb80b044
refactor: use io.ReadCloser instead of **os.File for binary request params ( #119 )
2021-06-11 17:35:01 -04:00
Daniel Moran
a387cabcfb
refactor: return full HTTP response for binary response bodies ( #112 )
2021-06-10 11:20:33 -04:00
Daniel Moran
a1cf15d971
refactor: codegen backup and restore APIs ( #107 )
2021-06-02 16:19:36 -04:00