kubernetes/cmd
Yu-Ju Hong 4a72addaeb Factor out API defaulting from validation logic
Currently, the validation logic validates fields in an object and supply default
values wherever applies. This change factors out defaulting to a set of
defaulting callback functions for decoding (see #1502 for more discussion).

 * This change is based on pull request 2587.

 * Most defaulting has been migrated to defaults.go where the defaulting
   functions are added.

 * validation_test.go and converter_test.go have been adapted to not testing the
   default values.

 * Fixed all tests with that create invalid objects with the absence of
   defaulting logic.
2015-02-03 00:55:42 -08:00
..
e2e Generate JUnit XML for Jenkins from the Go e2e tests 2015-01-28 15:09:53 -08:00
gendocs make kubectl factory flag binding optional 2015-01-20 18:12:24 -05:00
hyperkube Convert proxy server to hyperkube 2015-02-02 14:03:13 -08:00
integration Factor out API defaulting from validation logic 2015-02-03 00:55:42 -08:00
kube-apiserver Convert kube-apiserver to hyperkube. 2015-01-30 13:06:28 -08:00
kube-controller-manager Convert controller-manager to hyperkube. 2015-02-02 10:01:36 -08:00
kube-proxy Convert proxy server to hyperkube 2015-02-02 14:03:13 -08:00
kubecfg Move all kubernetes to posix flags 2015-01-15 09:12:19 -08:00
kubectl make kubectl factory flag binding optional 2015-01-20 18:12:24 -05:00
kubelet Covert the kubelet binary to hyperkube. 2015-02-02 14:03:13 -08:00
kubernetes Covert the kubelet binary to hyperkube. 2015-02-02 14:03:13 -08:00