1
0
mirror of https://github.com/rancher/norman.git synced 2025-08-28 11:50:34 +00:00
Commit Graph

718 Commits

Author SHA1 Message Date
Darren Shepherd
87d5ab06b9 Change RequestHandler signature 2018-01-30 23:56:30 +00:00
Darren Shepherd
fe053853bb Add notnullable attribute 2018-01-28 05:19:39 +00:00
Darren Shepherd
1369734139 Fix panic when posting to / 2018-01-26 04:16:12 +00:00
Darren Shepherd
2cdc1aa00a Fix standard dump 2018-01-24 01:18:27 +00:00
Darren Shepherd
d7d3712fd1 Dump standard goroutine also 2018-01-23 21:49:55 +00:00
Darren Shepherd
0b548c23c7 Fix typo 2018-01-23 03:43:51 +00:00
Darren Shepherd
60fa30a605 Fix scheme detection in URL 2018-01-23 02:08:21 +00:00
Darren Shepherd
0d8fd60120 Move gorouting dump 2018-01-22 23:53:21 +00:00
Darren Shepherd
7f68e1b49d Move gorouting dump handler to norman 2018-01-22 23:45:38 +00:00
Darren Shepherd
ac16cabfd1 Make conditions not modify as much 2018-01-22 23:45:38 +00:00
Daishan Peng
1e15dbfbdc fix nil pointer exceptions 2018-01-22 22:57:59 +00:00
Darren Shepherd
da40fa7b06 don't validate empty string as DNS name 2018-01-21 06:24:22 +00:00
Darren Shepherd
ef71925351 Update rate limit on the controller 2018-01-21 06:24:22 +00:00
Craig Jellick
5bfe8991b1 more collection action changes 2018-01-20 01:32:04 -07:00
Craig Jellick
990db51407 more collection action code 2018-01-20 01:12:19 -07:00
Darren Shepherd
d170661103 Add CollectionFormatter 2018-01-19 23:28:57 -07:00
Alena Prokharchyk
69d780d557 DNS label validation 2018-01-20 04:32:10 +00:00
Darren Shepherd
c970c36427 fix json float parsing 2018-01-20 04:31:39 +00:00
Darren Shepherd
aa2538a874 APIContext constructor 2018-01-20 04:31:39 +00:00
Darren Shepherd
dfade4fcef status => Status 2018-01-20 04:31:39 +00:00
Darren Shepherd
8982c1cc59 write writeOnly fields on create 2018-01-20 04:31:39 +00:00
Darren Shepherd
76d8256085 Change merge logic 2018-01-18 23:41:45 +00:00
Darren Shepherd
b33c29d49e Fix subscription dropping after 30 seconds 2018-01-18 23:41:45 +00:00
Darren Shepherd
e4d341fa65 Switch args in namespace methods 2018-01-18 23:41:45 +00:00
Darren Shepherd
986c94965f Add helper method 2018-01-18 05:42:53 +00:00
Daishan Peng
409b391766 don't return nonnullable error if default is set 2018-01-18 00:10:57 +00:00
Darren Shepherd
d4e7ad28b8 Don't check for object in collection actions 2018-01-17 23:37:53 +00:00
Darren Shepherd
942bde06d7 Validate subtypes in create/update 2018-01-17 23:37:53 +00:00
Darren Shepherd
9e6ea56442 Changes to make conditions less chatty 2018-01-17 22:44:12 +00:00
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