Commit Graph

8 Commits

Author SHA1 Message Date
dcf9f5bc9a feat: added functionality for remote create subcommand (#268)
* feat: implement remote create subcommand

* chore: generate mocks for testing remote command

* refactor: separated out test code, made small changes to remote create code

* chore: ran make fmt

* chore: removed excess print statements

* refactor: made changes suggested in code review

* refactor: added name and remote id to printed table
2021-09-14 13:03:17 -07:00
d615694ee9 refactor: replace uses of ioutil with io and os (#223) 2021-08-04 14:45:22 -04:00
4452aac87d feat: update codegen to include legacy backup/restore routes (#182) 2021-07-08 14:00:42 -04:00
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
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
0acb80b044 refactor: use io.ReadCloser instead of **os.File for binary request params (#119) 2021-06-11 17:35:01 -04:00
a387cabcfb refactor: return full HTTP response for binary response bodies (#112) 2021-06-10 11:20:33 -04:00
a1cf15d971 refactor: codegen backup and restore APIs (#107) 2021-06-02 16:19:36 -04:00