1
0
mirror of https://github.com/rancher/norman.git synced 2025-09-23 20:18:51 +00:00
Commit Graph

325 Commits

Author SHA1 Message Date
Darren Shepherd
04c7130e5f Add changed method 2018-08-13 10:00:02 -07:00
Darren Shepherd
5e344d90cd Don't strip strings on output 2018-08-13 10:00:02 -07:00
kinarashah
58f46da754 return on first try if err is not conflict
Resolves: rancher/rancher#14940
2018-08-04 10:50:35 -07:00
Daishan Peng
33b13aaf9d use background delete 2018-07-31 18:29:57 -07:00
Darren Shepherd
9620967ad5 Fallback to custom decoder 2018-07-31 18:24:07 -07:00
Darren Shepherd
5a8ca5f1e5 Only set type if id is set 2018-07-31 14:10:23 -07:00
Darren Shepherd
093318714b Add ability to pass in WebSocket dialer 2018-07-31 14:10:23 -07:00
Darren Shepherd
19878010e4 Add Replace to generic client 2018-07-31 14:10:23 -07:00
Darren Shepherd
bfc612cdcb Remove unused offspring controller 2018-07-31 14:10:23 -07:00
Darren Shepherd
b9de8d4273 More verbose error message when reflection fails 2018-07-31 14:10:23 -07:00
Darren Shepherd
fb7c8a27e9 Support uint32 2018-07-31 14:10:23 -07:00
Darren Shepherd
1459e6f3a5 Support maps and slices of pointers 2018-07-31 14:10:23 -07:00
Darren Shepherd
dde4ff79de Fix merging of fields that are maps of other types 2018-07-31 14:10:23 -07:00
Darren Shepherd
88184ca7fe Use framer to avoid invalid parsing of the stream 2018-07-31 14:10:23 -07:00
Bill Maxwell
de9510b940 Default to noop metric provider
With the built in prom. metrics provider, the k8s machinery doesnt
deregister metrics when controllers are removed. So over time as
things like clusters are created or removed the metrics are not
cleaned up. The metrics types for the cache and queue are also
very large. They can take ~1GB of RAM in a 100 cluster setup.

Also, Rancher is not exposing these stats so they are unobservable.
2018-07-27 12:50:44 -07:00
Dan Ramich
0953e9e976 Update template to include created label 2018-07-25 09:31:30 -07:00
loganhz
2af274f953 API-UI 1.1.5
https://github.com/rancher/rancher/issues/13732
2018-07-24 14:33:56 -07:00
Darren Shepherd
d985e01035 Add type before and after 2018-07-19 23:56:06 -07:00
Darren Shepherd
c032c4611f Update vendor 2018-07-19 10:23:17 -07:00
Darren Shepherd
9324ec8b09 Add Optional to access mapper 2018-07-19 10:23:17 -07:00
Darren Shepherd
dca6c2e43d Add searching to date fields by default 2018-07-19 10:23:17 -07:00
Darren Shepherd
c29825b3db Rename IsEmpty to IsAPIObjectEmpty 2018-07-19 10:23:17 -07:00
Darren Shepherd
c3512e7097 Add yaml formatting for pretty edit mode 2018-07-19 10:23:17 -07:00
Darren Shepherd
843a604715 Fix replace logic 2018-07-19 10:23:17 -07:00
Darren Shepherd
7b6bca9b64 Add util methods to convert to idiomatic json/yaml key formats 2018-07-19 10:23:17 -07:00
Darren Shepherd
1d4a52cb31 make type conversion and field validation public util methods 2018-07-19 10:23:17 -07:00
Darren Shepherd
58723a866e Formatting change for generated client 2018-07-19 10:23:17 -07:00
Darren Shepherd
35d7571228 Improve client debug logging 2018-07-19 10:23:17 -07:00
Darren Shepherd
64a3b83d23 Add slice.StringsEquals 2018-07-19 10:23:17 -07:00
Darren Shepherd
6bab9eed93 Allow API to run through k8s service proxy 2018-07-19 10:23:17 -07:00
Darren Shepherd
f33accee7c Add InputFormatter that runs before the builder/validation 2018-07-19 10:23:17 -07:00
Darren Shepherd
16ed673d50 Revert collection URL lookup 2018-07-19 10:23:17 -07:00
Darren Shepherd
c0cece100c Add CodeName to Move Mapper 2018-07-19 10:23:17 -07:00
Darren Shepherd
51ea2cd7f6 Rename method 2018-07-19 10:23:17 -07:00
Darren Shepherd
88e3507f72 Change some logging to debug
# Conflicts:
#	controller/generic_controller.go
#	vendor.conf
2018-07-19 10:23:17 -07:00
Darren Shepherd
003c94dd27 Add root mapper 2018-07-19 10:23:17 -07:00
Darren Shepherd
0decad85cb Drop status field if _export=true is set 2018-07-19 10:23:17 -07:00
Darren Shepherd
23c18792d2 Add replace to client 2018-07-19 10:23:17 -07:00
Darren Shepherd
2706ddc350 Change default timeout to 1 minute 2018-07-19 10:23:17 -07:00
Darren Shepherd
413808be1d Make debug variable public 2018-07-19 10:23:17 -07:00
Darren Shepherd
fbc49a97af Make websocket dialer use same TLSClientConfig has http client 2018-07-19 10:23:17 -07:00
Darren Shepherd
875bcf4b2d Change ToInternal to return error 2018-07-19 10:23:17 -07:00
Darren Shepherd
6db31068a0 Add edit/export modes and drop default resource fields if empty 2018-07-19 10:23:17 -07:00
Darren Shepherd
da330debe9 Export NewAPIError and SetupRequest 2018-07-19 10:23:17 -07:00
Darren Shepherd
07d95eaf3f Refactor how CRD stores are created 2018-07-19 10:23:17 -07:00
Darren Shepherd
22fc71bcb6 refactor pointer to s 2018-07-19 10:23:17 -07:00
Darren Shepherd
938de659af For ByID if transformer returns nil and nil that means 404 2018-07-19 10:23:17 -07:00
Darren Shepherd
0e3bc2dfca Get name/namespace from metadata/name,namespace not name,namespaceId 2018-07-19 10:23:17 -07:00
Darren Shepherd
0d782dfe15 when embedding optional element if schema isn't found ignore 2018-07-19 10:23:17 -07:00
Darren Shepherd
f8f079c3b9 Add Conflict constant 2018-07-19 10:23:17 -07:00