k3s/pkg/api/validation
Connor Doyle c93646e8da Support opaque integer resource accounting.
- Prevents kubelet from overwriting capacity during sync.
- Handles opaque integer resources in the scheduler.
  - Adds scheduler predicate tests for opaque resources.
- Validates opaque int resources:
  - Ensures supplied opaque int quantities in node capacity,
    node allocatable, pod request and pod limit are integers.
  - Adds tests for new validation logic (node update and pod spec).
- Added e2e tests for opaque integer resources.
2016-10-28 10:15:13 -07:00
..
path autogenerated 2016-10-21 17:32:32 -07:00
testdata/v1
BUILD fix tests by declaring testdata 2016-10-21 17:32:32 -07:00
doc.go
events.go Validate involvedObject.Namespace matches event.Namespace 2016-08-16 21:18:52 -04:00
events_test.go Validate involvedObject.Namespace matches event.Namespace 2016-08-16 21:18:52 -04:00
schema.go Add some checking for the presence of the same key twice. 2016-10-13 21:58:44 -07:00
schema_test.go Add some checking for the presence of the same key twice. 2016-10-13 21:58:44 -07:00
validation.go Support opaque integer resource accounting. 2016-10-28 10:15:13 -07:00
validation_test.go Support opaque integer resource accounting. 2016-10-28 10:15:13 -07:00