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

23 Commits

Author SHA1 Message Date
Darren Shepherd
51ea2cd7f6 Rename method 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
Alena Prokharchyk
e03c72e855 DnsLabelRestricted type to validate against RFC 1035
k8s uses restricted format for services

dnsLabelRestricted: dns1035LabelFmt string = "[a-z]([-a-z0-9]*[a-z0-9])?"
dnsLabel:dns1123LabelFmt string = "[a-z0-9]([-a-z0-9]*[a-z0-9])?"
2018-06-19 09:47:36 -07:00
zionwu
79b91ea33c Add hostname tag and fix dnsLabel validation issue 2018-05-18 08:27:25 -07:00
Darren Shepherd
4cf9f645cd Refactor access control to return error not bool 2018-03-31 03:13:22 -07:00
Darren Shepherd
cff992b3b4 Ignore for nullable enums 2018-03-26 19:06:15 -07:00
Craig Jellick
cd5dee7857 User proper type field when converting array
Previously we were passing the name of the field, not the type
2018-03-15 09:10:03 -07:00
Darren Shepherd
e0efa84d62 Forgot to assign value 2018-03-04 22:41:12 -07:00
Darren Shepherd
1f0f16a832 Change defaulting logic 2018-03-04 22:06:50 -07:00
Darren Shepherd
f59a6072cf Default empty strings 2018-03-01 14:29:27 -07:00
Darren Shepherd
63f413add2 Drop password fields from response 2018-02-09 18:04:03 -07:00
Darren Shepherd
da40fa7b06 don't validate empty string as DNS name 2018-01-21 06:24:22 +00:00
Alena Prokharchyk
69d780d557 DNS label validation 2018-01-20 04:32:10 +00:00
Darren Shepherd
8982c1cc59 write writeOnly fields on create 2018-01-20 04:31:39 +00:00
Daishan Peng
409b391766 don't return nonnullable error if default is set 2018-01-18 00:10:57 +00:00
Darren Shepherd
942bde06d7 Validate subtypes in create/update 2018-01-17 23:37:53 +00:00
Craig Jellick
09d44429d1 return errors where appropriate 2018-01-02 19:20:18 -07:00
Darren Shepherd
162f6088af Add intOrString and dnsLabel types 2017-12-29 22:23:14 +00:00
Darren Shepherd
36e9738cde Add base64 type 2017-12-22 23:19:30 -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
38c9c5c6c3 Subcontext and mapping updates 2017-11-21 15:37:22 -07:00
Darren Shepherd
c8cab3f4f8 More initial dev 2017-11-10 21:46:30 -07:00