k3s/pkg/api/validation
k8s-merge-robot 5c30f983d9 Merge pull request #25018 from smarterclayton/fast_conversion
Automatic merge from submit-queue

Reduce allocations during conversion, enable new UnsafeConvertToVersion path

Cleans up the conversion path to avoid a few unnecessary allocations, then creates a new UnsafeConvertToVersion path that will allow encode/decode to bypass copying the object for performance. In that subsequent PR, ConvertToVersion will start to call Copy() and we will refactor conversions to reuse as much of the existing object as possible.

Also changes the unversioned.ObjectKind signature to not require allocations - speeds up a few common paths.
2016-05-12 14:50:01 -07:00
..
testdata/v1 Use fake images for pkg/api/validation unit tests 2016-04-14 17:13:15 -07:00
doc.go Make copyright ownership statement generic 2015-05-01 17:49:56 -04:00
events.go Fix ValidateEvent error message 2015-12-19 12:14:54 +01:00
events_test.go rewrite go imports 2015-08-05 17:30:03 -07:00
name.go Ensure HPA has valid resource/name/subresource, validate path segments 2015-11-03 14:46:17 -05:00
name_test.go Validate names in BeforeCreate 2015-10-21 14:11:41 -04:00
schema.go Kubectl support for validating nested objects with different ApiGroups (e.g. Lists containing objects in different api groups). Closes #24089 2016-05-09 19:38:40 -07:00
schema_test.go Kubectl support for validating nested objects with different ApiGroups (e.g. Lists containing objects in different api groups). Closes #24089 2016-05-09 19:38:40 -07:00
validation.go Merge pull request #25018 from smarterclayton/fast_conversion 2016-05-12 14:50:01 -07:00
validation_test.go Merge pull request #24836 from Clarifai/gpu-impl 2016-05-12 14:04:15 -07:00