Stop sends the TERM signal to the proxy and returns.
()
| 86 | |
| 87 | // Stop sends the TERM signal to the proxy and returns. |
| 88 | func (p *ProxyExec) Stop() { |
| 89 | p.cancel() |
| 90 | } |
| 91 | |
| 92 | // Waits until the execution is completed and returns any error. |
| 93 | func (p *ProxyExec) Wait(ctx context.Context) error { |