kubernetes/pkg/kubectl/cmd/util/openapi/validation
Sahdev P. Zala 0c0a4696c7 Provide aggregated validation errors for version and kind
Currently the validation checks is done individually for version and
kind group. For example, if user provided yaml file is missing apiVersion
and kind fields, first they will receive error on apiVersion. Once user
update the file and try to recreate, an error on missing kind is displayed.
The behavior is same for wrong types of the fields.
These errors should be aggregated and displayed.
2017-10-17 13:31:12 -04:00
..
BUILD update BUILD files 2017-10-15 18:18:13 -07:00
errors.go openapi: Add validation logic 2017-08-11 17:02:31 -07:00
types.go Revert "remove dup pkg and update reference" 2017-09-06 12:30:53 -07:00
validation_suite_test.go openapi: Add validation logic 2017-08-11 17:02:31 -07:00
validation_test.go Fixed test issue for image validation. 2017-09-20 00:38:28 -04:00
validation.go Provide aggregated validation errors for version and kind 2017-10-17 13:31:12 -04:00