k3s/pkg/api
k8s-merge-robot 54b352ae3a Merge pull request #26907 from smarterclayton/tolerate_quantity
Automatic merge from submit-queue

Resource quantity must support leading and trailing whitespace in JSON for back-compat

For backwards compatibility reasons, we must continue to support leading or trailing whitespace on Quantity values when deserialized from JSON.  We must also support numbers serialized into yaml (`cpu: 1`) and JSON (`"cpu": 1`)

Fixes #26898
2016-06-08 16:16:41 -07:00
..
annotations move server client shared annotations to new api/annotations package 2016-05-09 11:10:44 -07:00
endpoints Merge pull request #23090 from tgraf/ipv6 2016-05-13 06:32:00 -07:00
errors Allow StatusErrors to be modified after creation 2016-05-19 09:08:53 -04:00
install Avoid a reflect.Value.call in watch streaming 2016-05-21 23:55:36 -04:00
meta Remove unused deep_copies 2016-06-06 17:18:22 -04:00
pod Added Test Cases for Pod 2016-05-26 10:39:08 -07:00
resource Merge pull request #26907 from smarterclayton/tolerate_quantity 2016-06-08 16:16:41 -07:00
rest Merge pull request #26007 from smarterclayton/watch_opt 2016-05-28 06:27:00 -07:00
service update all 2016-05-26 11:59:53 -07:00
testapi Removed metrics api group 2016-05-31 09:48:39 +02:00
testing correction on rbd volume object and defaults 2016-06-06 17:27:47 +00:00
unversioned Remove unused deep_copies 2016-06-06 17:18:22 -04:00
util "experimental" -> "extensions" 2015-10-09 15:14:03 -07:00
v1 Remove unused deep_copies 2016-06-06 17:18:22 -04:00
validation Merge pull request #25567 from gmarek/validate 2016-05-31 14:21:38 -07:00
OWNERS Move blunderbuss assignees into tree 2016-03-02 20:46:32 -05:00
context.go New etcd client modifications part 1 (context support) 2015-10-12 08:45:49 -05:00
context_test.go
conversion.go Update direct conversions to inline fields 2016-05-28 08:52:08 -04:00
conversion_test.go Remove alpha init containers from benchmarks (skews results) 2016-05-28 08:52:04 -04:00
copy_test.go Refactor diff into sub pkg 2016-03-21 20:21:39 +08:00
deep_copy_generated.go Remove unused deep_copies 2016-06-06 17:18:22 -04:00
deep_copy_test.go Switch API objects to not register per version codecs 2016-01-22 01:10:21 -05:00
doc.go Cleanup the content of deprecated V1beta1 2015-11-06 13:42:51 +08:00
field_constants.go Move restclient to its own package 2016-02-29 12:05:13 -08:00
generate.go
generate_test.go
helpers.go add finalizer logics to the API server and the garbage collector; handling DeleteOptions.OrphanDependents in the API server 2016-05-24 13:07:28 -07:00
helpers_test.go Update use of Quantity in other classes 2016-05-19 08:41:43 -04:00
mapper.go changed NewDefaultRESTMapper to check for a partial package path 2016-02-23 04:24:01 -08:00
meta.go Add Controller to api/meta 2016-05-31 20:21:05 +02:00
meta_test.go Add Controller to api/meta 2016-05-31 20:21:05 +02:00
node_example.json
pod_example.json
ref.go Remove runtime.Typer, reduce to ObjectKinds(1) (3) 2016-05-21 23:55:42 -04:00
ref_test.go Remove runtime.Typer, reduce to ObjectKinds(1) (3) 2016-05-21 23:55:42 -04:00
register.go Handle streaming serializers more consistently 2016-04-22 11:07:24 -04:00
replication_controller_example.json
requestcontext.go
resource_helpers.go Node is NotReady until the Route is created 2016-05-27 19:29:51 +02:00
resource_helpers_test.go Update use of Quantity in other classes 2016-05-19 08:41:43 -04:00
serialization_proto_test.go Remove runtime.Typer, reduce to ObjectKinds(1) (3) 2016-05-21 23:55:42 -04:00
serialization_test.go Serialization test should verify encode does not mutate in 2016-05-28 08:53:22 -04:00
types.generated.go correction on rbd volume object and defaults 2016-06-06 17:27:47 +00:00
types.go correction on rbd volume object and defaults 2016-06-06 17:27:47 +00:00