Todd Knight
fd0da998e8
SDK error revamp ( #432 )
...
SDK methods now return 1 error. To differentiate between Client errors and Server errors I've also implemented the AsServerError function which returns an *api.Error if it is an error originating from the remote server or nil otherwise.
2020-09-24 14:34:58 -07:00
Jeff Mitchell
03436a73de
Update CLI output functions to show scope info and cleanup ( #416 )
2020-09-23 03:01:39 -04:00
Jeff Mitchell
a00ee7a948
Add Result types to Go SDK and properly populate body/map fields ( #358 )
2020-09-15 01:08:21 -04:00
Jeff Mitchell
1b2f73d1d4
Fix some old logic in some CLI commands ( #357 )
2020-09-14 12:45:56 -04:00
Jeff Mitchell
1f80edbffc
Add missing default-port flag to targets command ( #355 )
2020-09-12 14:06:28 -04:00
Jeff Mitchell
f8237fb945
Move some packages into SDK, out of internal
2020-09-09 01:24:25 -04:00
Todd Knight
c3ecea172d
Generate new version of SDK resources and Add Tests ( #331 )
2020-09-08 16:27:51 -04:00
Jeff Mitchell
a4c20164f3
Add add/remove/set hosts functions to host-sets command ( #316 )
2020-08-31 10:06:21 -04:00
Jeff Mitchell
b8c8d29008
Switch ordering of CLI create/update vs static commands ( #314 )
2020-08-28 13:31:20 -04:00
Jeff Mitchell
1f065316ee
Initial ( #313 )
2020-08-28 01:28:26 -04:00