Files
kubernetes/pkg/util
k8s-merge-robot c66b2b4e05 Merge pull request #23865 from rhcarvalho/unify-signal-handling
Automatic merge from submit-queue

Unify termination signal handling across platforms

The signals are used to ensure proper execution of cleaning up actions to restore a terminal in:
- [pkg/kubectl/cmd/attach.go#L163-L226](b8d000853e/pkg/kubectl/cmd/attach.go (L163-L226))
- [pkg/kubectl/cmd/util/editor/editor.go#L112-L137](b8d000853e/pkg/kubectl/cmd/util/editor/editor.go (L112-L137))

All supported platforms can handle the same set of signals we're interested in, thus we don't need build contraints to use a set of signals on Linux, while restricting ourselves to only SIGINT on Darwin and Windows.

According to the documentation of os/signal, similar to SIGINT and SIGTERM, SIGHUP causes the program to exit, therefore add it to the list of handled signals.

The fist commit is part of #23643.
2016-05-02 04:09:25 -07:00
..
2016-03-21 14:50:57 +08:00
2015-10-22 16:40:59 -04:00
2015-10-22 16:40:59 -04:00
2016-03-21 14:50:57 +08:00
2016-03-21 20:20:05 +08:00
2016-03-21 20:20:05 +08:00
2016-04-29 17:12:10 -04:00
2016-03-21 20:21:39 +08:00
2016-03-11 13:52:45 +08:00
2016-03-03 15:56:09 -08:00
2016-02-10 11:38:50 -08:00
2016-01-06 22:28:58 +08:00
2016-04-20 12:13:05 -04:00
2016-02-09 13:20:31 -08:00
2016-04-11 16:23:28 -04:00
2016-03-16 16:22:54 -04:00
2015-08-05 17:52:56 -07:00
2016-03-17 09:30:02 +01:00
2015-11-13 15:56:27 -08:00
2016-03-21 23:59:58 -04:00
2016-02-07 21:09:06 +01:00
2016-04-28 09:46:33 +02:00
2016-04-07 15:10:50 -04:00
2016-04-07 15:10:50 -04:00
2015-08-06 11:39:29 +02:00
2015-08-06 11:39:29 +02:00
2016-03-21 20:21:39 +08:00
2016-04-29 17:12:10 -04:00
2016-01-27 15:39:23 +01:00