1
0
mirror of https://github.com/rancher/norman.git synced 2025-09-13 13:50:16 +00:00
Commit Graph

378 Commits

Author SHA1 Message Date
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
Craig Jellick
0b2c60dc92 Always set message on conditions
and default reason to "Error" if no specific reason is specified
2017-12-28 10:05:15 -07:00
Darren Shepherd
0d05740f8d Make all status fields readonly by default 2017-12-28 16:49:51 +00:00
Darren Shepherd
4944bcd93e Send resource.removed messages 2017-12-28 16:49:51 +00:00
Darren Shepherd
92df95cf7f api-ui 1.1.3 2017-12-28 16:49:51 +00:00
Darren Shepherd
45662fe756 Add utils methods 2017-12-28 16:49:51 +00:00
Darren Shepherd
eec4103473 Make queryopts be a pointer 2017-12-28 16:49:51 +00:00
Craig Jellick
02738370b1 Return object from Do function 2017-12-27 19:46:37 +00:00
Craig Jellick
fb1a80ccc1 Add support for message field on condition 2017-12-27 19:46:37 +00:00
Darren Shepherd
1bc012f8e3 Add field.cattle.io/creatorId to each resource 2017-12-27 11:24:32 -07:00
Darren Shepherd
a212c8c192 Use CodeName in ranhcer client 2017-12-22 23:47:31 -07:00
Darren Shepherd
94c83962dd Import cleanup 2017-12-22 23:19:30 -07:00