k3s/pkg/kubelet/prober
Rodolfo Carvalho 506129ba4e Add timeout argument to ExecInContainer
This allows us to interrupt/kill the executed command if it exceeds the
timeout (not implemented by this commit).

Set timeout in Exec probes. HTTPGet and TCPSocket probes respect the
timeout, while Exec probes used to ignore it.

Add e2e test for exec probe with timeout. However, the test is skipped
while the default exec handler doesn't support timeouts.
2016-11-07 13:00:59 +01:00
..
results autogenerated 2016-10-21 17:32:32 -07:00
testing autogenerated 2016-10-21 17:32:32 -07:00
BUILD Separate Direct and Indirect streaming paths, implement indirect path with CRI 2016-11-03 13:26:33 -07:00
common_test.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
prober.go Add timeout argument to ExecInContainer 2016-11-07 13:00:59 +01:00
prober_manager.go get workers length shoud use RLock 2016-08-05 16:05:18 +08:00
prober_manager_test.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00
prober_test.go Add timeout argument to ExecInContainer 2016-11-07 13:00:59 +01:00
worker.go Stop eating panics 2016-07-13 11:12:59 -07:00
worker_test.go Remove "All rights reserved" from all the headers. 2016-06-29 17:47:36 -07:00