Tim Hockin
7201227cb1
Use IntOrString for HTTP health check ports
...
Clean up code to be more testable. Add test cases for named and numeric
ports in HTTP health checks. Improve tests.
2014-08-10 23:26:42 -07:00
Clayton Coleman
f7149926c0
Remove expectNoError from client, kubelet, and util
2014-08-04 09:39:06 -04:00
Daniel Smith
aa92dd7fb2
Add go fuzzer in preparation for testing. Also gofmt a few files that needed it.
2014-07-27 14:54:48 -07:00
Tim Hockin
7d5398bda7
Fix go idiom feedback
2014-07-11 11:43:42 -07:00
Kouhei Ueno
93def86a9e
fix go lint errors in util
2014-07-11 21:04:34 +09:00
Tim Hockin
85effbbc3f
IntOrString for use in JSON/YAML
...
Specifying an API type as IntOrString will allow JSON and YAML to accept
either ints or strings with the same name. For example, port names or
numbers.
2014-07-10 11:09:47 -07:00
Tim Hockin
74e1b03a80
Break the dep from util -> api
...
Part 1 in a series of changes towards data validation.
2014-06-30 14:28:41 -07:00
Daniel Smith
b850d36166
Fix boilerplate everywhere
2014-06-23 11:32:11 -07:00
Brendan Burns
9f76f13205
gofmt
2014-06-11 12:50:01 -07:00
Brendan Burns
9010ef954c
Update tests
2014-06-09 07:16:43 -07:00