WithContext sets the request context.
(v context.Context)
| 202 | |
| 203 | // WithContext sets the request context. |
| 204 | func (f IndicesExists) WithContext(v context.Context) func(*IndicesExistsRequest) { |
| 205 | return func(r *IndicesExistsRequest) { |
| 206 | r.ctx = v |
| 207 | } |
| 208 | } |
| 209 | |
| 210 | // WithAllowNoIndices - whether to allow (1) wildcard index expressions that match no indices and (2) requests where the final resolved set is empty.. |
| 211 | func (f IndicesExists) WithAllowNoIndices(v bool) func(*IndicesExistsRequest) { |