Jeff Mitchell
5cbfcf8eb6
Shuffle things around out of new modules
2020-10-07 14:03:42 -04:00
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
Todd Knight
21f5cc274f
Don't return nil, nil for API service methods. Add tests for updating w/ wrong version. ( #396 )
2020-09-21 15:09:30 -04:00
Jeff Mitchell
a660e56ee7
Fix whitespace typo in generated API
2020-09-16 10:49:38 -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
b7524f8cfb
Decode to both the struct and a map and add access ( #349 )
...
This will allow for better TF integration.
2020-09-11 00:51:55 -04:00
Jeff Mitchell
f94f21fd97
Update API codes ( #336 )
2020-09-08 23:57:26 -04:00
Todd Knight
c3ecea172d
Generate new version of SDK resources and Add Tests ( #331 )
2020-09-08 16:27:51 -04:00
Todd Knight
1c2c078e0a
Adding Authz checks that support new pathing ( #328 )
2020-09-04 14:48:11 -07:00
Todd Knight
37e56ab46b
Pathing updated to support new and old styles ( #323 )
2020-09-02 19:43:41 -07:00
Jeff Mitchell
17ecb6f2ce
Separate accounts/host catalogs/host sets into their own packages ( #311 )
2020-08-27 20:43:33 -04:00