Commit 0512d459 authored by Chao Xu's avatar Chao Xu

document RESTClient.timeout

parent f64780d6
......@@ -46,6 +46,8 @@ type RESTClient struct {
// used.
Client HTTPClient
// Timeout will be converted to a query parameter and be sent with the request to the API
// server. The API server will fail the request if it does not finish within timeout.
Timeout time.Duration
// TODO extract this into a wrapper interface via the RESTClient interface in kubectl.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment