Daniel Smith
37f5a9df07
make conversion do deep copies
2015-01-15 12:02:22 -08:00
Clayton Coleman
8f65442c2f
Client should not include ns/ for non-namespaced calls in v1beta3
2015-01-08 12:44:07 -05:00
Clayton Coleman
3b5c3ec786
Merge pull request #3220 from lavalamp/deepEqual
...
Add *useful* DeepEqual
2015-01-07 14:24:26 -05:00
Jordan Liggitt
2da1865fc2
Make default conversion behavior available to conversion funcs
2015-01-06 13:38:57 -05:00
Daniel Smith
f0b7743402
Add useful DeepEqual
2015-01-05 10:37:50 -08:00
Daniel Smith
f3148e9965
Fix taking addr() of map value/key
2014-12-12 15:26:17 -08:00
Daniel Smith
3c1d51b19d
refactor to hide structs behind an interface
2014-12-08 17:12:40 -08:00
Daniel Smith
564c087062
produce more readable error messages
2014-12-08 17:12:38 -08:00
Daniel Smith
77521a33d3
Add stack of previous values to converter
2014-12-08 17:12:07 -08:00
Daniel Smith
f1c21c8fdf
add boilerplate reduction struct field copier
2014-11-24 12:57:34 -08:00
Tim Hockin
ea960711ff
Clean up error logs.
...
Use %v for errors, tidy some messages, make error messages start lowe-case
(as per go guidelines). Just accumulated nits.
2014-11-21 09:45:26 +08:00
Vojtech Vitek (V-Teq)
90809c270d
Use conversion.EnforcePtr() where appropriate
...
Signed-off-by: Vojtech Vitek (V-Teq) <vvitek@redhat.com >
2014-10-28 16:36:09 +01:00
Vojtech Vitek (V-Teq)
755d4d441a
Fix typos
2014-10-21 18:57:20 +02:00
Clayton Coleman
338ee1e458
Add additional debugging output on mistyped conversion
2014-10-07 14:09:01 -04:00
Daniel Smith
b8c955ea17
Fixes:
...
* Fix kubecfg test, which was writing an internal object straight to yaml
* Address review comments
2014-09-15 13:15:46 -07:00
Daniel Smith
71e547124c
Make needed changes in conversion package to support pluggability
2014-09-15 13:15:46 -07:00
Daniel Smith
2ba6503511
Add continuation to conversion routines
2014-09-07 22:19:24 -07:00
Vojtech Vitek (V-Teq)
59f58cd043
Unify Godoc formatting, fix various typos
...
Signed-off-by: Vojtech Vitek (V-Teq) <vvitek@redhat.com >
2014-09-02 13:41:03 +02:00
Paul Morie
c69160059b
Change CreationTimestamp to a util.Time and set in each storage implementation
...
Because time.Time doesn't work correctly with our YAML package, it is necessary
to introduce a type, util.Time, which serializes correctly to JSON and YAML.
Eventually we would like timestamping to cut across storage implementations;
for now, we set it in each storage.
2014-08-14 16:26:29 -04:00
Daniel Smith
1cc7fce523
Add documentation and tests to conversion.
2014-08-01 14:26:36 -07:00
Daniel Smith
a73e4f4623
Separate generic parts of api library into conversion package.
2014-08-01 14:25:42 -07:00