1
0
mirror of https://github.com/rancher/norman.git synced 2025-09-01 07:08:59 +00:00
Commit Graph

439 Commits

Author SHA1 Message Date
Darren Shepherd
6f8ed342d9 Cleanup channels 2018-01-17 04:49:08 +00:00
Darren Shepherd
67264fa498 Fix generator for new access control 2018-01-17 01:11:22 +00:00
Darren Shepherd
d1b13df896 Make conditions update less and communicate error better 2018-01-17 01:06:57 +00:00
Darren Shepherd
245c089cd5 Put in stubs for dynamic access control on schemas 2018-01-17 01:06:57 +00:00
Darren Shepherd
f7f989c4e2 precreate maps in schema 2018-01-16 19:54:43 +00:00
Darren Shepherd
04bbf46fc9 Action helper method 2018-01-16 19:54:43 +00:00
Darren Shepherd
fd47aed192 Fix checking object changes before update 2018-01-16 19:54:43 +00:00
Darren Shepherd
cdb90f4937 Only touch timestamp if the condition value actually changed 2018-01-16 19:54:43 +00:00
Darren Shepherd
e92239b78a Ensure one can read the object with an action before running actionhandler 2018-01-16 19:54:43 +00:00
Darren Shepherd
76b1e1b679 Allow lookup of object without returning it 2018-01-16 19:54:43 +00:00
Craig Jellick
905797b50f Add suport for cluster scoped controllers
Some worload controllers need to watch resoruces in the mangement plane
and react to them. But, they should only react to resources that
correspond to their cluster. This adds framework support for that.
2018-01-16 09:04:15 -07:00
Darren Shepherd
af105c2bc7 Add name to handlers 2018-01-16 05:10:36 +00:00
Darren Shepherd
9ce12b1644 Don't generate the ID field 2018-01-16 05:10:36 +00:00
Darren Shepherd
7d895bb074 Handle non-nil interfaces with nil values 2018-01-16 05:10:36 +00:00
Darren Shepherd
61330a3b69 Set namespace and name on object always 2018-01-16 05:06:10 +00:00
Craig Jellick
a26be15e57 Allow namespaces to have finalizers
Now the we are properly formatting finalizer names, they can
successfully be added to namespaces. This has is no longer needed.
2018-01-15 10:31:34 -07:00
Alena Prokharchyk
faf2f35bfe Special handling for endpoints plural name 2018-01-12 19:15:37 +00:00
Darren Shepherd
432219d447 Mapper updates 2018-01-12 14:39:58 +00:00
Darren Shepherd
fc7243e5c9 Add map and slice support to IsEmpty 2018-01-12 14:39:58 +00:00
Darren Shepherd
670a3dd697 Send ping events 2018-01-12 14:39:58 +00:00
Darren Shepherd
2e2459a143 Fix race condition in setting initialized and finalizers 2018-01-12 14:39:58 +00:00
Darren Shepherd
6b8f570871 DoUntilTrue should never set to False 2018-01-12 14:39:58 +00:00
Darren Shepherd
1705b1753a Fix namespacing error in client 2018-01-12 14:39:58 +00:00
Craig Jellick
399b7d3e3a DoUntilTrue condition function 2018-01-08 19:34:18 +00:00
Darren Shepherd
82272b3bee Fix panic 2018-01-08 17:19:53 +00:00
Darren Shepherd
de274b2eba API-UI 1.1.4 2018-01-04 04:56:03 +00:00
Daishan Peng
1ba4bb0d80 change better format for finalizer 2018-01-04 04:50:36 +00:00
Darren Shepherd
92952a5c6f Update vendor 2018-01-03 05:46:29 +00:00
Darren Shepherd
ebb8cf093e Fix update on secrets 2018-01-03 05:46:29 +00:00
Darren Shepherd
a7ffb0f768 Add status to error reponses 2018-01-03 05:46:29 +00:00
Craig Jellick
09d44429d1 return errors where appropriate 2018-01-02 19:20:18 -07:00
Darren Shepherd
c94e18869a Handle time.Time to string conversion 2018-01-02 05:10:22 +00:00
Darren Shepherd
b80039523f Fix update 2017-12-30 02:22:38 +00:00
Darren Shepherd
5f0c700068 Turn off debug 2017-12-30 02:22:38 +00:00
Darren Shepherd
2732c0c43b If "id" is set still prefix with namespace 2017-12-30 02:22:38 +00:00
Darren Shepherd
790bd1ec07 Write headers later in request 2017-12-30 02:22:38 +00:00
Darren Shepherd
16783cf1d3 Add support for list in annotation field 2017-12-29 22:23:14 +00:00
Darren Shepherd
2bd0ed6014 Util method 2017-12-29 22:23:14 +00:00
Darren Shepherd
c61bcaf6c0 Random mapper fixes 2017-12-29 22:23:14 +00:00
Darren Shepherd
b8622b9c90 Try to address goroutine leak in subscribe 2017-12-29 22:23:14 +00:00
Darren Shepherd
9ea843806b Send resource.remove events
Also don't ever send empty frames
2017-12-29 22:23:14 +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
162f6088af Add intOrString and dnsLabel types 2017-12-29 22:23:14 +00:00
Darren Shepherd
6c007d23ef Add GetNamespace and DeleteNamespace calls 2017-12-29 22:23:14 +00:00
Darren Shepherd
b07bc3177e Only create links to listable types 2017-12-29 22:23:14 +00:00
Darren Shepherd
f5e2adb427 Attempt to fix CSRF, still untested though 2017-12-29 22:23:14 +00:00
Darren Shepherd
2b7bc0968a Delete unused code 2017-12-29 22:23:14 +00:00
Daishan Peng
026837668c use patch for update, fix namespace actions 2017-12-29 22:08:51 +00:00
Craig Jellick
6e00d528c2 Do print controller name when logging error 2017-12-29 21:57:12 +00:00
Craig Jellick
d969152e69 Don't print events to standard out 2017-12-29 21:57:12 +00:00