1
0
mirror of https://github.com/rancher/norman.git synced 2025-06-27 15:57:00 +00:00
Commit Graph

11 Commits

Author SHA1 Message Date
Darren Shepherd
da330debe9 Export NewAPIError and SetupRequest 2018-07-19 10:23:17 -07:00
Dan Ramich
98500d10f5 Update doAction to not expect a response
Problem:
doAction assumes that an action would have a response body which causes
JSON unmarshal errors

Solution:
Only attempt to Unmarshal when a response is expected
2018-04-27 15:27:40 -07:00
Dan Ramich
9846d7349c Add interface for APIBaseClient
Problem:
There are three clients based off the APIBaseClient so three code paths
are needed to make the same type of call in each client

Solution:
Add an interface so any client that satisfies it can be used to make
these calls
2018-04-10 22:48:58 -07:00
Dan Ramich
17c297e703 Add CollectionAction and update template to use collections 2018-04-03 12:55:33 -07:00
Daishan Peng
dce4917fc2 fix list link for cluster type 2018-03-19 12:33:23 -04:00
Daishan Peng
a978cad0e8 add insecure flag, fix collection link, add yaml tags 2018-02-27 15:50:24 -07:00
Raul Sanchez
aa9c66a519 Feat: Added token suport to clientbase auth 2018-02-07 13:48:11 -08:00
Darren Shepherd
38c9c5c6c3 Subcontext and mapping updates 2017-11-21 15:37:22 -07:00
Darren Shepherd
591b663b2d Changes to generator for deepcopygen 2017-11-11 17:07:09 -07:00
Darren Shepherd
f9b15a5e39 Change ById to ByID 2017-11-10 22:33:03 -07:00
Darren Shepherd
c8cab3f4f8 More initial dev 2017-11-10 21:46:30 -07:00