document RESTClient.timeout
This commit is contained in:
@@ -46,6 +46,8 @@ type RESTClient struct {
|
|||||||
// used.
|
// used.
|
||||||
Client HTTPClient
|
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
|
Timeout time.Duration
|
||||||
|
|
||||||
// TODO extract this into a wrapper interface via the RESTClient interface in kubectl.
|
// TODO extract this into a wrapper interface via the RESTClient interface in kubectl.
|
||||||
|
Reference in New Issue
Block a user