rmweir
5af9463892
Add unauthorized error check
2019-11-15 18:21:32 -07:00
rmweir
5b40a73366
Add IsNotFound error check
...
Added function for checking if an error has code 404 (is not found).
2019-04-23 13:13:43 -07:00
Darren Shepherd
f8f079c3b9
Add Conflict constant
2018-07-19 10:23:17 -07:00
Darren Shepherd
4cf9f645cd
Refactor access control to return error not bool
2018-03-31 03:13:22 -07:00
Nathan Jenan
0ada2dfa79
Add IsConflict to httperror
...
Add an IsConflict function to httperror package. The purpose of this
change is to allow the testing of APIErrors in a controlled and
centralized way.
Supports functionality in issue:
https://github.com/rancher/rancher/issues/11378
2018-03-15 09:29:34 -07:00
Craig Jellick
daaccc2c2c
API error improvements
...
Log underlying causes of APIErrors (if it is available).
Also, some general cleanup.
2018-02-15 17:01:31 -07:00
Darren Shepherd
722cedfe01
Major refactor of subcontexts
2018-02-09 13:45:22 -07:00
Darren Shepherd
dfade4fcef
status => Status
2018-01-20 04:31:39 +00:00
Darren Shepherd
b5ebee3dfa
Send k8s error bad as something other than 500 server error
2017-12-29 22:23:14 +00:00
Darren Shepherd
bfcad0d1b1
Enable access control
2017-12-18 13:59:56 -07:00
Darren Shepherd
38c9c5c6c3
Subcontext and mapping updates
2017-11-21 15:37:22 -07:00
Darren Shepherd
c8cab3f4f8
More initial dev
2017-11-10 21:46:30 -07:00
Darren Shepherd
c06696a1e4
Initial
2017-10-15 19:23:15 -07:00