Commit Graph

515 Commits

Author SHA1 Message Date
Hunter Blanks
177f86d25f README.md: fix broken links to examples in & out of cluster 2017-08-01 10:40:41 +01:00
Kubernetes Publisher
c7ed6bc9c1 sync: resync vendor folder 2017-07-29 13:46:06 +00:00
Kubernetes Publisher
fe298b5750 sync(k8s.io/kubernetes) 740ca9a0521f8661ed1ad6a0208e24ba07ba5d42 2017-07-29 13:45:47 +00:00
supereagle
24f566f085 use the core client with version
Kubernetes-commit: edce96c5b6bd4cee6ae6c05934e5078b0920d143
2017-07-29 13:45:46 +00:00
Kubernetes Publisher
687e8a49bc sync: resync vendor folder 2017-07-28 13:46:09 +00:00
Kubernetes Publisher
bf288836fe sync(k8s.io/kubernetes) 44b0eeed137e3ddf2b4db33816f42d1a1e04d081 2017-07-28 13:45:49 +00:00
deads2k
203206d11a make it possible to allow discovery errors for controllers
Kubernetes-commit: b7286f3188e997c98c89e1a8755b58ae69fbd4b0
2017-07-28 13:45:49 +00:00
Janet Kuo
54dc2e8920 Autogen
Kubernetes-commit: ac3f9b8c34b22f4859c4fd23d229f3b767106de0
2017-07-28 13:45:49 +00:00
Anirudh
6311ab7ddb DS: autogen
Kubernetes-commit: c168a3faebfa40fdffd1cac1f307f524786bf11b
2017-07-28 13:45:49 +00:00
deads2k
a335243fc8 add reflector metrics
Kubernetes-commit: 151d39682e62b288c247d8174a5f7fb139ee7bd1
2017-07-28 13:45:49 +00:00
Mikhail Mazurskiy
953296ece8 Re-generate informers
Kubernetes-commit: 37f909a274df25e2574cbc6a92f7a9991d1948ce
2017-07-28 13:45:49 +00:00
Michal Fojtik
a2643f9d58 regenerate clients
Kubernetes-commit: e6be341a644185a47b41a04883a7537a165bb3c9
2017-07-28 13:45:49 +00:00
Michal Fojtik
be3e7bb9a4 update staging clients
Kubernetes-commit: d8a42416a6cf15e6b438bda24425f4a5427de50f
2017-07-28 13:45:49 +00:00
Michal Fojtik
6bbe54e5ef regenerate clients to pickup updated genclient:noStatus comment
Kubernetes-commit: dad4ee31080f13214c21c8124fdf6a5e7deed011
2017-07-28 13:45:49 +00:00
Solly Ross
d9c32d7ac4 [client-go] Add fake dynamic Client/ClientPool
This introduces fake implementations of dynamic.Client and
dynamic.ClientPool.  They function similarly to the fake generated
clientsets, since they're also based in testing.Fake.

Kubernetes-commit: 3e6bf24e08645512a7b40d91bd61f0f2ea175026
2017-07-28 13:45:49 +00:00
Clayton Coleman
684e17ef90 Use a client interface instead of a concrete type
Aids testing

Kubernetes-commit: b9bebe8a4e12648a68ed02036ff8d4a7ec9be2eb
2017-07-28 13:45:49 +00:00
Chao Xu
27faac48eb generated innocuous change
Kubernetes-commit: 44f0188fe79cb5b51ec7235e64759b2f208c4014
2017-07-28 13:45:49 +00:00
Solly Ross
cb42486a30 [client-go] Add dynamic.Interface
This adds an interface form of dynamic.Client and
dynamic.ResourceClient, making those two follow the general client
conventions: `Interface` is an interface, and `Client` is the concrete
implementation.  `ClientPool` retains it's interface status.

This allows us to create a fake implemenation of dyanmic.Interface,
dynamic.ResourceInterface, and dynamic.ClientPool for testing.

Kubernetes-commit: f78d61e7c263392f31560b90c08c57765ceae482
2017-07-28 13:45:49 +00:00
Janet Kuo
54d90de185 Autogen
make clean && make generated_files && hack/update-all.sh

Kubernetes-commit: 56f16346d292a615e06b38f9cab1d14747aa47a7
2017-07-28 13:45:49 +00:00
Michail Kargakis
2993dace64 Remove myself from a bunch of places
Signed-off-by: Michail Kargakis <mkargaki@redhat.com>

Kubernetes-commit: e884eac6fe422bd6ba2910a527defe9fd5e94392
2017-07-28 13:45:49 +00:00
Taylor Thomas
bcd15c35a4 Updating staging Godeps
Kubernetes-commit: 278789e639d50e40b4e3b8a3b98c9fcaec6a89c5
2017-07-28 13:45:48 +00:00
Bobby (Babak) Salamat
0c5d330493 autogenerated files
Kubernetes-commit: e827e1ba87d83a0178d1740fcbe60049c87ebca3
2017-07-28 13:45:48 +00:00
Dr. Stefan Schimanski
c5fd4b1202 Move pkg/api/v1/ref -> client-go/tools/reference
Kubernetes-commit: 5925a0a1df1cb8cfbf9d1b4c9aa62d772090ad75
2017-07-28 13:45:48 +00:00
juanvallejo
f0c66765d7 check for negative index values
Kubernetes-commit: 113ff3bb9854d6c5c4e8d1a66749075c480130a9
2017-07-28 13:45:48 +00:00
Kubernetes Publisher
517feb7802 sync: reset Godeps.json 2017-07-28 13:45:48 +00:00
Kubernetes Publisher
7c69e98021 sync: resync vendor folder 2017-07-19 03:39:24 +00:00
Kubernetes Publisher
f772360c2a sync(k8s.io/kubernetes) 5bbdfc666122f16a88a167e0bb59a47a31aa6adf 2017-07-19 03:39:07 +00:00
Dr. Stefan Schimanski
1be407b92a Update generated code
Kubernetes-commit: 8dd0989b395b29b872e1f5e06934721863e4a210
2017-07-19 03:39:07 +00:00
Dr. Stefan Schimanski
5b30b91d3a staging/copy.sh: don't strip tags anymore with k8s.io/api
Kubernetes-commit: b7fb418a19b5de2ea22c99afe850f9e365cc2d46
2017-07-19 03:39:07 +00:00
Dr. Stefan Schimanski
4596ac0d5c deepcopy: add interface deepcopy funcs
- add DeepCopyObject() to runtime.Object interface
- add DeepCopyObject() via deepcopy-gen
- add DeepCopyObject() manually
- add DeepCopySelector() to selector interfaces
- add custom DeepCopy func for TableRow.Cells

Kubernetes-commit: 39d95b9b065fffebe5b6f233d978fe1723722085
2017-07-19 03:39:07 +00:00
Mikhail Mazurskiy
1a0ee4cda2 Refactor Start functions into an object
Kubernetes-commit: 6464774a9b94f6e8376e11d015fd55e98457e74c
2017-07-19 03:39:07 +00:00
Mikhail Mazurskiy
0a8adc4df4 Improve Start functions
Kubernetes-commit: d11a9973cfd421b7f723156bbb2b256851f7460d
2017-07-19 03:39:07 +00:00
Mikhail Mazurskiy
5f6ea627a3 Shared Informer Run blocks until all goroutines finish
Fixes #45454

Kubernetes-commit: d789615902ead2a112ad24fbfebe95285b87004b
2017-07-19 03:39:07 +00:00
Mikhail Mazurskiy
b5da66a5eb github.com/stretchr/testify - main desired update. Old version has bugs.
github.com/davecgh/go-spew/spew is set to the newest version, a bit
newer than required by testify. Updated from version 6 Nov 2015 to
27 Jun 2017.

github.com/stretchr/objx is not updated - testify uses version
from 27 May 2014 which is older than 28 Sep 2015 used now (latest
actually). In practice there is only a tiny difference - one method was
removed in new version.

Kubernetes-commit: de29d11bfe98fdd0dccd644b55bbe9759e89038d
2017-07-19 03:39:07 +00:00
Clayton Coleman
88f7fb8192 Remove Kube specific api constructs from restclient
All callers must use VersionedParameters, which no longer has special
behavior for Kube resources.

Kubernetes-commit: 112e0fa9da069d147fffe5bd0638ebce4a9bba42
2017-07-19 03:39:07 +00:00
Clayton Coleman
526a4ea159 Remove "special" restclient parameters
Kubernetes-commit: f0e11c5b09abe46dd67a4f5e6f8bce9696888cee
2017-07-19 03:39:07 +00:00
Clayton Coleman
3954f889c7 Remove use of (Label|Field)SelectorParam
Kubernetes-commit: b6d9815b95940002545b4aa7affb892d94637a49
2017-07-19 03:39:07 +00:00
liaoyw
0e9b63a3bb Log error when failed to renew lease.
Kubernetes-commit: 8c120dcf2f8c97da8143d36f26746c4f4685b828
2017-07-19 03:39:07 +00:00
Kubernetes Publisher
50c6f808e0 sync: reset Godeps.json 2017-07-19 03:39:06 +00:00
Kubernetes Publisher
1850dd66e4 sync: resync vendor folder 2017-07-16 03:59:03 +00:00
Kubernetes Publisher
d164d632d1 sync(k8s.io/kubernetes) da31d920f575708ca4cecec767187e4aad7ffc00 2017-07-16 03:58:42 +00:00
Eric Chiang
ad2ff90266 client-go: add canonical import comment
Kubernetes-commit: 90a555545e8ac6b286993be73b6b1571ec092801
2017-07-16 03:58:42 +00:00
Paul Michali
a08928a067 Support IPv6 addresses for getListener()
Currently, client-go requires that an IPv6 address string for hostname has
square brackets surrounding, so that it can be used with address:port in
an API request.

This change, removes that requirement, and has getListener() add the
square brackets for IPv6 addresses for hosts. If IPv4 or hostname, the name
will not be modified.

Decided to change here, rather than everywhere client-go is used (thinking
that there may be places where we DON'T want the square brackets applied).

This issue was found in kubelet, which, at startup, creates a listener for
services and nodes. If an IPv6 address is used, the URI was malformed.

Kubernetes-commit: e17a501bcb7a3d2c5f4ff5c41f122fe155395dcd
2017-07-16 03:58:42 +00:00
Mike Danese
c0b21e1d03 remove some people from OWNERS so they don't get reviews anymore
These are googlers who don't work on the project anymore but are still
getting reviews assigned to them:
- bprashanth
- rjnagal
- vmarmol

Kubernetes-commit: c201553f2776ac401549d561485f9a5cb4841ae8
2017-07-16 03:58:42 +00:00
Brendan Burns
757f27a376 Code updates for new SDK.
Kubernetes-commit: 29a0c6f56a0839d6abb9b5d1e339ab84cbbe2a83
2017-07-16 03:58:42 +00:00
Tim Allclair
5538125344 Name change: s/timstclair/tallclair/
Kubernetes-commit: a2f2e1d4918effb4f0994333c7b88086674e4a5b
2017-07-16 03:58:42 +00:00
Andy Goldstein
75943a8927 jsonpath filter: allow intermediate missing keys
In jsonpath, when filtering a list, if allowMissingKeys is true, skip
over any items that are missing an intermediate key in the filter,
instead of returning a confusing error.

For example, if the filter is

{.items[?(@.metadata.annotations.foo=="bar")].metadata.name}

we should return all items where metadata.annotations.foo == bar, but if
an item in the list does not have metadata, metadata.annotations, or
metadata.annotations.foo, skip it instead of erroring.

Kubernetes-commit: e6f97d514d83fc2614d1ad4e18de0b318cc81653
2017-07-16 03:58:42 +00:00
Cao Shufeng
812b4cbd4b Use glog.*f when a format string is passed
ref:
https://godoc.org/github.com/golang/glog

I use the following commands to search all the invalid usage:
$ grep "glog.Warning(" * -r | grep %
$ grep "glog.Info(" * -r | grep %
$ grep "glog.Error(" * -r | grep %
$ grep ").Info(" * -r | grep % | grep "glog.V("

Kubernetes-commit: 0c577c47d5331e61caf11469a52c2583d087cdcf
2017-07-16 03:58:42 +00:00
Clayton Coleman
3bb413eede Move SPDY specific code into its own package
Kubernetes-commit: cf026a3314fd3513a2c4239c6f4edbbbbcb96a77
2017-07-16 03:58:42 +00:00
Chao Xu
ec4003cdb5 update bazel
Kubernetes-commit: 65cedeeb433638a977ad8d1be9870c2567671f04
2017-07-16 03:58:42 +00:00