WithContext sets the request context.
(v context.Context)
| 172 | |
| 173 | // WithContext sets the request context. |
| 174 | func (f ClusterInfo) WithContext(v context.Context) func(*ClusterInfoRequest) { |
| 175 | return func(r *ClusterInfoRequest) { |
| 176 | r.ctx = v |
| 177 | } |
| 178 | } |
| 179 | |
| 180 | // WithPretty makes the response body pretty-printed. |
| 181 | func (f ClusterInfo) WithPretty() func(*ClusterInfoRequest) { |