1
0
mirror of https://github.com/rancher/norman.git synced 2025-07-31 06:42:05 +00:00
Commit Graph

38 Commits

Author SHA1 Message Date
Chirayu Kapoor
dd137e4d0b
Update wrangler to wrangler/v2
Signed-off-by: Chirayu Kapoor <chirayu.kapoor@suse.com>
2024-01-19 15:31:34 +05:30
Jiaqi Luo
29dae41a91 remove the checks on some return values, which was added recently by another PR, to make it work when being used in rancher 2022-12-02 20:27:19 -07:00
Jiaqi Luo
c943439888 ignore clusterName when it is not found(the metadata.clusterName field is completely removed in k8s 1.25) 2022-12-02 20:27:02 -07:00
Steffan Tucker
1e41884a06
Fix golangci-lint issues
As part of updating dapper files, golangci-lint was set to be used. This
caused a lot of lint issues to crop up, which this fixes.
2022-07-26 10:40:30 -06:00
Daishan
2ba9d8db33 Use lower name 2021-02-24 17:58:46 -07:00
Daishan
505eca07f2 Fix self link 2021-02-19 10:24:53 -07:00
Daishan
3a2e391048 Add self link mapper 2021-02-18 20:22:11 -07:00
kinarashah
e09204b630 NewClientErrorReporter 2019-09-30 09:47:04 -07:00
orangedeng
d71b4215d0 Fix embed mapper ignore list not working 2019-01-09 15:22:22 +08:00
Darren Shepherd
0363cc24c6 Add pending mapper to set resource state to pending when no conditions 2018-10-09 19:30:07 -07:00
Darren Shepherd
9324ec8b09 Add Optional to access mapper 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
c0cece100c Add CodeName to Move Mapper 2018-07-19 10:23:17 -07:00
Darren Shepherd
003c94dd27 Add root mapper 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
0d782dfe15 when embedding optional element if schema isn't found ignore 2018-07-19 10:23:17 -07:00
Prachi Damle
d70f95a3d6 Changes to Mapper embed to insert nil value if applicable for a schema field 2018-06-11 10:53:23 -07:00
Craig Jellick
719d3af64f Fix logic for setting annotation based fields
- Do not drop a field-to-annotation conversion if the value of the field is
nil. The user is excplicitly trying to set it to nil
- Never delete field annotations, even if they are not in the new map of
annotations sent by the user.
- Prevent the modification of the creatorId field, which is a special case
field that should be considered protected
2018-04-27 09:25:25 -07:00
Darren Shepherd
0611d5f7a1 Add copy mapper 2018-04-21 21:50:09 -07:00
Alena Prokharchyk
1d27d67ff3 do not embed map if empty 2018-04-11 17:33:53 -07:00
Darren Shepherd
e9373e3511 Preserve selfLink in data 2018-03-29 15:58:51 -07:00
Darren Shepherd
35fb4dfb92 Add Required mapper 2018-03-23 16:26:05 -07:00
Alena Prokharchyk
65e6d1cc46 Index out of range fix in batchMove 2018-02-27 18:35:08 -07:00
Darren Shepherd
ee25c89cfd More mappers 2018-02-27 15:20:09 -07:00
Alena Prokharchyk
50be08fe26 Translate field to annotation only when not nil 2018-02-26 11:29:35 -08:00
Darren Shepherd
d95fc9147f MetadataMapper cleanup 2018-02-07 13:48:02 -08:00
Darren Shepherd
432219d447 Mapper updates 2018-01-12 14:39:58 +00:00
Darren Shepherd
16783cf1d3 Add support for list in annotation field 2017-12-29 22:23:14 +00:00
Darren Shepherd
c61bcaf6c0 Random mapper fixes 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
Darren Shepherd
0d05740f8d Make all status fields readonly by default 2017-12-28 16:49:51 +00:00
Darren Shepherd
57a671459b Various mapper changes 2017-12-22 23:19:30 -07:00
Darren Shepherd
2550f12a9a Add offspring controller 2017-12-19 21:44:02 -07:00
Darren Shepherd
18d3f69aa8 Updates 2017-12-05 09:21:47 -07:00
Darren Shepherd
15e105a0ab Refactor types 2017-11-29 14:27:02 -07:00
Darren Shepherd
389d27b3e5 Updates 2017-11-28 14:28:25 -07:00
Darren Shepherd
59d2d58c3e Fix code generator 2017-11-21 16:16:52 -07:00
Darren Shepherd
38c9c5c6c3 Subcontext and mapping updates 2017-11-21 15:37:22 -07:00