Commit Graph

1680 Commits

Author SHA1 Message Date
k8s-merge-robot
74c62aecc5 Merge pull request #20186 from lavalamp/import-boss
Auto commit by PR queue bot
2016-02-02 06:21:50 -08:00
k8s-merge-robot
c5260c8c71 Merge pull request #20145 from mqliang/quorum-read
Auto commit by PR queue bot
2016-02-02 05:50:41 -08:00
k8s-merge-robot
32ab64ce5b Merge pull request #19778 from resouer/runtime
Auto commit by PR queue bot
2016-02-01 21:05:05 -08:00
k8s-merge-robot
4eaffd2477 Merge pull request #19900 from vishh/kubelet-cpu-cfs
Auto commit by PR queue bot
2016-02-01 15:18:30 -08:00
k8s-merge-robot
2746b5e43d Merge pull request #20320 from caesarxuchao/add-discovery
Auto commit by PR queue bot
2016-02-01 14:35:27 -08:00
harry
1032067ff9 Replace runtime reference by pkg 2016-02-01 21:06:44 +08:00
Chao Xu
c72d234bbf replacing handwritten client in several controllers 2016-01-31 15:42:02 -08:00
k8s-merge-robot
03ed851c11 Merge pull request #20252 from smarterclayton/parameter_codec
Auto commit by PR queue bot
2016-01-30 13:07:52 -08:00
k8s-merge-robot
6f66dbb9ab Merge pull request #20127 from smarterclayton/remove_conversion_scheme
Auto commit by PR queue bot
2016-01-30 12:39:44 -08:00
Clayton Coleman
8692d260f8 Use Parameter codec in request.VersionedParams() 2016-01-30 14:14:20 -05:00
Clayton Coleman
60b66665e1 Move conversion.Scheme to runtime
There is only one type registry to rule them all
2016-01-30 14:12:40 -05:00
Alex Robinson
5c53b3a13b Merge pull request #20335 from aveshagarwal/master-integration-tests-issue
Fix docker version errors in integration tests.
2016-01-30 10:40:06 -08:00
mqliang
b0e06c14e5 add a knob to enable quorum read 2016-01-30 20:32:12 +08:00
k8s-merge-robot
0069c901d9 Merge pull request #20341 from caesarxuchao/ingress-plural
Auto commit by PR queue bot
2016-01-29 15:11:16 -08:00
Chao Xu
8531ef4979 change ingress and componentstatus plural form 2016-01-29 11:21:04 -08:00
Chao Xu
dd357ed86a include DiscoveryClient in the generated clientset 2016-01-29 11:03:03 -08:00
Avesh Agarwal
de804332f4 Fix docker version errors in integration tests. 2016-01-29 13:48:07 -05:00
Mike Danese
309eac5f7f update proxy server 2016-01-28 15:46:40 -08:00
Fabio Yeon
326a29d706 Merge pull request #20220 from krousey/integrationlogging
Add more logging to diagnose flake
2016-01-28 11:38:33 -08:00
Daniel Smith
46d12b185e Add 'import-boss': enforce go import restrictions. 2016-01-27 16:18:46 -08:00
k8s-merge-robot
458eb5284a Merge pull request #19105 from smarterclayton/prepare_negotiate
Auto commit by PR queue bot
2016-01-27 13:35:30 -08:00
Brendan Burns
266778170b Merge pull request #20115 from hongchaodeng/hollow-kubelet
fix Version not found in docker.ENV in fakeDockerClient
2016-01-27 11:50:11 -08:00
Kris
d2f829edcc Add more logging to diagnose flake 2016-01-27 10:22:35 -08:00
k8s-merge-robot
3f5e417999 Merge pull request #19502 from swagiaal/internalize-ownership
Auto commit by PR queue bot
2016-01-26 23:06:39 -08:00
k8s-merge-robot
91527c29cf Merge pull request #17382 from caesarxuchao/rewrite-linkchecker
Auto commit by PR queue bot
2016-01-26 17:51:44 -08:00
Chao Xu
3ec4cd423e linkchecker tool now visits the URL to determine if it's valid 2016-01-26 17:01:37 -08:00
k8s-merge-robot
67939eb933 Merge pull request #19958 from caesarxuchao/fix-resource-case
Auto commit by PR queue bot
2016-01-26 16:46:41 -08:00
Clayton Coleman
38c7eded99 Prepare for content-type negotiation
Combine the fields that will be used for content transformation
(content-type, codec, and group version) into a single struct in client,
and then pass that struct into the rest client and request. Set the
content-type when sending requests to the server, and accept the content
type as primary.

Will form the foundation for content-negotiation via the client.
2016-01-26 17:44:30 -05:00
k8s-merge-robot
3254df3a7c Merge pull request #19426 from smarterclayton/rewrite_tags
Auto commit by PR queue bot
2016-01-26 13:11:58 -08:00
Clayton Coleman
14a3aaf479 protobuf: During generation, copy protobuf tags back
The protobuf tags contain the assigned tag id, which then ensures
subsequent generation is consistently tagging (tags don't change across
generations unless someone deletes the protobuf tag).

In addition, generate final proto IDL that is free of gogoproto
extensions for ease of generation into other languages.

Add a flag --keep-gogoproto which preserves the gogoproto extensions in
the final IDL.
2016-01-26 11:41:21 -05:00
k8s-merge-robot
8c821700f3 Merge pull request #19389 from justinsb/internal_cidr
Auto commit by PR queue bot
2016-01-26 03:58:48 -08:00
k8s-merge-robot
88a72c2c9d Merge pull request #19938 from mikedanese/ipvalidate
Auto commit by PR queue bot
2016-01-25 21:09:51 -08:00
Hongchao Deng
49887a197f fix Version not found in docker.ENV in fakeDockerClient 2016-01-25 14:54:04 -08:00
k8s-merge-robot
d3b869ae14 Merge pull request #17922 from smarterclayton/split_codec
Auto commit by PR queue bot
2016-01-25 06:30:39 -08:00
David Oppenheimer
2866ae7bca Merge pull request #20037 from davidopp/flake1
Add time logging to runReplicationControllerTest to help debug timeouts in the future
2016-01-22 22:10:24 -08:00
David Oppenheimer
a8e742f462 Add time logging to runReplicationControllerTest to help debug
timeouts in the future.
2016-01-22 15:32:20 -08:00
Eric Tune
3a15a374ba Merge pull request #19447 from Clarifai/ecr
Add ECR credential provider
2016-01-22 13:52:08 -08:00
Rudi Chiarito
bc0dd97a70 ECR credential provider 2016-01-22 15:03:25 -05:00
nikhiljindal
0ab152ddf2 Adding an example apiserver 2016-01-22 11:52:16 -08:00
Clayton Coleman
4a6935b31f Remaining codec change refactors 2016-01-22 13:27:27 -05:00
Clayton Coleman
efe88e0818 Update client library to react to changes in Decoding 2016-01-22 13:27:24 -05:00
Clayton Coleman
4d127dc969 Initialize API servers with negotiated serializers
Pass down into the server initialization the necessary interface for
handling client/server content type negotiation. Add integration tests
for the negotiation.
2016-01-22 01:10:22 -05:00
Clayton Coleman
c49cd4edf9 Alter the build to generate for __internal correctly 2016-01-22 01:10:22 -05:00
Clayton Coleman
c1d932e44a Switch API objects to not register per version codecs
Remove Codec from versionInterfaces in meta (RESTMapper is now agnostic
to codec and serialization). Register api/latest.Codecs as the codec
factory and use latest.Codecs.LegacyCodec(version) as an equvialent to
the previous codec.
2016-01-22 01:10:21 -05:00
Clayton Coleman
125ef6fbc8 Support content-type negotiation in the API server
A NegotiatedSerializer is passed into the API installer (and
ParameterCodec, which abstracts conversion of query params) that can be
used to negotiate client/server request/response serialization. All
error paths are now negotiation aware, and are at least minimally
version aware.

Watch is specially coded to only allow application/json - a follow up
change will convert it to use negotiation.

Ensure the swagger scheme will include supported serializations - this
now includes application/yaml as a negotiated option.
2016-01-22 00:12:50 -05:00
Clayton Coleman
63a7a41ddf Simplify Codec and split responsibilities
Break Codec into two general purpose interfaces, Encoder and Decoder,
and move parameter codec responsibilities to ParameterCodec.

Make unversioned types explicit when registering - these types go
through conversion without modification.

Switch to use "__internal" instead of "" to represent the internal
version. Future commits will also add group defaulting (so that "" is
expanded internally into a known group version, and only cleared during
set).

For embedded types like runtime.Object -> runtime.RawExtension, put the
responsibility on the caller of Decode/Encode to handle transformation
into destination serialization. Future commits will expand RawExtension
and Unknown to accept a content encoding as well as bytes.

Make Unknown a bit more powerful and use it to carry unrecognized types.
2016-01-21 23:18:32 -05:00
Chao Xu
0734248e42 Use lowercase names in individual typed clients 2016-01-21 15:01:47 -08:00
Chao Xu
030043b5be Ingress's plural 2016-01-21 15:01:47 -08:00
nikhiljindal
2ad642d370 Merge registered and latest and move to apimachinery 2016-01-21 14:42:21 -08:00
Mike Danese
1fc630caa0 add ip validation to componentconfig command line 2016-01-21 13:33:30 -08:00