kubernetes/pkg/util
Andy Goldstein c83786979c Various exec fixes
If stdin is noninteractive, the io.Copy from stdin to remoteStdin will
unblock when it finishes reading from stdin. In this case, make sure to
close remoteStdin so the server knows the client won't be sending any
more data. This ensures that the remote process terminates. For example:

echo foo | kubectl exec -i <pod> -- cat

Without this change, the `cat` process never terminates and `kubectl
exec` hangs.

Fix interactive exec sessions hanging after you type 'exit'.

Add e2e test to cover noninteractive stdin: `echo a | kubectl exec -i <pod>
cat`

Add e2e test to cover psuedo-interactive stdin: `kubectl exec -i <pod> bash`

Prep for sending multiple data frames over multiple streams in remote command
test, which is more likely to find flakes (requires bump of spdystream
once an issue with the frame worker queues not being fully drained when
a goaway frame is received).
2015-09-04 10:40:53 -04:00
..
bandwidth integrate bandwidth shaping and the kubelet. 2015-08-30 22:24:09 -07:00
config Cleanup deprecated Forever function 2015-08-24 10:31:59 +08:00
dbus Add a mockable dbus interface to pkg/util 2015-08-31 18:00:35 -04:00
errors Merge pull request #7885 from hurf/master 2015-05-07 10:06:26 +02:00
exec Make copyright ownership statement generic 2015-05-01 17:49:56 -04:00
fielderrors Limit field errors to a single field name 2015-08-12 14:10:26 -04:00
flushwriter Make copyright ownership statement generic 2015-05-01 17:49:56 -04:00
httpstream Various exec fixes 2015-09-04 10:40:53 -04:00
iptables Use iptables --wait flag if available 2015-08-31 10:00:19 -04:00
jsonpath Add a printer that knows how to print user-defined columns 2015-09-01 10:11:13 -07:00
mount Fix mounting volumes in docker based kubernetes setup. 2015-09-01 16:42:23 +02:00
node run gofmt on everything we touched 2015-08-05 17:52:56 -07:00
oom Add QoS support on node 2015-08-07 11:18:16 -07:00
operationmanager Correcting all go vet errors 2015-08-11 13:55:37 -07:00
procfs Add QoS support on node 2015-08-07 11:18:16 -07:00
proxy typofix - https://github.com/vlajos/misspell_fixer 2015-08-08 22:31:48 +01:00
rand fix unit test breakage by adding seed method to util/rand 2015-07-22 15:01:51 -07:00
slice Make copyright ownership statement generic 2015-05-01 17:49:56 -04:00
strategicpatch rewrite go imports 2015-08-05 17:30:03 -07:00
wait Fix maxTimes comment to clarify infinity waits and add a PollInfinite function. 2015-07-29 19:04:51 -04:00
workqueue rewrite go imports 2015-08-05 17:30:03 -07:00
yaml Make copyright ownership statement generic 2015-05-01 17:49:56 -04:00
atomic_value.go Fix logging; extend queue length to 100 2015-06-30 10:27:24 -07:00
atomic_value_test.go Correcting all go vet errors 2015-08-11 13:55:37 -07:00
backoff.go back off restarts of crashlooping containers 2015-08-24 21:43:17 +10:00
backoff_test.go back off restarts of crashlooping containers 2015-08-24 21:43:17 +10:00
bool_flag.go Make copyright ownership statement generic 2015-05-01 17:49:56 -04:00
cache.go Add cache with multiple shards to decrease lock contention 2015-05-11 15:07:50 +02:00
cache_test.go Add cache with multiple shards to decrease lock contention 2015-05-11 15:07:50 +02:00
clock.go back off restarts of crashlooping containers 2015-08-24 21:43:17 +10:00
clock_test.go back off restarts of crashlooping containers 2015-08-24 21:43:17 +10:00
configuration_map.go Make copyright ownership statement generic 2015-05-01 17:49:56 -04:00
crypto.go Use self-signed cert as CA for local-up-cluster.sh 2015-07-24 07:16:07 -07:00
diff.go Make copyright ownership statement generic 2015-05-01 17:49:56 -04:00
doc.go Make copyright ownership statement generic 2015-05-01 17:49:56 -04:00
escape.go Make copyright ownership statement generic 2015-05-01 17:49:56 -04:00
fake_handler.go ServiceAccounts controller 2015-05-11 17:18:05 -04:00
fake_handler_test.go Make copyright ownership statement generic 2015-05-01 17:49:56 -04:00
flags.go Use pflag functions instead of ours. 2015-08-20 15:00:55 -07:00
hash.go Make copyright ownership statement generic 2015-05-01 17:49:56 -04:00
hash_test.go Make copyright ownership statement generic 2015-05-01 17:49:56 -04:00
http.go Make copyright ownership statement generic 2015-05-01 17:49:56 -04:00
line_delimiter.go Fix up alignment of columns w/ namespaces. 2015-07-09 08:59:32 -07:00
line_delimiter_test.go Fix up alignment of columns w/ namespaces. 2015-07-09 08:59:32 -07:00
logs.go Cleanup deprecated Forever function 2015-08-24 10:31:59 +08:00
port_range.go Add util.PortRange, so that a port range can be a flag. Format: lo-hi 2015-05-16 15:52:57 -04:00
port_range_test.go Add util.PortRange, so that a port range can be a flag. Format: lo-hi 2015-05-16 15:52:57 -04:00
port_split.go Make copyright ownership statement generic 2015-05-01 17:49:56 -04:00
port_split_test.go Correcting all go vet errors 2015-08-11 13:55:37 -07:00
resource_container_linux.go Make copyright ownership statement generic 2015-05-01 17:49:56 -04:00
resource_container_unsupported.go Make copyright ownership statement generic 2015-05-01 17:49:56 -04:00
runner.go Make copyright ownership statement generic 2015-05-01 17:49:56 -04:00
runner_test.go Make copyright ownership statement generic 2015-05-01 17:49:56 -04:00
set.go AWS: Make load balancer creation idempotent on AWS 2015-08-17 08:58:46 -04:00
set_test.go Add unit test for StringSet Equal 2015-08-17 08:58:46 -04:00
ssh.go Mark realSSHDialer as implementing sshDialer 2015-06-20 18:18:38 -04:00
ssh_test.go Don't assume we always SSH as the current user 2015-06-20 18:18:38 -04:00
string_flag.go Replace the auth config file with a kubeconfig file when 2015-05-13 01:03:28 -07:00
template.go Make copyright ownership statement generic 2015-05-01 17:49:56 -04:00
template_test.go Make copyright ownership statement generic 2015-05-01 17:49:56 -04:00
throttle.go Switch token bucket rate limiter to github.com/juju/ratelimit 2015-06-30 10:34:41 -04:00
throttle_test.go Switch token bucket rate limiter to github.com/juju/ratelimit 2015-06-30 10:34:41 -04:00
time.go Sort overlapping rcs 2015-06-29 15:30:19 -07:00
time_test.go Make copyright ownership statement generic 2015-05-01 17:49:56 -04:00
trace.go Add very simple tracing mechanism for easier debugging of slow requests. 2015-05-26 16:17:18 +02:00
umask.go util: Add util.Umask wrapper 2015-08-06 11:39:29 +02:00
umask_windows.go util: Add util.Umask wrapper 2015-08-06 11:39:29 +02:00
util.go Merge pull request #13536 from brendandburns/util 2015-09-03 11:12:34 -07:00
util_test.go always select non link-local interface, fixes #11961 2015-08-24 14:49:19 -04:00
uuid.go run gofmt on everything we touched 2015-08-05 17:52:56 -07:00
validation.go Validate deployment 2015-08-28 12:47:33 -07:00
validation_test.go Correcting all go vet errors 2015-08-11 13:55:37 -07:00