kubernetes/pkg/client
Kubernetes Submit Queue 866293b704 Merge pull request #33366 from rhcarvalho/execincontainer-timeout-argument
Automatic merge from submit-queue

Add timeout argument to ExecInContainer

<!--  Thanks for sending a pull request!  Here are some tips for you:
1. If this is your first time, read our contributor guidelines https://github.com/kubernetes/kubernetes/blob/master/CONTRIBUTING.md and developer guide https://github.com/kubernetes/kubernetes/blob/master/docs/devel/development.md
2. If you want *faster* PR reviews, read how: https://github.com/kubernetes/kubernetes/blob/master/docs/devel/faster_reviews.md
3. Follow the instructions for writing a release note: https://github.com/kubernetes/kubernetes/blob/master/docs/devel/pull-requests.md#release-notes
-->

**What this PR does / why we need it**: This is related to https://github.com/kubernetes/kubernetes/issues/26895. It brings a timeout to the signature of `ExecInContainer` so that we can take timeouts into account in the future. Unlike my first attempt in https://github.com/kubernetes/kubernetes/pull/27956, it doesn't immediately observe the timeout, because it is impossible to do it with the current state of the Docker Remote API (the default exec handler implementation).

**Special notes for your reviewer**: This shares commits with https://github.com/kubernetes/kubernetes/pull/27956, but without some of them that have more controversial implications (actually supporting the timeouts). The original PR shall be closed in the current state to preserve the history (instead of dropping commits in that PR).

Pinging the original people working on this change: @ncdc @sttts @vishh @dims 

**Release note**:

<!--  Steps to write your release note:
1. Use the release-note-* labels to set the release note state (if you have access) 
2. Enter your extended release note in the below block; leaving it blank means using the PR title as the release note. If no release note is required, just write `NONE`. 
-->

``` release-note
NONE
```
2016-11-08 01:41:19 -08:00
..
cache Switch to JobLister 2016-11-03 20:41:40 -04:00
chaosclient autogenerated 2016-10-21 17:32:32 -07:00
clientset_generated Merge pull request #35483 from ymqytw/use_evict_for_drain 2016-11-07 17:42:08 -08:00
leaderelection autogenerated 2016-10-21 17:32:32 -07:00
listers Merge pull request #35483 from ymqytw/use_evict_for_drain 2016-11-07 17:42:08 -08:00
metrics autogenerated 2016-10-21 17:32:32 -07:00
record autogenerated 2016-10-21 17:32:32 -07:00
restclient Merge pull request #35810 from deads2k/client-18-decode-status 2016-11-03 11:18:23 -07:00
retry autogenerated 2016-10-21 17:32:32 -07:00
testdata Added test cases for NewKubeletClient with TLS enabled 2014-12-18 00:57:33 -08:00
testing autogenerated 2016-10-21 17:32:32 -07:00
transport autogenerated 2016-10-21 17:32:32 -07:00
typed Update bazel 2016-11-04 21:17:12 +01:00
unversioned Add timeout argument to ExecInContainer 2016-11-07 13:00:59 +01:00
OWNERS Move blunderbuss assignees into tree 2016-03-02 20:46:32 -05:00