(timeout time.Duration)
| 35 | var dockerTimeout = 10 * time.Second |
| 36 | |
| 37 | func SetTimeout(timeout time.Duration) { |
| 38 | dockerTimeout = timeout |
| 39 | } |
| 40 | |
| 41 | func Status() (v1.DockerStatus, error) { |
| 42 | ctx, cancel := context.WithTimeout(context.Background(), dockerTimeout) |
no outgoing calls
no test coverage detected
searching dependent graphs…