k3s/plugin/pkg/scheduler
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
..
algorithmprovider Fix typos in user-facing strings 2015-01-18 01:32:34 -06:00
factory Factor out API defaulting from validation logic 2015-02-03 00:55:42 -08:00
server Convert the scheduler binary to hyperkube. 2015-02-02 10:01:36 -08:00
scheduler.go Remove CONDITION from event object completely 2015-01-14 14:17:16 -08:00
scheduler_test.go Internal rename api.Minion -> api.Node 2014-12-10 12:08:18 -05:00