1
0
mirror of https://github.com/rancher/norman.git synced 2025-06-30 09:12:19 +00:00
Commit Graph

33 Commits

Author SHA1 Message Date
Sebastiaan van Steenis
5c74e1ee1e Move debug log to trace 2020-03-11 20:37:25 -07:00
Darren Shepherd
07c964e242 Move to some wrangler utils and k3s 2019-08-19 10:14:05 -07:00
Darren Shepherd
77a8edaa99 Allow circular types to be imported 2018-12-17 15:44:50 -07:00
Aiwantaozi
b681b841db Add default value to float type
Problem:
float type default value are convert to string now

Solution:
add default value for float

Issue:
https://github.com/rancher/rancher/issues/16958
2018-12-07 18:58:27 +08:00
Darren Shepherd
c8d4304725 Add support for Uint64 2018-11-19 22:36:39 -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
dca6c2e43d Add searching to date fields by default 2018-07-19 10:23:17 -07:00
zionwu
79b91ea33c Add hostname tag and fix dnsLabel validation issue 2018-05-18 08:27:25 -07:00
Nathan Jenan
6a363d8e93 Adding error if not a pointer
This change adds an early panic if the type of the obj supplied to the
`MustImport` func is a pointer.  This is to prevent a later, cryptic,
error that is not as clear to diagnose.
2018-05-16 10:15:49 -07:00
Darren Shepherd
c5c5ff280d Allow filtering of dnsLabel fields 2018-04-13 10:01:56 -07:00
Darren Shepherd
ff60298f31 Move ObjectClient to different package 2018-04-03 14:09:16 -07:00
Darren Shepherd
4cf9f645cd Refactor access control to return error not bool 2018-03-31 03:13:22 -07:00
Darren Shepherd
41c044bb25 Make ints not nullable by default 2018-03-26 18:07:03 -07:00
Darren Shepherd
2399924e8c Marshal default to correct type 2018-02-22 08:23:39 -07:00
Darren Shepherd
0f7c2968c9 Make controller and client more generic 2018-02-13 08:57:47 -07:00
Darren Shepherd
722cedfe01 Major refactor of subcontexts 2018-02-09 13:45:22 -07:00
Darren Shepherd
fe053853bb Add notnullable attribute 2018-01-28 05:19:39 +00:00
Darren Shepherd
0b548c23c7 Fix typo 2018-01-23 03:43:51 +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
5f0c700068 Turn off debug 2017-12-30 02:22:38 +00:00
Darren Shepherd
162f6088af Add intOrString and dnsLabel types 2017-12-29 22:23:14 +00:00
Darren Shepherd
6d5879c98a Add ability to rename imported types 2017-12-22 23:19:30 -07:00
Darren Shepherd
e656484b26 Fix codegen bug 2017-12-11 21:09:34 -07:00
Darren Shepherd
406c0d9999 Many enhancements 2017-12-11 20:58:53 -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
38c9c5c6c3 Subcontext and mapping updates 2017-11-21 15:37:22 -07:00
Darren Shepherd
6b05d03f46 Random fixes 2017-11-14 21:34:30 -07:00
Darren Shepherd
591b663b2d Changes to generator for deepcopygen 2017-11-11 17:07:09 -07:00
Darren Shepherd
c8cab3f4f8 More initial dev 2017-11-10 21:46:30 -07:00