Commit Graph

854 Commits

Author SHA1 Message Date
Clayton Coleman
f1e4f652d0 Allow a nil expectedType in cache.Reflector
Reflector currently requires a hard type, which prevents
cache.Reflector from being used generically (like a client
command that uses the resource.Builder to get objects of
any type). Relaxing this restriction when expectedType is nil.
2015-08-19 18:30:37 -04:00
Saad Ali
ecc6ce773b Merge pull request #12847 from jszczepkowski/prefix-cleanup
Cleanup of api path creation in client tests.
2015-08-19 14:50:42 -07:00
Saad Ali
25dfc9932f Merge pull request #12913 from gmarek/remove_healthcheck
Remove unused (?) HealthCheck from KubeletClient
2015-08-19 14:49:00 -07:00
Vishnu Kannan
ec22c2dd82 Address comments. 2015-08-19 14:13:02 -07:00
Saad Ali
d42864b0ad Merge pull request #12112 from JanetKuo/update-kubectl-get-pods-running
Hide terminated pods in 'kubectl' Printer by default
2015-08-19 12:51:18 -07:00
gmarek
33c894a6ae Remove unused (?) HealthCheck from KubeletClient 2015-08-19 14:35:43 +02:00
gmarek
3c907b33e1 Remove external function setting Kubelet flags 2015-08-19 13:20:41 +02:00
Jerzy Szczepkowski
f2e15fd538 Experimental client for horizontal pod autoscaler.
Implementation of experimental client for horizontal pod autoscaler. Placeholder implementation for controller for horizontal pod autoscaler.
2015-08-19 09:39:17 +02:00
Jerzy Szczepkowski
40b121b64c Cleanup of api path creation in client tests.
Cleanup in client tests: use testapi.ResourcePathWithPrefix function instead of manually create api path.
2015-08-19 09:25:12 +02:00
Wojciech Tyczynski
90bf334fd1 Fix deadlock in the cacher 2015-08-19 08:17:25 +02:00
Janet Kuo
44a7a52a94 Hide failed/succeeded pods in 'kubectl get pods' by default 2015-08-18 13:47:19 -07:00
Ananya Kumar
4a148f99d6 Add client code 2015-08-18 12:58:50 -07:00
Kris Rousey
9cea046f42 Get the unversioned client to build 2015-08-18 10:03:19 -07:00
Kris Rousey
7ba5b058cc Moving client libs to unversioned dir 2015-08-18 10:03:19 -07:00
Wojciech Tyczynski
3a71eb1bcc Store previous value in WatchCache for filtering 2015-08-18 09:33:34 +02:00
Maciej Szulik
686f764fc7 Allow other client's implementation to reuse NewListWatchFromClient by passing in the Getter interface, responsible for accessing RESTClient's Get method. 2015-08-17 15:25:03 +02:00
Brendan Burns
c5cfc1b83c Merge pull request #12706 from smarterclayton/test_fails_on_no_ipv6
Unit test fails when ipv6 is not available
2015-08-14 20:26:40 -07:00
Clayton Coleman
c885b2652d Unit test fails when ipv6 is not available 2015-08-14 13:20:03 -04:00
Wojciech Tyczynski
e424da7d0d Implement Cacher for watch in apiserver 2015-08-14 09:44:42 +02:00
jiangyaoguo
5d3522dc7a Keep event reason consistant in scheduler and controller 2015-08-13 11:33:32 +08:00
CJ Cullen
811b93ef2f Merge pull request #12604 from krousey/clientauth
Moving clientauth package to be under client
2015-08-12 16:06:01 -07:00
Kris Rousey
2a17dbff13 Moving clientauth package to be under client 2015-08-12 14:43:17 -07:00
CJ Cullen
098dc407d6 Merge pull request #12550 from eparis/update-BindKubeletClientConfigFlags
Change BindKubeletClientConfigFlags to use - in flag names instead of _
2015-08-12 13:05:37 -07:00
CJ Cullen
077246219b Merge pull request #12549 from eparis/remove-BindClientConfigFlags
Remove BindClientConfigFlags entirely
2015-08-11 18:08:00 -07:00
Kris Rousey
565189f5b8 Correcting all go vet errors 2015-08-11 13:55:37 -07:00
Eric Paris
3547920d13 Change BindKubeletClientConfigFlags to use - in flag names instead of _
The only user of this function is using pflags and does have name
normalization. It might break something out of tree, but that's
impossible to prevent...
2015-08-11 16:31:27 -04:00
Eric Paris
1333fad22a Remove BindClientConfigFlags entirely
They are unused.
2015-08-11 16:26:24 -04:00
Marek Grabowski
5f9cefc1d8 Merge pull request #12441 from vlajos/typofixes-vlajos-20150807
typofix - https://github.com/vlajos/misspell_fixer
2015-08-10 16:33:52 +02:00
Marek Grabowski
41aa56a6c6 Merge pull request #12448 from smarterclayton/extra_newlines
Extra newlines in error output
2015-08-10 09:55:25 +02:00
Clayton Coleman
c46165de19 Extra newlines in error output
StandardErrorMessage does not have a newline by default, other
error messages should not end with a newline.
2015-08-09 11:41:52 -04:00
Veres Lajos
9f77e49109 typofix - https://github.com/vlajos/misspell_fixer 2015-08-08 22:31:48 +01:00
Yifan Gu
053db8dba7 kubelet/dockertools: Refactor image pulling for pod infra container.
Replace the trunk of pull image code with dockerManagner.pullImage().
Also add tests to verify the image pulling/pulled events.
2015-08-07 11:42:04 -07:00
Jerzy Szczepkowski
acefdc9daf Merge pull request #12355 from derekwaynecarr/test_events_ns
Event test client may or may not be namespaced
2015-08-07 15:26:52 +02:00
Wojciech Tyczynski
52e3af4e93 Implement watchCache structure. 2015-08-07 08:29:17 +02:00
Dawn Chen
122d76a2ef Merge pull request #11820 from liggitt/reuse_round_tripper
Reuse round tripper for identical TLS configurations
2015-08-06 16:04:02 -07:00
Jordan Liggitt
5ec4909610 Reuse round tripper for identical TLS configurations 2015-08-06 17:51:31 -04:00
Dawn Chen
c1c03bb4ca Merge pull request #12139 from kargakis/avoid-reallocs-in-index
cache: Avoid reallocs in Index
2015-08-06 13:00:02 -07:00
derekwaynecarr
72be244383 Event test client may or may not be namespaced 2015-08-06 15:22:52 -04:00
Wojciech Tyczynski
fcc78cd0f3 Fix head 2015-08-06 13:57:23 +02:00
Wojciech Tyczynski
79684af47b Merge pull request #12241 from uluyol/clientexp
Add experimental client
2015-08-06 13:43:06 +02:00
Mike Danese
17defc7383 run gofmt on everything we touched 2015-08-05 17:52:56 -07:00
Mike Danese
8e33cbfa28 rewrite go imports 2015-08-05 17:30:03 -07:00
kargakis
95a27394cc cache: Avoid reallocs in Index 2015-08-05 16:59:08 +02:00
Muhammed Uluyol
35f64961a8 Add experimental client 2015-08-04 18:44:17 -07:00
Alex Mohr
e17aafa7dd Merge pull request #11679 from bprashanth/haproxy
Auto commit by PR queue bot
2015-08-04 15:35:44 -07:00
deads2k
182885e897 make testclient more precise 2015-08-04 13:35:59 -04:00
Prashanth Balasubramanian
81d91b1f05 Bare metal loadblancers 2015-08-03 21:35:24 -07:00
Mike Danese
a23ee556ad Merge pull request #11999 from brendandburns/attach2
Add support for attach to kubectl
2015-07-31 12:51:08 -07:00
Brendan Burns
97cb1cd071 Add support for attach to kubectl 2015-07-30 12:56:18 -07:00
deads2k
c5ef83b29b relativize paths in kubeconfig files 2015-07-30 14:57:38 -04:00