Documentation
¶
Overview ¶
Package esapi provides the Go API for Elasticsearch.
It is automatically included in the client provided by the github.com/elastic/go-elasticsearch package:
es, _ := elasticsearch.NewDefaultClient() res, _ := es.Info() log.Println(res)
For each Elasticsearch API, such as "Index", the package exports two corresponding types: a function and a struct.
The function type allows you to call the Elasticsearch API as a method on the client, passing the parameters as arguments:
res, err := es.Index(
"test", // Index name
strings.NewReader(`{"title" : "Test"}`), // Document body
es.Index.WithDocumentID("1"), // Document ID
es.Index.WithRefresh("true"), // Refresh
)
if err != nil {
log.Fatalf("ERROR: %s", err)
}
defer res.Body.Close()
log.Println(res)
// => [201 Created] {"_index":"test","_type":"_doc","_id":"1" ...
The struct type allows for a more hands-on approach, where you create a new struct, with the request configuration as fields, and call the Do() method with a context and the client as arguments:
req := esapi.IndexRequest{
Index: "test", // Index name
Body: strings.NewReader(`{"title" : "Test"}`), // Document body
DocumentID: "1", // Document ID
Refresh: "true", // Refresh
}
res, err := req.Do(context.Background(), es)
if err != nil {
log.Fatalf("Error getting response: %s", err)
}
defer res.Body.Close()
log.Println(res)
// => [200 OK] {"_index":"test","_type":"_doc","_id":"1","_version":2 ...
The function type is a wrapper around the struct, and allows to configure and perform the request in a more expressive way. It has a minor overhead compared to using a struct directly; refer to the esapi_benchmark_test.go suite for concrete numbers.
See the documentation for each API function or struct at https://godoc.org/github.com/elastic/go-elasticsearch, or locally by:
go doc github.com/elastic/go-elasticsearch/v7/esapi Index go doc github.com/elastic/go-elasticsearch/v7/esapi IndexRequest
Response ¶
The esapi.Response type is a lightweight wrapper around http.Response.
The res.Body field is an io.ReadCloser, leaving the JSON parsing to the calling code, in the interest of performance and flexibility (eg. to allow using a custom JSON parser).
It is imperative to close the response body for a non-nil response.
The Response type implements a couple of convenience methods for accessing the status, checking an error status code or printing the response body for debugging purposes.
Additional Information ¶
See the Elasticsearch documentation at https://www.elastic.co/guide/en/elasticsearch/reference/master/api-conventions.html for detailed information about the API endpoints and parameters.
The Go API is generated from the Elasticsearch JSON specification at https://github.com/elastic/elasticsearch/tree/master/rest-api-spec/src/main/resources/rest-api-spec/api by the internal package available at https://github.com/elastic/go-elasticsearch/tree/master/internal/cmd/generate/commands/gensource.
The API is tested by integration tests common to all Elasticsearch official clients, generated from the source at https://github.com/elastic/elasticsearch/tree/master/rest-api-spec/src/main/resources/rest-api-spec/test. The generator is provided by the internal package available at internal/cmd/generate/commands/gentests.
Index ¶
- Constants
- func BoolPtr(v bool) *bool
- func IntPtr(v int) *int
- type API
- type AsyncSearch
- type AsyncSearchDelete
- func (f AsyncSearchDelete) WithContext(v context.Context) func(*AsyncSearchDeleteRequest)
- func (f AsyncSearchDelete) WithErrorTrace() func(*AsyncSearchDeleteRequest)
- func (f AsyncSearchDelete) WithFilterPath(v ...string) func(*AsyncSearchDeleteRequest)
- func (f AsyncSearchDelete) WithHeader(h map[string]string) func(*AsyncSearchDeleteRequest)
- func (f AsyncSearchDelete) WithHuman() func(*AsyncSearchDeleteRequest)
- func (f AsyncSearchDelete) WithOpaqueID(s string) func(*AsyncSearchDeleteRequest)
- func (f AsyncSearchDelete) WithPretty() func(*AsyncSearchDeleteRequest)
- type AsyncSearchDeleteRequest
- type AsyncSearchGet
- func (f AsyncSearchGet) WithContext(v context.Context) func(*AsyncSearchGetRequest)
- func (f AsyncSearchGet) WithErrorTrace() func(*AsyncSearchGetRequest)
- func (f AsyncSearchGet) WithFilterPath(v ...string) func(*AsyncSearchGetRequest)
- func (f AsyncSearchGet) WithHeader(h map[string]string) func(*AsyncSearchGetRequest)
- func (f AsyncSearchGet) WithHuman() func(*AsyncSearchGetRequest)
- func (f AsyncSearchGet) WithKeepAlive(v time.Duration) func(*AsyncSearchGetRequest)
- func (f AsyncSearchGet) WithOpaqueID(s string) func(*AsyncSearchGetRequest)
- func (f AsyncSearchGet) WithPretty() func(*AsyncSearchGetRequest)
- func (f AsyncSearchGet) WithTypedKeys(v bool) func(*AsyncSearchGetRequest)
- func (f AsyncSearchGet) WithWaitForCompletionTimeout(v time.Duration) func(*AsyncSearchGetRequest)
- type AsyncSearchGetRequest
- type AsyncSearchStatus
- func (f AsyncSearchStatus) WithContext(v context.Context) func(*AsyncSearchStatusRequest)
- func (f AsyncSearchStatus) WithErrorTrace() func(*AsyncSearchStatusRequest)
- func (f AsyncSearchStatus) WithFilterPath(v ...string) func(*AsyncSearchStatusRequest)
- func (f AsyncSearchStatus) WithHeader(h map[string]string) func(*AsyncSearchStatusRequest)
- func (f AsyncSearchStatus) WithHuman() func(*AsyncSearchStatusRequest)
- func (f AsyncSearchStatus) WithOpaqueID(s string) func(*AsyncSearchStatusRequest)
- func (f AsyncSearchStatus) WithPretty() func(*AsyncSearchStatusRequest)
- type AsyncSearchStatusRequest
- type AsyncSearchSubmit
- func (f AsyncSearchSubmit) WithAllowNoIndices(v bool) func(*AsyncSearchSubmitRequest)
- func (f AsyncSearchSubmit) WithAllowPartialSearchResults(v bool) func(*AsyncSearchSubmitRequest)
- func (f AsyncSearchSubmit) WithAnalyzeWildcard(v bool) func(*AsyncSearchSubmitRequest)
- func (f AsyncSearchSubmit) WithAnalyzer(v string) func(*AsyncSearchSubmitRequest)
- func (f AsyncSearchSubmit) WithBatchedReduceSize(v int) func(*AsyncSearchSubmitRequest)
- func (f AsyncSearchSubmit) WithBody(v io.Reader) func(*AsyncSearchSubmitRequest)
- func (f AsyncSearchSubmit) WithContext(v context.Context) func(*AsyncSearchSubmitRequest)
- func (f AsyncSearchSubmit) WithDefaultOperator(v string) func(*AsyncSearchSubmitRequest)
- func (f AsyncSearchSubmit) WithDf(v string) func(*AsyncSearchSubmitRequest)
- func (f AsyncSearchSubmit) WithDocvalueFields(v ...string) func(*AsyncSearchSubmitRequest)
- func (f AsyncSearchSubmit) WithErrorTrace() func(*AsyncSearchSubmitRequest)
- func (f AsyncSearchSubmit) WithExpandWildcards(v string) func(*AsyncSearchSubmitRequest)
- func (f AsyncSearchSubmit) WithExplain(v bool) func(*AsyncSearchSubmitRequest)
- func (f AsyncSearchSubmit) WithFilterPath(v ...string) func(*AsyncSearchSubmitRequest)
- func (f AsyncSearchSubmit) WithFrom(v int) func(*AsyncSearchSubmitRequest)
- func (f AsyncSearchSubmit) WithHeader(h map[string]string) func(*AsyncSearchSubmitRequest)
- func (f AsyncSearchSubmit) WithHuman() func(*AsyncSearchSubmitRequest)
- func (f AsyncSearchSubmit) WithIgnoreThrottled(v bool) func(*AsyncSearchSubmitRequest)
- func (f AsyncSearchSubmit) WithIgnoreUnavailable(v bool) func(*AsyncSearchSubmitRequest)
- func (f AsyncSearchSubmit) WithIndex(v ...string) func(*AsyncSearchSubmitRequest)
- func (f AsyncSearchSubmit) WithKeepAlive(v time.Duration) func(*AsyncSearchSubmitRequest)
- func (f AsyncSearchSubmit) WithKeepOnCompletion(v bool) func(*AsyncSearchSubmitRequest)
- func (f AsyncSearchSubmit) WithLenient(v bool) func(*AsyncSearchSubmitRequest)
- func (f AsyncSearchSubmit) WithMaxConcurrentShardRequests(v int) func(*AsyncSearchSubmitRequest)
- func (f AsyncSearchSubmit) WithOpaqueID(s string) func(*AsyncSearchSubmitRequest)
- func (f AsyncSearchSubmit) WithPreference(v string) func(*AsyncSearchSubmitRequest)
- func (f AsyncSearchSubmit) WithPretty() func(*AsyncSearchSubmitRequest)
- func (f AsyncSearchSubmit) WithQuery(v string) func(*AsyncSearchSubmitRequest)
- func (f AsyncSearchSubmit) WithRequestCache(v bool) func(*AsyncSearchSubmitRequest)
- func (f AsyncSearchSubmit) WithRouting(v ...string) func(*AsyncSearchSubmitRequest)
- func (f AsyncSearchSubmit) WithSearchType(v string) func(*AsyncSearchSubmitRequest)
- func (f AsyncSearchSubmit) WithSeqNoPrimaryTerm(v bool) func(*AsyncSearchSubmitRequest)
- func (f AsyncSearchSubmit) WithSize(v int) func(*AsyncSearchSubmitRequest)
- func (f AsyncSearchSubmit) WithSort(v ...string) func(*AsyncSearchSubmitRequest)
- func (f AsyncSearchSubmit) WithSource(v ...string) func(*AsyncSearchSubmitRequest)
- func (f AsyncSearchSubmit) WithSourceExcludes(v ...string) func(*AsyncSearchSubmitRequest)
- func (f AsyncSearchSubmit) WithSourceIncludes(v ...string) func(*AsyncSearchSubmitRequest)
- func (f AsyncSearchSubmit) WithStats(v ...string) func(*AsyncSearchSubmitRequest)
- func (f AsyncSearchSubmit) WithStoredFields(v ...string) func(*AsyncSearchSubmitRequest)
- func (f AsyncSearchSubmit) WithSuggestField(v string) func(*AsyncSearchSubmitRequest)
- func (f AsyncSearchSubmit) WithSuggestMode(v string) func(*AsyncSearchSubmitRequest)
- func (f AsyncSearchSubmit) WithSuggestSize(v int) func(*AsyncSearchSubmitRequest)
- func (f AsyncSearchSubmit) WithSuggestText(v string) func(*AsyncSearchSubmitRequest)
- func (f AsyncSearchSubmit) WithTerminateAfter(v int) func(*AsyncSearchSubmitRequest)
- func (f AsyncSearchSubmit) WithTimeout(v time.Duration) func(*AsyncSearchSubmitRequest)
- func (f AsyncSearchSubmit) WithTrackScores(v bool) func(*AsyncSearchSubmitRequest)
- func (f AsyncSearchSubmit) WithTrackTotalHits(v bool) func(*AsyncSearchSubmitRequest)
- func (f AsyncSearchSubmit) WithTypedKeys(v bool) func(*AsyncSearchSubmitRequest)
- func (f AsyncSearchSubmit) WithVersion(v bool) func(*AsyncSearchSubmitRequest)
- func (f AsyncSearchSubmit) WithWaitForCompletionTimeout(v time.Duration) func(*AsyncSearchSubmitRequest)
- type AsyncSearchSubmitRequest
- type AutoscalingDeleteAutoscalingPolicy
- func (f AutoscalingDeleteAutoscalingPolicy) WithContext(v context.Context) func(*AutoscalingDeleteAutoscalingPolicyRequest)
- func (f AutoscalingDeleteAutoscalingPolicy) WithErrorTrace() func(*AutoscalingDeleteAutoscalingPolicyRequest)
- func (f AutoscalingDeleteAutoscalingPolicy) WithFilterPath(v ...string) func(*AutoscalingDeleteAutoscalingPolicyRequest)
- func (f AutoscalingDeleteAutoscalingPolicy) WithHeader(h map[string]string) func(*AutoscalingDeleteAutoscalingPolicyRequest)
- func (f AutoscalingDeleteAutoscalingPolicy) WithHuman() func(*AutoscalingDeleteAutoscalingPolicyRequest)
- func (f AutoscalingDeleteAutoscalingPolicy) WithOpaqueID(s string) func(*AutoscalingDeleteAutoscalingPolicyRequest)
- func (f AutoscalingDeleteAutoscalingPolicy) WithPretty() func(*AutoscalingDeleteAutoscalingPolicyRequest)
- type AutoscalingDeleteAutoscalingPolicyRequest
- type AutoscalingGetAutoscalingCapacity
- func (f AutoscalingGetAutoscalingCapacity) WithContext(v context.Context) func(*AutoscalingGetAutoscalingCapacityRequest)
- func (f AutoscalingGetAutoscalingCapacity) WithErrorTrace() func(*AutoscalingGetAutoscalingCapacityRequest)
- func (f AutoscalingGetAutoscalingCapacity) WithFilterPath(v ...string) func(*AutoscalingGetAutoscalingCapacityRequest)
- func (f AutoscalingGetAutoscalingCapacity) WithHeader(h map[string]string) func(*AutoscalingGetAutoscalingCapacityRequest)
- func (f AutoscalingGetAutoscalingCapacity) WithHuman() func(*AutoscalingGetAutoscalingCapacityRequest)
- func (f AutoscalingGetAutoscalingCapacity) WithOpaqueID(s string) func(*AutoscalingGetAutoscalingCapacityRequest)
- func (f AutoscalingGetAutoscalingCapacity) WithPretty() func(*AutoscalingGetAutoscalingCapacityRequest)
- type AutoscalingGetAutoscalingCapacityRequest
- type AutoscalingGetAutoscalingDecision
- func (f AutoscalingGetAutoscalingDecision) WithContext(v context.Context) func(*AutoscalingGetAutoscalingDecisionRequest)
- func (f AutoscalingGetAutoscalingDecision) WithErrorTrace() func(*AutoscalingGetAutoscalingDecisionRequest)
- func (f AutoscalingGetAutoscalingDecision) WithFilterPath(v ...string) func(*AutoscalingGetAutoscalingDecisionRequest)
- func (f AutoscalingGetAutoscalingDecision) WithHeader(h map[string]string) func(*AutoscalingGetAutoscalingDecisionRequest)
- func (f AutoscalingGetAutoscalingDecision) WithHuman() func(*AutoscalingGetAutoscalingDecisionRequest)
- func (f AutoscalingGetAutoscalingDecision) WithOpaqueID(s string) func(*AutoscalingGetAutoscalingDecisionRequest)
- func (f AutoscalingGetAutoscalingDecision) WithPretty() func(*AutoscalingGetAutoscalingDecisionRequest)
- type AutoscalingGetAutoscalingDecisionRequest
- type AutoscalingGetAutoscalingPolicy
- func (f AutoscalingGetAutoscalingPolicy) WithContext(v context.Context) func(*AutoscalingGetAutoscalingPolicyRequest)
- func (f AutoscalingGetAutoscalingPolicy) WithErrorTrace() func(*AutoscalingGetAutoscalingPolicyRequest)
- func (f AutoscalingGetAutoscalingPolicy) WithFilterPath(v ...string) func(*AutoscalingGetAutoscalingPolicyRequest)
- func (f AutoscalingGetAutoscalingPolicy) WithHeader(h map[string]string) func(*AutoscalingGetAutoscalingPolicyRequest)
- func (f AutoscalingGetAutoscalingPolicy) WithHuman() func(*AutoscalingGetAutoscalingPolicyRequest)
- func (f AutoscalingGetAutoscalingPolicy) WithOpaqueID(s string) func(*AutoscalingGetAutoscalingPolicyRequest)
- func (f AutoscalingGetAutoscalingPolicy) WithPretty() func(*AutoscalingGetAutoscalingPolicyRequest)
- type AutoscalingGetAutoscalingPolicyRequest
- type AutoscalingPutAutoscalingPolicy
- func (f AutoscalingPutAutoscalingPolicy) WithContext(v context.Context) func(*AutoscalingPutAutoscalingPolicyRequest)
- func (f AutoscalingPutAutoscalingPolicy) WithErrorTrace() func(*AutoscalingPutAutoscalingPolicyRequest)
- func (f AutoscalingPutAutoscalingPolicy) WithFilterPath(v ...string) func(*AutoscalingPutAutoscalingPolicyRequest)
- func (f AutoscalingPutAutoscalingPolicy) WithHeader(h map[string]string) func(*AutoscalingPutAutoscalingPolicyRequest)
- func (f AutoscalingPutAutoscalingPolicy) WithHuman() func(*AutoscalingPutAutoscalingPolicyRequest)
- func (f AutoscalingPutAutoscalingPolicy) WithOpaqueID(s string) func(*AutoscalingPutAutoscalingPolicyRequest)
- func (f AutoscalingPutAutoscalingPolicy) WithPretty() func(*AutoscalingPutAutoscalingPolicyRequest)
- type AutoscalingPutAutoscalingPolicyRequest
- type Bulk
- func (f Bulk) WithContext(v context.Context) func(*BulkRequest)
- func (f Bulk) WithDocumentType(v string) func(*BulkRequest)
- func (f Bulk) WithErrorTrace() func(*BulkRequest)
- func (f Bulk) WithFilterPath(v ...string) func(*BulkRequest)
- func (f Bulk) WithHeader(h map[string]string) func(*BulkRequest)
- func (f Bulk) WithHuman() func(*BulkRequest)
- func (f Bulk) WithIndex(v string) func(*BulkRequest)
- func (f Bulk) WithOpaqueID(s string) func(*BulkRequest)
- func (f Bulk) WithPipeline(v string) func(*BulkRequest)
- func (f Bulk) WithPretty() func(*BulkRequest)
- func (f Bulk) WithRefresh(v string) func(*BulkRequest)
- func (f Bulk) WithRequireAlias(v bool) func(*BulkRequest)
- func (f Bulk) WithRouting(v string) func(*BulkRequest)
- func (f Bulk) WithSource(v ...string) func(*BulkRequest)
- func (f Bulk) WithSourceExcludes(v ...string) func(*BulkRequest)
- func (f Bulk) WithSourceIncludes(v ...string) func(*BulkRequest)
- func (f Bulk) WithTimeout(v time.Duration) func(*BulkRequest)
- func (f Bulk) WithWaitForActiveShards(v string) func(*BulkRequest)
- type BulkRequest
- type CCR
- type CCRDeleteAutoFollowPattern
- func (f CCRDeleteAutoFollowPattern) WithContext(v context.Context) func(*CCRDeleteAutoFollowPatternRequest)
- func (f CCRDeleteAutoFollowPattern) WithErrorTrace() func(*CCRDeleteAutoFollowPatternRequest)
- func (f CCRDeleteAutoFollowPattern) WithFilterPath(v ...string) func(*CCRDeleteAutoFollowPatternRequest)
- func (f CCRDeleteAutoFollowPattern) WithHeader(h map[string]string) func(*CCRDeleteAutoFollowPatternRequest)
- func (f CCRDeleteAutoFollowPattern) WithHuman() func(*CCRDeleteAutoFollowPatternRequest)
- func (f CCRDeleteAutoFollowPattern) WithOpaqueID(s string) func(*CCRDeleteAutoFollowPatternRequest)
- func (f CCRDeleteAutoFollowPattern) WithPretty() func(*CCRDeleteAutoFollowPatternRequest)
- type CCRDeleteAutoFollowPatternRequest
- type CCRFollow
- func (f CCRFollow) WithContext(v context.Context) func(*CCRFollowRequest)
- func (f CCRFollow) WithErrorTrace() func(*CCRFollowRequest)
- func (f CCRFollow) WithFilterPath(v ...string) func(*CCRFollowRequest)
- func (f CCRFollow) WithHeader(h map[string]string) func(*CCRFollowRequest)
- func (f CCRFollow) WithHuman() func(*CCRFollowRequest)
- func (f CCRFollow) WithOpaqueID(s string) func(*CCRFollowRequest)
- func (f CCRFollow) WithPretty() func(*CCRFollowRequest)
- func (f CCRFollow) WithWaitForActiveShards(v string) func(*CCRFollowRequest)
- type CCRFollowInfo
- func (f CCRFollowInfo) WithContext(v context.Context) func(*CCRFollowInfoRequest)
- func (f CCRFollowInfo) WithErrorTrace() func(*CCRFollowInfoRequest)
- func (f CCRFollowInfo) WithFilterPath(v ...string) func(*CCRFollowInfoRequest)
- func (f CCRFollowInfo) WithHeader(h map[string]string) func(*CCRFollowInfoRequest)
- func (f CCRFollowInfo) WithHuman() func(*CCRFollowInfoRequest)
- func (f CCRFollowInfo) WithOpaqueID(s string) func(*CCRFollowInfoRequest)
- func (f CCRFollowInfo) WithPretty() func(*CCRFollowInfoRequest)
- type CCRFollowInfoRequest
- type CCRFollowRequest
- type CCRFollowStats
- func (f CCRFollowStats) WithContext(v context.Context) func(*CCRFollowStatsRequest)
- func (f CCRFollowStats) WithErrorTrace() func(*CCRFollowStatsRequest)
- func (f CCRFollowStats) WithFilterPath(v ...string) func(*CCRFollowStatsRequest)
- func (f CCRFollowStats) WithHeader(h map[string]string) func(*CCRFollowStatsRequest)
- func (f CCRFollowStats) WithHuman() func(*CCRFollowStatsRequest)
- func (f CCRFollowStats) WithOpaqueID(s string) func(*CCRFollowStatsRequest)
- func (f CCRFollowStats) WithPretty() func(*CCRFollowStatsRequest)
- type CCRFollowStatsRequest
- type CCRForgetFollower
- func (f CCRForgetFollower) WithContext(v context.Context) func(*CCRForgetFollowerRequest)
- func (f CCRForgetFollower) WithErrorTrace() func(*CCRForgetFollowerRequest)
- func (f CCRForgetFollower) WithFilterPath(v ...string) func(*CCRForgetFollowerRequest)
- func (f CCRForgetFollower) WithHeader(h map[string]string) func(*CCRForgetFollowerRequest)
- func (f CCRForgetFollower) WithHuman() func(*CCRForgetFollowerRequest)
- func (f CCRForgetFollower) WithOpaqueID(s string) func(*CCRForgetFollowerRequest)
- func (f CCRForgetFollower) WithPretty() func(*CCRForgetFollowerRequest)
- type CCRForgetFollowerRequest
- type CCRGetAutoFollowPattern
- func (f CCRGetAutoFollowPattern) WithContext(v context.Context) func(*CCRGetAutoFollowPatternRequest)
- func (f CCRGetAutoFollowPattern) WithErrorTrace() func(*CCRGetAutoFollowPatternRequest)
- func (f CCRGetAutoFollowPattern) WithFilterPath(v ...string) func(*CCRGetAutoFollowPatternRequest)
- func (f CCRGetAutoFollowPattern) WithHeader(h map[string]string) func(*CCRGetAutoFollowPatternRequest)
- func (f CCRGetAutoFollowPattern) WithHuman() func(*CCRGetAutoFollowPatternRequest)
- func (f CCRGetAutoFollowPattern) WithName(v string) func(*CCRGetAutoFollowPatternRequest)
- func (f CCRGetAutoFollowPattern) WithOpaqueID(s string) func(*CCRGetAutoFollowPatternRequest)
- func (f CCRGetAutoFollowPattern) WithPretty() func(*CCRGetAutoFollowPatternRequest)
- type CCRGetAutoFollowPatternRequest
- type CCRPauseAutoFollowPattern
- func (f CCRPauseAutoFollowPattern) WithContext(v context.Context) func(*CCRPauseAutoFollowPatternRequest)
- func (f CCRPauseAutoFollowPattern) WithErrorTrace() func(*CCRPauseAutoFollowPatternRequest)
- func (f CCRPauseAutoFollowPattern) WithFilterPath(v ...string) func(*CCRPauseAutoFollowPatternRequest)
- func (f CCRPauseAutoFollowPattern) WithHeader(h map[string]string) func(*CCRPauseAutoFollowPatternRequest)
- func (f CCRPauseAutoFollowPattern) WithHuman() func(*CCRPauseAutoFollowPatternRequest)
- func (f CCRPauseAutoFollowPattern) WithOpaqueID(s string) func(*CCRPauseAutoFollowPatternRequest)
- func (f CCRPauseAutoFollowPattern) WithPretty() func(*CCRPauseAutoFollowPatternRequest)
- type CCRPauseAutoFollowPatternRequest
- type CCRPauseFollow
- func (f CCRPauseFollow) WithContext(v context.Context) func(*CCRPauseFollowRequest)
- func (f CCRPauseFollow) WithErrorTrace() func(*CCRPauseFollowRequest)
- func (f CCRPauseFollow) WithFilterPath(v ...string) func(*CCRPauseFollowRequest)
- func (f CCRPauseFollow) WithHeader(h map[string]string) func(*CCRPauseFollowRequest)
- func (f CCRPauseFollow) WithHuman() func(*CCRPauseFollowRequest)
- func (f CCRPauseFollow) WithOpaqueID(s string) func(*CCRPauseFollowRequest)
- func (f CCRPauseFollow) WithPretty() func(*CCRPauseFollowRequest)
- type CCRPauseFollowRequest
- type CCRPutAutoFollowPattern
- func (f CCRPutAutoFollowPattern) WithContext(v context.Context) func(*CCRPutAutoFollowPatternRequest)
- func (f CCRPutAutoFollowPattern) WithErrorTrace() func(*CCRPutAutoFollowPatternRequest)
- func (f CCRPutAutoFollowPattern) WithFilterPath(v ...string) func(*CCRPutAutoFollowPatternRequest)
- func (f CCRPutAutoFollowPattern) WithHeader(h map[string]string) func(*CCRPutAutoFollowPatternRequest)
- func (f CCRPutAutoFollowPattern) WithHuman() func(*CCRPutAutoFollowPatternRequest)
- func (f CCRPutAutoFollowPattern) WithOpaqueID(s string) func(*CCRPutAutoFollowPatternRequest)
- func (f CCRPutAutoFollowPattern) WithPretty() func(*CCRPutAutoFollowPatternRequest)
- type CCRPutAutoFollowPatternRequest
- type CCRResumeAutoFollowPattern
- func (f CCRResumeAutoFollowPattern) WithContext(v context.Context) func(*CCRResumeAutoFollowPatternRequest)
- func (f CCRResumeAutoFollowPattern) WithErrorTrace() func(*CCRResumeAutoFollowPatternRequest)
- func (f CCRResumeAutoFollowPattern) WithFilterPath(v ...string) func(*CCRResumeAutoFollowPatternRequest)
- func (f CCRResumeAutoFollowPattern) WithHeader(h map[string]string) func(*CCRResumeAutoFollowPatternRequest)
- func (f CCRResumeAutoFollowPattern) WithHuman() func(*CCRResumeAutoFollowPatternRequest)
- func (f CCRResumeAutoFollowPattern) WithOpaqueID(s string) func(*CCRResumeAutoFollowPatternRequest)
- func (f CCRResumeAutoFollowPattern) WithPretty() func(*CCRResumeAutoFollowPatternRequest)
- type CCRResumeAutoFollowPatternRequest
- type CCRResumeFollow
- func (f CCRResumeFollow) WithBody(v io.Reader) func(*CCRResumeFollowRequest)
- func (f CCRResumeFollow) WithContext(v context.Context) func(*CCRResumeFollowRequest)
- func (f CCRResumeFollow) WithErrorTrace() func(*CCRResumeFollowRequest)
- func (f CCRResumeFollow) WithFilterPath(v ...string) func(*CCRResumeFollowRequest)
- func (f CCRResumeFollow) WithHeader(h map[string]string) func(*CCRResumeFollowRequest)
- func (f CCRResumeFollow) WithHuman() func(*CCRResumeFollowRequest)
- func (f CCRResumeFollow) WithOpaqueID(s string) func(*CCRResumeFollowRequest)
- func (f CCRResumeFollow) WithPretty() func(*CCRResumeFollowRequest)
- type CCRResumeFollowRequest
- type CCRStats
- func (f CCRStats) WithContext(v context.Context) func(*CCRStatsRequest)
- func (f CCRStats) WithErrorTrace() func(*CCRStatsRequest)
- func (f CCRStats) WithFilterPath(v ...string) func(*CCRStatsRequest)
- func (f CCRStats) WithHeader(h map[string]string) func(*CCRStatsRequest)
- func (f CCRStats) WithHuman() func(*CCRStatsRequest)
- func (f CCRStats) WithOpaqueID(s string) func(*CCRStatsRequest)
- func (f CCRStats) WithPretty() func(*CCRStatsRequest)
- type CCRStatsRequest
- type CCRUnfollow
- func (f CCRUnfollow) WithContext(v context.Context) func(*CCRUnfollowRequest)
- func (f CCRUnfollow) WithErrorTrace() func(*CCRUnfollowRequest)
- func (f CCRUnfollow) WithFilterPath(v ...string) func(*CCRUnfollowRequest)
- func (f CCRUnfollow) WithHeader(h map[string]string) func(*CCRUnfollowRequest)
- func (f CCRUnfollow) WithHuman() func(*CCRUnfollowRequest)
- func (f CCRUnfollow) WithOpaqueID(s string) func(*CCRUnfollowRequest)
- func (f CCRUnfollow) WithPretty() func(*CCRUnfollowRequest)
- type CCRUnfollowRequest
- type Cat
- type CatAliases
- func (f CatAliases) WithContext(v context.Context) func(*CatAliasesRequest)
- func (f CatAliases) WithErrorTrace() func(*CatAliasesRequest)
- func (f CatAliases) WithExpandWildcards(v string) func(*CatAliasesRequest)
- func (f CatAliases) WithFilterPath(v ...string) func(*CatAliasesRequest)
- func (f CatAliases) WithFormat(v string) func(*CatAliasesRequest)
- func (f CatAliases) WithH(v ...string) func(*CatAliasesRequest)
- func (f CatAliases) WithHeader(h map[string]string) func(*CatAliasesRequest)
- func (f CatAliases) WithHelp(v bool) func(*CatAliasesRequest)
- func (f CatAliases) WithHuman() func(*CatAliasesRequest)
- func (f CatAliases) WithLocal(v bool) func(*CatAliasesRequest)
- func (f CatAliases) WithName(v ...string) func(*CatAliasesRequest)
- func (f CatAliases) WithOpaqueID(s string) func(*CatAliasesRequest)
- func (f CatAliases) WithPretty() func(*CatAliasesRequest)
- func (f CatAliases) WithS(v ...string) func(*CatAliasesRequest)
- func (f CatAliases) WithV(v bool) func(*CatAliasesRequest)
- type CatAliasesRequest
- type CatAllocation
- func (f CatAllocation) WithBytes(v string) func(*CatAllocationRequest)
- func (f CatAllocation) WithContext(v context.Context) func(*CatAllocationRequest)
- func (f CatAllocation) WithErrorTrace() func(*CatAllocationRequest)
- func (f CatAllocation) WithFilterPath(v ...string) func(*CatAllocationRequest)
- func (f CatAllocation) WithFormat(v string) func(*CatAllocationRequest)
- func (f CatAllocation) WithH(v ...string) func(*CatAllocationRequest)
- func (f CatAllocation) WithHeader(h map[string]string) func(*CatAllocationRequest)
- func (f CatAllocation) WithHelp(v bool) func(*CatAllocationRequest)
- func (f CatAllocation) WithHuman() func(*CatAllocationRequest)
- func (f CatAllocation) WithLocal(v bool) func(*CatAllocationRequest)
- func (f CatAllocation) WithMasterTimeout(v time.Duration) func(*CatAllocationRequest)
- func (f CatAllocation) WithNodeID(v ...string) func(*CatAllocationRequest)
- func (f CatAllocation) WithOpaqueID(s string) func(*CatAllocationRequest)
- func (f CatAllocation) WithPretty() func(*CatAllocationRequest)
- func (f CatAllocation) WithS(v ...string) func(*CatAllocationRequest)
- func (f CatAllocation) WithV(v bool) func(*CatAllocationRequest)
- type CatAllocationRequest
- type CatCount
- func (f CatCount) WithContext(v context.Context) func(*CatCountRequest)
- func (f CatCount) WithErrorTrace() func(*CatCountRequest)
- func (f CatCount) WithFilterPath(v ...string) func(*CatCountRequest)
- func (f CatCount) WithFormat(v string) func(*CatCountRequest)
- func (f CatCount) WithH(v ...string) func(*CatCountRequest)
- func (f CatCount) WithHeader(h map[string]string) func(*CatCountRequest)
- func (f CatCount) WithHelp(v bool) func(*CatCountRequest)
- func (f CatCount) WithHuman() func(*CatCountRequest)
- func (f CatCount) WithIndex(v ...string) func(*CatCountRequest)
- func (f CatCount) WithOpaqueID(s string) func(*CatCountRequest)
- func (f CatCount) WithPretty() func(*CatCountRequest)
- func (f CatCount) WithS(v ...string) func(*CatCountRequest)
- func (f CatCount) WithV(v bool) func(*CatCountRequest)
- type CatCountRequest
- type CatFielddata
- func (f CatFielddata) WithBytes(v string) func(*CatFielddataRequest)
- func (f CatFielddata) WithContext(v context.Context) func(*CatFielddataRequest)
- func (f CatFielddata) WithErrorTrace() func(*CatFielddataRequest)
- func (f CatFielddata) WithFields(v ...string) func(*CatFielddataRequest)
- func (f CatFielddata) WithFilterPath(v ...string) func(*CatFielddataRequest)
- func (f CatFielddata) WithFormat(v string) func(*CatFielddataRequest)
- func (f CatFielddata) WithH(v ...string) func(*CatFielddataRequest)
- func (f CatFielddata) WithHeader(h map[string]string) func(*CatFielddataRequest)
- func (f CatFielddata) WithHelp(v bool) func(*CatFielddataRequest)
- func (f CatFielddata) WithHuman() func(*CatFielddataRequest)
- func (f CatFielddata) WithOpaqueID(s string) func(*CatFielddataRequest)
- func (f CatFielddata) WithPretty() func(*CatFielddataRequest)
- func (f CatFielddata) WithS(v ...string) func(*CatFielddataRequest)
- func (f CatFielddata) WithV(v bool) func(*CatFielddataRequest)
- type CatFielddataRequest
- type CatHealth
- func (f CatHealth) WithContext(v context.Context) func(*CatHealthRequest)
- func (f CatHealth) WithErrorTrace() func(*CatHealthRequest)
- func (f CatHealth) WithFilterPath(v ...string) func(*CatHealthRequest)
- func (f CatHealth) WithFormat(v string) func(*CatHealthRequest)
- func (f CatHealth) WithH(v ...string) func(*CatHealthRequest)
- func (f CatHealth) WithHeader(h map[string]string) func(*CatHealthRequest)
- func (f CatHealth) WithHelp(v bool) func(*CatHealthRequest)
- func (f CatHealth) WithHuman() func(*CatHealthRequest)
- func (f CatHealth) WithOpaqueID(s string) func(*CatHealthRequest)
- func (f CatHealth) WithPretty() func(*CatHealthRequest)
- func (f CatHealth) WithS(v ...string) func(*CatHealthRequest)
- func (f CatHealth) WithTime(v string) func(*CatHealthRequest)
- func (f CatHealth) WithTs(v bool) func(*CatHealthRequest)
- func (f CatHealth) WithV(v bool) func(*CatHealthRequest)
- type CatHealthRequest
- type CatHelp
- func (f CatHelp) WithContext(v context.Context) func(*CatHelpRequest)
- func (f CatHelp) WithErrorTrace() func(*CatHelpRequest)
- func (f CatHelp) WithFilterPath(v ...string) func(*CatHelpRequest)
- func (f CatHelp) WithHeader(h map[string]string) func(*CatHelpRequest)
- func (f CatHelp) WithHelp(v bool) func(*CatHelpRequest)
- func (f CatHelp) WithHuman() func(*CatHelpRequest)
- func (f CatHelp) WithOpaqueID(s string) func(*CatHelpRequest)
- func (f CatHelp) WithPretty() func(*CatHelpRequest)
- func (f CatHelp) WithS(v ...string) func(*CatHelpRequest)
- type CatHelpRequest
- type CatIndices
- func (f CatIndices) WithBytes(v string) func(*CatIndicesRequest)
- func (f CatIndices) WithContext(v context.Context) func(*CatIndicesRequest)
- func (f CatIndices) WithErrorTrace() func(*CatIndicesRequest)
- func (f CatIndices) WithExpandWildcards(v string) func(*CatIndicesRequest)
- func (f CatIndices) WithFilterPath(v ...string) func(*CatIndicesRequest)
- func (f CatIndices) WithFormat(v string) func(*CatIndicesRequest)
- func (f CatIndices) WithH(v ...string) func(*CatIndicesRequest)
- func (f CatIndices) WithHeader(h map[string]string) func(*CatIndicesRequest)
- func (f CatIndices) WithHealth(v string) func(*CatIndicesRequest)
- func (f CatIndices) WithHelp(v bool) func(*CatIndicesRequest)
- func (f CatIndices) WithHuman() func(*CatIndicesRequest)
- func (f CatIndices) WithIncludeUnloadedSegments(v bool) func(*CatIndicesRequest)
- func (f CatIndices) WithIndex(v ...string) func(*CatIndicesRequest)
- func (f CatIndices) WithLocal(v bool) func(*CatIndicesRequest)
- func (f CatIndices) WithMasterTimeout(v time.Duration) func(*CatIndicesRequest)
- func (f CatIndices) WithOpaqueID(s string) func(*CatIndicesRequest)
- func (f CatIndices) WithPretty() func(*CatIndicesRequest)
- func (f CatIndices) WithPri(v bool) func(*CatIndicesRequest)
- func (f CatIndices) WithS(v ...string) func(*CatIndicesRequest)
- func (f CatIndices) WithTime(v string) func(*CatIndicesRequest)
- func (f CatIndices) WithV(v bool) func(*CatIndicesRequest)
- type CatIndicesRequest
- type CatMLDataFrameAnalytics
- func (f CatMLDataFrameAnalytics) WithAllowNoMatch(v bool) func(*CatMLDataFrameAnalyticsRequest)
- func (f CatMLDataFrameAnalytics) WithBytes(v string) func(*CatMLDataFrameAnalyticsRequest)
- func (f CatMLDataFrameAnalytics) WithContext(v context.Context) func(*CatMLDataFrameAnalyticsRequest)
- func (f CatMLDataFrameAnalytics) WithDocumentID(v string) func(*CatMLDataFrameAnalyticsRequest)
- func (f CatMLDataFrameAnalytics) WithErrorTrace() func(*CatMLDataFrameAnalyticsRequest)
- func (f CatMLDataFrameAnalytics) WithFilterPath(v ...string) func(*CatMLDataFrameAnalyticsRequest)
- func (f CatMLDataFrameAnalytics) WithFormat(v string) func(*CatMLDataFrameAnalyticsRequest)
- func (f CatMLDataFrameAnalytics) WithH(v ...string) func(*CatMLDataFrameAnalyticsRequest)
- func (f CatMLDataFrameAnalytics) WithHeader(h map[string]string) func(*CatMLDataFrameAnalyticsRequest)
- func (f CatMLDataFrameAnalytics) WithHelp(v bool) func(*CatMLDataFrameAnalyticsRequest)
- func (f CatMLDataFrameAnalytics) WithHuman() func(*CatMLDataFrameAnalyticsRequest)
- func (f CatMLDataFrameAnalytics) WithOpaqueID(s string) func(*CatMLDataFrameAnalyticsRequest)
- func (f CatMLDataFrameAnalytics) WithPretty() func(*CatMLDataFrameAnalyticsRequest)
- func (f CatMLDataFrameAnalytics) WithS(v ...string) func(*CatMLDataFrameAnalyticsRequest)
- func (f CatMLDataFrameAnalytics) WithTime(v string) func(*CatMLDataFrameAnalyticsRequest)
- func (f CatMLDataFrameAnalytics) WithV(v bool) func(*CatMLDataFrameAnalyticsRequest)
- type CatMLDataFrameAnalyticsRequest
- type CatMLDatafeeds
- func (f CatMLDatafeeds) WithAllowNoDatafeeds(v bool) func(*CatMLDatafeedsRequest)
- func (f CatMLDatafeeds) WithAllowNoMatch(v bool) func(*CatMLDatafeedsRequest)
- func (f CatMLDatafeeds) WithContext(v context.Context) func(*CatMLDatafeedsRequest)
- func (f CatMLDatafeeds) WithDatafeedID(v string) func(*CatMLDatafeedsRequest)
- func (f CatMLDatafeeds) WithErrorTrace() func(*CatMLDatafeedsRequest)
- func (f CatMLDatafeeds) WithFilterPath(v ...string) func(*CatMLDatafeedsRequest)
- func (f CatMLDatafeeds) WithFormat(v string) func(*CatMLDatafeedsRequest)
- func (f CatMLDatafeeds) WithH(v ...string) func(*CatMLDatafeedsRequest)
- func (f CatMLDatafeeds) WithHeader(h map[string]string) func(*CatMLDatafeedsRequest)
- func (f CatMLDatafeeds) WithHelp(v bool) func(*CatMLDatafeedsRequest)
- func (f CatMLDatafeeds) WithHuman() func(*CatMLDatafeedsRequest)
- func (f CatMLDatafeeds) WithOpaqueID(s string) func(*CatMLDatafeedsRequest)
- func (f CatMLDatafeeds) WithPretty() func(*CatMLDatafeedsRequest)
- func (f CatMLDatafeeds) WithS(v ...string) func(*CatMLDatafeedsRequest)
- func (f CatMLDatafeeds) WithTime(v string) func(*CatMLDatafeedsRequest)
- func (f CatMLDatafeeds) WithV(v bool) func(*CatMLDatafeedsRequest)
- type CatMLDatafeedsRequest
- type CatMLJobs
- func (f CatMLJobs) WithAllowNoJobs(v bool) func(*CatMLJobsRequest)
- func (f CatMLJobs) WithAllowNoMatch(v bool) func(*CatMLJobsRequest)
- func (f CatMLJobs) WithBytes(v string) func(*CatMLJobsRequest)
- func (f CatMLJobs) WithContext(v context.Context) func(*CatMLJobsRequest)
- func (f CatMLJobs) WithErrorTrace() func(*CatMLJobsRequest)
- func (f CatMLJobs) WithFilterPath(v ...string) func(*CatMLJobsRequest)
- func (f CatMLJobs) WithFormat(v string) func(*CatMLJobsRequest)
- func (f CatMLJobs) WithH(v ...string) func(*CatMLJobsRequest)
- func (f CatMLJobs) WithHeader(h map[string]string) func(*CatMLJobsRequest)
- func (f CatMLJobs) WithHelp(v bool) func(*CatMLJobsRequest)
- func (f CatMLJobs) WithHuman() func(*CatMLJobsRequest)
- func (f CatMLJobs) WithJobID(v string) func(*CatMLJobsRequest)
- func (f CatMLJobs) WithOpaqueID(s string) func(*CatMLJobsRequest)
- func (f CatMLJobs) WithPretty() func(*CatMLJobsRequest)
- func (f CatMLJobs) WithS(v ...string) func(*CatMLJobsRequest)
- func (f CatMLJobs) WithTime(v string) func(*CatMLJobsRequest)
- func (f CatMLJobs) WithV(v bool) func(*CatMLJobsRequest)
- type CatMLJobsRequest
- type CatMLTrainedModels
- func (f CatMLTrainedModels) WithAllowNoMatch(v bool) func(*CatMLTrainedModelsRequest)
- func (f CatMLTrainedModels) WithBytes(v string) func(*CatMLTrainedModelsRequest)
- func (f CatMLTrainedModels) WithContext(v context.Context) func(*CatMLTrainedModelsRequest)
- func (f CatMLTrainedModels) WithErrorTrace() func(*CatMLTrainedModelsRequest)
- func (f CatMLTrainedModels) WithFilterPath(v ...string) func(*CatMLTrainedModelsRequest)
- func (f CatMLTrainedModels) WithFormat(v string) func(*CatMLTrainedModelsRequest)
- func (f CatMLTrainedModels) WithFrom(v int) func(*CatMLTrainedModelsRequest)
- func (f CatMLTrainedModels) WithH(v ...string) func(*CatMLTrainedModelsRequest)
- func (f CatMLTrainedModels) WithHeader(h map[string]string) func(*CatMLTrainedModelsRequest)
- func (f CatMLTrainedModels) WithHelp(v bool) func(*CatMLTrainedModelsRequest)
- func (f CatMLTrainedModels) WithHuman() func(*CatMLTrainedModelsRequest)
- func (f CatMLTrainedModels) WithModelID(v string) func(*CatMLTrainedModelsRequest)
- func (f CatMLTrainedModels) WithOpaqueID(s string) func(*CatMLTrainedModelsRequest)
- func (f CatMLTrainedModels) WithPretty() func(*CatMLTrainedModelsRequest)
- func (f CatMLTrainedModels) WithS(v ...string) func(*CatMLTrainedModelsRequest)
- func (f CatMLTrainedModels) WithSize(v int) func(*CatMLTrainedModelsRequest)
- func (f CatMLTrainedModels) WithTime(v string) func(*CatMLTrainedModelsRequest)
- func (f CatMLTrainedModels) WithV(v bool) func(*CatMLTrainedModelsRequest)
- type CatMLTrainedModelsRequest
- type CatMaster
- func (f CatMaster) WithContext(v context.Context) func(*CatMasterRequest)
- func (f CatMaster) WithErrorTrace() func(*CatMasterRequest)
- func (f CatMaster) WithFilterPath(v ...string) func(*CatMasterRequest)
- func (f CatMaster) WithFormat(v string) func(*CatMasterRequest)
- func (f CatMaster) WithH(v ...string) func(*CatMasterRequest)
- func (f CatMaster) WithHeader(h map[string]string) func(*CatMasterRequest)
- func (f CatMaster) WithHelp(v bool) func(*CatMasterRequest)
- func (f CatMaster) WithHuman() func(*CatMasterRequest)
- func (f CatMaster) WithLocal(v bool) func(*CatMasterRequest)
- func (f CatMaster) WithMasterTimeout(v time.Duration) func(*CatMasterRequest)
- func (f CatMaster) WithOpaqueID(s string) func(*CatMasterRequest)
- func (f CatMaster) WithPretty() func(*CatMasterRequest)
- func (f CatMaster) WithS(v ...string) func(*CatMasterRequest)
- func (f CatMaster) WithV(v bool) func(*CatMasterRequest)
- type CatMasterRequest
- type CatNodeattrs
- func (f CatNodeattrs) WithContext(v context.Context) func(*CatNodeattrsRequest)
- func (f CatNodeattrs) WithErrorTrace() func(*CatNodeattrsRequest)
- func (f CatNodeattrs) WithFilterPath(v ...string) func(*CatNodeattrsRequest)
- func (f CatNodeattrs) WithFormat(v string) func(*CatNodeattrsRequest)
- func (f CatNodeattrs) WithH(v ...string) func(*CatNodeattrsRequest)
- func (f CatNodeattrs) WithHeader(h map[string]string) func(*CatNodeattrsRequest)
- func (f CatNodeattrs) WithHelp(v bool) func(*CatNodeattrsRequest)
- func (f CatNodeattrs) WithHuman() func(*CatNodeattrsRequest)
- func (f CatNodeattrs) WithLocal(v bool) func(*CatNodeattrsRequest)
- func (f CatNodeattrs) WithMasterTimeout(v time.Duration) func(*CatNodeattrsRequest)
- func (f CatNodeattrs) WithOpaqueID(s string) func(*CatNodeattrsRequest)
- func (f CatNodeattrs) WithPretty() func(*CatNodeattrsRequest)
- func (f CatNodeattrs) WithS(v ...string) func(*CatNodeattrsRequest)
- func (f CatNodeattrs) WithV(v bool) func(*CatNodeattrsRequest)
- type CatNodeattrsRequest
- type CatNodes
- func (f CatNodes) WithBytes(v string) func(*CatNodesRequest)
- func (f CatNodes) WithContext(v context.Context) func(*CatNodesRequest)
- func (f CatNodes) WithErrorTrace() func(*CatNodesRequest)
- func (f CatNodes) WithFilterPath(v ...string) func(*CatNodesRequest)
- func (f CatNodes) WithFormat(v string) func(*CatNodesRequest)
- func (f CatNodes) WithFullID(v bool) func(*CatNodesRequest)
- func (f CatNodes) WithH(v ...string) func(*CatNodesRequest)
- func (f CatNodes) WithHeader(h map[string]string) func(*CatNodesRequest)
- func (f CatNodes) WithHelp(v bool) func(*CatNodesRequest)
- func (f CatNodes) WithHuman() func(*CatNodesRequest)
- func (f CatNodes) WithIncludeUnloadedSegments(v bool) func(*CatNodesRequest)
- func (f CatNodes) WithLocal(v bool) func(*CatNodesRequest)
- func (f CatNodes) WithMasterTimeout(v time.Duration) func(*CatNodesRequest)
- func (f CatNodes) WithOpaqueID(s string) func(*CatNodesRequest)
- func (f CatNodes) WithPretty() func(*CatNodesRequest)
- func (f CatNodes) WithS(v ...string) func(*CatNodesRequest)
- func (f CatNodes) WithTime(v string) func(*CatNodesRequest)
- func (f CatNodes) WithV(v bool) func(*CatNodesRequest)
- type CatNodesRequest
- type CatPendingTasks
- func (f CatPendingTasks) WithContext(v context.Context) func(*CatPendingTasksRequest)
- func (f CatPendingTasks) WithErrorTrace() func(*CatPendingTasksRequest)
- func (f CatPendingTasks) WithFilterPath(v ...string) func(*CatPendingTasksRequest)
- func (f CatPendingTasks) WithFormat(v string) func(*CatPendingTasksRequest)
- func (f CatPendingTasks) WithH(v ...string) func(*CatPendingTasksRequest)
- func (f CatPendingTasks) WithHeader(h map[string]string) func(*CatPendingTasksRequest)
- func (f CatPendingTasks) WithHelp(v bool) func(*CatPendingTasksRequest)
- func (f CatPendingTasks) WithHuman() func(*CatPendingTasksRequest)
- func (f CatPendingTasks) WithLocal(v bool) func(*CatPendingTasksRequest)
- func (f CatPendingTasks) WithMasterTimeout(v time.Duration) func(*CatPendingTasksRequest)
- func (f CatPendingTasks) WithOpaqueID(s string) func(*CatPendingTasksRequest)
- func (f CatPendingTasks) WithPretty() func(*CatPendingTasksRequest)
- func (f CatPendingTasks) WithS(v ...string) func(*CatPendingTasksRequest)
- func (f CatPendingTasks) WithTime(v string) func(*CatPendingTasksRequest)
- func (f CatPendingTasks) WithV(v bool) func(*CatPendingTasksRequest)
- type CatPendingTasksRequest
- type CatPlugins
- func (f CatPlugins) WithContext(v context.Context) func(*CatPluginsRequest)
- func (f CatPlugins) WithErrorTrace() func(*CatPluginsRequest)
- func (f CatPlugins) WithFilterPath(v ...string) func(*CatPluginsRequest)
- func (f CatPlugins) WithFormat(v string) func(*CatPluginsRequest)
- func (f CatPlugins) WithH(v ...string) func(*CatPluginsRequest)
- func (f CatPlugins) WithHeader(h map[string]string) func(*CatPluginsRequest)
- func (f CatPlugins) WithHelp(v bool) func(*CatPluginsRequest)
- func (f CatPlugins) WithHuman() func(*CatPluginsRequest)
- func (f CatPlugins) WithIncludeBootstrap(v bool) func(*CatPluginsRequest)
- func (f CatPlugins) WithLocal(v bool) func(*CatPluginsRequest)
- func (f CatPlugins) WithMasterTimeout(v time.Duration) func(*CatPluginsRequest)
- func (f CatPlugins) WithOpaqueID(s string) func(*CatPluginsRequest)
- func (f CatPlugins) WithPretty() func(*CatPluginsRequest)
- func (f CatPlugins) WithS(v ...string) func(*CatPluginsRequest)
- func (f CatPlugins) WithV(v bool) func(*CatPluginsRequest)
- type CatPluginsRequest
- type CatRecovery
- func (f CatRecovery) WithActiveOnly(v bool) func(*CatRecoveryRequest)
- func (f CatRecovery) WithBytes(v string) func(*CatRecoveryRequest)
- func (f CatRecovery) WithContext(v context.Context) func(*CatRecoveryRequest)
- func (f CatRecovery) WithDetailed(v bool) func(*CatRecoveryRequest)
- func (f CatRecovery) WithErrorTrace() func(*CatRecoveryRequest)
- func (f CatRecovery) WithFilterPath(v ...string) func(*CatRecoveryRequest)
- func (f CatRecovery) WithFormat(v string) func(*CatRecoveryRequest)
- func (f CatRecovery) WithH(v ...string) func(*CatRecoveryRequest)
- func (f CatRecovery) WithHeader(h map[string]string) func(*CatRecoveryRequest)
- func (f CatRecovery) WithHelp(v bool) func(*CatRecoveryRequest)
- func (f CatRecovery) WithHuman() func(*CatRecoveryRequest)
- func (f CatRecovery) WithIndex(v ...string) func(*CatRecoveryRequest)
- func (f CatRecovery) WithOpaqueID(s string) func(*CatRecoveryRequest)
- func (f CatRecovery) WithPretty() func(*CatRecoveryRequest)
- func (f CatRecovery) WithS(v ...string) func(*CatRecoveryRequest)
- func (f CatRecovery) WithTime(v string) func(*CatRecoveryRequest)
- func (f CatRecovery) WithV(v bool) func(*CatRecoveryRequest)
- type CatRecoveryRequest
- type CatRepositories
- func (f CatRepositories) WithContext(v context.Context) func(*CatRepositoriesRequest)
- func (f CatRepositories) WithErrorTrace() func(*CatRepositoriesRequest)
- func (f CatRepositories) WithFilterPath(v ...string) func(*CatRepositoriesRequest)
- func (f CatRepositories) WithFormat(v string) func(*CatRepositoriesRequest)
- func (f CatRepositories) WithH(v ...string) func(*CatRepositoriesRequest)
- func (f CatRepositories) WithHeader(h map[string]string) func(*CatRepositoriesRequest)
- func (f CatRepositories) WithHelp(v bool) func(*CatRepositoriesRequest)
- func (f CatRepositories) WithHuman() func(*CatRepositoriesRequest)
- func (f CatRepositories) WithLocal(v bool) func(*CatRepositoriesRequest)
- func (f CatRepositories) WithMasterTimeout(v time.Duration) func(*CatRepositoriesRequest)
- func (f CatRepositories) WithOpaqueID(s string) func(*CatRepositoriesRequest)
- func (f CatRepositories) WithPretty() func(*CatRepositoriesRequest)
- func (f CatRepositories) WithS(v ...string) func(*CatRepositoriesRequest)
- func (f CatRepositories) WithV(v bool) func(*CatRepositoriesRequest)
- type CatRepositoriesRequest
- type CatSegments
- func (f CatSegments) WithBytes(v string) func(*CatSegmentsRequest)
- func (f CatSegments) WithContext(v context.Context) func(*CatSegmentsRequest)
- func (f CatSegments) WithErrorTrace() func(*CatSegmentsRequest)
- func (f CatSegments) WithFilterPath(v ...string) func(*CatSegmentsRequest)
- func (f CatSegments) WithFormat(v string) func(*CatSegmentsRequest)
- func (f CatSegments) WithH(v ...string) func(*CatSegmentsRequest)
- func (f CatSegments) WithHeader(h map[string]string) func(*CatSegmentsRequest)
- func (f CatSegments) WithHelp(v bool) func(*CatSegmentsRequest)
- func (f CatSegments) WithHuman() func(*CatSegmentsRequest)
- func (f CatSegments) WithIndex(v ...string) func(*CatSegmentsRequest)
- func (f CatSegments) WithOpaqueID(s string) func(*CatSegmentsRequest)
- func (f CatSegments) WithPretty() func(*CatSegmentsRequest)
- func (f CatSegments) WithS(v ...string) func(*CatSegmentsRequest)
- func (f CatSegments) WithV(v bool) func(*CatSegmentsRequest)
- type CatSegmentsRequest
- type CatShards
- func (f CatShards) WithBytes(v string) func(*CatShardsRequest)
- func (f CatShards) WithContext(v context.Context) func(*CatShardsRequest)
- func (f CatShards) WithErrorTrace() func(*CatShardsRequest)
- func (f CatShards) WithFilterPath(v ...string) func(*CatShardsRequest)
- func (f CatShards) WithFormat(v string) func(*CatShardsRequest)
- func (f CatShards) WithH(v ...string) func(*CatShardsRequest)
- func (f CatShards) WithHeader(h map[string]string) func(*CatShardsRequest)
- func (f CatShards) WithHelp(v bool) func(*CatShardsRequest)
- func (f CatShards) WithHuman() func(*CatShardsRequest)
- func (f CatShards) WithIndex(v ...string) func(*CatShardsRequest)
- func (f CatShards) WithLocal(v bool) func(*CatShardsRequest)
- func (f CatShards) WithMasterTimeout(v time.Duration) func(*CatShardsRequest)
- func (f CatShards) WithOpaqueID(s string) func(*CatShardsRequest)
- func (f CatShards) WithPretty() func(*CatShardsRequest)
- func (f CatShards) WithS(v ...string) func(*CatShardsRequest)
- func (f CatShards) WithTime(v string) func(*CatShardsRequest)
- func (f CatShards) WithV(v bool) func(*CatShardsRequest)
- type CatShardsRequest
- type CatSnapshots
- func (f CatSnapshots) WithContext(v context.Context) func(*CatSnapshotsRequest)
- func (f CatSnapshots) WithErrorTrace() func(*CatSnapshotsRequest)
- func (f CatSnapshots) WithFilterPath(v ...string) func(*CatSnapshotsRequest)
- func (f CatSnapshots) WithFormat(v string) func(*CatSnapshotsRequest)
- func (f CatSnapshots) WithH(v ...string) func(*CatSnapshotsRequest)
- func (f CatSnapshots) WithHeader(h map[string]string) func(*CatSnapshotsRequest)
- func (f CatSnapshots) WithHelp(v bool) func(*CatSnapshotsRequest)
- func (f CatSnapshots) WithHuman() func(*CatSnapshotsRequest)
- func (f CatSnapshots) WithIgnoreUnavailable(v bool) func(*CatSnapshotsRequest)
- func (f CatSnapshots) WithMasterTimeout(v time.Duration) func(*CatSnapshotsRequest)
- func (f CatSnapshots) WithOpaqueID(s string) func(*CatSnapshotsRequest)
- func (f CatSnapshots) WithPretty() func(*CatSnapshotsRequest)
- func (f CatSnapshots) WithRepository(v ...string) func(*CatSnapshotsRequest)
- func (f CatSnapshots) WithS(v ...string) func(*CatSnapshotsRequest)
- func (f CatSnapshots) WithTime(v string) func(*CatSnapshotsRequest)
- func (f CatSnapshots) WithV(v bool) func(*CatSnapshotsRequest)
- type CatSnapshotsRequest
- type CatTasks
- func (f CatTasks) WithActions(v ...string) func(*CatTasksRequest)
- func (f CatTasks) WithContext(v context.Context) func(*CatTasksRequest)
- func (f CatTasks) WithDetailed(v bool) func(*CatTasksRequest)
- func (f CatTasks) WithErrorTrace() func(*CatTasksRequest)
- func (f CatTasks) WithFilterPath(v ...string) func(*CatTasksRequest)
- func (f CatTasks) WithFormat(v string) func(*CatTasksRequest)
- func (f CatTasks) WithH(v ...string) func(*CatTasksRequest)
- func (f CatTasks) WithHeader(h map[string]string) func(*CatTasksRequest)
- func (f CatTasks) WithHelp(v bool) func(*CatTasksRequest)
- func (f CatTasks) WithHuman() func(*CatTasksRequest)
- func (f CatTasks) WithNodes(v ...string) func(*CatTasksRequest)
- func (f CatTasks) WithOpaqueID(s string) func(*CatTasksRequest)
- func (f CatTasks) WithParentTaskID(v string) func(*CatTasksRequest)
- func (f CatTasks) WithPretty() func(*CatTasksRequest)
- func (f CatTasks) WithS(v ...string) func(*CatTasksRequest)
- func (f CatTasks) WithTime(v string) func(*CatTasksRequest)
- func (f CatTasks) WithV(v bool) func(*CatTasksRequest)
- type CatTasksRequest
- type CatTemplates
- func (f CatTemplates) WithContext(v context.Context) func(*CatTemplatesRequest)
- func (f CatTemplates) WithErrorTrace() func(*CatTemplatesRequest)
- func (f CatTemplates) WithFilterPath(v ...string) func(*CatTemplatesRequest)
- func (f CatTemplates) WithFormat(v string) func(*CatTemplatesRequest)
- func (f CatTemplates) WithH(v ...string) func(*CatTemplatesRequest)
- func (f CatTemplates) WithHeader(h map[string]string) func(*CatTemplatesRequest)
- func (f CatTemplates) WithHelp(v bool) func(*CatTemplatesRequest)
- func (f CatTemplates) WithHuman() func(*CatTemplatesRequest)
- func (f CatTemplates) WithLocal(v bool) func(*CatTemplatesRequest)
- func (f CatTemplates) WithMasterTimeout(v time.Duration) func(*CatTemplatesRequest)
- func (f CatTemplates) WithName(v string) func(*CatTemplatesRequest)
- func (f CatTemplates) WithOpaqueID(s string) func(*CatTemplatesRequest)
- func (f CatTemplates) WithPretty() func(*CatTemplatesRequest)
- func (f CatTemplates) WithS(v ...string) func(*CatTemplatesRequest)
- func (f CatTemplates) WithV(v bool) func(*CatTemplatesRequest)
- type CatTemplatesRequest
- type CatThreadPool
- func (f CatThreadPool) WithContext(v context.Context) func(*CatThreadPoolRequest)
- func (f CatThreadPool) WithErrorTrace() func(*CatThreadPoolRequest)
- func (f CatThreadPool) WithFilterPath(v ...string) func(*CatThreadPoolRequest)
- func (f CatThreadPool) WithFormat(v string) func(*CatThreadPoolRequest)
- func (f CatThreadPool) WithH(v ...string) func(*CatThreadPoolRequest)
- func (f CatThreadPool) WithHeader(h map[string]string) func(*CatThreadPoolRequest)
- func (f CatThreadPool) WithHelp(v bool) func(*CatThreadPoolRequest)
- func (f CatThreadPool) WithHuman() func(*CatThreadPoolRequest)
- func (f CatThreadPool) WithLocal(v bool) func(*CatThreadPoolRequest)
- func (f CatThreadPool) WithMasterTimeout(v time.Duration) func(*CatThreadPoolRequest)
- func (f CatThreadPool) WithOpaqueID(s string) func(*CatThreadPoolRequest)
- func (f CatThreadPool) WithPretty() func(*CatThreadPoolRequest)
- func (f CatThreadPool) WithS(v ...string) func(*CatThreadPoolRequest)
- func (f CatThreadPool) WithSize(v string) func(*CatThreadPoolRequest)
- func (f CatThreadPool) WithThreadPoolPatterns(v ...string) func(*CatThreadPoolRequest)
- func (f CatThreadPool) WithV(v bool) func(*CatThreadPoolRequest)
- type CatThreadPoolRequest
- type CatTransforms
- func (f CatTransforms) WithAllowNoMatch(v bool) func(*CatTransformsRequest)
- func (f CatTransforms) WithContext(v context.Context) func(*CatTransformsRequest)
- func (f CatTransforms) WithErrorTrace() func(*CatTransformsRequest)
- func (f CatTransforms) WithFilterPath(v ...string) func(*CatTransformsRequest)
- func (f CatTransforms) WithFormat(v string) func(*CatTransformsRequest)
- func (f CatTransforms) WithFrom(v int) func(*CatTransformsRequest)
- func (f CatTransforms) WithH(v ...string) func(*CatTransformsRequest)
- func (f CatTransforms) WithHeader(h map[string]string) func(*CatTransformsRequest)
- func (f CatTransforms) WithHelp(v bool) func(*CatTransformsRequest)
- func (f CatTransforms) WithHuman() func(*CatTransformsRequest)
- func (f CatTransforms) WithOpaqueID(s string) func(*CatTransformsRequest)
- func (f CatTransforms) WithPretty() func(*CatTransformsRequest)
- func (f CatTransforms) WithS(v ...string) func(*CatTransformsRequest)
- func (f CatTransforms) WithSize(v int) func(*CatTransformsRequest)
- func (f CatTransforms) WithTime(v string) func(*CatTransformsRequest)
- func (f CatTransforms) WithTransformID(v string) func(*CatTransformsRequest)
- func (f CatTransforms) WithV(v bool) func(*CatTransformsRequest)
- type CatTransformsRequest
- type ClearScroll
- func (f ClearScroll) WithBody(v io.Reader) func(*ClearScrollRequest)
- func (f ClearScroll) WithContext(v context.Context) func(*ClearScrollRequest)
- func (f ClearScroll) WithErrorTrace() func(*ClearScrollRequest)
- func (f ClearScroll) WithFilterPath(v ...string) func(*ClearScrollRequest)
- func (f ClearScroll) WithHeader(h map[string]string) func(*ClearScrollRequest)
- func (f ClearScroll) WithHuman() func(*ClearScrollRequest)
- func (f ClearScroll) WithOpaqueID(s string) func(*ClearScrollRequest)
- func (f ClearScroll) WithPretty() func(*ClearScrollRequest)
- func (f ClearScroll) WithScrollID(v ...string) func(*ClearScrollRequest)
- type ClearScrollRequest
- type ClosePointInTime
- func (f ClosePointInTime) WithBody(v io.Reader) func(*ClosePointInTimeRequest)
- func (f ClosePointInTime) WithContext(v context.Context) func(*ClosePointInTimeRequest)
- func (f ClosePointInTime) WithErrorTrace() func(*ClosePointInTimeRequest)
- func (f ClosePointInTime) WithFilterPath(v ...string) func(*ClosePointInTimeRequest)
- func (f ClosePointInTime) WithHeader(h map[string]string) func(*ClosePointInTimeRequest)
- func (f ClosePointInTime) WithHuman() func(*ClosePointInTimeRequest)
- func (f ClosePointInTime) WithOpaqueID(s string) func(*ClosePointInTimeRequest)
- func (f ClosePointInTime) WithPretty() func(*ClosePointInTimeRequest)
- type ClosePointInTimeRequest
- type Cluster
- type ClusterAllocationExplain
- func (f ClusterAllocationExplain) WithBody(v io.Reader) func(*ClusterAllocationExplainRequest)
- func (f ClusterAllocationExplain) WithContext(v context.Context) func(*ClusterAllocationExplainRequest)
- func (f ClusterAllocationExplain) WithErrorTrace() func(*ClusterAllocationExplainRequest)
- func (f ClusterAllocationExplain) WithFilterPath(v ...string) func(*ClusterAllocationExplainRequest)
- func (f ClusterAllocationExplain) WithHeader(h map[string]string) func(*ClusterAllocationExplainRequest)
- func (f ClusterAllocationExplain) WithHuman() func(*ClusterAllocationExplainRequest)
- func (f ClusterAllocationExplain) WithIncludeDiskInfo(v bool) func(*ClusterAllocationExplainRequest)
- func (f ClusterAllocationExplain) WithIncludeYesDecisions(v bool) func(*ClusterAllocationExplainRequest)
- func (f ClusterAllocationExplain) WithOpaqueID(s string) func(*ClusterAllocationExplainRequest)
- func (f ClusterAllocationExplain) WithPretty() func(*ClusterAllocationExplainRequest)
- type ClusterAllocationExplainRequest
- type ClusterDeleteComponentTemplate
- func (f ClusterDeleteComponentTemplate) WithContext(v context.Context) func(*ClusterDeleteComponentTemplateRequest)
- func (f ClusterDeleteComponentTemplate) WithErrorTrace() func(*ClusterDeleteComponentTemplateRequest)
- func (f ClusterDeleteComponentTemplate) WithFilterPath(v ...string) func(*ClusterDeleteComponentTemplateRequest)
- func (f ClusterDeleteComponentTemplate) WithHeader(h map[string]string) func(*ClusterDeleteComponentTemplateRequest)
- func (f ClusterDeleteComponentTemplate) WithHuman() func(*ClusterDeleteComponentTemplateRequest)
- func (f ClusterDeleteComponentTemplate) WithMasterTimeout(v time.Duration) func(*ClusterDeleteComponentTemplateRequest)
- func (f ClusterDeleteComponentTemplate) WithOpaqueID(s string) func(*ClusterDeleteComponentTemplateRequest)
- func (f ClusterDeleteComponentTemplate) WithPretty() func(*ClusterDeleteComponentTemplateRequest)
- func (f ClusterDeleteComponentTemplate) WithTimeout(v time.Duration) func(*ClusterDeleteComponentTemplateRequest)
- type ClusterDeleteComponentTemplateRequest
- type ClusterDeleteVotingConfigExclusions
- func (f ClusterDeleteVotingConfigExclusions) WithContext(v context.Context) func(*ClusterDeleteVotingConfigExclusionsRequest)
- func (f ClusterDeleteVotingConfigExclusions) WithErrorTrace() func(*ClusterDeleteVotingConfigExclusionsRequest)
- func (f ClusterDeleteVotingConfigExclusions) WithFilterPath(v ...string) func(*ClusterDeleteVotingConfigExclusionsRequest)
- func (f ClusterDeleteVotingConfigExclusions) WithHeader(h map[string]string) func(*ClusterDeleteVotingConfigExclusionsRequest)
- func (f ClusterDeleteVotingConfigExclusions) WithHuman() func(*ClusterDeleteVotingConfigExclusionsRequest)
- func (f ClusterDeleteVotingConfigExclusions) WithOpaqueID(s string) func(*ClusterDeleteVotingConfigExclusionsRequest)
- func (f ClusterDeleteVotingConfigExclusions) WithPretty() func(*ClusterDeleteVotingConfigExclusionsRequest)
- func (f ClusterDeleteVotingConfigExclusions) WithWaitForRemoval(v bool) func(*ClusterDeleteVotingConfigExclusionsRequest)
- type ClusterDeleteVotingConfigExclusionsRequest
- type ClusterExistsComponentTemplate
- func (f ClusterExistsComponentTemplate) WithContext(v context.Context) func(*ClusterExistsComponentTemplateRequest)
- func (f ClusterExistsComponentTemplate) WithErrorTrace() func(*ClusterExistsComponentTemplateRequest)
- func (f ClusterExistsComponentTemplate) WithFilterPath(v ...string) func(*ClusterExistsComponentTemplateRequest)
- func (f ClusterExistsComponentTemplate) WithHeader(h map[string]string) func(*ClusterExistsComponentTemplateRequest)
- func (f ClusterExistsComponentTemplate) WithHuman() func(*ClusterExistsComponentTemplateRequest)
- func (f ClusterExistsComponentTemplate) WithLocal(v bool) func(*ClusterExistsComponentTemplateRequest)
- func (f ClusterExistsComponentTemplate) WithMasterTimeout(v time.Duration) func(*ClusterExistsComponentTemplateRequest)
- func (f ClusterExistsComponentTemplate) WithOpaqueID(s string) func(*ClusterExistsComponentTemplateRequest)
- func (f ClusterExistsComponentTemplate) WithPretty() func(*ClusterExistsComponentTemplateRequest)
- type ClusterExistsComponentTemplateRequest
- type ClusterGetComponentTemplate
- func (f ClusterGetComponentTemplate) WithContext(v context.Context) func(*ClusterGetComponentTemplateRequest)
- func (f ClusterGetComponentTemplate) WithErrorTrace() func(*ClusterGetComponentTemplateRequest)
- func (f ClusterGetComponentTemplate) WithFilterPath(v ...string) func(*ClusterGetComponentTemplateRequest)
- func (f ClusterGetComponentTemplate) WithHeader(h map[string]string) func(*ClusterGetComponentTemplateRequest)
- func (f ClusterGetComponentTemplate) WithHuman() func(*ClusterGetComponentTemplateRequest)
- func (f ClusterGetComponentTemplate) WithLocal(v bool) func(*ClusterGetComponentTemplateRequest)
- func (f ClusterGetComponentTemplate) WithMasterTimeout(v time.Duration) func(*ClusterGetComponentTemplateRequest)
- func (f ClusterGetComponentTemplate) WithName(v ...string) func(*ClusterGetComponentTemplateRequest)
- func (f ClusterGetComponentTemplate) WithOpaqueID(s string) func(*ClusterGetComponentTemplateRequest)
- func (f ClusterGetComponentTemplate) WithPretty() func(*ClusterGetComponentTemplateRequest)
- type ClusterGetComponentTemplateRequest
- type ClusterGetSettings
- func (f ClusterGetSettings) WithContext(v context.Context) func(*ClusterGetSettingsRequest)
- func (f ClusterGetSettings) WithErrorTrace() func(*ClusterGetSettingsRequest)
- func (f ClusterGetSettings) WithFilterPath(v ...string) func(*ClusterGetSettingsRequest)
- func (f ClusterGetSettings) WithFlatSettings(v bool) func(*ClusterGetSettingsRequest)
- func (f ClusterGetSettings) WithHeader(h map[string]string) func(*ClusterGetSettingsRequest)
- func (f ClusterGetSettings) WithHuman() func(*ClusterGetSettingsRequest)
- func (f ClusterGetSettings) WithIncludeDefaults(v bool) func(*ClusterGetSettingsRequest)
- func (f ClusterGetSettings) WithMasterTimeout(v time.Duration) func(*ClusterGetSettingsRequest)
- func (f ClusterGetSettings) WithOpaqueID(s string) func(*ClusterGetSettingsRequest)
- func (f ClusterGetSettings) WithPretty() func(*ClusterGetSettingsRequest)
- func (f ClusterGetSettings) WithTimeout(v time.Duration) func(*ClusterGetSettingsRequest)
- type ClusterGetSettingsRequest
- type ClusterHealth
- func (f ClusterHealth) WithContext(v context.Context) func(*ClusterHealthRequest)
- func (f ClusterHealth) WithErrorTrace() func(*ClusterHealthRequest)
- func (f ClusterHealth) WithExpandWildcards(v string) func(*ClusterHealthRequest)
- func (f ClusterHealth) WithFilterPath(v ...string) func(*ClusterHealthRequest)
- func (f ClusterHealth) WithHeader(h map[string]string) func(*ClusterHealthRequest)
- func (f ClusterHealth) WithHuman() func(*ClusterHealthRequest)
- func (f ClusterHealth) WithIndex(v ...string) func(*ClusterHealthRequest)
- func (f ClusterHealth) WithLevel(v string) func(*ClusterHealthRequest)
- func (f ClusterHealth) WithLocal(v bool) func(*ClusterHealthRequest)
- func (f ClusterHealth) WithMasterTimeout(v time.Duration) func(*ClusterHealthRequest)
- func (f ClusterHealth) WithOpaqueID(s string) func(*ClusterHealthRequest)
- func (f ClusterHealth) WithPretty() func(*ClusterHealthRequest)
- func (f ClusterHealth) WithTimeout(v time.Duration) func(*ClusterHealthRequest)
- func (f ClusterHealth) WithWaitForActiveShards(v string) func(*ClusterHealthRequest)
- func (f ClusterHealth) WithWaitForEvents(v string) func(*ClusterHealthRequest)
- func (f ClusterHealth) WithWaitForNoInitializingShards(v bool) func(*ClusterHealthRequest)
- func (f ClusterHealth) WithWaitForNoRelocatingShards(v bool) func(*ClusterHealthRequest)
- func (f ClusterHealth) WithWaitForNodes(v string) func(*ClusterHealthRequest)
- func (f ClusterHealth) WithWaitForStatus(v string) func(*ClusterHealthRequest)
- type ClusterHealthRequest
- type ClusterPendingTasks
- func (f ClusterPendingTasks) WithContext(v context.Context) func(*ClusterPendingTasksRequest)
- func (f ClusterPendingTasks) WithErrorTrace() func(*ClusterPendingTasksRequest)
- func (f ClusterPendingTasks) WithFilterPath(v ...string) func(*ClusterPendingTasksRequest)
- func (f ClusterPendingTasks) WithHeader(h map[string]string) func(*ClusterPendingTasksRequest)
- func (f ClusterPendingTasks) WithHuman() func(*ClusterPendingTasksRequest)
- func (f ClusterPendingTasks) WithLocal(v bool) func(*ClusterPendingTasksRequest)
- func (f ClusterPendingTasks) WithMasterTimeout(v time.Duration) func(*ClusterPendingTasksRequest)
- func (f ClusterPendingTasks) WithOpaqueID(s string) func(*ClusterPendingTasksRequest)
- func (f ClusterPendingTasks) WithPretty() func(*ClusterPendingTasksRequest)
- type ClusterPendingTasksRequest
- type ClusterPostVotingConfigExclusions
- func (f ClusterPostVotingConfigExclusions) WithContext(v context.Context) func(*ClusterPostVotingConfigExclusionsRequest)
- func (f ClusterPostVotingConfigExclusions) WithErrorTrace() func(*ClusterPostVotingConfigExclusionsRequest)
- func (f ClusterPostVotingConfigExclusions) WithFilterPath(v ...string) func(*ClusterPostVotingConfigExclusionsRequest)
- func (f ClusterPostVotingConfigExclusions) WithHeader(h map[string]string) func(*ClusterPostVotingConfigExclusionsRequest)
- func (f ClusterPostVotingConfigExclusions) WithHuman() func(*ClusterPostVotingConfigExclusionsRequest)
- func (f ClusterPostVotingConfigExclusions) WithNodeIds(v string) func(*ClusterPostVotingConfigExclusionsRequest)
- func (f ClusterPostVotingConfigExclusions) WithNodeNames(v string) func(*ClusterPostVotingConfigExclusionsRequest)
- func (f ClusterPostVotingConfigExclusions) WithOpaqueID(s string) func(*ClusterPostVotingConfigExclusionsRequest)
- func (f ClusterPostVotingConfigExclusions) WithPretty() func(*ClusterPostVotingConfigExclusionsRequest)
- func (f ClusterPostVotingConfigExclusions) WithTimeout(v time.Duration) func(*ClusterPostVotingConfigExclusionsRequest)
- type ClusterPostVotingConfigExclusionsRequest
- type ClusterPutComponentTemplate
- func (f ClusterPutComponentTemplate) WithContext(v context.Context) func(*ClusterPutComponentTemplateRequest)
- func (f ClusterPutComponentTemplate) WithCreate(v bool) func(*ClusterPutComponentTemplateRequest)
- func (f ClusterPutComponentTemplate) WithErrorTrace() func(*ClusterPutComponentTemplateRequest)
- func (f ClusterPutComponentTemplate) WithFilterPath(v ...string) func(*ClusterPutComponentTemplateRequest)
- func (f ClusterPutComponentTemplate) WithHeader(h map[string]string) func(*ClusterPutComponentTemplateRequest)
- func (f ClusterPutComponentTemplate) WithHuman() func(*ClusterPutComponentTemplateRequest)
- func (f ClusterPutComponentTemplate) WithMasterTimeout(v time.Duration) func(*ClusterPutComponentTemplateRequest)
- func (f ClusterPutComponentTemplate) WithOpaqueID(s string) func(*ClusterPutComponentTemplateRequest)
- func (f ClusterPutComponentTemplate) WithPretty() func(*ClusterPutComponentTemplateRequest)
- func (f ClusterPutComponentTemplate) WithTimeout(v time.Duration) func(*ClusterPutComponentTemplateRequest)
- type ClusterPutComponentTemplateRequest
- type ClusterPutSettings
- func (f ClusterPutSettings) WithContext(v context.Context) func(*ClusterPutSettingsRequest)
- func (f ClusterPutSettings) WithErrorTrace() func(*ClusterPutSettingsRequest)
- func (f ClusterPutSettings) WithFilterPath(v ...string) func(*ClusterPutSettingsRequest)
- func (f ClusterPutSettings) WithFlatSettings(v bool) func(*ClusterPutSettingsRequest)
- func (f ClusterPutSettings) WithHeader(h map[string]string) func(*ClusterPutSettingsRequest)
- func (f ClusterPutSettings) WithHuman() func(*ClusterPutSettingsRequest)
- func (f ClusterPutSettings) WithMasterTimeout(v time.Duration) func(*ClusterPutSettingsRequest)
- func (f ClusterPutSettings) WithOpaqueID(s string) func(*ClusterPutSettingsRequest)
- func (f ClusterPutSettings) WithPretty() func(*ClusterPutSettingsRequest)
- func (f ClusterPutSettings) WithTimeout(v time.Duration) func(*ClusterPutSettingsRequest)
- type ClusterPutSettingsRequest
- type ClusterRemoteInfo
- func (f ClusterRemoteInfo) WithContext(v context.Context) func(*ClusterRemoteInfoRequest)
- func (f ClusterRemoteInfo) WithErrorTrace() func(*ClusterRemoteInfoRequest)
- func (f ClusterRemoteInfo) WithFilterPath(v ...string) func(*ClusterRemoteInfoRequest)
- func (f ClusterRemoteInfo) WithHeader(h map[string]string) func(*ClusterRemoteInfoRequest)
- func (f ClusterRemoteInfo) WithHuman() func(*ClusterRemoteInfoRequest)
- func (f ClusterRemoteInfo) WithOpaqueID(s string) func(*ClusterRemoteInfoRequest)
- func (f ClusterRemoteInfo) WithPretty() func(*ClusterRemoteInfoRequest)
- type ClusterRemoteInfoRequest
- type ClusterReroute
- func (f ClusterReroute) WithBody(v io.Reader) func(*ClusterRerouteRequest)
- func (f ClusterReroute) WithContext(v context.Context) func(*ClusterRerouteRequest)
- func (f ClusterReroute) WithDryRun(v bool) func(*ClusterRerouteRequest)
- func (f ClusterReroute) WithErrorTrace() func(*ClusterRerouteRequest)
- func (f ClusterReroute) WithExplain(v bool) func(*ClusterRerouteRequest)
- func (f ClusterReroute) WithFilterPath(v ...string) func(*ClusterRerouteRequest)
- func (f ClusterReroute) WithHeader(h map[string]string) func(*ClusterRerouteRequest)
- func (f ClusterReroute) WithHuman() func(*ClusterRerouteRequest)
- func (f ClusterReroute) WithMasterTimeout(v time.Duration) func(*ClusterRerouteRequest)
- func (f ClusterReroute) WithMetric(v ...string) func(*ClusterRerouteRequest)
- func (f ClusterReroute) WithOpaqueID(s string) func(*ClusterRerouteRequest)
- func (f ClusterReroute) WithPretty() func(*ClusterRerouteRequest)
- func (f ClusterReroute) WithRetryFailed(v bool) func(*ClusterRerouteRequest)
- func (f ClusterReroute) WithTimeout(v time.Duration) func(*ClusterRerouteRequest)
- type ClusterRerouteRequest
- type ClusterState
- func (f ClusterState) WithAllowNoIndices(v bool) func(*ClusterStateRequest)
- func (f ClusterState) WithContext(v context.Context) func(*ClusterStateRequest)
- func (f ClusterState) WithErrorTrace() func(*ClusterStateRequest)
- func (f ClusterState) WithExpandWildcards(v string) func(*ClusterStateRequest)
- func (f ClusterState) WithFilterPath(v ...string) func(*ClusterStateRequest)
- func (f ClusterState) WithFlatSettings(v bool) func(*ClusterStateRequest)
- func (f ClusterState) WithHeader(h map[string]string) func(*ClusterStateRequest)
- func (f ClusterState) WithHuman() func(*ClusterStateRequest)
- func (f ClusterState) WithIgnoreUnavailable(v bool) func(*ClusterStateRequest)
- func (f ClusterState) WithIndex(v ...string) func(*ClusterStateRequest)
- func (f ClusterState) WithLocal(v bool) func(*ClusterStateRequest)
- func (f ClusterState) WithMasterTimeout(v time.Duration) func(*ClusterStateRequest)
- func (f ClusterState) WithMetric(v ...string) func(*ClusterStateRequest)
- func (f ClusterState) WithOpaqueID(s string) func(*ClusterStateRequest)
- func (f ClusterState) WithPretty() func(*ClusterStateRequest)
- func (f ClusterState) WithWaitForMetadataVersion(v int) func(*ClusterStateRequest)
- func (f ClusterState) WithWaitForTimeout(v time.Duration) func(*ClusterStateRequest)
- type ClusterStateRequest
- type ClusterStats
- func (f ClusterStats) WithContext(v context.Context) func(*ClusterStatsRequest)
- func (f ClusterStats) WithErrorTrace() func(*ClusterStatsRequest)
- func (f ClusterStats) WithFilterPath(v ...string) func(*ClusterStatsRequest)
- func (f ClusterStats) WithFlatSettings(v bool) func(*ClusterStatsRequest)
- func (f ClusterStats) WithHeader(h map[string]string) func(*ClusterStatsRequest)
- func (f ClusterStats) WithHuman() func(*ClusterStatsRequest)
- func (f ClusterStats) WithNodeID(v ...string) func(*ClusterStatsRequest)
- func (f ClusterStats) WithOpaqueID(s string) func(*ClusterStatsRequest)
- func (f ClusterStats) WithPretty() func(*ClusterStatsRequest)
- func (f ClusterStats) WithTimeout(v time.Duration) func(*ClusterStatsRequest)
- type ClusterStatsRequest
- type Count
- func (f Count) WithAllowNoIndices(v bool) func(*CountRequest)
- func (f Count) WithAnalyzeWildcard(v bool) func(*CountRequest)
- func (f Count) WithAnalyzer(v string) func(*CountRequest)
- func (f Count) WithBody(v io.Reader) func(*CountRequest)
- func (f Count) WithContext(v context.Context) func(*CountRequest)
- func (f Count) WithDefaultOperator(v string) func(*CountRequest)
- func (f Count) WithDf(v string) func(*CountRequest)
- func (f Count) WithDocumentType(v ...string) func(*CountRequest)
- func (f Count) WithErrorTrace() func(*CountRequest)
- func (f Count) WithExpandWildcards(v string) func(*CountRequest)
- func (f Count) WithFilterPath(v ...string) func(*CountRequest)
- func (f Count) WithHeader(h map[string]string) func(*CountRequest)
- func (f Count) WithHuman() func(*CountRequest)
- func (f Count) WithIgnoreThrottled(v bool) func(*CountRequest)
- func (f Count) WithIgnoreUnavailable(v bool) func(*CountRequest)
- func (f Count) WithIndex(v ...string) func(*CountRequest)
- func (f Count) WithLenient(v bool) func(*CountRequest)
- func (f Count) WithMinScore(v int) func(*CountRequest)
- func (f Count) WithOpaqueID(s string) func(*CountRequest)
- func (f Count) WithPreference(v string) func(*CountRequest)
- func (f Count) WithPretty() func(*CountRequest)
- func (f Count) WithQuery(v string) func(*CountRequest)
- func (f Count) WithRouting(v ...string) func(*CountRequest)
- func (f Count) WithTerminateAfter(v int) func(*CountRequest)
- type CountRequest
- type Create
- func (f Create) WithContext(v context.Context) func(*CreateRequest)
- func (f Create) WithDocumentType(v string) func(*CreateRequest)
- func (f Create) WithErrorTrace() func(*CreateRequest)
- func (f Create) WithFilterPath(v ...string) func(*CreateRequest)
- func (f Create) WithHeader(h map[string]string) func(*CreateRequest)
- func (f Create) WithHuman() func(*CreateRequest)
- func (f Create) WithOpaqueID(s string) func(*CreateRequest)
- func (f Create) WithPipeline(v string) func(*CreateRequest)
- func (f Create) WithPretty() func(*CreateRequest)
- func (f Create) WithRefresh(v string) func(*CreateRequest)
- func (f Create) WithRouting(v string) func(*CreateRequest)
- func (f Create) WithTimeout(v time.Duration) func(*CreateRequest)
- func (f Create) WithVersion(v int) func(*CreateRequest)
- func (f Create) WithVersionType(v string) func(*CreateRequest)
- func (f Create) WithWaitForActiveShards(v string) func(*CreateRequest)
- type CreateRequest
- type DanglingIndicesDeleteDanglingIndex
- func (f DanglingIndicesDeleteDanglingIndex) WithAcceptDataLoss(v bool) func(*DanglingIndicesDeleteDanglingIndexRequest)
- func (f DanglingIndicesDeleteDanglingIndex) WithContext(v context.Context) func(*DanglingIndicesDeleteDanglingIndexRequest)
- func (f DanglingIndicesDeleteDanglingIndex) WithErrorTrace() func(*DanglingIndicesDeleteDanglingIndexRequest)
- func (f DanglingIndicesDeleteDanglingIndex) WithFilterPath(v ...string) func(*DanglingIndicesDeleteDanglingIndexRequest)
- func (f DanglingIndicesDeleteDanglingIndex) WithHeader(h map[string]string) func(*DanglingIndicesDeleteDanglingIndexRequest)
- func (f DanglingIndicesDeleteDanglingIndex) WithHuman() func(*DanglingIndicesDeleteDanglingIndexRequest)
- func (f DanglingIndicesDeleteDanglingIndex) WithMasterTimeout(v time.Duration) func(*DanglingIndicesDeleteDanglingIndexRequest)
- func (f DanglingIndicesDeleteDanglingIndex) WithOpaqueID(s string) func(*DanglingIndicesDeleteDanglingIndexRequest)
- func (f DanglingIndicesDeleteDanglingIndex) WithPretty() func(*DanglingIndicesDeleteDanglingIndexRequest)
- func (f DanglingIndicesDeleteDanglingIndex) WithTimeout(v time.Duration) func(*DanglingIndicesDeleteDanglingIndexRequest)
- type DanglingIndicesDeleteDanglingIndexRequest
- type DanglingIndicesImportDanglingIndex
- func (f DanglingIndicesImportDanglingIndex) WithAcceptDataLoss(v bool) func(*DanglingIndicesImportDanglingIndexRequest)
- func (f DanglingIndicesImportDanglingIndex) WithContext(v context.Context) func(*DanglingIndicesImportDanglingIndexRequest)
- func (f DanglingIndicesImportDanglingIndex) WithErrorTrace() func(*DanglingIndicesImportDanglingIndexRequest)
- func (f DanglingIndicesImportDanglingIndex) WithFilterPath(v ...string) func(*DanglingIndicesImportDanglingIndexRequest)
- func (f DanglingIndicesImportDanglingIndex) WithHeader(h map[string]string) func(*DanglingIndicesImportDanglingIndexRequest)
- func (f DanglingIndicesImportDanglingIndex) WithHuman() func(*DanglingIndicesImportDanglingIndexRequest)
- func (f DanglingIndicesImportDanglingIndex) WithMasterTimeout(v time.Duration) func(*DanglingIndicesImportDanglingIndexRequest)
- func (f DanglingIndicesImportDanglingIndex) WithOpaqueID(s string) func(*DanglingIndicesImportDanglingIndexRequest)
- func (f DanglingIndicesImportDanglingIndex) WithPretty() func(*DanglingIndicesImportDanglingIndexRequest)
- func (f DanglingIndicesImportDanglingIndex) WithTimeout(v time.Duration) func(*DanglingIndicesImportDanglingIndexRequest)
- type DanglingIndicesImportDanglingIndexRequest
- type DanglingIndicesListDanglingIndices
- func (f DanglingIndicesListDanglingIndices) WithContext(v context.Context) func(*DanglingIndicesListDanglingIndicesRequest)
- func (f DanglingIndicesListDanglingIndices) WithErrorTrace() func(*DanglingIndicesListDanglingIndicesRequest)
- func (f DanglingIndicesListDanglingIndices) WithFilterPath(v ...string) func(*DanglingIndicesListDanglingIndicesRequest)
- func (f DanglingIndicesListDanglingIndices) WithHeader(h map[string]string) func(*DanglingIndicesListDanglingIndicesRequest)
- func (f DanglingIndicesListDanglingIndices) WithHuman() func(*DanglingIndicesListDanglingIndicesRequest)
- func (f DanglingIndicesListDanglingIndices) WithOpaqueID(s string) func(*DanglingIndicesListDanglingIndicesRequest)
- func (f DanglingIndicesListDanglingIndices) WithPretty() func(*DanglingIndicesListDanglingIndicesRequest)
- type DanglingIndicesListDanglingIndicesRequest
- type DataFrameTransformDeprecatedDeleteTransform
- func (f DataFrameTransformDeprecatedDeleteTransform) WithContext(v context.Context) func(*DataFrameTransformDeprecatedDeleteTransformRequest)
- func (f DataFrameTransformDeprecatedDeleteTransform) WithErrorTrace() func(*DataFrameTransformDeprecatedDeleteTransformRequest)
- func (f DataFrameTransformDeprecatedDeleteTransform) WithFilterPath(v ...string) func(*DataFrameTransformDeprecatedDeleteTransformRequest)
- func (f DataFrameTransformDeprecatedDeleteTransform) WithForce(v bool) func(*DataFrameTransformDeprecatedDeleteTransformRequest)
- func (f DataFrameTransformDeprecatedDeleteTransform) WithHeader(h map[string]string) func(*DataFrameTransformDeprecatedDeleteTransformRequest)
- func (f DataFrameTransformDeprecatedDeleteTransform) WithHuman() func(*DataFrameTransformDeprecatedDeleteTransformRequest)
- func (f DataFrameTransformDeprecatedDeleteTransform) WithOpaqueID(s string) func(*DataFrameTransformDeprecatedDeleteTransformRequest)
- func (f DataFrameTransformDeprecatedDeleteTransform) WithPretty() func(*DataFrameTransformDeprecatedDeleteTransformRequest)
- type DataFrameTransformDeprecatedDeleteTransformRequest
- type DataFrameTransformDeprecatedGetTransform
- func (f DataFrameTransformDeprecatedGetTransform) WithAllowNoMatch(v bool) func(*DataFrameTransformDeprecatedGetTransformRequest)
- func (f DataFrameTransformDeprecatedGetTransform) WithContext(v context.Context) func(*DataFrameTransformDeprecatedGetTransformRequest)
- func (f DataFrameTransformDeprecatedGetTransform) WithErrorTrace() func(*DataFrameTransformDeprecatedGetTransformRequest)
- func (f DataFrameTransformDeprecatedGetTransform) WithExcludeGenerated(v bool) func(*DataFrameTransformDeprecatedGetTransformRequest)
- func (f DataFrameTransformDeprecatedGetTransform) WithFilterPath(v ...string) func(*DataFrameTransformDeprecatedGetTransformRequest)
- func (f DataFrameTransformDeprecatedGetTransform) WithFrom(v int) func(*DataFrameTransformDeprecatedGetTransformRequest)
- func (f DataFrameTransformDeprecatedGetTransform) WithHeader(h map[string]string) func(*DataFrameTransformDeprecatedGetTransformRequest)
- func (f DataFrameTransformDeprecatedGetTransform) WithHuman() func(*DataFrameTransformDeprecatedGetTransformRequest)
- func (f DataFrameTransformDeprecatedGetTransform) WithOpaqueID(s string) func(*DataFrameTransformDeprecatedGetTransformRequest)
- func (f DataFrameTransformDeprecatedGetTransform) WithPretty() func(*DataFrameTransformDeprecatedGetTransformRequest)
- func (f DataFrameTransformDeprecatedGetTransform) WithSize(v int) func(*DataFrameTransformDeprecatedGetTransformRequest)
- func (f DataFrameTransformDeprecatedGetTransform) WithTransformID(v string) func(*DataFrameTransformDeprecatedGetTransformRequest)
- type DataFrameTransformDeprecatedGetTransformRequest
- type DataFrameTransformDeprecatedGetTransformStats
- func (f DataFrameTransformDeprecatedGetTransformStats) WithAllowNoMatch(v bool) func(*DataFrameTransformDeprecatedGetTransformStatsRequest)
- func (f DataFrameTransformDeprecatedGetTransformStats) WithContext(v context.Context) func(*DataFrameTransformDeprecatedGetTransformStatsRequest)
- func (f DataFrameTransformDeprecatedGetTransformStats) WithErrorTrace() func(*DataFrameTransformDeprecatedGetTransformStatsRequest)
- func (f DataFrameTransformDeprecatedGetTransformStats) WithFilterPath(v ...string) func(*DataFrameTransformDeprecatedGetTransformStatsRequest)
- func (f DataFrameTransformDeprecatedGetTransformStats) WithFrom(v int) func(*DataFrameTransformDeprecatedGetTransformStatsRequest)
- func (f DataFrameTransformDeprecatedGetTransformStats) WithHeader(h map[string]string) func(*DataFrameTransformDeprecatedGetTransformStatsRequest)
- func (f DataFrameTransformDeprecatedGetTransformStats) WithHuman() func(*DataFrameTransformDeprecatedGetTransformStatsRequest)
- func (f DataFrameTransformDeprecatedGetTransformStats) WithOpaqueID(s string) func(*DataFrameTransformDeprecatedGetTransformStatsRequest)
- func (f DataFrameTransformDeprecatedGetTransformStats) WithPretty() func(*DataFrameTransformDeprecatedGetTransformStatsRequest)
- func (f DataFrameTransformDeprecatedGetTransformStats) WithSize(v int) func(*DataFrameTransformDeprecatedGetTransformStatsRequest)
- type DataFrameTransformDeprecatedGetTransformStatsRequest
- type DataFrameTransformDeprecatedPreviewTransform
- func (f DataFrameTransformDeprecatedPreviewTransform) WithContext(v context.Context) func(*DataFrameTransformDeprecatedPreviewTransformRequest)
- func (f DataFrameTransformDeprecatedPreviewTransform) WithErrorTrace() func(*DataFrameTransformDeprecatedPreviewTransformRequest)
- func (f DataFrameTransformDeprecatedPreviewTransform) WithFilterPath(v ...string) func(*DataFrameTransformDeprecatedPreviewTransformRequest)
- func (f DataFrameTransformDeprecatedPreviewTransform) WithHeader(h map[string]string) func(*DataFrameTransformDeprecatedPreviewTransformRequest)
- func (f DataFrameTransformDeprecatedPreviewTransform) WithHuman() func(*DataFrameTransformDeprecatedPreviewTransformRequest)
- func (f DataFrameTransformDeprecatedPreviewTransform) WithOpaqueID(s string) func(*DataFrameTransformDeprecatedPreviewTransformRequest)
- func (f DataFrameTransformDeprecatedPreviewTransform) WithPretty() func(*DataFrameTransformDeprecatedPreviewTransformRequest)
- type DataFrameTransformDeprecatedPreviewTransformRequest
- type DataFrameTransformDeprecatedPutTransform
- func (f DataFrameTransformDeprecatedPutTransform) WithContext(v context.Context) func(*DataFrameTransformDeprecatedPutTransformRequest)
- func (f DataFrameTransformDeprecatedPutTransform) WithDeferValidation(v bool) func(*DataFrameTransformDeprecatedPutTransformRequest)
- func (f DataFrameTransformDeprecatedPutTransform) WithErrorTrace() func(*DataFrameTransformDeprecatedPutTransformRequest)
- func (f DataFrameTransformDeprecatedPutTransform) WithFilterPath(v ...string) func(*DataFrameTransformDeprecatedPutTransformRequest)
- func (f DataFrameTransformDeprecatedPutTransform) WithHeader(h map[string]string) func(*DataFrameTransformDeprecatedPutTransformRequest)
- func (f DataFrameTransformDeprecatedPutTransform) WithHuman() func(*DataFrameTransformDeprecatedPutTransformRequest)
- func (f DataFrameTransformDeprecatedPutTransform) WithOpaqueID(s string) func(*DataFrameTransformDeprecatedPutTransformRequest)
- func (f DataFrameTransformDeprecatedPutTransform) WithPretty() func(*DataFrameTransformDeprecatedPutTransformRequest)
- type DataFrameTransformDeprecatedPutTransformRequest
- type DataFrameTransformDeprecatedStartTransform
- func (f DataFrameTransformDeprecatedStartTransform) WithContext(v context.Context) func(*DataFrameTransformDeprecatedStartTransformRequest)
- func (f DataFrameTransformDeprecatedStartTransform) WithErrorTrace() func(*DataFrameTransformDeprecatedStartTransformRequest)
- func (f DataFrameTransformDeprecatedStartTransform) WithFilterPath(v ...string) func(*DataFrameTransformDeprecatedStartTransformRequest)
- func (f DataFrameTransformDeprecatedStartTransform) WithHeader(h map[string]string) func(*DataFrameTransformDeprecatedStartTransformRequest)
- func (f DataFrameTransformDeprecatedStartTransform) WithHuman() func(*DataFrameTransformDeprecatedStartTransformRequest)
- func (f DataFrameTransformDeprecatedStartTransform) WithOpaqueID(s string) func(*DataFrameTransformDeprecatedStartTransformRequest)
- func (f DataFrameTransformDeprecatedStartTransform) WithPretty() func(*DataFrameTransformDeprecatedStartTransformRequest)
- func (f DataFrameTransformDeprecatedStartTransform) WithTimeout(v time.Duration) func(*DataFrameTransformDeprecatedStartTransformRequest)
- type DataFrameTransformDeprecatedStartTransformRequest
- type DataFrameTransformDeprecatedStopTransform
- func (f DataFrameTransformDeprecatedStopTransform) WithAllowNoMatch(v bool) func(*DataFrameTransformDeprecatedStopTransformRequest)
- func (f DataFrameTransformDeprecatedStopTransform) WithContext(v context.Context) func(*DataFrameTransformDeprecatedStopTransformRequest)
- func (f DataFrameTransformDeprecatedStopTransform) WithErrorTrace() func(*DataFrameTransformDeprecatedStopTransformRequest)
- func (f DataFrameTransformDeprecatedStopTransform) WithFilterPath(v ...string) func(*DataFrameTransformDeprecatedStopTransformRequest)
- func (f DataFrameTransformDeprecatedStopTransform) WithHeader(h map[string]string) func(*DataFrameTransformDeprecatedStopTransformRequest)
- func (f DataFrameTransformDeprecatedStopTransform) WithHuman() func(*DataFrameTransformDeprecatedStopTransformRequest)
- func (f DataFrameTransformDeprecatedStopTransform) WithOpaqueID(s string) func(*DataFrameTransformDeprecatedStopTransformRequest)
- func (f DataFrameTransformDeprecatedStopTransform) WithPretty() func(*DataFrameTransformDeprecatedStopTransformRequest)
- func (f DataFrameTransformDeprecatedStopTransform) WithTimeout(v time.Duration) func(*DataFrameTransformDeprecatedStopTransformRequest)
- func (f DataFrameTransformDeprecatedStopTransform) WithWaitForCompletion(v bool) func(*DataFrameTransformDeprecatedStopTransformRequest)
- type DataFrameTransformDeprecatedStopTransformRequest
- type DataFrameTransformDeprecatedUpdateTransform
- func (f DataFrameTransformDeprecatedUpdateTransform) WithContext(v context.Context) func(*DataFrameTransformDeprecatedUpdateTransformRequest)
- func (f DataFrameTransformDeprecatedUpdateTransform) WithDeferValidation(v bool) func(*DataFrameTransformDeprecatedUpdateTransformRequest)
- func (f DataFrameTransformDeprecatedUpdateTransform) WithErrorTrace() func(*DataFrameTransformDeprecatedUpdateTransformRequest)
- func (f DataFrameTransformDeprecatedUpdateTransform) WithFilterPath(v ...string) func(*DataFrameTransformDeprecatedUpdateTransformRequest)
- func (f DataFrameTransformDeprecatedUpdateTransform) WithHeader(h map[string]string) func(*DataFrameTransformDeprecatedUpdateTransformRequest)
- func (f DataFrameTransformDeprecatedUpdateTransform) WithHuman() func(*DataFrameTransformDeprecatedUpdateTransformRequest)
- func (f DataFrameTransformDeprecatedUpdateTransform) WithOpaqueID(s string) func(*DataFrameTransformDeprecatedUpdateTransformRequest)
- func (f DataFrameTransformDeprecatedUpdateTransform) WithPretty() func(*DataFrameTransformDeprecatedUpdateTransformRequest)
- type DataFrameTransformDeprecatedUpdateTransformRequest
- type Delete
- func (f Delete) WithContext(v context.Context) func(*DeleteRequest)
- func (f Delete) WithDocumentType(v string) func(*DeleteRequest)
- func (f Delete) WithErrorTrace() func(*DeleteRequest)
- func (f Delete) WithFilterPath(v ...string) func(*DeleteRequest)
- func (f Delete) WithHeader(h map[string]string) func(*DeleteRequest)
- func (f Delete) WithHuman() func(*DeleteRequest)
- func (f Delete) WithIfPrimaryTerm(v int) func(*DeleteRequest)
- func (f Delete) WithIfSeqNo(v int) func(*DeleteRequest)
- func (f Delete) WithOpaqueID(s string) func(*DeleteRequest)
- func (f Delete) WithPretty() func(*DeleteRequest)
- func (f Delete) WithRefresh(v string) func(*DeleteRequest)
- func (f Delete) WithRouting(v string) func(*DeleteRequest)
- func (f Delete) WithTimeout(v time.Duration) func(*DeleteRequest)
- func (f Delete) WithVersion(v int) func(*DeleteRequest)
- func (f Delete) WithVersionType(v string) func(*DeleteRequest)
- func (f Delete) WithWaitForActiveShards(v string) func(*DeleteRequest)
- type DeleteByQuery
- func (f DeleteByQuery) WithAllowNoIndices(v bool) func(*DeleteByQueryRequest)
- func (f DeleteByQuery) WithAnalyzeWildcard(v bool) func(*DeleteByQueryRequest)
- func (f DeleteByQuery) WithAnalyzer(v string) func(*DeleteByQueryRequest)
- func (f DeleteByQuery) WithConflicts(v string) func(*DeleteByQueryRequest)
- func (f DeleteByQuery) WithContext(v context.Context) func(*DeleteByQueryRequest)
- func (f DeleteByQuery) WithDefaultOperator(v string) func(*DeleteByQueryRequest)
- func (f DeleteByQuery) WithDf(v string) func(*DeleteByQueryRequest)
- func (f DeleteByQuery) WithDocumentType(v ...string) func(*DeleteByQueryRequest)
- func (f DeleteByQuery) WithErrorTrace() func(*DeleteByQueryRequest)
- func (f DeleteByQuery) WithExpandWildcards(v string) func(*DeleteByQueryRequest)
- func (f DeleteByQuery) WithFilterPath(v ...string) func(*DeleteByQueryRequest)
- func (f DeleteByQuery) WithFrom(v int) func(*DeleteByQueryRequest)
- func (f DeleteByQuery) WithHeader(h map[string]string) func(*DeleteByQueryRequest)
- func (f DeleteByQuery) WithHuman() func(*DeleteByQueryRequest)
- func (f DeleteByQuery) WithIgnoreUnavailable(v bool) func(*DeleteByQueryRequest)
- func (f DeleteByQuery) WithLenient(v bool) func(*DeleteByQueryRequest)
- func (f DeleteByQuery) WithMaxDocs(v int) func(*DeleteByQueryRequest)
- func (f DeleteByQuery) WithOpaqueID(s string) func(*DeleteByQueryRequest)
- func (f DeleteByQuery) WithPreference(v string) func(*DeleteByQueryRequest)
- func (f DeleteByQuery) WithPretty() func(*DeleteByQueryRequest)
- func (f DeleteByQuery) WithQuery(v string) func(*DeleteByQueryRequest)
- func (f DeleteByQuery) WithRefresh(v bool) func(*DeleteByQueryRequest)
- func (f DeleteByQuery) WithRequestCache(v bool) func(*DeleteByQueryRequest)
- func (f DeleteByQuery) WithRequestsPerSecond(v int) func(*DeleteByQueryRequest)
- func (f DeleteByQuery) WithRouting(v ...string) func(*DeleteByQueryRequest)
- func (f DeleteByQuery) WithScroll(v time.Duration) func(*DeleteByQueryRequest)
- func (f DeleteByQuery) WithScrollSize(v int) func(*DeleteByQueryRequest)
- func (f DeleteByQuery) WithSearchTimeout(v time.Duration) func(*DeleteByQueryRequest)
- func (f DeleteByQuery) WithSearchType(v string) func(*DeleteByQueryRequest)
- func (f DeleteByQuery) WithSize(v int) func(*DeleteByQueryRequest)
- func (f DeleteByQuery) WithSlices(v interface{}) func(*DeleteByQueryRequest)
- func (f DeleteByQuery) WithSort(v ...string) func(*DeleteByQueryRequest)
- func (f DeleteByQuery) WithStats(v ...string) func(*DeleteByQueryRequest)
- func (f DeleteByQuery) WithTerminateAfter(v int) func(*DeleteByQueryRequest)
- func (f DeleteByQuery) WithTimeout(v time.Duration) func(*DeleteByQueryRequest)
- func (f DeleteByQuery) WithVersion(v bool) func(*DeleteByQueryRequest)
- func (f DeleteByQuery) WithWaitForActiveShards(v string) func(*DeleteByQueryRequest)
- func (f DeleteByQuery) WithWaitForCompletion(v bool) func(*DeleteByQueryRequest)
- type DeleteByQueryRequest
- type DeleteByQueryRethrottle
- func (f DeleteByQueryRethrottle) WithContext(v context.Context) func(*DeleteByQueryRethrottleRequest)
- func (f DeleteByQueryRethrottle) WithErrorTrace() func(*DeleteByQueryRethrottleRequest)
- func (f DeleteByQueryRethrottle) WithFilterPath(v ...string) func(*DeleteByQueryRethrottleRequest)
- func (f DeleteByQueryRethrottle) WithHeader(h map[string]string) func(*DeleteByQueryRethrottleRequest)
- func (f DeleteByQueryRethrottle) WithHuman() func(*DeleteByQueryRethrottleRequest)
- func (f DeleteByQueryRethrottle) WithOpaqueID(s string) func(*DeleteByQueryRethrottleRequest)
- func (f DeleteByQueryRethrottle) WithPretty() func(*DeleteByQueryRethrottleRequest)
- func (f DeleteByQueryRethrottle) WithRequestsPerSecond(v int) func(*DeleteByQueryRethrottleRequest)
- type DeleteByQueryRethrottleRequest
- type DeleteRequest
- type DeleteScript
- func (f DeleteScript) WithContext(v context.Context) func(*DeleteScriptRequest)
- func (f DeleteScript) WithErrorTrace() func(*DeleteScriptRequest)
- func (f DeleteScript) WithFilterPath(v ...string) func(*DeleteScriptRequest)
- func (f DeleteScript) WithHeader(h map[string]string) func(*DeleteScriptRequest)
- func (f DeleteScript) WithHuman() func(*DeleteScriptRequest)
- func (f DeleteScript) WithMasterTimeout(v time.Duration) func(*DeleteScriptRequest)
- func (f DeleteScript) WithOpaqueID(s string) func(*DeleteScriptRequest)
- func (f DeleteScript) WithPretty() func(*DeleteScriptRequest)
- func (f DeleteScript) WithTimeout(v time.Duration) func(*DeleteScriptRequest)
- type DeleteScriptRequest
- type EnrichDeletePolicy
- func (f EnrichDeletePolicy) WithContext(v context.Context) func(*EnrichDeletePolicyRequest)
- func (f EnrichDeletePolicy) WithErrorTrace() func(*EnrichDeletePolicyRequest)
- func (f EnrichDeletePolicy) WithFilterPath(v ...string) func(*EnrichDeletePolicyRequest)
- func (f EnrichDeletePolicy) WithHeader(h map[string]string) func(*EnrichDeletePolicyRequest)
- func (f EnrichDeletePolicy) WithHuman() func(*EnrichDeletePolicyRequest)
- func (f EnrichDeletePolicy) WithOpaqueID(s string) func(*EnrichDeletePolicyRequest)
- func (f EnrichDeletePolicy) WithPretty() func(*EnrichDeletePolicyRequest)
- type EnrichDeletePolicyRequest
- type EnrichExecutePolicy
- func (f EnrichExecutePolicy) WithContext(v context.Context) func(*EnrichExecutePolicyRequest)
- func (f EnrichExecutePolicy) WithErrorTrace() func(*EnrichExecutePolicyRequest)
- func (f EnrichExecutePolicy) WithFilterPath(v ...string) func(*EnrichExecutePolicyRequest)
- func (f EnrichExecutePolicy) WithHeader(h map[string]string) func(*EnrichExecutePolicyRequest)
- func (f EnrichExecutePolicy) WithHuman() func(*EnrichExecutePolicyRequest)
- func (f EnrichExecutePolicy) WithOpaqueID(s string) func(*EnrichExecutePolicyRequest)
- func (f EnrichExecutePolicy) WithPretty() func(*EnrichExecutePolicyRequest)
- func (f EnrichExecutePolicy) WithWaitForCompletion(v bool) func(*EnrichExecutePolicyRequest)
- type EnrichExecutePolicyRequest
- type EnrichGetPolicy
- func (f EnrichGetPolicy) WithContext(v context.Context) func(*EnrichGetPolicyRequest)
- func (f EnrichGetPolicy) WithErrorTrace() func(*EnrichGetPolicyRequest)
- func (f EnrichGetPolicy) WithFilterPath(v ...string) func(*EnrichGetPolicyRequest)
- func (f EnrichGetPolicy) WithHeader(h map[string]string) func(*EnrichGetPolicyRequest)
- func (f EnrichGetPolicy) WithHuman() func(*EnrichGetPolicyRequest)
- func (f EnrichGetPolicy) WithName(v ...string) func(*EnrichGetPolicyRequest)
- func (f EnrichGetPolicy) WithOpaqueID(s string) func(*EnrichGetPolicyRequest)
- func (f EnrichGetPolicy) WithPretty() func(*EnrichGetPolicyRequest)
- type EnrichGetPolicyRequest
- type EnrichPutPolicy
- func (f EnrichPutPolicy) WithContext(v context.Context) func(*EnrichPutPolicyRequest)
- func (f EnrichPutPolicy) WithErrorTrace() func(*EnrichPutPolicyRequest)
- func (f EnrichPutPolicy) WithFilterPath(v ...string) func(*EnrichPutPolicyRequest)
- func (f EnrichPutPolicy) WithHeader(h map[string]string) func(*EnrichPutPolicyRequest)
- func (f EnrichPutPolicy) WithHuman() func(*EnrichPutPolicyRequest)
- func (f EnrichPutPolicy) WithOpaqueID(s string) func(*EnrichPutPolicyRequest)
- func (f EnrichPutPolicy) WithPretty() func(*EnrichPutPolicyRequest)
- type EnrichPutPolicyRequest
- type EnrichStats
- func (f EnrichStats) WithContext(v context.Context) func(*EnrichStatsRequest)
- func (f EnrichStats) WithErrorTrace() func(*EnrichStatsRequest)
- func (f EnrichStats) WithFilterPath(v ...string) func(*EnrichStatsRequest)
- func (f EnrichStats) WithHeader(h map[string]string) func(*EnrichStatsRequest)
- func (f EnrichStats) WithHuman() func(*EnrichStatsRequest)
- func (f EnrichStats) WithOpaqueID(s string) func(*EnrichStatsRequest)
- func (f EnrichStats) WithPretty() func(*EnrichStatsRequest)
- type EnrichStatsRequest
- type EqlDelete
- func (f EqlDelete) WithContext(v context.Context) func(*EqlDeleteRequest)
- func (f EqlDelete) WithErrorTrace() func(*EqlDeleteRequest)
- func (f EqlDelete) WithFilterPath(v ...string) func(*EqlDeleteRequest)
- func (f EqlDelete) WithHeader(h map[string]string) func(*EqlDeleteRequest)
- func (f EqlDelete) WithHuman() func(*EqlDeleteRequest)
- func (f EqlDelete) WithOpaqueID(s string) func(*EqlDeleteRequest)
- func (f EqlDelete) WithPretty() func(*EqlDeleteRequest)
- type EqlDeleteRequest
- type EqlGet
- func (f EqlGet) WithContext(v context.Context) func(*EqlGetRequest)
- func (f EqlGet) WithErrorTrace() func(*EqlGetRequest)
- func (f EqlGet) WithFilterPath(v ...string) func(*EqlGetRequest)
- func (f EqlGet) WithHeader(h map[string]string) func(*EqlGetRequest)
- func (f EqlGet) WithHuman() func(*EqlGetRequest)
- func (f EqlGet) WithKeepAlive(v time.Duration) func(*EqlGetRequest)
- func (f EqlGet) WithOpaqueID(s string) func(*EqlGetRequest)
- func (f EqlGet) WithPretty() func(*EqlGetRequest)
- func (f EqlGet) WithWaitForCompletionTimeout(v time.Duration) func(*EqlGetRequest)
- type EqlGetRequest
- type EqlGetStatus
- func (f EqlGetStatus) WithContext(v context.Context) func(*EqlGetStatusRequest)
- func (f EqlGetStatus) WithErrorTrace() func(*EqlGetStatusRequest)
- func (f EqlGetStatus) WithFilterPath(v ...string) func(*EqlGetStatusRequest)
- func (f EqlGetStatus) WithHeader(h map[string]string) func(*EqlGetStatusRequest)
- func (f EqlGetStatus) WithHuman() func(*EqlGetStatusRequest)
- func (f EqlGetStatus) WithOpaqueID(s string) func(*EqlGetStatusRequest)
- func (f EqlGetStatus) WithPretty() func(*EqlGetStatusRequest)
- type EqlGetStatusRequest
- type EqlSearch
- func (f EqlSearch) WithContext(v context.Context) func(*EqlSearchRequest)
- func (f EqlSearch) WithErrorTrace() func(*EqlSearchRequest)
- func (f EqlSearch) WithFilterPath(v ...string) func(*EqlSearchRequest)
- func (f EqlSearch) WithHeader(h map[string]string) func(*EqlSearchRequest)
- func (f EqlSearch) WithHuman() func(*EqlSearchRequest)
- func (f EqlSearch) WithKeepAlive(v time.Duration) func(*EqlSearchRequest)
- func (f EqlSearch) WithKeepOnCompletion(v bool) func(*EqlSearchRequest)
- func (f EqlSearch) WithOpaqueID(s string) func(*EqlSearchRequest)
- func (f EqlSearch) WithPretty() func(*EqlSearchRequest)
- func (f EqlSearch) WithWaitForCompletionTimeout(v time.Duration) func(*EqlSearchRequest)
- type EqlSearchRequest
- type Exists
- func (f Exists) WithContext(v context.Context) func(*ExistsRequest)
- func (f Exists) WithDocumentType(v string) func(*ExistsRequest)
- func (f Exists) WithErrorTrace() func(*ExistsRequest)
- func (f Exists) WithFilterPath(v ...string) func(*ExistsRequest)
- func (f Exists) WithHeader(h map[string]string) func(*ExistsRequest)
- func (f Exists) WithHuman() func(*ExistsRequest)
- func (f Exists) WithOpaqueID(s string) func(*ExistsRequest)
- func (f Exists) WithPreference(v string) func(*ExistsRequest)
- func (f Exists) WithPretty() func(*ExistsRequest)
- func (f Exists) WithRealtime(v bool) func(*ExistsRequest)
- func (f Exists) WithRefresh(v bool) func(*ExistsRequest)
- func (f Exists) WithRouting(v string) func(*ExistsRequest)
- func (f Exists) WithSource(v ...string) func(*ExistsRequest)
- func (f Exists) WithSourceExcludes(v ...string) func(*ExistsRequest)
- func (f Exists) WithSourceIncludes(v ...string) func(*ExistsRequest)
- func (f Exists) WithStoredFields(v ...string) func(*ExistsRequest)
- func (f Exists) WithVersion(v int) func(*ExistsRequest)
- func (f Exists) WithVersionType(v string) func(*ExistsRequest)
- type ExistsRequest
- type ExistsSource
- func (f ExistsSource) WithContext(v context.Context) func(*ExistsSourceRequest)
- func (f ExistsSource) WithDocumentType(v string) func(*ExistsSourceRequest)
- func (f ExistsSource) WithErrorTrace() func(*ExistsSourceRequest)
- func (f ExistsSource) WithFilterPath(v ...string) func(*ExistsSourceRequest)
- func (f ExistsSource) WithHeader(h map[string]string) func(*ExistsSourceRequest)
- func (f ExistsSource) WithHuman() func(*ExistsSourceRequest)
- func (f ExistsSource) WithOpaqueID(s string) func(*ExistsSourceRequest)
- func (f ExistsSource) WithPreference(v string) func(*ExistsSourceRequest)
- func (f ExistsSource) WithPretty() func(*ExistsSourceRequest)
- func (f ExistsSource) WithRealtime(v bool) func(*ExistsSourceRequest)
- func (f ExistsSource) WithRefresh(v bool) func(*ExistsSourceRequest)
- func (f ExistsSource) WithRouting(v string) func(*ExistsSourceRequest)
- func (f ExistsSource) WithSource(v ...string) func(*ExistsSourceRequest)
- func (f ExistsSource) WithSourceExcludes(v ...string) func(*ExistsSourceRequest)
- func (f ExistsSource) WithSourceIncludes(v ...string) func(*ExistsSourceRequest)
- func (f ExistsSource) WithVersion(v int) func(*ExistsSourceRequest)
- func (f ExistsSource) WithVersionType(v string) func(*ExistsSourceRequest)
- type ExistsSourceRequest
- type Explain
- func (f Explain) WithAnalyzeWildcard(v bool) func(*ExplainRequest)
- func (f Explain) WithAnalyzer(v string) func(*ExplainRequest)
- func (f Explain) WithBody(v io.Reader) func(*ExplainRequest)
- func (f Explain) WithContext(v context.Context) func(*ExplainRequest)
- func (f Explain) WithDefaultOperator(v string) func(*ExplainRequest)
- func (f Explain) WithDf(v string) func(*ExplainRequest)
- func (f Explain) WithDocumentType(v string) func(*ExplainRequest)
- func (f Explain) WithErrorTrace() func(*ExplainRequest)
- func (f Explain) WithFilterPath(v ...string) func(*ExplainRequest)
- func (f Explain) WithHeader(h map[string]string) func(*ExplainRequest)
- func (f Explain) WithHuman() func(*ExplainRequest)
- func (f Explain) WithLenient(v bool) func(*ExplainRequest)
- func (f Explain) WithOpaqueID(s string) func(*ExplainRequest)
- func (f Explain) WithPreference(v string) func(*ExplainRequest)
- func (f Explain) WithPretty() func(*ExplainRequest)
- func (f Explain) WithQuery(v string) func(*ExplainRequest)
- func (f Explain) WithRouting(v string) func(*ExplainRequest)
- func (f Explain) WithSource(v ...string) func(*ExplainRequest)
- func (f Explain) WithSourceExcludes(v ...string) func(*ExplainRequest)
- func (f Explain) WithSourceIncludes(v ...string) func(*ExplainRequest)
- func (f Explain) WithStoredFields(v ...string) func(*ExplainRequest)
- type ExplainRequest
- type FeaturesGetFeatures
- func (f FeaturesGetFeatures) WithContext(v context.Context) func(*FeaturesGetFeaturesRequest)
- func (f FeaturesGetFeatures) WithErrorTrace() func(*FeaturesGetFeaturesRequest)
- func (f FeaturesGetFeatures) WithFilterPath(v ...string) func(*FeaturesGetFeaturesRequest)
- func (f FeaturesGetFeatures) WithHeader(h map[string]string) func(*FeaturesGetFeaturesRequest)
- func (f FeaturesGetFeatures) WithHuman() func(*FeaturesGetFeaturesRequest)
- func (f FeaturesGetFeatures) WithMasterTimeout(v time.Duration) func(*FeaturesGetFeaturesRequest)
- func (f FeaturesGetFeatures) WithOpaqueID(s string) func(*FeaturesGetFeaturesRequest)
- func (f FeaturesGetFeatures) WithPretty() func(*FeaturesGetFeaturesRequest)
- type FeaturesGetFeaturesRequest
- type FeaturesResetFeatures
- func (f FeaturesResetFeatures) WithContext(v context.Context) func(*FeaturesResetFeaturesRequest)
- func (f FeaturesResetFeatures) WithErrorTrace() func(*FeaturesResetFeaturesRequest)
- func (f FeaturesResetFeatures) WithFilterPath(v ...string) func(*FeaturesResetFeaturesRequest)
- func (f FeaturesResetFeatures) WithHeader(h map[string]string) func(*FeaturesResetFeaturesRequest)
- func (f FeaturesResetFeatures) WithHuman() func(*FeaturesResetFeaturesRequest)
- func (f FeaturesResetFeatures) WithOpaqueID(s string) func(*FeaturesResetFeaturesRequest)
- func (f FeaturesResetFeatures) WithPretty() func(*FeaturesResetFeaturesRequest)
- type FeaturesResetFeaturesRequest
- type FieldCaps
- func (f FieldCaps) WithAllowNoIndices(v bool) func(*FieldCapsRequest)
- func (f FieldCaps) WithBody(v io.Reader) func(*FieldCapsRequest)
- func (f FieldCaps) WithContext(v context.Context) func(*FieldCapsRequest)
- func (f FieldCaps) WithErrorTrace() func(*FieldCapsRequest)
- func (f FieldCaps) WithExpandWildcards(v string) func(*FieldCapsRequest)
- func (f FieldCaps) WithFields(v ...string) func(*FieldCapsRequest)
- func (f FieldCaps) WithFilterPath(v ...string) func(*FieldCapsRequest)
- func (f FieldCaps) WithHeader(h map[string]string) func(*FieldCapsRequest)
- func (f FieldCaps) WithHuman() func(*FieldCapsRequest)
- func (f FieldCaps) WithIgnoreUnavailable(v bool) func(*FieldCapsRequest)
- func (f FieldCaps) WithIncludeUnmapped(v bool) func(*FieldCapsRequest)
- func (f FieldCaps) WithIndex(v ...string) func(*FieldCapsRequest)
- func (f FieldCaps) WithOpaqueID(s string) func(*FieldCapsRequest)
- func (f FieldCaps) WithPretty() func(*FieldCapsRequest)
- type FieldCapsRequest
- type FleetGlobalCheckpoints
- func (f FleetGlobalCheckpoints) WithCheckpoints(v ...string) func(*FleetGlobalCheckpointsRequest)
- func (f FleetGlobalCheckpoints) WithContext(v context.Context) func(*FleetGlobalCheckpointsRequest)
- func (f FleetGlobalCheckpoints) WithErrorTrace() func(*FleetGlobalCheckpointsRequest)
- func (f FleetGlobalCheckpoints) WithFilterPath(v ...string) func(*FleetGlobalCheckpointsRequest)
- func (f FleetGlobalCheckpoints) WithHeader(h map[string]string) func(*FleetGlobalCheckpointsRequest)
- func (f FleetGlobalCheckpoints) WithHuman() func(*FleetGlobalCheckpointsRequest)
- func (f FleetGlobalCheckpoints) WithOpaqueID(s string) func(*FleetGlobalCheckpointsRequest)
- func (f FleetGlobalCheckpoints) WithPretty() func(*FleetGlobalCheckpointsRequest)
- func (f FleetGlobalCheckpoints) WithTimeout(v time.Duration) func(*FleetGlobalCheckpointsRequest)
- func (f FleetGlobalCheckpoints) WithWaitForAdvance(v bool) func(*FleetGlobalCheckpointsRequest)
- func (f FleetGlobalCheckpoints) WithWaitForIndex(v bool) func(*FleetGlobalCheckpointsRequest)
- type FleetGlobalCheckpointsRequest
- type FleetMsearch
- func (f FleetMsearch) WithContext(v context.Context) func(*FleetMsearchRequest)
- func (f FleetMsearch) WithErrorTrace() func(*FleetMsearchRequest)
- func (f FleetMsearch) WithFilterPath(v ...string) func(*FleetMsearchRequest)
- func (f FleetMsearch) WithHeader(h map[string]string) func(*FleetMsearchRequest)
- func (f FleetMsearch) WithHuman() func(*FleetMsearchRequest)
- func (f FleetMsearch) WithIndex(v string) func(*FleetMsearchRequest)
- func (f FleetMsearch) WithOpaqueID(s string) func(*FleetMsearchRequest)
- func (f FleetMsearch) WithPretty() func(*FleetMsearchRequest)
- type FleetMsearchRequest
- type FleetSearch
- func (f FleetSearch) WithAllowPartialSearchResults(v bool) func(*FleetSearchRequest)
- func (f FleetSearch) WithBody(v io.Reader) func(*FleetSearchRequest)
- func (f FleetSearch) WithContext(v context.Context) func(*FleetSearchRequest)
- func (f FleetSearch) WithErrorTrace() func(*FleetSearchRequest)
- func (f FleetSearch) WithFilterPath(v ...string) func(*FleetSearchRequest)
- func (f FleetSearch) WithHeader(h map[string]string) func(*FleetSearchRequest)
- func (f FleetSearch) WithHuman() func(*FleetSearchRequest)
- func (f FleetSearch) WithOpaqueID(s string) func(*FleetSearchRequest)
- func (f FleetSearch) WithPretty() func(*FleetSearchRequest)
- func (f FleetSearch) WithWaitForCheckpoints(v ...string) func(*FleetSearchRequest)
- func (f FleetSearch) WithWaitForCheckpointsTimeout(v time.Duration) func(*FleetSearchRequest)
- type FleetSearchRequest
- type Get
- func (f Get) WithContext(v context.Context) func(*GetRequest)
- func (f Get) WithDocumentType(v string) func(*GetRequest)
- func (f Get) WithErrorTrace() func(*GetRequest)
- func (f Get) WithFilterPath(v ...string) func(*GetRequest)
- func (f Get) WithHeader(h map[string]string) func(*GetRequest)
- func (f Get) WithHuman() func(*GetRequest)
- func (f Get) WithOpaqueID(s string) func(*GetRequest)
- func (f Get) WithPreference(v string) func(*GetRequest)
- func (f Get) WithPretty() func(*GetRequest)
- func (f Get) WithRealtime(v bool) func(*GetRequest)
- func (f Get) WithRefresh(v bool) func(*GetRequest)
- func (f Get) WithRouting(v string) func(*GetRequest)
- func (f Get) WithSource(v ...string) func(*GetRequest)
- func (f Get) WithSourceExcludes(v ...string) func(*GetRequest)
- func (f Get) WithSourceIncludes(v ...string) func(*GetRequest)
- func (f Get) WithStoredFields(v ...string) func(*GetRequest)
- func (f Get) WithVersion(v int) func(*GetRequest)
- func (f Get) WithVersionType(v string) func(*GetRequest)
- type GetRequest
- type GetScript
- func (f GetScript) WithContext(v context.Context) func(*GetScriptRequest)
- func (f GetScript) WithErrorTrace() func(*GetScriptRequest)
- func (f GetScript) WithFilterPath(v ...string) func(*GetScriptRequest)
- func (f GetScript) WithHeader(h map[string]string) func(*GetScriptRequest)
- func (f GetScript) WithHuman() func(*GetScriptRequest)
- func (f GetScript) WithMasterTimeout(v time.Duration) func(*GetScriptRequest)
- func (f GetScript) WithOpaqueID(s string) func(*GetScriptRequest)
- func (f GetScript) WithPretty() func(*GetScriptRequest)
- type GetScriptContext
- func (f GetScriptContext) WithContext(v context.Context) func(*GetScriptContextRequest)
- func (f GetScriptContext) WithErrorTrace() func(*GetScriptContextRequest)
- func (f GetScriptContext) WithFilterPath(v ...string) func(*GetScriptContextRequest)
- func (f GetScriptContext) WithHeader(h map[string]string) func(*GetScriptContextRequest)
- func (f GetScriptContext) WithHuman() func(*GetScriptContextRequest)
- func (f GetScriptContext) WithOpaqueID(s string) func(*GetScriptContextRequest)
- func (f GetScriptContext) WithPretty() func(*GetScriptContextRequest)
- type GetScriptContextRequest
- type GetScriptLanguages
- func (f GetScriptLanguages) WithContext(v context.Context) func(*GetScriptLanguagesRequest)
- func (f GetScriptLanguages) WithErrorTrace() func(*GetScriptLanguagesRequest)
- func (f GetScriptLanguages) WithFilterPath(v ...string) func(*GetScriptLanguagesRequest)
- func (f GetScriptLanguages) WithHeader(h map[string]string) func(*GetScriptLanguagesRequest)
- func (f GetScriptLanguages) WithHuman() func(*GetScriptLanguagesRequest)
- func (f GetScriptLanguages) WithOpaqueID(s string) func(*GetScriptLanguagesRequest)
- func (f GetScriptLanguages) WithPretty() func(*GetScriptLanguagesRequest)
- type GetScriptLanguagesRequest
- type GetScriptRequest
- type GetSource
- func (f GetSource) WithContext(v context.Context) func(*GetSourceRequest)
- func (f GetSource) WithDocumentType(v string) func(*GetSourceRequest)
- func (f GetSource) WithErrorTrace() func(*GetSourceRequest)
- func (f GetSource) WithFilterPath(v ...string) func(*GetSourceRequest)
- func (f GetSource) WithHeader(h map[string]string) func(*GetSourceRequest)
- func (f GetSource) WithHuman() func(*GetSourceRequest)
- func (f GetSource) WithOpaqueID(s string) func(*GetSourceRequest)
- func (f GetSource) WithPreference(v string) func(*GetSourceRequest)
- func (f GetSource) WithPretty() func(*GetSourceRequest)
- func (f GetSource) WithRealtime(v bool) func(*GetSourceRequest)
- func (f GetSource) WithRefresh(v bool) func(*GetSourceRequest)
- func (f GetSource) WithRouting(v string) func(*GetSourceRequest)
- func (f GetSource) WithSource(v ...string) func(*GetSourceRequest)
- func (f GetSource) WithSourceExcludes(v ...string) func(*GetSourceRequest)
- func (f GetSource) WithSourceIncludes(v ...string) func(*GetSourceRequest)
- func (f GetSource) WithVersion(v int) func(*GetSourceRequest)
- func (f GetSource) WithVersionType(v string) func(*GetSourceRequest)
- type GetSourceRequest
- type GraphExplore
- func (f GraphExplore) WithBody(v io.Reader) func(*GraphExploreRequest)
- func (f GraphExplore) WithContext(v context.Context) func(*GraphExploreRequest)
- func (f GraphExplore) WithDocumentType(v ...string) func(*GraphExploreRequest)
- func (f GraphExplore) WithErrorTrace() func(*GraphExploreRequest)
- func (f GraphExplore) WithFilterPath(v ...string) func(*GraphExploreRequest)
- func (f GraphExplore) WithHeader(h map[string]string) func(*GraphExploreRequest)
- func (f GraphExplore) WithHuman() func(*GraphExploreRequest)
- func (f GraphExplore) WithOpaqueID(s string) func(*GraphExploreRequest)
- func (f GraphExplore) WithPretty() func(*GraphExploreRequest)
- func (f GraphExplore) WithRouting(v string) func(*GraphExploreRequest)
- func (f GraphExplore) WithTimeout(v time.Duration) func(*GraphExploreRequest)
- type GraphExploreRequest
- type ILM
- type ILMDeleteLifecycle
- func (f ILMDeleteLifecycle) WithContext(v context.Context) func(*ILMDeleteLifecycleRequest)
- func (f ILMDeleteLifecycle) WithErrorTrace() func(*ILMDeleteLifecycleRequest)
- func (f ILMDeleteLifecycle) WithFilterPath(v ...string) func(*ILMDeleteLifecycleRequest)
- func (f ILMDeleteLifecycle) WithHeader(h map[string]string) func(*ILMDeleteLifecycleRequest)
- func (f ILMDeleteLifecycle) WithHuman() func(*ILMDeleteLifecycleRequest)
- func (f ILMDeleteLifecycle) WithOpaqueID(s string) func(*ILMDeleteLifecycleRequest)
- func (f ILMDeleteLifecycle) WithPretty() func(*ILMDeleteLifecycleRequest)
- type ILMDeleteLifecycleRequest
- type ILMExplainLifecycle
- func (f ILMExplainLifecycle) WithContext(v context.Context) func(*ILMExplainLifecycleRequest)
- func (f ILMExplainLifecycle) WithErrorTrace() func(*ILMExplainLifecycleRequest)
- func (f ILMExplainLifecycle) WithFilterPath(v ...string) func(*ILMExplainLifecycleRequest)
- func (f ILMExplainLifecycle) WithHeader(h map[string]string) func(*ILMExplainLifecycleRequest)
- func (f ILMExplainLifecycle) WithHuman() func(*ILMExplainLifecycleRequest)
- func (f ILMExplainLifecycle) WithOnlyErrors(v bool) func(*ILMExplainLifecycleRequest)
- func (f ILMExplainLifecycle) WithOnlyManaged(v bool) func(*ILMExplainLifecycleRequest)
- func (f ILMExplainLifecycle) WithOpaqueID(s string) func(*ILMExplainLifecycleRequest)
- func (f ILMExplainLifecycle) WithPretty() func(*ILMExplainLifecycleRequest)
- type ILMExplainLifecycleRequest
- type ILMGetLifecycle
- func (f ILMGetLifecycle) WithContext(v context.Context) func(*ILMGetLifecycleRequest)
- func (f ILMGetLifecycle) WithErrorTrace() func(*ILMGetLifecycleRequest)
- func (f ILMGetLifecycle) WithFilterPath(v ...string) func(*ILMGetLifecycleRequest)
- func (f ILMGetLifecycle) WithHeader(h map[string]string) func(*ILMGetLifecycleRequest)
- func (f ILMGetLifecycle) WithHuman() func(*ILMGetLifecycleRequest)
- func (f ILMGetLifecycle) WithOpaqueID(s string) func(*ILMGetLifecycleRequest)
- func (f ILMGetLifecycle) WithPolicy(v string) func(*ILMGetLifecycleRequest)
- func (f ILMGetLifecycle) WithPretty() func(*ILMGetLifecycleRequest)
- type ILMGetLifecycleRequest
- type ILMGetStatus
- func (f ILMGetStatus) WithContext(v context.Context) func(*ILMGetStatusRequest)
- func (f ILMGetStatus) WithErrorTrace() func(*ILMGetStatusRequest)
- func (f ILMGetStatus) WithFilterPath(v ...string) func(*ILMGetStatusRequest)
- func (f ILMGetStatus) WithHeader(h map[string]string) func(*ILMGetStatusRequest)
- func (f ILMGetStatus) WithHuman() func(*ILMGetStatusRequest)
- func (f ILMGetStatus) WithOpaqueID(s string) func(*ILMGetStatusRequest)
- func (f ILMGetStatus) WithPretty() func(*ILMGetStatusRequest)
- type ILMGetStatusRequest
- type ILMMigrateToDataTiers
- func (f ILMMigrateToDataTiers) WithBody(v io.Reader) func(*ILMMigrateToDataTiersRequest)
- func (f ILMMigrateToDataTiers) WithContext(v context.Context) func(*ILMMigrateToDataTiersRequest)
- func (f ILMMigrateToDataTiers) WithDryRun(v bool) func(*ILMMigrateToDataTiersRequest)
- func (f ILMMigrateToDataTiers) WithErrorTrace() func(*ILMMigrateToDataTiersRequest)
- func (f ILMMigrateToDataTiers) WithFilterPath(v ...string) func(*ILMMigrateToDataTiersRequest)
- func (f ILMMigrateToDataTiers) WithHeader(h map[string]string) func(*ILMMigrateToDataTiersRequest)
- func (f ILMMigrateToDataTiers) WithHuman() func(*ILMMigrateToDataTiersRequest)
- func (f ILMMigrateToDataTiers) WithOpaqueID(s string) func(*ILMMigrateToDataTiersRequest)
- func (f ILMMigrateToDataTiers) WithPretty() func(*ILMMigrateToDataTiersRequest)
- type ILMMigrateToDataTiersRequest
- type ILMMoveToStep
- func (f ILMMoveToStep) WithBody(v io.Reader) func(*ILMMoveToStepRequest)
- func (f ILMMoveToStep) WithContext(v context.Context) func(*ILMMoveToStepRequest)
- func (f ILMMoveToStep) WithErrorTrace() func(*ILMMoveToStepRequest)
- func (f ILMMoveToStep) WithFilterPath(v ...string) func(*ILMMoveToStepRequest)
- func (f ILMMoveToStep) WithHeader(h map[string]string) func(*ILMMoveToStepRequest)
- func (f ILMMoveToStep) WithHuman() func(*ILMMoveToStepRequest)
- func (f ILMMoveToStep) WithOpaqueID(s string) func(*ILMMoveToStepRequest)
- func (f ILMMoveToStep) WithPretty() func(*ILMMoveToStepRequest)
- type ILMMoveToStepRequest
- type ILMPutLifecycle
- func (f ILMPutLifecycle) WithBody(v io.Reader) func(*ILMPutLifecycleRequest)
- func (f ILMPutLifecycle) WithContext(v context.Context) func(*ILMPutLifecycleRequest)
- func (f ILMPutLifecycle) WithErrorTrace() func(*ILMPutLifecycleRequest)
- func (f ILMPutLifecycle) WithFilterPath(v ...string) func(*ILMPutLifecycleRequest)
- func (f ILMPutLifecycle) WithHeader(h map[string]string) func(*ILMPutLifecycleRequest)
- func (f ILMPutLifecycle) WithHuman() func(*ILMPutLifecycleRequest)
- func (f ILMPutLifecycle) WithOpaqueID(s string) func(*ILMPutLifecycleRequest)
- func (f ILMPutLifecycle) WithPretty() func(*ILMPutLifecycleRequest)
- type ILMPutLifecycleRequest
- type ILMRemovePolicy
- func (f ILMRemovePolicy) WithContext(v context.Context) func(*ILMRemovePolicyRequest)
- func (f ILMRemovePolicy) WithErrorTrace() func(*ILMRemovePolicyRequest)
- func (f ILMRemovePolicy) WithFilterPath(v ...string) func(*ILMRemovePolicyRequest)
- func (f ILMRemovePolicy) WithHeader(h map[string]string) func(*ILMRemovePolicyRequest)
- func (f ILMRemovePolicy) WithHuman() func(*ILMRemovePolicyRequest)
- func (f ILMRemovePolicy) WithOpaqueID(s string) func(*ILMRemovePolicyRequest)
- func (f ILMRemovePolicy) WithPretty() func(*ILMRemovePolicyRequest)
- type ILMRemovePolicyRequest
- type ILMRetry
- func (f ILMRetry) WithContext(v context.Context) func(*ILMRetryRequest)
- func (f ILMRetry) WithErrorTrace() func(*ILMRetryRequest)
- func (f ILMRetry) WithFilterPath(v ...string) func(*ILMRetryRequest)
- func (f ILMRetry) WithHeader(h map[string]string) func(*ILMRetryRequest)
- func (f ILMRetry) WithHuman() func(*ILMRetryRequest)
- func (f ILMRetry) WithOpaqueID(s string) func(*ILMRetryRequest)
- func (f ILMRetry) WithPretty() func(*ILMRetryRequest)
- type ILMRetryRequest
- type ILMStart
- func (f ILMStart) WithContext(v context.Context) func(*ILMStartRequest)
- func (f ILMStart) WithErrorTrace() func(*ILMStartRequest)
- func (f ILMStart) WithFilterPath(v ...string) func(*ILMStartRequest)
- func (f ILMStart) WithHeader(h map[string]string) func(*ILMStartRequest)
- func (f ILMStart) WithHuman() func(*ILMStartRequest)
- func (f ILMStart) WithOpaqueID(s string) func(*ILMStartRequest)
- func (f ILMStart) WithPretty() func(*ILMStartRequest)
- type ILMStartRequest
- type ILMStop
- func (f ILMStop) WithContext(v context.Context) func(*ILMStopRequest)
- func (f ILMStop) WithErrorTrace() func(*ILMStopRequest)
- func (f ILMStop) WithFilterPath(v ...string) func(*ILMStopRequest)
- func (f ILMStop) WithHeader(h map[string]string) func(*ILMStopRequest)
- func (f ILMStop) WithHuman() func(*ILMStopRequest)
- func (f ILMStop) WithOpaqueID(s string) func(*ILMStopRequest)
- func (f ILMStop) WithPretty() func(*ILMStopRequest)
- type ILMStopRequest
- type Index
- func (f Index) WithContext(v context.Context) func(*IndexRequest)
- func (f Index) WithDocumentID(v string) func(*IndexRequest)
- func (f Index) WithDocumentType(v string) func(*IndexRequest)
- func (f Index) WithErrorTrace() func(*IndexRequest)
- func (f Index) WithFilterPath(v ...string) func(*IndexRequest)
- func (f Index) WithHeader(h map[string]string) func(*IndexRequest)
- func (f Index) WithHuman() func(*IndexRequest)
- func (f Index) WithIfPrimaryTerm(v int) func(*IndexRequest)
- func (f Index) WithIfSeqNo(v int) func(*IndexRequest)
- func (f Index) WithOpType(v string) func(*IndexRequest)
- func (f Index) WithOpaqueID(s string) func(*IndexRequest)
- func (f Index) WithPipeline(v string) func(*IndexRequest)
- func (f Index) WithPretty() func(*IndexRequest)
- func (f Index) WithRefresh(v string) func(*IndexRequest)
- func (f Index) WithRequireAlias(v bool) func(*IndexRequest)
- func (f Index) WithRouting(v string) func(*IndexRequest)
- func (f Index) WithTimeout(v time.Duration) func(*IndexRequest)
- func (f Index) WithVersion(v int) func(*IndexRequest)
- func (f Index) WithVersionType(v string) func(*IndexRequest)
- func (f Index) WithWaitForActiveShards(v string) func(*IndexRequest)
- type IndexRequest
- type Indices
- type IndicesAddBlock
- func (f IndicesAddBlock) WithAllowNoIndices(v bool) func(*IndicesAddBlockRequest)
- func (f IndicesAddBlock) WithContext(v context.Context) func(*IndicesAddBlockRequest)
- func (f IndicesAddBlock) WithErrorTrace() func(*IndicesAddBlockRequest)
- func (f IndicesAddBlock) WithExpandWildcards(v string) func(*IndicesAddBlockRequest)
- func (f IndicesAddBlock) WithFilterPath(v ...string) func(*IndicesAddBlockRequest)
- func (f IndicesAddBlock) WithHeader(h map[string]string) func(*IndicesAddBlockRequest)
- func (f IndicesAddBlock) WithHuman() func(*IndicesAddBlockRequest)
- func (f IndicesAddBlock) WithIgnoreUnavailable(v bool) func(*IndicesAddBlockRequest)
- func (f IndicesAddBlock) WithMasterTimeout(v time.Duration) func(*IndicesAddBlockRequest)
- func (f IndicesAddBlock) WithOpaqueID(s string) func(*IndicesAddBlockRequest)
- func (f IndicesAddBlock) WithPretty() func(*IndicesAddBlockRequest)
- func (f IndicesAddBlock) WithTimeout(v time.Duration) func(*IndicesAddBlockRequest)
- type IndicesAddBlockRequest
- type IndicesAnalyze
- func (f IndicesAnalyze) WithBody(v io.Reader) func(*IndicesAnalyzeRequest)
- func (f IndicesAnalyze) WithContext(v context.Context) func(*IndicesAnalyzeRequest)
- func (f IndicesAnalyze) WithErrorTrace() func(*IndicesAnalyzeRequest)
- func (f IndicesAnalyze) WithFilterPath(v ...string) func(*IndicesAnalyzeRequest)
- func (f IndicesAnalyze) WithHeader(h map[string]string) func(*IndicesAnalyzeRequest)
- func (f IndicesAnalyze) WithHuman() func(*IndicesAnalyzeRequest)
- func (f IndicesAnalyze) WithIndex(v string) func(*IndicesAnalyzeRequest)
- func (f IndicesAnalyze) WithOpaqueID(s string) func(*IndicesAnalyzeRequest)
- func (f IndicesAnalyze) WithPretty() func(*IndicesAnalyzeRequest)
- type IndicesAnalyzeRequest
- type IndicesClearCache
- func (f IndicesClearCache) WithAllowNoIndices(v bool) func(*IndicesClearCacheRequest)
- func (f IndicesClearCache) WithContext(v context.Context) func(*IndicesClearCacheRequest)
- func (f IndicesClearCache) WithErrorTrace() func(*IndicesClearCacheRequest)
- func (f IndicesClearCache) WithExpandWildcards(v string) func(*IndicesClearCacheRequest)
- func (f IndicesClearCache) WithFielddata(v bool) func(*IndicesClearCacheRequest)
- func (f IndicesClearCache) WithFields(v ...string) func(*IndicesClearCacheRequest)
- func (f IndicesClearCache) WithFilterPath(v ...string) func(*IndicesClearCacheRequest)
- func (f IndicesClearCache) WithHeader(h map[string]string) func(*IndicesClearCacheRequest)
- func (f IndicesClearCache) WithHuman() func(*IndicesClearCacheRequest)
- func (f IndicesClearCache) WithIgnoreUnavailable(v bool) func(*IndicesClearCacheRequest)
- func (f IndicesClearCache) WithIndex(v ...string) func(*IndicesClearCacheRequest)
- func (f IndicesClearCache) WithOpaqueID(s string) func(*IndicesClearCacheRequest)
- func (f IndicesClearCache) WithPretty() func(*IndicesClearCacheRequest)
- func (f IndicesClearCache) WithQuery(v bool) func(*IndicesClearCacheRequest)
- func (f IndicesClearCache) WithRequest(v bool) func(*IndicesClearCacheRequest)
- type IndicesClearCacheRequest
- type IndicesClone
- func (f IndicesClone) WithBody(v io.Reader) func(*IndicesCloneRequest)
- func (f IndicesClone) WithContext(v context.Context) func(*IndicesCloneRequest)
- func (f IndicesClone) WithErrorTrace() func(*IndicesCloneRequest)
- func (f IndicesClone) WithFilterPath(v ...string) func(*IndicesCloneRequest)
- func (f IndicesClone) WithHeader(h map[string]string) func(*IndicesCloneRequest)
- func (f IndicesClone) WithHuman() func(*IndicesCloneRequest)
- func (f IndicesClone) WithMasterTimeout(v time.Duration) func(*IndicesCloneRequest)
- func (f IndicesClone) WithOpaqueID(s string) func(*IndicesCloneRequest)
- func (f IndicesClone) WithPretty() func(*IndicesCloneRequest)
- func (f IndicesClone) WithTimeout(v time.Duration) func(*IndicesCloneRequest)
- func (f IndicesClone) WithWaitForActiveShards(v string) func(*IndicesCloneRequest)
- type IndicesCloneRequest
- type IndicesClose
- func (f IndicesClose) WithAllowNoIndices(v bool) func(*IndicesCloseRequest)
- func (f IndicesClose) WithContext(v context.Context) func(*IndicesCloseRequest)
- func (f IndicesClose) WithErrorTrace() func(*IndicesCloseRequest)
- func (f IndicesClose) WithExpandWildcards(v string) func(*IndicesCloseRequest)
- func (f IndicesClose) WithFilterPath(v ...string) func(*IndicesCloseRequest)
- func (f IndicesClose) WithHeader(h map[string]string) func(*IndicesCloseRequest)
- func (f IndicesClose) WithHuman() func(*IndicesCloseRequest)
- func (f IndicesClose) WithIgnoreUnavailable(v bool) func(*IndicesCloseRequest)
- func (f IndicesClose) WithMasterTimeout(v time.Duration) func(*IndicesCloseRequest)
- func (f IndicesClose) WithOpaqueID(s string) func(*IndicesCloseRequest)
- func (f IndicesClose) WithPretty() func(*IndicesCloseRequest)
- func (f IndicesClose) WithTimeout(v time.Duration) func(*IndicesCloseRequest)
- func (f IndicesClose) WithWaitForActiveShards(v string) func(*IndicesCloseRequest)
- type IndicesCloseRequest
- type IndicesCreate
- func (f IndicesCreate) WithBody(v io.Reader) func(*IndicesCreateRequest)
- func (f IndicesCreate) WithContext(v context.Context) func(*IndicesCreateRequest)
- func (f IndicesCreate) WithErrorTrace() func(*IndicesCreateRequest)
- func (f IndicesCreate) WithFilterPath(v ...string) func(*IndicesCreateRequest)
- func (f IndicesCreate) WithHeader(h map[string]string) func(*IndicesCreateRequest)
- func (f IndicesCreate) WithHuman() func(*IndicesCreateRequest)
- func (f IndicesCreate) WithIncludeTypeName(v bool) func(*IndicesCreateRequest)
- func (f IndicesCreate) WithMasterTimeout(v time.Duration) func(*IndicesCreateRequest)
- func (f IndicesCreate) WithOpaqueID(s string) func(*IndicesCreateRequest)
- func (f IndicesCreate) WithPretty() func(*IndicesCreateRequest)
- func (f IndicesCreate) WithTimeout(v time.Duration) func(*IndicesCreateRequest)
- func (f IndicesCreate) WithWaitForActiveShards(v string) func(*IndicesCreateRequest)
- type IndicesCreateDataStream
- func (f IndicesCreateDataStream) WithContext(v context.Context) func(*IndicesCreateDataStreamRequest)
- func (f IndicesCreateDataStream) WithErrorTrace() func(*IndicesCreateDataStreamRequest)
- func (f IndicesCreateDataStream) WithFilterPath(v ...string) func(*IndicesCreateDataStreamRequest)
- func (f IndicesCreateDataStream) WithHeader(h map[string]string) func(*IndicesCreateDataStreamRequest)
- func (f IndicesCreateDataStream) WithHuman() func(*IndicesCreateDataStreamRequest)
- func (f IndicesCreateDataStream) WithOpaqueID(s string) func(*IndicesCreateDataStreamRequest)
- func (f IndicesCreateDataStream) WithPretty() func(*IndicesCreateDataStreamRequest)
- type IndicesCreateDataStreamRequest
- type IndicesCreateRequest
- type IndicesDataStreamsStats
- func (f IndicesDataStreamsStats) WithContext(v context.Context) func(*IndicesDataStreamsStatsRequest)
- func (f IndicesDataStreamsStats) WithErrorTrace() func(*IndicesDataStreamsStatsRequest)
- func (f IndicesDataStreamsStats) WithFilterPath(v ...string) func(*IndicesDataStreamsStatsRequest)
- func (f IndicesDataStreamsStats) WithHeader(h map[string]string) func(*IndicesDataStreamsStatsRequest)
- func (f IndicesDataStreamsStats) WithHuman() func(*IndicesDataStreamsStatsRequest)
- func (f IndicesDataStreamsStats) WithName(v ...string) func(*IndicesDataStreamsStatsRequest)
- func (f IndicesDataStreamsStats) WithOpaqueID(s string) func(*IndicesDataStreamsStatsRequest)
- func (f IndicesDataStreamsStats) WithPretty() func(*IndicesDataStreamsStatsRequest)
- type IndicesDataStreamsStatsRequest
- type IndicesDelete
- func (f IndicesDelete) WithAllowNoIndices(v bool) func(*IndicesDeleteRequest)
- func (f IndicesDelete) WithContext(v context.Context) func(*IndicesDeleteRequest)
- func (f IndicesDelete) WithErrorTrace() func(*IndicesDeleteRequest)
- func (f IndicesDelete) WithExpandWildcards(v string) func(*IndicesDeleteRequest)
- func (f IndicesDelete) WithFilterPath(v ...string) func(*IndicesDeleteRequest)
- func (f IndicesDelete) WithHeader(h map[string]string) func(*IndicesDeleteRequest)
- func (f IndicesDelete) WithHuman() func(*IndicesDeleteRequest)
- func (f IndicesDelete) WithIgnoreUnavailable(v bool) func(*IndicesDeleteRequest)
- func (f IndicesDelete) WithMasterTimeout(v time.Duration) func(*IndicesDeleteRequest)
- func (f IndicesDelete) WithOpaqueID(s string) func(*IndicesDeleteRequest)
- func (f IndicesDelete) WithPretty() func(*IndicesDeleteRequest)
- func (f IndicesDelete) WithTimeout(v time.Duration) func(*IndicesDeleteRequest)
- type IndicesDeleteAlias
- func (f IndicesDeleteAlias) WithContext(v context.Context) func(*IndicesDeleteAliasRequest)
- func (f IndicesDeleteAlias) WithErrorTrace() func(*IndicesDeleteAliasRequest)
- func (f IndicesDeleteAlias) WithFilterPath(v ...string) func(*IndicesDeleteAliasRequest)
- func (f IndicesDeleteAlias) WithHeader(h map[string]string) func(*IndicesDeleteAliasRequest)
- func (f IndicesDeleteAlias) WithHuman() func(*IndicesDeleteAliasRequest)
- func (f IndicesDeleteAlias) WithMasterTimeout(v time.Duration) func(*IndicesDeleteAliasRequest)
- func (f IndicesDeleteAlias) WithOpaqueID(s string) func(*IndicesDeleteAliasRequest)
- func (f IndicesDeleteAlias) WithPretty() func(*IndicesDeleteAliasRequest)
- func (f IndicesDeleteAlias) WithTimeout(v time.Duration) func(*IndicesDeleteAliasRequest)
- type IndicesDeleteAliasRequest
- type IndicesDeleteDataStream
- func (f IndicesDeleteDataStream) WithContext(v context.Context) func(*IndicesDeleteDataStreamRequest)
- func (f IndicesDeleteDataStream) WithErrorTrace() func(*IndicesDeleteDataStreamRequest)
- func (f IndicesDeleteDataStream) WithExpandWildcards(v string) func(*IndicesDeleteDataStreamRequest)
- func (f IndicesDeleteDataStream) WithFilterPath(v ...string) func(*IndicesDeleteDataStreamRequest)
- func (f IndicesDeleteDataStream) WithHeader(h map[string]string) func(*IndicesDeleteDataStreamRequest)
- func (f IndicesDeleteDataStream) WithHuman() func(*IndicesDeleteDataStreamRequest)
- func (f IndicesDeleteDataStream) WithOpaqueID(s string) func(*IndicesDeleteDataStreamRequest)
- func (f IndicesDeleteDataStream) WithPretty() func(*IndicesDeleteDataStreamRequest)
- type IndicesDeleteDataStreamRequest
- type IndicesDeleteIndexTemplate
- func (f IndicesDeleteIndexTemplate) WithContext(v context.Context) func(*IndicesDeleteIndexTemplateRequest)
- func (f IndicesDeleteIndexTemplate) WithErrorTrace() func(*IndicesDeleteIndexTemplateRequest)
- func (f IndicesDeleteIndexTemplate) WithFilterPath(v ...string) func(*IndicesDeleteIndexTemplateRequest)
- func (f IndicesDeleteIndexTemplate) WithHeader(h map[string]string) func(*IndicesDeleteIndexTemplateRequest)
- func (f IndicesDeleteIndexTemplate) WithHuman() func(*IndicesDeleteIndexTemplateRequest)
- func (f IndicesDeleteIndexTemplate) WithMasterTimeout(v time.Duration) func(*IndicesDeleteIndexTemplateRequest)
- func (f IndicesDeleteIndexTemplate) WithOpaqueID(s string) func(*IndicesDeleteIndexTemplateRequest)
- func (f IndicesDeleteIndexTemplate) WithPretty() func(*IndicesDeleteIndexTemplateRequest)
- func (f IndicesDeleteIndexTemplate) WithTimeout(v time.Duration) func(*IndicesDeleteIndexTemplateRequest)
- type IndicesDeleteIndexTemplateRequest
- type IndicesDeleteRequest
- type IndicesDeleteTemplate
- func (f IndicesDeleteTemplate) WithContext(v context.Context) func(*IndicesDeleteTemplateRequest)
- func (f IndicesDeleteTemplate) WithErrorTrace() func(*IndicesDeleteTemplateRequest)
- func (f IndicesDeleteTemplate) WithFilterPath(v ...string) func(*IndicesDeleteTemplateRequest)
- func (f IndicesDeleteTemplate) WithHeader(h map[string]string) func(*IndicesDeleteTemplateRequest)
- func (f IndicesDeleteTemplate) WithHuman() func(*IndicesDeleteTemplateRequest)
- func (f IndicesDeleteTemplate) WithMasterTimeout(v time.Duration) func(*IndicesDeleteTemplateRequest)
- func (f IndicesDeleteTemplate) WithOpaqueID(s string) func(*IndicesDeleteTemplateRequest)
- func (f IndicesDeleteTemplate) WithPretty() func(*IndicesDeleteTemplateRequest)
- func (f IndicesDeleteTemplate) WithTimeout(v time.Duration) func(*IndicesDeleteTemplateRequest)
- type IndicesDeleteTemplateRequest
- type IndicesDiskUsage
- func (f IndicesDiskUsage) WithAllowNoIndices(v bool) func(*IndicesDiskUsageRequest)
- func (f IndicesDiskUsage) WithContext(v context.Context) func(*IndicesDiskUsageRequest)
- func (f IndicesDiskUsage) WithErrorTrace() func(*IndicesDiskUsageRequest)
- func (f IndicesDiskUsage) WithExpandWildcards(v string) func(*IndicesDiskUsageRequest)
- func (f IndicesDiskUsage) WithFilterPath(v ...string) func(*IndicesDiskUsageRequest)
- func (f IndicesDiskUsage) WithFlush(v bool) func(*IndicesDiskUsageRequest)
- func (f IndicesDiskUsage) WithHeader(h map[string]string) func(*IndicesDiskUsageRequest)
- func (f IndicesDiskUsage) WithHuman() func(*IndicesDiskUsageRequest)
- func (f IndicesDiskUsage) WithIgnoreUnavailable(v bool) func(*IndicesDiskUsageRequest)
- func (f IndicesDiskUsage) WithOpaqueID(s string) func(*IndicesDiskUsageRequest)
- func (f IndicesDiskUsage) WithPretty() func(*IndicesDiskUsageRequest)
- func (f IndicesDiskUsage) WithRunExpensiveTasks(v bool) func(*IndicesDiskUsageRequest)
- type IndicesDiskUsageRequest
- type IndicesExists
- func (f IndicesExists) WithAllowNoIndices(v bool) func(*IndicesExistsRequest)
- func (f IndicesExists) WithContext(v context.Context) func(*IndicesExistsRequest)
- func (f IndicesExists) WithErrorTrace() func(*IndicesExistsRequest)
- func (f IndicesExists) WithExpandWildcards(v string) func(*IndicesExistsRequest)
- func (f IndicesExists) WithFilterPath(v ...string) func(*IndicesExistsRequest)
- func (f IndicesExists) WithFlatSettings(v bool) func(*IndicesExistsRequest)
- func (f IndicesExists) WithHeader(h map[string]string) func(*IndicesExistsRequest)
- func (f IndicesExists) WithHuman() func(*IndicesExistsRequest)
- func (f IndicesExists) WithIgnoreUnavailable(v bool) func(*IndicesExistsRequest)
- func (f IndicesExists) WithIncludeDefaults(v bool) func(*IndicesExistsRequest)
- func (f IndicesExists) WithLocal(v bool) func(*IndicesExistsRequest)
- func (f IndicesExists) WithOpaqueID(s string) func(*IndicesExistsRequest)
- func (f IndicesExists) WithPretty() func(*IndicesExistsRequest)
- type IndicesExistsAlias
- func (f IndicesExistsAlias) WithAllowNoIndices(v bool) func(*IndicesExistsAliasRequest)
- func (f IndicesExistsAlias) WithContext(v context.Context) func(*IndicesExistsAliasRequest)
- func (f IndicesExistsAlias) WithErrorTrace() func(*IndicesExistsAliasRequest)
- func (f IndicesExistsAlias) WithExpandWildcards(v string) func(*IndicesExistsAliasRequest)
- func (f IndicesExistsAlias) WithFilterPath(v ...string) func(*IndicesExistsAliasRequest)
- func (f IndicesExistsAlias) WithHeader(h map[string]string) func(*IndicesExistsAliasRequest)
- func (f IndicesExistsAlias) WithHuman() func(*IndicesExistsAliasRequest)
- func (f IndicesExistsAlias) WithIgnoreUnavailable(v bool) func(*IndicesExistsAliasRequest)
- func (f IndicesExistsAlias) WithIndex(v ...string) func(*IndicesExistsAliasRequest)
- func (f IndicesExistsAlias) WithLocal(v bool) func(*IndicesExistsAliasRequest)
- func (f IndicesExistsAlias) WithOpaqueID(s string) func(*IndicesExistsAliasRequest)
- func (f IndicesExistsAlias) WithPretty() func(*IndicesExistsAliasRequest)
- type IndicesExistsAliasRequest
- type IndicesExistsDocumentType
- func (f IndicesExistsDocumentType) WithAllowNoIndices(v bool) func(*IndicesExistsDocumentTypeRequest)
- func (f IndicesExistsDocumentType) WithContext(v context.Context) func(*IndicesExistsDocumentTypeRequest)
- func (f IndicesExistsDocumentType) WithDocumentType(v ...string) func(*IndicesExistsDocumentTypeRequest)
- func (f IndicesExistsDocumentType) WithErrorTrace() func(*IndicesExistsDocumentTypeRequest)
- func (f IndicesExistsDocumentType) WithExpandWildcards(v string) func(*IndicesExistsDocumentTypeRequest)
- func (f IndicesExistsDocumentType) WithFilterPath(v ...string) func(*IndicesExistsDocumentTypeRequest)
- func (f IndicesExistsDocumentType) WithHeader(h map[string]string) func(*IndicesExistsDocumentTypeRequest)
- func (f IndicesExistsDocumentType) WithHuman() func(*IndicesExistsDocumentTypeRequest)
- func (f IndicesExistsDocumentType) WithIgnoreUnavailable(v bool) func(*IndicesExistsDocumentTypeRequest)
- func (f IndicesExistsDocumentType) WithLocal(v bool) func(*IndicesExistsDocumentTypeRequest)
- func (f IndicesExistsDocumentType) WithOpaqueID(s string) func(*IndicesExistsDocumentTypeRequest)
- func (f IndicesExistsDocumentType) WithPretty() func(*IndicesExistsDocumentTypeRequest)
- type IndicesExistsDocumentTypeRequest
- type IndicesExistsIndexTemplate
- func (f IndicesExistsIndexTemplate) WithContext(v context.Context) func(*IndicesExistsIndexTemplateRequest)
- func (f IndicesExistsIndexTemplate) WithErrorTrace() func(*IndicesExistsIndexTemplateRequest)
- func (f IndicesExistsIndexTemplate) WithFilterPath(v ...string) func(*IndicesExistsIndexTemplateRequest)
- func (f IndicesExistsIndexTemplate) WithFlatSettings(v bool) func(*IndicesExistsIndexTemplateRequest)
- func (f IndicesExistsIndexTemplate) WithHeader(h map[string]string) func(*IndicesExistsIndexTemplateRequest)
- func (f IndicesExistsIndexTemplate) WithHuman() func(*IndicesExistsIndexTemplateRequest)
- func (f IndicesExistsIndexTemplate) WithLocal(v bool) func(*IndicesExistsIndexTemplateRequest)
- func (f IndicesExistsIndexTemplate) WithMasterTimeout(v time.Duration) func(*IndicesExistsIndexTemplateRequest)
- func (f IndicesExistsIndexTemplate) WithOpaqueID(s string) func(*IndicesExistsIndexTemplateRequest)
- func (f IndicesExistsIndexTemplate) WithPretty() func(*IndicesExistsIndexTemplateRequest)
- type IndicesExistsIndexTemplateRequest
- type IndicesExistsRequest
- type IndicesExistsTemplate
- func (f IndicesExistsTemplate) WithContext(v context.Context) func(*IndicesExistsTemplateRequest)
- func (f IndicesExistsTemplate) WithErrorTrace() func(*IndicesExistsTemplateRequest)
- func (f IndicesExistsTemplate) WithFilterPath(v ...string) func(*IndicesExistsTemplateRequest)
- func (f IndicesExistsTemplate) WithFlatSettings(v bool) func(*IndicesExistsTemplateRequest)
- func (f IndicesExistsTemplate) WithHeader(h map[string]string) func(*IndicesExistsTemplateRequest)
- func (f IndicesExistsTemplate) WithHuman() func(*IndicesExistsTemplateRequest)
- func (f IndicesExistsTemplate) WithLocal(v bool) func(*IndicesExistsTemplateRequest)
- func (f IndicesExistsTemplate) WithMasterTimeout(v time.Duration) func(*IndicesExistsTemplateRequest)
- func (f IndicesExistsTemplate) WithOpaqueID(s string) func(*IndicesExistsTemplateRequest)
- func (f IndicesExistsTemplate) WithPretty() func(*IndicesExistsTemplateRequest)
- type IndicesExistsTemplateRequest
- type IndicesFieldUsageStats
- func (f IndicesFieldUsageStats) WithAllowNoIndices(v bool) func(*IndicesFieldUsageStatsRequest)
- func (f IndicesFieldUsageStats) WithContext(v context.Context) func(*IndicesFieldUsageStatsRequest)
- func (f IndicesFieldUsageStats) WithErrorTrace() func(*IndicesFieldUsageStatsRequest)
- func (f IndicesFieldUsageStats) WithExpandWildcards(v string) func(*IndicesFieldUsageStatsRequest)
- func (f IndicesFieldUsageStats) WithFields(v ...string) func(*IndicesFieldUsageStatsRequest)
- func (f IndicesFieldUsageStats) WithFilterPath(v ...string) func(*IndicesFieldUsageStatsRequest)
- func (f IndicesFieldUsageStats) WithHeader(h map[string]string) func(*IndicesFieldUsageStatsRequest)
- func (f IndicesFieldUsageStats) WithHuman() func(*IndicesFieldUsageStatsRequest)
- func (f IndicesFieldUsageStats) WithIgnoreUnavailable(v bool) func(*IndicesFieldUsageStatsRequest)
- func (f IndicesFieldUsageStats) WithOpaqueID(s string) func(*IndicesFieldUsageStatsRequest)
- func (f IndicesFieldUsageStats) WithPretty() func(*IndicesFieldUsageStatsRequest)
- type IndicesFieldUsageStatsRequest
- type IndicesFlush
- func (f IndicesFlush) WithAllowNoIndices(v bool) func(*IndicesFlushRequest)
- func (f IndicesFlush) WithContext(v context.Context) func(*IndicesFlushRequest)
- func (f IndicesFlush) WithErrorTrace() func(*IndicesFlushRequest)
- func (f IndicesFlush) WithExpandWildcards(v string) func(*IndicesFlushRequest)
- func (f IndicesFlush) WithFilterPath(v ...string) func(*IndicesFlushRequest)
- func (f IndicesFlush) WithForce(v bool) func(*IndicesFlushRequest)
- func (f IndicesFlush) WithHeader(h map[string]string) func(*IndicesFlushRequest)
- func (f IndicesFlush) WithHuman() func(*IndicesFlushRequest)
- func (f IndicesFlush) WithIgnoreUnavailable(v bool) func(*IndicesFlushRequest)
- func (f IndicesFlush) WithIndex(v ...string) func(*IndicesFlushRequest)
- func (f IndicesFlush) WithOpaqueID(s string) func(*IndicesFlushRequest)
- func (f IndicesFlush) WithPretty() func(*IndicesFlushRequest)
- func (f IndicesFlush) WithWaitIfOngoing(v bool) func(*IndicesFlushRequest)
- type IndicesFlushRequest
- type IndicesFlushSynced
- func (f IndicesFlushSynced) WithAllowNoIndices(v bool) func(*IndicesFlushSyncedRequest)
- func (f IndicesFlushSynced) WithContext(v context.Context) func(*IndicesFlushSyncedRequest)
- func (f IndicesFlushSynced) WithErrorTrace() func(*IndicesFlushSyncedRequest)
- func (f IndicesFlushSynced) WithExpandWildcards(v string) func(*IndicesFlushSyncedRequest)
- func (f IndicesFlushSynced) WithFilterPath(v ...string) func(*IndicesFlushSyncedRequest)
- func (f IndicesFlushSynced) WithHeader(h map[string]string) func(*IndicesFlushSyncedRequest)
- func (f IndicesFlushSynced) WithHuman() func(*IndicesFlushSyncedRequest)
- func (f IndicesFlushSynced) WithIgnoreUnavailable(v bool) func(*IndicesFlushSyncedRequest)
- func (f IndicesFlushSynced) WithIndex(v ...string) func(*IndicesFlushSyncedRequest)
- func (f IndicesFlushSynced) WithOpaqueID(s string) func(*IndicesFlushSyncedRequest)
- func (f IndicesFlushSynced) WithPretty() func(*IndicesFlushSyncedRequest)
- type IndicesFlushSyncedRequest
- type IndicesForcemerge
- func (f IndicesForcemerge) WithAllowNoIndices(v bool) func(*IndicesForcemergeRequest)
- func (f IndicesForcemerge) WithContext(v context.Context) func(*IndicesForcemergeRequest)
- func (f IndicesForcemerge) WithErrorTrace() func(*IndicesForcemergeRequest)
- func (f IndicesForcemerge) WithExpandWildcards(v string) func(*IndicesForcemergeRequest)
- func (f IndicesForcemerge) WithFilterPath(v ...string) func(*IndicesForcemergeRequest)
- func (f IndicesForcemerge) WithFlush(v bool) func(*IndicesForcemergeRequest)
- func (f IndicesForcemerge) WithHeader(h map[string]string) func(*IndicesForcemergeRequest)
- func (f IndicesForcemerge) WithHuman() func(*IndicesForcemergeRequest)
- func (f IndicesForcemerge) WithIgnoreUnavailable(v bool) func(*IndicesForcemergeRequest)
- func (f IndicesForcemerge) WithIndex(v ...string) func(*IndicesForcemergeRequest)
- func (f IndicesForcemerge) WithMaxNumSegments(v int) func(*IndicesForcemergeRequest)
- func (f IndicesForcemerge) WithOnlyExpungeDeletes(v bool) func(*IndicesForcemergeRequest)
- func (f IndicesForcemerge) WithOpaqueID(s string) func(*IndicesForcemergeRequest)
- func (f IndicesForcemerge) WithPretty() func(*IndicesForcemergeRequest)
- type IndicesForcemergeRequest
- type IndicesFreeze
- func (f IndicesFreeze) WithAllowNoIndices(v bool) func(*IndicesFreezeRequest)
- func (f IndicesFreeze) WithContext(v context.Context) func(*IndicesFreezeRequest)
- func (f IndicesFreeze) WithErrorTrace() func(*IndicesFreezeRequest)
- func (f IndicesFreeze) WithExpandWildcards(v string) func(*IndicesFreezeRequest)
- func (f IndicesFreeze) WithFilterPath(v ...string) func(*IndicesFreezeRequest)
- func (f IndicesFreeze) WithHeader(h map[string]string) func(*IndicesFreezeRequest)
- func (f IndicesFreeze) WithHuman() func(*IndicesFreezeRequest)
- func (f IndicesFreeze) WithIgnoreUnavailable(v bool) func(*IndicesFreezeRequest)
- func (f IndicesFreeze) WithMasterTimeout(v time.Duration) func(*IndicesFreezeRequest)
- func (f IndicesFreeze) WithOpaqueID(s string) func(*IndicesFreezeRequest)
- func (f IndicesFreeze) WithPretty() func(*IndicesFreezeRequest)
- func (f IndicesFreeze) WithTimeout(v time.Duration) func(*IndicesFreezeRequest)
- func (f IndicesFreeze) WithWaitForActiveShards(v string) func(*IndicesFreezeRequest)
- type IndicesFreezeRequest
- type IndicesGet
- func (f IndicesGet) WithAllowNoIndices(v bool) func(*IndicesGetRequest)
- func (f IndicesGet) WithContext(v context.Context) func(*IndicesGetRequest)
- func (f IndicesGet) WithErrorTrace() func(*IndicesGetRequest)
- func (f IndicesGet) WithExpandWildcards(v string) func(*IndicesGetRequest)
- func (f IndicesGet) WithFilterPath(v ...string) func(*IndicesGetRequest)
- func (f IndicesGet) WithFlatSettings(v bool) func(*IndicesGetRequest)
- func (f IndicesGet) WithHeader(h map[string]string) func(*IndicesGetRequest)
- func (f IndicesGet) WithHuman() func(*IndicesGetRequest)
- func (f IndicesGet) WithIgnoreUnavailable(v bool) func(*IndicesGetRequest)
- func (f IndicesGet) WithIncludeDefaults(v bool) func(*IndicesGetRequest)
- func (f IndicesGet) WithIncludeTypeName(v bool) func(*IndicesGetRequest)
- func (f IndicesGet) WithLocal(v bool) func(*IndicesGetRequest)
- func (f IndicesGet) WithMasterTimeout(v time.Duration) func(*IndicesGetRequest)
- func (f IndicesGet) WithOpaqueID(s string) func(*IndicesGetRequest)
- func (f IndicesGet) WithPretty() func(*IndicesGetRequest)
- type IndicesGetAlias
- func (f IndicesGetAlias) WithAllowNoIndices(v bool) func(*IndicesGetAliasRequest)
- func (f IndicesGetAlias) WithContext(v context.Context) func(*IndicesGetAliasRequest)
- func (f IndicesGetAlias) WithErrorTrace() func(*IndicesGetAliasRequest)
- func (f IndicesGetAlias) WithExpandWildcards(v string) func(*IndicesGetAliasRequest)
- func (f IndicesGetAlias) WithFilterPath(v ...string) func(*IndicesGetAliasRequest)
- func (f IndicesGetAlias) WithHeader(h map[string]string) func(*IndicesGetAliasRequest)
- func (f IndicesGetAlias) WithHuman() func(*IndicesGetAliasRequest)
- func (f IndicesGetAlias) WithIgnoreUnavailable(v bool) func(*IndicesGetAliasRequest)
- func (f IndicesGetAlias) WithIndex(v ...string) func(*IndicesGetAliasRequest)
- func (f IndicesGetAlias) WithLocal(v bool) func(*IndicesGetAliasRequest)
- func (f IndicesGetAlias) WithName(v ...string) func(*IndicesGetAliasRequest)
- func (f IndicesGetAlias) WithOpaqueID(s string) func(*IndicesGetAliasRequest)
- func (f IndicesGetAlias) WithPretty() func(*IndicesGetAliasRequest)
- type IndicesGetAliasRequest
- type IndicesGetDataStream
- func (f IndicesGetDataStream) WithContext(v context.Context) func(*IndicesGetDataStreamRequest)
- func (f IndicesGetDataStream) WithErrorTrace() func(*IndicesGetDataStreamRequest)
- func (f IndicesGetDataStream) WithExpandWildcards(v string) func(*IndicesGetDataStreamRequest)
- func (f IndicesGetDataStream) WithFilterPath(v ...string) func(*IndicesGetDataStreamRequest)
- func (f IndicesGetDataStream) WithHeader(h map[string]string) func(*IndicesGetDataStreamRequest)
- func (f IndicesGetDataStream) WithHuman() func(*IndicesGetDataStreamRequest)
- func (f IndicesGetDataStream) WithName(v ...string) func(*IndicesGetDataStreamRequest)
- func (f IndicesGetDataStream) WithOpaqueID(s string) func(*IndicesGetDataStreamRequest)
- func (f IndicesGetDataStream) WithPretty() func(*IndicesGetDataStreamRequest)
- type IndicesGetDataStreamRequest
- type IndicesGetFieldMapping
- func (f IndicesGetFieldMapping) WithAllowNoIndices(v bool) func(*IndicesGetFieldMappingRequest)
- func (f IndicesGetFieldMapping) WithContext(v context.Context) func(*IndicesGetFieldMappingRequest)
- func (f IndicesGetFieldMapping) WithDocumentType(v ...string) func(*IndicesGetFieldMappingRequest)
- func (f IndicesGetFieldMapping) WithErrorTrace() func(*IndicesGetFieldMappingRequest)
- func (f IndicesGetFieldMapping) WithExpandWildcards(v string) func(*IndicesGetFieldMappingRequest)
- func (f IndicesGetFieldMapping) WithFilterPath(v ...string) func(*IndicesGetFieldMappingRequest)
- func (f IndicesGetFieldMapping) WithHeader(h map[string]string) func(*IndicesGetFieldMappingRequest)
- func (f IndicesGetFieldMapping) WithHuman() func(*IndicesGetFieldMappingRequest)
- func (f IndicesGetFieldMapping) WithIgnoreUnavailable(v bool) func(*IndicesGetFieldMappingRequest)
- func (f IndicesGetFieldMapping) WithIncludeDefaults(v bool) func(*IndicesGetFieldMappingRequest)
- func (f IndicesGetFieldMapping) WithIncludeTypeName(v bool) func(*IndicesGetFieldMappingRequest)
- func (f IndicesGetFieldMapping) WithIndex(v ...string) func(*IndicesGetFieldMappingRequest)
- func (f IndicesGetFieldMapping) WithLocal(v bool) func(*IndicesGetFieldMappingRequest)
- func (f IndicesGetFieldMapping) WithOpaqueID(s string) func(*IndicesGetFieldMappingRequest)
- func (f IndicesGetFieldMapping) WithPretty() func(*IndicesGetFieldMappingRequest)
- type IndicesGetFieldMappingRequest
- type IndicesGetIndexTemplate
- func (f IndicesGetIndexTemplate) WithContext(v context.Context) func(*IndicesGetIndexTemplateRequest)
- func (f IndicesGetIndexTemplate) WithErrorTrace() func(*IndicesGetIndexTemplateRequest)
- func (f IndicesGetIndexTemplate) WithFilterPath(v ...string) func(*IndicesGetIndexTemplateRequest)
- func (f IndicesGetIndexTemplate) WithFlatSettings(v bool) func(*IndicesGetIndexTemplateRequest)
- func (f IndicesGetIndexTemplate) WithHeader(h map[string]string) func(*IndicesGetIndexTemplateRequest)
- func (f IndicesGetIndexTemplate) WithHuman() func(*IndicesGetIndexTemplateRequest)
- func (f IndicesGetIndexTemplate) WithLocal(v bool) func(*IndicesGetIndexTemplateRequest)
- func (f IndicesGetIndexTemplate) WithMasterTimeout(v time.Duration) func(*IndicesGetIndexTemplateRequest)
- func (f IndicesGetIndexTemplate) WithName(v string) func(*IndicesGetIndexTemplateRequest)
- func (f IndicesGetIndexTemplate) WithOpaqueID(s string) func(*IndicesGetIndexTemplateRequest)
- func (f IndicesGetIndexTemplate) WithPretty() func(*IndicesGetIndexTemplateRequest)
- type IndicesGetIndexTemplateRequest
- type IndicesGetMapping
- func (f IndicesGetMapping) WithAllowNoIndices(v bool) func(*IndicesGetMappingRequest)
- func (f IndicesGetMapping) WithContext(v context.Context) func(*IndicesGetMappingRequest)
- func (f IndicesGetMapping) WithDocumentType(v ...string) func(*IndicesGetMappingRequest)
- func (f IndicesGetMapping) WithErrorTrace() func(*IndicesGetMappingRequest)
- func (f IndicesGetMapping) WithExpandWildcards(v string) func(*IndicesGetMappingRequest)
- func (f IndicesGetMapping) WithFilterPath(v ...string) func(*IndicesGetMappingRequest)
- func (f IndicesGetMapping) WithHeader(h map[string]string) func(*IndicesGetMappingRequest)
- func (f IndicesGetMapping) WithHuman() func(*IndicesGetMappingRequest)
- func (f IndicesGetMapping) WithIgnoreUnavailable(v bool) func(*IndicesGetMappingRequest)
- func (f IndicesGetMapping) WithIncludeTypeName(v bool) func(*IndicesGetMappingRequest)
- func (f IndicesGetMapping) WithIndex(v ...string) func(*IndicesGetMappingRequest)
- func (f IndicesGetMapping) WithLocal(v bool) func(*IndicesGetMappingRequest)
- func (f IndicesGetMapping) WithMasterTimeout(v time.Duration) func(*IndicesGetMappingRequest)
- func (f IndicesGetMapping) WithOpaqueID(s string) func(*IndicesGetMappingRequest)
- func (f IndicesGetMapping) WithPretty() func(*IndicesGetMappingRequest)
- type IndicesGetMappingRequest
- type IndicesGetRequest
- type IndicesGetSettings
- func (f IndicesGetSettings) WithAllowNoIndices(v bool) func(*IndicesGetSettingsRequest)
- func (f IndicesGetSettings) WithContext(v context.Context) func(*IndicesGetSettingsRequest)
- func (f IndicesGetSettings) WithErrorTrace() func(*IndicesGetSettingsRequest)
- func (f IndicesGetSettings) WithExpandWildcards(v string) func(*IndicesGetSettingsRequest)
- func (f IndicesGetSettings) WithFilterPath(v ...string) func(*IndicesGetSettingsRequest)
- func (f IndicesGetSettings) WithFlatSettings(v bool) func(*IndicesGetSettingsRequest)
- func (f IndicesGetSettings) WithHeader(h map[string]string) func(*IndicesGetSettingsRequest)
- func (f IndicesGetSettings) WithHuman() func(*IndicesGetSettingsRequest)
- func (f IndicesGetSettings) WithIgnoreUnavailable(v bool) func(*IndicesGetSettingsRequest)
- func (f IndicesGetSettings) WithIncludeDefaults(v bool) func(*IndicesGetSettingsRequest)
- func (f IndicesGetSettings) WithIndex(v ...string) func(*IndicesGetSettingsRequest)
- func (f IndicesGetSettings) WithLocal(v bool) func(*IndicesGetSettingsRequest)
- func (f IndicesGetSettings) WithMasterTimeout(v time.Duration) func(*IndicesGetSettingsRequest)
- func (f IndicesGetSettings) WithName(v ...string) func(*IndicesGetSettingsRequest)
- func (f IndicesGetSettings) WithOpaqueID(s string) func(*IndicesGetSettingsRequest)
- func (f IndicesGetSettings) WithPretty() func(*IndicesGetSettingsRequest)
- type IndicesGetSettingsRequest
- type IndicesGetTemplate
- func (f IndicesGetTemplate) WithContext(v context.Context) func(*IndicesGetTemplateRequest)
- func (f IndicesGetTemplate) WithErrorTrace() func(*IndicesGetTemplateRequest)
- func (f IndicesGetTemplate) WithFilterPath(v ...string) func(*IndicesGetTemplateRequest)
- func (f IndicesGetTemplate) WithFlatSettings(v bool) func(*IndicesGetTemplateRequest)
- func (f IndicesGetTemplate) WithHeader(h map[string]string) func(*IndicesGetTemplateRequest)
- func (f IndicesGetTemplate) WithHuman() func(*IndicesGetTemplateRequest)
- func (f IndicesGetTemplate) WithIncludeTypeName(v bool) func(*IndicesGetTemplateRequest)
- func (f IndicesGetTemplate) WithLocal(v bool) func(*IndicesGetTemplateRequest)
- func (f IndicesGetTemplate) WithMasterTimeout(v time.Duration) func(*IndicesGetTemplateRequest)
- func (f IndicesGetTemplate) WithName(v ...string) func(*IndicesGetTemplateRequest)
- func (f IndicesGetTemplate) WithOpaqueID(s string) func(*IndicesGetTemplateRequest)
- func (f IndicesGetTemplate) WithPretty() func(*IndicesGetTemplateRequest)
- type IndicesGetTemplateRequest
- type IndicesGetUpgrade
- func (f IndicesGetUpgrade) WithAllowNoIndices(v bool) func(*IndicesGetUpgradeRequest)
- func (f IndicesGetUpgrade) WithContext(v context.Context) func(*IndicesGetUpgradeRequest)
- func (f IndicesGetUpgrade) WithErrorTrace() func(*IndicesGetUpgradeRequest)
- func (f IndicesGetUpgrade) WithExpandWildcards(v string) func(*IndicesGetUpgradeRequest)
- func (f IndicesGetUpgrade) WithFilterPath(v ...string) func(*IndicesGetUpgradeRequest)
- func (f IndicesGetUpgrade) WithHeader(h map[string]string) func(*IndicesGetUpgradeRequest)
- func (f IndicesGetUpgrade) WithHuman() func(*IndicesGetUpgradeRequest)
- func (f IndicesGetUpgrade) WithIgnoreUnavailable(v bool) func(*IndicesGetUpgradeRequest)
- func (f IndicesGetUpgrade) WithIndex(v ...string) func(*IndicesGetUpgradeRequest)
- func (f IndicesGetUpgrade) WithOpaqueID(s string) func(*IndicesGetUpgradeRequest)
- func (f IndicesGetUpgrade) WithPretty() func(*IndicesGetUpgradeRequest)
- type IndicesGetUpgradeRequest
- type IndicesMigrateToDataStream
- func (f IndicesMigrateToDataStream) WithContext(v context.Context) func(*IndicesMigrateToDataStreamRequest)
- func (f IndicesMigrateToDataStream) WithErrorTrace() func(*IndicesMigrateToDataStreamRequest)
- func (f IndicesMigrateToDataStream) WithFilterPath(v ...string) func(*IndicesMigrateToDataStreamRequest)
- func (f IndicesMigrateToDataStream) WithHeader(h map[string]string) func(*IndicesMigrateToDataStreamRequest)
- func (f IndicesMigrateToDataStream) WithHuman() func(*IndicesMigrateToDataStreamRequest)
- func (f IndicesMigrateToDataStream) WithOpaqueID(s string) func(*IndicesMigrateToDataStreamRequest)
- func (f IndicesMigrateToDataStream) WithPretty() func(*IndicesMigrateToDataStreamRequest)
- type IndicesMigrateToDataStreamRequest
- type IndicesModifyDataStream
- func (f IndicesModifyDataStream) WithContext(v context.Context) func(*IndicesModifyDataStreamRequest)
- func (f IndicesModifyDataStream) WithErrorTrace() func(*IndicesModifyDataStreamRequest)
- func (f IndicesModifyDataStream) WithFilterPath(v ...string) func(*IndicesModifyDataStreamRequest)
- func (f IndicesModifyDataStream) WithHeader(h map[string]string) func(*IndicesModifyDataStreamRequest)
- func (f IndicesModifyDataStream) WithHuman() func(*IndicesModifyDataStreamRequest)
- func (f IndicesModifyDataStream) WithOpaqueID(s string) func(*IndicesModifyDataStreamRequest)
- func (f IndicesModifyDataStream) WithPretty() func(*IndicesModifyDataStreamRequest)
- type IndicesModifyDataStreamRequest
- type IndicesOpen
- func (f IndicesOpen) WithAllowNoIndices(v bool) func(*IndicesOpenRequest)
- func (f IndicesOpen) WithContext(v context.Context) func(*IndicesOpenRequest)
- func (f IndicesOpen) WithErrorTrace() func(*IndicesOpenRequest)
- func (f IndicesOpen) WithExpandWildcards(v string) func(*IndicesOpenRequest)
- func (f IndicesOpen) WithFilterPath(v ...string) func(*IndicesOpenRequest)
- func (f IndicesOpen) WithHeader(h map[string]string) func(*IndicesOpenRequest)
- func (f IndicesOpen) WithHuman() func(*IndicesOpenRequest)
- func (f IndicesOpen) WithIgnoreUnavailable(v bool) func(*IndicesOpenRequest)
- func (f IndicesOpen) WithMasterTimeout(v time.Duration) func(*IndicesOpenRequest)
- func (f IndicesOpen) WithOpaqueID(s string) func(*IndicesOpenRequest)
- func (f IndicesOpen) WithPretty() func(*IndicesOpenRequest)
- func (f IndicesOpen) WithTimeout(v time.Duration) func(*IndicesOpenRequest)
- func (f IndicesOpen) WithWaitForActiveShards(v string) func(*IndicesOpenRequest)
- type IndicesOpenRequest
- type IndicesPromoteDataStream
- func (f IndicesPromoteDataStream) WithContext(v context.Context) func(*IndicesPromoteDataStreamRequest)
- func (f IndicesPromoteDataStream) WithErrorTrace() func(*IndicesPromoteDataStreamRequest)
- func (f IndicesPromoteDataStream) WithFilterPath(v ...string) func(*IndicesPromoteDataStreamRequest)
- func (f IndicesPromoteDataStream) WithHeader(h map[string]string) func(*IndicesPromoteDataStreamRequest)
- func (f IndicesPromoteDataStream) WithHuman() func(*IndicesPromoteDataStreamRequest)
- func (f IndicesPromoteDataStream) WithOpaqueID(s string) func(*IndicesPromoteDataStreamRequest)
- func (f IndicesPromoteDataStream) WithPretty() func(*IndicesPromoteDataStreamRequest)
- type IndicesPromoteDataStreamRequest
- type IndicesPutAlias
- func (f IndicesPutAlias) WithBody(v io.Reader) func(*IndicesPutAliasRequest)
- func (f IndicesPutAlias) WithContext(v context.Context) func(*IndicesPutAliasRequest)
- func (f IndicesPutAlias) WithErrorTrace() func(*IndicesPutAliasRequest)
- func (f IndicesPutAlias) WithFilterPath(v ...string) func(*IndicesPutAliasRequest)
- func (f IndicesPutAlias) WithHeader(h map[string]string) func(*IndicesPutAliasRequest)
- func (f IndicesPutAlias) WithHuman() func(*IndicesPutAliasRequest)
- func (f IndicesPutAlias) WithMasterTimeout(v time.Duration) func(*IndicesPutAliasRequest)
- func (f IndicesPutAlias) WithOpaqueID(s string) func(*IndicesPutAliasRequest)
- func (f IndicesPutAlias) WithPretty() func(*IndicesPutAliasRequest)
- func (f IndicesPutAlias) WithTimeout(v time.Duration) func(*IndicesPutAliasRequest)
- type IndicesPutAliasRequest
- type IndicesPutIndexTemplate
- func (f IndicesPutIndexTemplate) WithCause(v string) func(*IndicesPutIndexTemplateRequest)
- func (f IndicesPutIndexTemplate) WithContext(v context.Context) func(*IndicesPutIndexTemplateRequest)
- func (f IndicesPutIndexTemplate) WithCreate(v bool) func(*IndicesPutIndexTemplateRequest)
- func (f IndicesPutIndexTemplate) WithErrorTrace() func(*IndicesPutIndexTemplateRequest)
- func (f IndicesPutIndexTemplate) WithFilterPath(v ...string) func(*IndicesPutIndexTemplateRequest)
- func (f IndicesPutIndexTemplate) WithHeader(h map[string]string) func(*IndicesPutIndexTemplateRequest)
- func (f IndicesPutIndexTemplate) WithHuman() func(*IndicesPutIndexTemplateRequest)
- func (f IndicesPutIndexTemplate) WithMasterTimeout(v time.Duration) func(*IndicesPutIndexTemplateRequest)
- func (f IndicesPutIndexTemplate) WithOpaqueID(s string) func(*IndicesPutIndexTemplateRequest)
- func (f IndicesPutIndexTemplate) WithPretty() func(*IndicesPutIndexTemplateRequest)
- type IndicesPutIndexTemplateRequest
- type IndicesPutMapping
- func (f IndicesPutMapping) WithAllowNoIndices(v bool) func(*IndicesPutMappingRequest)
- func (f IndicesPutMapping) WithContext(v context.Context) func(*IndicesPutMappingRequest)
- func (f IndicesPutMapping) WithDocumentType(v string) func(*IndicesPutMappingRequest)
- func (f IndicesPutMapping) WithErrorTrace() func(*IndicesPutMappingRequest)
- func (f IndicesPutMapping) WithExpandWildcards(v string) func(*IndicesPutMappingRequest)
- func (f IndicesPutMapping) WithFilterPath(v ...string) func(*IndicesPutMappingRequest)
- func (f IndicesPutMapping) WithHeader(h map[string]string) func(*IndicesPutMappingRequest)
- func (f IndicesPutMapping) WithHuman() func(*IndicesPutMappingRequest)
- func (f IndicesPutMapping) WithIgnoreUnavailable(v bool) func(*IndicesPutMappingRequest)
- func (f IndicesPutMapping) WithIncludeTypeName(v bool) func(*IndicesPutMappingRequest)
- func (f IndicesPutMapping) WithIndex(v ...string) func(*IndicesPutMappingRequest)
- func (f IndicesPutMapping) WithMasterTimeout(v time.Duration) func(*IndicesPutMappingRequest)
- func (f IndicesPutMapping) WithOpaqueID(s string) func(*IndicesPutMappingRequest)
- func (f IndicesPutMapping) WithPretty() func(*IndicesPutMappingRequest)
- func (f IndicesPutMapping) WithTimeout(v time.Duration) func(*IndicesPutMappingRequest)
- func (f IndicesPutMapping) WithWriteIndexOnly(v bool) func(*IndicesPutMappingRequest)
- type IndicesPutMappingRequest
- type IndicesPutSettings
- func (f IndicesPutSettings) WithAllowNoIndices(v bool) func(*IndicesPutSettingsRequest)
- func (f IndicesPutSettings) WithContext(v context.Context) func(*IndicesPutSettingsRequest)
- func (f IndicesPutSettings) WithErrorTrace() func(*IndicesPutSettingsRequest)
- func (f IndicesPutSettings) WithExpandWildcards(v string) func(*IndicesPutSettingsRequest)
- func (f IndicesPutSettings) WithFilterPath(v ...string) func(*IndicesPutSettingsRequest)
- func (f IndicesPutSettings) WithFlatSettings(v bool) func(*IndicesPutSettingsRequest)
- func (f IndicesPutSettings) WithHeader(h map[string]string) func(*IndicesPutSettingsRequest)
- func (f IndicesPutSettings) WithHuman() func(*IndicesPutSettingsRequest)
- func (f IndicesPutSettings) WithIgnoreUnavailable(v bool) func(*IndicesPutSettingsRequest)
- func (f IndicesPutSettings) WithIndex(v ...string) func(*IndicesPutSettingsRequest)
- func (f IndicesPutSettings) WithMasterTimeout(v time.Duration) func(*IndicesPutSettingsRequest)
- func (f IndicesPutSettings) WithOpaqueID(s string) func(*IndicesPutSettingsRequest)
- func (f IndicesPutSettings) WithPreserveExisting(v bool) func(*IndicesPutSettingsRequest)
- func (f IndicesPutSettings) WithPretty() func(*IndicesPutSettingsRequest)
- func (f IndicesPutSettings) WithTimeout(v time.Duration) func(*IndicesPutSettingsRequest)
- type IndicesPutSettingsRequest
- type IndicesPutTemplate
- func (f IndicesPutTemplate) WithContext(v context.Context) func(*IndicesPutTemplateRequest)
- func (f IndicesPutTemplate) WithCreate(v bool) func(*IndicesPutTemplateRequest)
- func (f IndicesPutTemplate) WithErrorTrace() func(*IndicesPutTemplateRequest)
- func (f IndicesPutTemplate) WithFilterPath(v ...string) func(*IndicesPutTemplateRequest)
- func (f IndicesPutTemplate) WithHeader(h map[string]string) func(*IndicesPutTemplateRequest)
- func (f IndicesPutTemplate) WithHuman() func(*IndicesPutTemplateRequest)
- func (f IndicesPutTemplate) WithIncludeTypeName(v bool) func(*IndicesPutTemplateRequest)
- func (f IndicesPutTemplate) WithMasterTimeout(v time.Duration) func(*IndicesPutTemplateRequest)
- func (f IndicesPutTemplate) WithOpaqueID(s string) func(*IndicesPutTemplateRequest)
- func (f IndicesPutTemplate) WithOrder(v int) func(*IndicesPutTemplateRequest)
- func (f IndicesPutTemplate) WithPretty() func(*IndicesPutTemplateRequest)
- type IndicesPutTemplateRequest
- type IndicesRecovery
- func (f IndicesRecovery) WithActiveOnly(v bool) func(*IndicesRecoveryRequest)
- func (f IndicesRecovery) WithContext(v context.Context) func(*IndicesRecoveryRequest)
- func (f IndicesRecovery) WithDetailed(v bool) func(*IndicesRecoveryRequest)
- func (f IndicesRecovery) WithErrorTrace() func(*IndicesRecoveryRequest)
- func (f IndicesRecovery) WithFilterPath(v ...string) func(*IndicesRecoveryRequest)
- func (f IndicesRecovery) WithHeader(h map[string]string) func(*IndicesRecoveryRequest)
- func (f IndicesRecovery) WithHuman() func(*IndicesRecoveryRequest)
- func (f IndicesRecovery) WithIndex(v ...string) func(*IndicesRecoveryRequest)
- func (f IndicesRecovery) WithOpaqueID(s string) func(*IndicesRecoveryRequest)
- func (f IndicesRecovery) WithPretty() func(*IndicesRecoveryRequest)
- type IndicesRecoveryRequest
- type IndicesRefresh
- func (f IndicesRefresh) WithAllowNoIndices(v bool) func(*IndicesRefreshRequest)
- func (f IndicesRefresh) WithContext(v context.Context) func(*IndicesRefreshRequest)
- func (f IndicesRefresh) WithErrorTrace() func(*IndicesRefreshRequest)
- func (f IndicesRefresh) WithExpandWildcards(v string) func(*IndicesRefreshRequest)
- func (f IndicesRefresh) WithFilterPath(v ...string) func(*IndicesRefreshRequest)
- func (f IndicesRefresh) WithHeader(h map[string]string) func(*IndicesRefreshRequest)
- func (f IndicesRefresh) WithHuman() func(*IndicesRefreshRequest)
- func (f IndicesRefresh) WithIgnoreUnavailable(v bool) func(*IndicesRefreshRequest)
- func (f IndicesRefresh) WithIndex(v ...string) func(*IndicesRefreshRequest)
- func (f IndicesRefresh) WithOpaqueID(s string) func(*IndicesRefreshRequest)
- func (f IndicesRefresh) WithPretty() func(*IndicesRefreshRequest)
- type IndicesRefreshRequest
- type IndicesReloadSearchAnalyzers
- func (f IndicesReloadSearchAnalyzers) WithAllowNoIndices(v bool) func(*IndicesReloadSearchAnalyzersRequest)
- func (f IndicesReloadSearchAnalyzers) WithContext(v context.Context) func(*IndicesReloadSearchAnalyzersRequest)
- func (f IndicesReloadSearchAnalyzers) WithErrorTrace() func(*IndicesReloadSearchAnalyzersRequest)
- func (f IndicesReloadSearchAnalyzers) WithExpandWildcards(v string) func(*IndicesReloadSearchAnalyzersRequest)
- func (f IndicesReloadSearchAnalyzers) WithFilterPath(v ...string) func(*IndicesReloadSearchAnalyzersRequest)
- func (f IndicesReloadSearchAnalyzers) WithHeader(h map[string]string) func(*IndicesReloadSearchAnalyzersRequest)
- func (f IndicesReloadSearchAnalyzers) WithHuman() func(*IndicesReloadSearchAnalyzersRequest)
- func (f IndicesReloadSearchAnalyzers) WithIgnoreUnavailable(v bool) func(*IndicesReloadSearchAnalyzersRequest)
- func (f IndicesReloadSearchAnalyzers) WithOpaqueID(s string) func(*IndicesReloadSearchAnalyzersRequest)
- func (f IndicesReloadSearchAnalyzers) WithPretty() func(*IndicesReloadSearchAnalyzersRequest)
- type IndicesReloadSearchAnalyzersRequest
- type IndicesResolveIndex
- func (f IndicesResolveIndex) WithContext(v context.Context) func(*IndicesResolveIndexRequest)
- func (f IndicesResolveIndex) WithErrorTrace() func(*IndicesResolveIndexRequest)
- func (f IndicesResolveIndex) WithExpandWildcards(v string) func(*IndicesResolveIndexRequest)
- func (f IndicesResolveIndex) WithFilterPath(v ...string) func(*IndicesResolveIndexRequest)
- func (f IndicesResolveIndex) WithHeader(h map[string]string) func(*IndicesResolveIndexRequest)
- func (f IndicesResolveIndex) WithHuman() func(*IndicesResolveIndexRequest)
- func (f IndicesResolveIndex) WithOpaqueID(s string) func(*IndicesResolveIndexRequest)
- func (f IndicesResolveIndex) WithPretty() func(*IndicesResolveIndexRequest)
- type IndicesResolveIndexRequest
- type IndicesRollover
- func (f IndicesRollover) WithBody(v io.Reader) func(*IndicesRolloverRequest)
- func (f IndicesRollover) WithContext(v context.Context) func(*IndicesRolloverRequest)
- func (f IndicesRollover) WithDryRun(v bool) func(*IndicesRolloverRequest)
- func (f IndicesRollover) WithErrorTrace() func(*IndicesRolloverRequest)
- func (f IndicesRollover) WithFilterPath(v ...string) func(*IndicesRolloverRequest)
- func (f IndicesRollover) WithHeader(h map[string]string) func(*IndicesRolloverRequest)
- func (f IndicesRollover) WithHuman() func(*IndicesRolloverRequest)
- func (f IndicesRollover) WithIncludeTypeName(v bool) func(*IndicesRolloverRequest)
- func (f IndicesRollover) WithMasterTimeout(v time.Duration) func(*IndicesRolloverRequest)
- func (f IndicesRollover) WithNewIndex(v string) func(*IndicesRolloverRequest)
- func (f IndicesRollover) WithOpaqueID(s string) func(*IndicesRolloverRequest)
- func (f IndicesRollover) WithPretty() func(*IndicesRolloverRequest)
- func (f IndicesRollover) WithTimeout(v time.Duration) func(*IndicesRolloverRequest)
- func (f IndicesRollover) WithWaitForActiveShards(v string) func(*IndicesRolloverRequest)
- type IndicesRolloverRequest
- type IndicesSegments
- func (f IndicesSegments) WithAllowNoIndices(v bool) func(*IndicesSegmentsRequest)
- func (f IndicesSegments) WithContext(v context.Context) func(*IndicesSegmentsRequest)
- func (f IndicesSegments) WithErrorTrace() func(*IndicesSegmentsRequest)
- func (f IndicesSegments) WithExpandWildcards(v string) func(*IndicesSegmentsRequest)
- func (f IndicesSegments) WithFilterPath(v ...string) func(*IndicesSegmentsRequest)
- func (f IndicesSegments) WithHeader(h map[string]string) func(*IndicesSegmentsRequest)
- func (f IndicesSegments) WithHuman() func(*IndicesSegmentsRequest)
- func (f IndicesSegments) WithIgnoreUnavailable(v bool) func(*IndicesSegmentsRequest)
- func (f IndicesSegments) WithIndex(v ...string) func(*IndicesSegmentsRequest)
- func (f IndicesSegments) WithOpaqueID(s string) func(*IndicesSegmentsRequest)
- func (f IndicesSegments) WithPretty() func(*IndicesSegmentsRequest)
- func (f IndicesSegments) WithVerbose(v bool) func(*IndicesSegmentsRequest)
- type IndicesSegmentsRequest
- type IndicesShardStores
- func (f IndicesShardStores) WithAllowNoIndices(v bool) func(*IndicesShardStoresRequest)
- func (f IndicesShardStores) WithContext(v context.Context) func(*IndicesShardStoresRequest)
- func (f IndicesShardStores) WithErrorTrace() func(*IndicesShardStoresRequest)
- func (f IndicesShardStores) WithExpandWildcards(v string) func(*IndicesShardStoresRequest)
- func (f IndicesShardStores) WithFilterPath(v ...string) func(*IndicesShardStoresRequest)
- func (f IndicesShardStores) WithHeader(h map[string]string) func(*IndicesShardStoresRequest)
- func (f IndicesShardStores) WithHuman() func(*IndicesShardStoresRequest)
- func (f IndicesShardStores) WithIgnoreUnavailable(v bool) func(*IndicesShardStoresRequest)
- func (f IndicesShardStores) WithIndex(v ...string) func(*IndicesShardStoresRequest)
- func (f IndicesShardStores) WithOpaqueID(s string) func(*IndicesShardStoresRequest)
- func (f IndicesShardStores) WithPretty() func(*IndicesShardStoresRequest)
- func (f IndicesShardStores) WithStatus(v ...string) func(*IndicesShardStoresRequest)
- type IndicesShardStoresRequest
- type IndicesShrink
- func (f IndicesShrink) WithBody(v io.Reader) func(*IndicesShrinkRequest)
- func (f IndicesShrink) WithContext(v context.Context) func(*IndicesShrinkRequest)
- func (f IndicesShrink) WithCopySettings(v bool) func(*IndicesShrinkRequest)
- func (f IndicesShrink) WithErrorTrace() func(*IndicesShrinkRequest)
- func (f IndicesShrink) WithFilterPath(v ...string) func(*IndicesShrinkRequest)
- func (f IndicesShrink) WithHeader(h map[string]string) func(*IndicesShrinkRequest)
- func (f IndicesShrink) WithHuman() func(*IndicesShrinkRequest)
- func (f IndicesShrink) WithMasterTimeout(v time.Duration) func(*IndicesShrinkRequest)
- func (f IndicesShrink) WithOpaqueID(s string) func(*IndicesShrinkRequest)
- func (f IndicesShrink) WithPretty() func(*IndicesShrinkRequest)
- func (f IndicesShrink) WithTimeout(v time.Duration) func(*IndicesShrinkRequest)
- func (f IndicesShrink) WithWaitForActiveShards(v string) func(*IndicesShrinkRequest)
- type IndicesShrinkRequest
- type IndicesSimulateIndexTemplate
- func (f IndicesSimulateIndexTemplate) WithBody(v io.Reader) func(*IndicesSimulateIndexTemplateRequest)
- func (f IndicesSimulateIndexTemplate) WithCause(v string) func(*IndicesSimulateIndexTemplateRequest)
- func (f IndicesSimulateIndexTemplate) WithContext(v context.Context) func(*IndicesSimulateIndexTemplateRequest)
- func (f IndicesSimulateIndexTemplate) WithCreate(v bool) func(*IndicesSimulateIndexTemplateRequest)
- func (f IndicesSimulateIndexTemplate) WithErrorTrace() func(*IndicesSimulateIndexTemplateRequest)
- func (f IndicesSimulateIndexTemplate) WithFilterPath(v ...string) func(*IndicesSimulateIndexTemplateRequest)
- func (f IndicesSimulateIndexTemplate) WithHeader(h map[string]string) func(*IndicesSimulateIndexTemplateRequest)
- func (f IndicesSimulateIndexTemplate) WithHuman() func(*IndicesSimulateIndexTemplateRequest)
- func (f IndicesSimulateIndexTemplate) WithMasterTimeout(v time.Duration) func(*IndicesSimulateIndexTemplateRequest)
- func (f IndicesSimulateIndexTemplate) WithOpaqueID(s string) func(*IndicesSimulateIndexTemplateRequest)
- func (f IndicesSimulateIndexTemplate) WithPretty() func(*IndicesSimulateIndexTemplateRequest)
- type IndicesSimulateIndexTemplateRequest
- type IndicesSimulateTemplate
- func (f IndicesSimulateTemplate) WithBody(v io.Reader) func(*IndicesSimulateTemplateRequest)
- func (f IndicesSimulateTemplate) WithCause(v string) func(*IndicesSimulateTemplateRequest)
- func (f IndicesSimulateTemplate) WithContext(v context.Context) func(*IndicesSimulateTemplateRequest)
- func (f IndicesSimulateTemplate) WithCreate(v bool) func(*IndicesSimulateTemplateRequest)
- func (f IndicesSimulateTemplate) WithErrorTrace() func(*IndicesSimulateTemplateRequest)
- func (f IndicesSimulateTemplate) WithFilterPath(v ...string) func(*IndicesSimulateTemplateRequest)
- func (f IndicesSimulateTemplate) WithHeader(h map[string]string) func(*IndicesSimulateTemplateRequest)
- func (f IndicesSimulateTemplate) WithHuman() func(*IndicesSimulateTemplateRequest)
- func (f IndicesSimulateTemplate) WithMasterTimeout(v time.Duration) func(*IndicesSimulateTemplateRequest)
- func (f IndicesSimulateTemplate) WithName(v string) func(*IndicesSimulateTemplateRequest)
- func (f IndicesSimulateTemplate) WithOpaqueID(s string) func(*IndicesSimulateTemplateRequest)
- func (f IndicesSimulateTemplate) WithPretty() func(*IndicesSimulateTemplateRequest)
- type IndicesSimulateTemplateRequest
- type IndicesSplit
- func (f IndicesSplit) WithBody(v io.Reader) func(*IndicesSplitRequest)
- func (f IndicesSplit) WithContext(v context.Context) func(*IndicesSplitRequest)
- func (f IndicesSplit) WithCopySettings(v bool) func(*IndicesSplitRequest)
- func (f IndicesSplit) WithErrorTrace() func(*IndicesSplitRequest)
- func (f IndicesSplit) WithFilterPath(v ...string) func(*IndicesSplitRequest)
- func (f IndicesSplit) WithHeader(h map[string]string) func(*IndicesSplitRequest)
- func (f IndicesSplit) WithHuman() func(*IndicesSplitRequest)
- func (f IndicesSplit) WithMasterTimeout(v time.Duration) func(*IndicesSplitRequest)
- func (f IndicesSplit) WithOpaqueID(s string) func(*IndicesSplitRequest)
- func (f IndicesSplit) WithPretty() func(*IndicesSplitRequest)
- func (f IndicesSplit) WithTimeout(v time.Duration) func(*IndicesSplitRequest)
- func (f IndicesSplit) WithWaitForActiveShards(v string) func(*IndicesSplitRequest)
- type IndicesSplitRequest
- type IndicesStats
- func (f IndicesStats) WithCompletionFields(v ...string) func(*IndicesStatsRequest)
- func (f IndicesStats) WithContext(v context.Context) func(*IndicesStatsRequest)
- func (f IndicesStats) WithErrorTrace() func(*IndicesStatsRequest)
- func (f IndicesStats) WithExpandWildcards(v string) func(*IndicesStatsRequest)
- func (f IndicesStats) WithFielddataFields(v ...string) func(*IndicesStatsRequest)
- func (f IndicesStats) WithFields(v ...string) func(*IndicesStatsRequest)
- func (f IndicesStats) WithFilterPath(v ...string) func(*IndicesStatsRequest)
- func (f IndicesStats) WithForbidClosedIndices(v bool) func(*IndicesStatsRequest)
- func (f IndicesStats) WithGroups(v ...string) func(*IndicesStatsRequest)
- func (f IndicesStats) WithHeader(h map[string]string) func(*IndicesStatsRequest)
- func (f IndicesStats) WithHuman() func(*IndicesStatsRequest)
- func (f IndicesStats) WithIncludeSegmentFileSizes(v bool) func(*IndicesStatsRequest)
- func (f IndicesStats) WithIncludeUnloadedSegments(v bool) func(*IndicesStatsRequest)
- func (f IndicesStats) WithIndex(v ...string) func(*IndicesStatsRequest)
- func (f IndicesStats) WithLevel(v string) func(*IndicesStatsRequest)
- func (f IndicesStats) WithMetric(v ...string) func(*IndicesStatsRequest)
- func (f IndicesStats) WithOpaqueID(s string) func(*IndicesStatsRequest)
- func (f IndicesStats) WithPretty() func(*IndicesStatsRequest)
- func (f IndicesStats) WithTypes(v ...string) func(*IndicesStatsRequest)
- type IndicesStatsRequest
- type IndicesUnfreeze
- func (f IndicesUnfreeze) WithAllowNoIndices(v bool) func(*IndicesUnfreezeRequest)
- func (f IndicesUnfreeze) WithContext(v context.Context) func(*IndicesUnfreezeRequest)
- func (f IndicesUnfreeze) WithErrorTrace() func(*IndicesUnfreezeRequest)
- func (f IndicesUnfreeze) WithExpandWildcards(v string) func(*IndicesUnfreezeRequest)
- func (f IndicesUnfreeze) WithFilterPath(v ...string) func(*IndicesUnfreezeRequest)
- func (f IndicesUnfreeze) WithHeader(h map[string]string) func(*IndicesUnfreezeRequest)
- func (f IndicesUnfreeze) WithHuman() func(*IndicesUnfreezeRequest)
- func (f IndicesUnfreeze) WithIgnoreUnavailable(v bool) func(*IndicesUnfreezeRequest)
- func (f IndicesUnfreeze) WithMasterTimeout(v time.Duration) func(*IndicesUnfreezeRequest)
- func (f IndicesUnfreeze) WithOpaqueID(s string) func(*IndicesUnfreezeRequest)
- func (f IndicesUnfreeze) WithPretty() func(*IndicesUnfreezeRequest)
- func (f IndicesUnfreeze) WithTimeout(v time.Duration) func(*IndicesUnfreezeRequest)
- func (f IndicesUnfreeze) WithWaitForActiveShards(v string) func(*IndicesUnfreezeRequest)
- type IndicesUnfreezeRequest
- type IndicesUpdateAliases
- func (f IndicesUpdateAliases) WithContext(v context.Context) func(*IndicesUpdateAliasesRequest)
- func (f IndicesUpdateAliases) WithErrorTrace() func(*IndicesUpdateAliasesRequest)
- func (f IndicesUpdateAliases) WithFilterPath(v ...string) func(*IndicesUpdateAliasesRequest)
- func (f IndicesUpdateAliases) WithHeader(h map[string]string) func(*IndicesUpdateAliasesRequest)
- func (f IndicesUpdateAliases) WithHuman() func(*IndicesUpdateAliasesRequest)
- func (f IndicesUpdateAliases) WithMasterTimeout(v time.Duration) func(*IndicesUpdateAliasesRequest)
- func (f IndicesUpdateAliases) WithOpaqueID(s string) func(*IndicesUpdateAliasesRequest)
- func (f IndicesUpdateAliases) WithPretty() func(*IndicesUpdateAliasesRequest)
- func (f IndicesUpdateAliases) WithTimeout(v time.Duration) func(*IndicesUpdateAliasesRequest)
- type IndicesUpdateAliasesRequest
- type IndicesUpgrade
- func (f IndicesUpgrade) WithAllowNoIndices(v bool) func(*IndicesUpgradeRequest)
- func (f IndicesUpgrade) WithContext(v context.Context) func(*IndicesUpgradeRequest)
- func (f IndicesUpgrade) WithErrorTrace() func(*IndicesUpgradeRequest)
- func (f IndicesUpgrade) WithExpandWildcards(v string) func(*IndicesUpgradeRequest)
- func (f IndicesUpgrade) WithFilterPath(v ...string) func(*IndicesUpgradeRequest)
- func (f IndicesUpgrade) WithHeader(h map[string]string) func(*IndicesUpgradeRequest)
- func (f IndicesUpgrade) WithHuman() func(*IndicesUpgradeRequest)
- func (f IndicesUpgrade) WithIgnoreUnavailable(v bool) func(*IndicesUpgradeRequest)
- func (f IndicesUpgrade) WithIndex(v ...string) func(*IndicesUpgradeRequest)
- func (f IndicesUpgrade) WithOnlyAncientSegments(v bool) func(*IndicesUpgradeRequest)
- func (f IndicesUpgrade) WithOpaqueID(s string) func(*IndicesUpgradeRequest)
- func (f IndicesUpgrade) WithPretty() func(*IndicesUpgradeRequest)
- func (f IndicesUpgrade) WithWaitForCompletion(v bool) func(*IndicesUpgradeRequest)
- type IndicesUpgradeRequest
- type IndicesValidateQuery
- func (f IndicesValidateQuery) WithAllShards(v bool) func(*IndicesValidateQueryRequest)
- func (f IndicesValidateQuery) WithAllowNoIndices(v bool) func(*IndicesValidateQueryRequest)
- func (f IndicesValidateQuery) WithAnalyzeWildcard(v bool) func(*IndicesValidateQueryRequest)
- func (f IndicesValidateQuery) WithAnalyzer(v string) func(*IndicesValidateQueryRequest)
- func (f IndicesValidateQuery) WithBody(v io.Reader) func(*IndicesValidateQueryRequest)
- func (f IndicesValidateQuery) WithContext(v context.Context) func(*IndicesValidateQueryRequest)
- func (f IndicesValidateQuery) WithDefaultOperator(v string) func(*IndicesValidateQueryRequest)
- func (f IndicesValidateQuery) WithDf(v string) func(*IndicesValidateQueryRequest)
- func (f IndicesValidateQuery) WithDocumentType(v ...string) func(*IndicesValidateQueryRequest)
- func (f IndicesValidateQuery) WithErrorTrace() func(*IndicesValidateQueryRequest)
- func (f IndicesValidateQuery) WithExpandWildcards(v string) func(*IndicesValidateQueryRequest)
- func (f IndicesValidateQuery) WithExplain(v bool) func(*IndicesValidateQueryRequest)
- func (f IndicesValidateQuery) WithFilterPath(v ...string) func(*IndicesValidateQueryRequest)
- func (f IndicesValidateQuery) WithHeader(h map[string]string) func(*IndicesValidateQueryRequest)
- func (f IndicesValidateQuery) WithHuman() func(*IndicesValidateQueryRequest)
- func (f IndicesValidateQuery) WithIgnoreUnavailable(v bool) func(*IndicesValidateQueryRequest)
- func (f IndicesValidateQuery) WithIndex(v ...string) func(*IndicesValidateQueryRequest)
- func (f IndicesValidateQuery) WithLenient(v bool) func(*IndicesValidateQueryRequest)
- func (f IndicesValidateQuery) WithOpaqueID(s string) func(*IndicesValidateQueryRequest)
- func (f IndicesValidateQuery) WithPretty() func(*IndicesValidateQueryRequest)
- func (f IndicesValidateQuery) WithQuery(v string) func(*IndicesValidateQueryRequest)
- func (f IndicesValidateQuery) WithRewrite(v bool) func(*IndicesValidateQueryRequest)
- type IndicesValidateQueryRequest
- type Info
- func (f Info) WithContext(v context.Context) func(*InfoRequest)
- func (f Info) WithErrorTrace() func(*InfoRequest)
- func (f Info) WithFilterPath(v ...string) func(*InfoRequest)
- func (f Info) WithHeader(h map[string]string) func(*InfoRequest)
- func (f Info) WithHuman() func(*InfoRequest)
- func (f Info) WithOpaqueID(s string) func(*InfoRequest)
- type InfoRequest
- type Ingest
- type IngestDeletePipeline
- func (f IngestDeletePipeline) WithContext(v context.Context) func(*IngestDeletePipelineRequest)
- func (f IngestDeletePipeline) WithErrorTrace() func(*IngestDeletePipelineRequest)
- func (f IngestDeletePipeline) WithFilterPath(v ...string) func(*IngestDeletePipelineRequest)
- func (f IngestDeletePipeline) WithHeader(h map[string]string) func(*IngestDeletePipelineRequest)
- func (f IngestDeletePipeline) WithHuman() func(*IngestDeletePipelineRequest)
- func (f IngestDeletePipeline) WithMasterTimeout(v time.Duration) func(*IngestDeletePipelineRequest)
- func (f IngestDeletePipeline) WithOpaqueID(s string) func(*IngestDeletePipelineRequest)
- func (f IngestDeletePipeline) WithPretty() func(*IngestDeletePipelineRequest)
- func (f IngestDeletePipeline) WithTimeout(v time.Duration) func(*IngestDeletePipelineRequest)
- type IngestDeletePipelineRequest
- type IngestGeoIPStats
- func (f IngestGeoIPStats) WithContext(v context.Context) func(*IngestGeoIPStatsRequest)
- func (f IngestGeoIPStats) WithErrorTrace() func(*IngestGeoIPStatsRequest)
- func (f IngestGeoIPStats) WithFilterPath(v ...string) func(*IngestGeoIPStatsRequest)
- func (f IngestGeoIPStats) WithHeader(h map[string]string) func(*IngestGeoIPStatsRequest)
- func (f IngestGeoIPStats) WithHuman() func(*IngestGeoIPStatsRequest)
- func (f IngestGeoIPStats) WithOpaqueID(s string) func(*IngestGeoIPStatsRequest)
- func (f IngestGeoIPStats) WithPretty() func(*IngestGeoIPStatsRequest)
- type IngestGeoIPStatsRequest
- type IngestGetPipeline
- func (f IngestGetPipeline) WithContext(v context.Context) func(*IngestGetPipelineRequest)
- func (f IngestGetPipeline) WithErrorTrace() func(*IngestGetPipelineRequest)
- func (f IngestGetPipeline) WithFilterPath(v ...string) func(*IngestGetPipelineRequest)
- func (f IngestGetPipeline) WithHeader(h map[string]string) func(*IngestGetPipelineRequest)
- func (f IngestGetPipeline) WithHuman() func(*IngestGetPipelineRequest)
- func (f IngestGetPipeline) WithMasterTimeout(v time.Duration) func(*IngestGetPipelineRequest)
- func (f IngestGetPipeline) WithOpaqueID(s string) func(*IngestGetPipelineRequest)
- func (f IngestGetPipeline) WithPipelineID(v string) func(*IngestGetPipelineRequest)
- func (f IngestGetPipeline) WithPretty() func(*IngestGetPipelineRequest)
- func (f IngestGetPipeline) WithSummary(v bool) func(*IngestGetPipelineRequest)
- type IngestGetPipelineRequest
- type IngestProcessorGrok
- func (f IngestProcessorGrok) WithContext(v context.Context) func(*IngestProcessorGrokRequest)
- func (f IngestProcessorGrok) WithErrorTrace() func(*IngestProcessorGrokRequest)
- func (f IngestProcessorGrok) WithFilterPath(v ...string) func(*IngestProcessorGrokRequest)
- func (f IngestProcessorGrok) WithHeader(h map[string]string) func(*IngestProcessorGrokRequest)
- func (f IngestProcessorGrok) WithHuman() func(*IngestProcessorGrokRequest)
- func (f IngestProcessorGrok) WithOpaqueID(s string) func(*IngestProcessorGrokRequest)
- func (f IngestProcessorGrok) WithPretty() func(*IngestProcessorGrokRequest)
- type IngestProcessorGrokRequest
- type IngestPutPipeline
- func (f IngestPutPipeline) WithContext(v context.Context) func(*IngestPutPipelineRequest)
- func (f IngestPutPipeline) WithErrorTrace() func(*IngestPutPipelineRequest)
- func (f IngestPutPipeline) WithFilterPath(v ...string) func(*IngestPutPipelineRequest)
- func (f IngestPutPipeline) WithHeader(h map[string]string) func(*IngestPutPipelineRequest)
- func (f IngestPutPipeline) WithHuman() func(*IngestPutPipelineRequest)
- func (f IngestPutPipeline) WithIfVersion(v int) func(*IngestPutPipelineRequest)
- func (f IngestPutPipeline) WithMasterTimeout(v time.Duration) func(*IngestPutPipelineRequest)
- func (f IngestPutPipeline) WithOpaqueID(s string) func(*IngestPutPipelineRequest)
- func (f IngestPutPipeline) WithPretty() func(*IngestPutPipelineRequest)
- func (f IngestPutPipeline) WithTimeout(v time.Duration) func(*IngestPutPipelineRequest)
- type IngestPutPipelineRequest
- type IngestSimulate
- func (f IngestSimulate) WithContext(v context.Context) func(*IngestSimulateRequest)
- func (f IngestSimulate) WithErrorTrace() func(*IngestSimulateRequest)
- func (f IngestSimulate) WithFilterPath(v ...string) func(*IngestSimulateRequest)
- func (f IngestSimulate) WithHeader(h map[string]string) func(*IngestSimulateRequest)
- func (f IngestSimulate) WithHuman() func(*IngestSimulateRequest)
- func (f IngestSimulate) WithOpaqueID(s string) func(*IngestSimulateRequest)
- func (f IngestSimulate) WithPipelineID(v string) func(*IngestSimulateRequest)
- func (f IngestSimulate) WithPretty() func(*IngestSimulateRequest)
- func (f IngestSimulate) WithVerbose(v bool) func(*IngestSimulateRequest)
- type IngestSimulateRequest
- type License
- type LicenseDelete
- func (f LicenseDelete) WithContext(v context.Context) func(*LicenseDeleteRequest)
- func (f LicenseDelete) WithErrorTrace() func(*LicenseDeleteRequest)
- func (f LicenseDelete) WithFilterPath(v ...string) func(*LicenseDeleteRequest)
- func (f LicenseDelete) WithHeader(h map[string]string) func(*LicenseDeleteRequest)
- func (f LicenseDelete) WithHuman() func(*LicenseDeleteRequest)
- func (f LicenseDelete) WithOpaqueID(s string) func(*LicenseDeleteRequest)
- func (f LicenseDelete) WithPretty() func(*LicenseDeleteRequest)
- type LicenseDeleteRequest
- type LicenseGet
- func (f LicenseGet) WithAcceptEnterprise(v bool) func(*LicenseGetRequest)
- func (f LicenseGet) WithContext(v context.Context) func(*LicenseGetRequest)
- func (f LicenseGet) WithErrorTrace() func(*LicenseGetRequest)
- func (f LicenseGet) WithFilterPath(v ...string) func(*LicenseGetRequest)
- func (f LicenseGet) WithHeader(h map[string]string) func(*LicenseGetRequest)
- func (f LicenseGet) WithHuman() func(*LicenseGetRequest)
- func (f LicenseGet) WithLocal(v bool) func(*LicenseGetRequest)
- func (f LicenseGet) WithOpaqueID(s string) func(*LicenseGetRequest)
- func (f LicenseGet) WithPretty() func(*LicenseGetRequest)
- type LicenseGetBasicStatus
- func (f LicenseGetBasicStatus) WithContext(v context.Context) func(*LicenseGetBasicStatusRequest)
- func (f LicenseGetBasicStatus) WithErrorTrace() func(*LicenseGetBasicStatusRequest)
- func (f LicenseGetBasicStatus) WithFilterPath(v ...string) func(*LicenseGetBasicStatusRequest)
- func (f LicenseGetBasicStatus) WithHeader(h map[string]string) func(*LicenseGetBasicStatusRequest)
- func (f LicenseGetBasicStatus) WithHuman() func(*LicenseGetBasicStatusRequest)
- func (f LicenseGetBasicStatus) WithOpaqueID(s string) func(*LicenseGetBasicStatusRequest)
- func (f LicenseGetBasicStatus) WithPretty() func(*LicenseGetBasicStatusRequest)
- type LicenseGetBasicStatusRequest
- type LicenseGetRequest
- type LicenseGetTrialStatus
- func (f LicenseGetTrialStatus) WithContext(v context.Context) func(*LicenseGetTrialStatusRequest)
- func (f LicenseGetTrialStatus) WithErrorTrace() func(*LicenseGetTrialStatusRequest)
- func (f LicenseGetTrialStatus) WithFilterPath(v ...string) func(*LicenseGetTrialStatusRequest)
- func (f LicenseGetTrialStatus) WithHeader(h map[string]string) func(*LicenseGetTrialStatusRequest)
- func (f LicenseGetTrialStatus) WithHuman() func(*LicenseGetTrialStatusRequest)
- func (f LicenseGetTrialStatus) WithOpaqueID(s string) func(*LicenseGetTrialStatusRequest)
- func (f LicenseGetTrialStatus) WithPretty() func(*LicenseGetTrialStatusRequest)
- type LicenseGetTrialStatusRequest
- type LicensePost
- func (f LicensePost) WithAcknowledge(v bool) func(*LicensePostRequest)
- func (f LicensePost) WithBody(v io.Reader) func(*LicensePostRequest)
- func (f LicensePost) WithContext(v context.Context) func(*LicensePostRequest)
- func (f LicensePost) WithErrorTrace() func(*LicensePostRequest)
- func (f LicensePost) WithFilterPath(v ...string) func(*LicensePostRequest)
- func (f LicensePost) WithHeader(h map[string]string) func(*LicensePostRequest)
- func (f LicensePost) WithHuman() func(*LicensePostRequest)
- func (f LicensePost) WithOpaqueID(s string) func(*LicensePostRequest)
- func (f LicensePost) WithPretty() func(*LicensePostRequest)
- type LicensePostRequest
- type LicensePostStartBasic
- func (f LicensePostStartBasic) WithAcknowledge(v bool) func(*LicensePostStartBasicRequest)
- func (f LicensePostStartBasic) WithContext(v context.Context) func(*LicensePostStartBasicRequest)
- func (f LicensePostStartBasic) WithErrorTrace() func(*LicensePostStartBasicRequest)
- func (f LicensePostStartBasic) WithFilterPath(v ...string) func(*LicensePostStartBasicRequest)
- func (f LicensePostStartBasic) WithHeader(h map[string]string) func(*LicensePostStartBasicRequest)
- func (f LicensePostStartBasic) WithHuman() func(*LicensePostStartBasicRequest)
- func (f LicensePostStartBasic) WithOpaqueID(s string) func(*LicensePostStartBasicRequest)
- func (f LicensePostStartBasic) WithPretty() func(*LicensePostStartBasicRequest)
- type LicensePostStartBasicRequest
- type LicensePostStartTrial
- func (f LicensePostStartTrial) WithAcknowledge(v bool) func(*LicensePostStartTrialRequest)
- func (f LicensePostStartTrial) WithContext(v context.Context) func(*LicensePostStartTrialRequest)
- func (f LicensePostStartTrial) WithDocumentType(v string) func(*LicensePostStartTrialRequest)
- func (f LicensePostStartTrial) WithErrorTrace() func(*LicensePostStartTrialRequest)
- func (f LicensePostStartTrial) WithFilterPath(v ...string) func(*LicensePostStartTrialRequest)
- func (f LicensePostStartTrial) WithHeader(h map[string]string) func(*LicensePostStartTrialRequest)
- func (f LicensePostStartTrial) WithHuman() func(*LicensePostStartTrialRequest)
- func (f LicensePostStartTrial) WithOpaqueID(s string) func(*LicensePostStartTrialRequest)
- func (f LicensePostStartTrial) WithPretty() func(*LicensePostStartTrialRequest)
- type LicensePostStartTrialRequest
- type LogstashDeletePipeline
- func (f LogstashDeletePipeline) WithContext(v context.Context) func(*LogstashDeletePipelineRequest)
- func (f LogstashDeletePipeline) WithErrorTrace() func(*LogstashDeletePipelineRequest)
- func (f LogstashDeletePipeline) WithFilterPath(v ...string) func(*LogstashDeletePipelineRequest)
- func (f LogstashDeletePipeline) WithHeader(h map[string]string) func(*LogstashDeletePipelineRequest)
- func (f LogstashDeletePipeline) WithHuman() func(*LogstashDeletePipelineRequest)
- func (f LogstashDeletePipeline) WithOpaqueID(s string) func(*LogstashDeletePipelineRequest)
- func (f LogstashDeletePipeline) WithPretty() func(*LogstashDeletePipelineRequest)
- type LogstashDeletePipelineRequest
- type LogstashGetPipeline
- func (f LogstashGetPipeline) WithContext(v context.Context) func(*LogstashGetPipelineRequest)
- func (f LogstashGetPipeline) WithErrorTrace() func(*LogstashGetPipelineRequest)
- func (f LogstashGetPipeline) WithFilterPath(v ...string) func(*LogstashGetPipelineRequest)
- func (f LogstashGetPipeline) WithHeader(h map[string]string) func(*LogstashGetPipelineRequest)
- func (f LogstashGetPipeline) WithHuman() func(*LogstashGetPipelineRequest)
- func (f LogstashGetPipeline) WithOpaqueID(s string) func(*LogstashGetPipelineRequest)
- func (f LogstashGetPipeline) WithPretty() func(*LogstashGetPipelineRequest)
- type LogstashGetPipelineRequest
- type LogstashPutPipeline
- func (f LogstashPutPipeline) WithContext(v context.Context) func(*LogstashPutPipelineRequest)
- func (f LogstashPutPipeline) WithErrorTrace() func(*LogstashPutPipelineRequest)
- func (f LogstashPutPipeline) WithFilterPath(v ...string) func(*LogstashPutPipelineRequest)
- func (f LogstashPutPipeline) WithHeader(h map[string]string) func(*LogstashPutPipelineRequest)
- func (f LogstashPutPipeline) WithHuman() func(*LogstashPutPipelineRequest)
- func (f LogstashPutPipeline) WithOpaqueID(s string) func(*LogstashPutPipelineRequest)
- func (f LogstashPutPipeline) WithPretty() func(*LogstashPutPipelineRequest)
- type LogstashPutPipelineRequest
- type ML
- type MLCloseJob
- func (f MLCloseJob) WithAllowNoJobs(v bool) func(*MLCloseJobRequest)
- func (f MLCloseJob) WithAllowNoMatch(v bool) func(*MLCloseJobRequest)
- func (f MLCloseJob) WithBody(v io.Reader) func(*MLCloseJobRequest)
- func (f MLCloseJob) WithContext(v context.Context) func(*MLCloseJobRequest)
- func (f MLCloseJob) WithErrorTrace() func(*MLCloseJobRequest)
- func (f MLCloseJob) WithFilterPath(v ...string) func(*MLCloseJobRequest)
- func (f MLCloseJob) WithForce(v bool) func(*MLCloseJobRequest)
- func (f MLCloseJob) WithHeader(h map[string]string) func(*MLCloseJobRequest)
- func (f MLCloseJob) WithHuman() func(*MLCloseJobRequest)
- func (f MLCloseJob) WithOpaqueID(s string) func(*MLCloseJobRequest)
- func (f MLCloseJob) WithPretty() func(*MLCloseJobRequest)
- func (f MLCloseJob) WithTimeout(v time.Duration) func(*MLCloseJobRequest)
- type MLCloseJobRequest
- type MLDeleteCalendar
- func (f MLDeleteCalendar) WithContext(v context.Context) func(*MLDeleteCalendarRequest)
- func (f MLDeleteCalendar) WithErrorTrace() func(*MLDeleteCalendarRequest)
- func (f MLDeleteCalendar) WithFilterPath(v ...string) func(*MLDeleteCalendarRequest)
- func (f MLDeleteCalendar) WithHeader(h map[string]string) func(*MLDeleteCalendarRequest)
- func (f MLDeleteCalendar) WithHuman() func(*MLDeleteCalendarRequest)
- func (f MLDeleteCalendar) WithOpaqueID(s string) func(*MLDeleteCalendarRequest)
- func (f MLDeleteCalendar) WithPretty() func(*MLDeleteCalendarRequest)
- type MLDeleteCalendarEvent
- func (f MLDeleteCalendarEvent) WithContext(v context.Context) func(*MLDeleteCalendarEventRequest)
- func (f MLDeleteCalendarEvent) WithErrorTrace() func(*MLDeleteCalendarEventRequest)
- func (f MLDeleteCalendarEvent) WithFilterPath(v ...string) func(*MLDeleteCalendarEventRequest)
- func (f MLDeleteCalendarEvent) WithHeader(h map[string]string) func(*MLDeleteCalendarEventRequest)
- func (f MLDeleteCalendarEvent) WithHuman() func(*MLDeleteCalendarEventRequest)
- func (f MLDeleteCalendarEvent) WithOpaqueID(s string) func(*MLDeleteCalendarEventRequest)
- func (f MLDeleteCalendarEvent) WithPretty() func(*MLDeleteCalendarEventRequest)
- type MLDeleteCalendarEventRequest
- type MLDeleteCalendarJob
- func (f MLDeleteCalendarJob) WithContext(v context.Context) func(*MLDeleteCalendarJobRequest)
- func (f MLDeleteCalendarJob) WithErrorTrace() func(*MLDeleteCalendarJobRequest)
- func (f MLDeleteCalendarJob) WithFilterPath(v ...string) func(*MLDeleteCalendarJobRequest)
- func (f MLDeleteCalendarJob) WithHeader(h map[string]string) func(*MLDeleteCalendarJobRequest)
- func (f MLDeleteCalendarJob) WithHuman() func(*MLDeleteCalendarJobRequest)
- func (f MLDeleteCalendarJob) WithOpaqueID(s string) func(*MLDeleteCalendarJobRequest)
- func (f MLDeleteCalendarJob) WithPretty() func(*MLDeleteCalendarJobRequest)
- type MLDeleteCalendarJobRequest
- type MLDeleteCalendarRequest
- type MLDeleteDataFrameAnalytics
- func (f MLDeleteDataFrameAnalytics) WithContext(v context.Context) func(*MLDeleteDataFrameAnalyticsRequest)
- func (f MLDeleteDataFrameAnalytics) WithErrorTrace() func(*MLDeleteDataFrameAnalyticsRequest)
- func (f MLDeleteDataFrameAnalytics) WithFilterPath(v ...string) func(*MLDeleteDataFrameAnalyticsRequest)
- func (f MLDeleteDataFrameAnalytics) WithForce(v bool) func(*MLDeleteDataFrameAnalyticsRequest)
- func (f MLDeleteDataFrameAnalytics) WithHeader(h map[string]string) func(*MLDeleteDataFrameAnalyticsRequest)
- func (f MLDeleteDataFrameAnalytics) WithHuman() func(*MLDeleteDataFrameAnalyticsRequest)
- func (f MLDeleteDataFrameAnalytics) WithOpaqueID(s string) func(*MLDeleteDataFrameAnalyticsRequest)
- func (f MLDeleteDataFrameAnalytics) WithPretty() func(*MLDeleteDataFrameAnalyticsRequest)
- func (f MLDeleteDataFrameAnalytics) WithTimeout(v time.Duration) func(*MLDeleteDataFrameAnalyticsRequest)
- type MLDeleteDataFrameAnalyticsRequest
- type MLDeleteDatafeed
- func (f MLDeleteDatafeed) WithContext(v context.Context) func(*MLDeleteDatafeedRequest)
- func (f MLDeleteDatafeed) WithErrorTrace() func(*MLDeleteDatafeedRequest)
- func (f MLDeleteDatafeed) WithFilterPath(v ...string) func(*MLDeleteDatafeedRequest)
- func (f MLDeleteDatafeed) WithForce(v bool) func(*MLDeleteDatafeedRequest)
- func (f MLDeleteDatafeed) WithHeader(h map[string]string) func(*MLDeleteDatafeedRequest)
- func (f MLDeleteDatafeed) WithHuman() func(*MLDeleteDatafeedRequest)
- func (f MLDeleteDatafeed) WithOpaqueID(s string) func(*MLDeleteDatafeedRequest)
- func (f MLDeleteDatafeed) WithPretty() func(*MLDeleteDatafeedRequest)
- type MLDeleteDatafeedRequest
- type MLDeleteExpiredData
- func (f MLDeleteExpiredData) WithBody(v io.Reader) func(*MLDeleteExpiredDataRequest)
- func (f MLDeleteExpiredData) WithContext(v context.Context) func(*MLDeleteExpiredDataRequest)
- func (f MLDeleteExpiredData) WithErrorTrace() func(*MLDeleteExpiredDataRequest)
- func (f MLDeleteExpiredData) WithFilterPath(v ...string) func(*MLDeleteExpiredDataRequest)
- func (f MLDeleteExpiredData) WithHeader(h map[string]string) func(*MLDeleteExpiredDataRequest)
- func (f MLDeleteExpiredData) WithHuman() func(*MLDeleteExpiredDataRequest)
- func (f MLDeleteExpiredData) WithJobID(v string) func(*MLDeleteExpiredDataRequest)
- func (f MLDeleteExpiredData) WithOpaqueID(s string) func(*MLDeleteExpiredDataRequest)
- func (f MLDeleteExpiredData) WithPretty() func(*MLDeleteExpiredDataRequest)
- func (f MLDeleteExpiredData) WithRequestsPerSecond(v int) func(*MLDeleteExpiredDataRequest)
- func (f MLDeleteExpiredData) WithTimeout(v time.Duration) func(*MLDeleteExpiredDataRequest)
- type MLDeleteExpiredDataRequest
- type MLDeleteFilter
- func (f MLDeleteFilter) WithContext(v context.Context) func(*MLDeleteFilterRequest)
- func (f MLDeleteFilter) WithErrorTrace() func(*MLDeleteFilterRequest)
- func (f MLDeleteFilter) WithFilterPath(v ...string) func(*MLDeleteFilterRequest)
- func (f MLDeleteFilter) WithHeader(h map[string]string) func(*MLDeleteFilterRequest)
- func (f MLDeleteFilter) WithHuman() func(*MLDeleteFilterRequest)
- func (f MLDeleteFilter) WithOpaqueID(s string) func(*MLDeleteFilterRequest)
- func (f MLDeleteFilter) WithPretty() func(*MLDeleteFilterRequest)
- type MLDeleteFilterRequest
- type MLDeleteForecast
- func (f MLDeleteForecast) WithAllowNoForecasts(v bool) func(*MLDeleteForecastRequest)
- func (f MLDeleteForecast) WithContext(v context.Context) func(*MLDeleteForecastRequest)
- func (f MLDeleteForecast) WithErrorTrace() func(*MLDeleteForecastRequest)
- func (f MLDeleteForecast) WithFilterPath(v ...string) func(*MLDeleteForecastRequest)
- func (f MLDeleteForecast) WithForecastID(v string) func(*MLDeleteForecastRequest)
- func (f MLDeleteForecast) WithHeader(h map[string]string) func(*MLDeleteForecastRequest)
- func (f MLDeleteForecast) WithHuman() func(*MLDeleteForecastRequest)
- func (f MLDeleteForecast) WithOpaqueID(s string) func(*MLDeleteForecastRequest)
- func (f MLDeleteForecast) WithPretty() func(*MLDeleteForecastRequest)
- func (f MLDeleteForecast) WithTimeout(v time.Duration) func(*MLDeleteForecastRequest)
- type MLDeleteForecastRequest
- type MLDeleteJob
- func (f MLDeleteJob) WithContext(v context.Context) func(*MLDeleteJobRequest)
- func (f MLDeleteJob) WithErrorTrace() func(*MLDeleteJobRequest)
- func (f MLDeleteJob) WithFilterPath(v ...string) func(*MLDeleteJobRequest)
- func (f MLDeleteJob) WithForce(v bool) func(*MLDeleteJobRequest)
- func (f MLDeleteJob) WithHeader(h map[string]string) func(*MLDeleteJobRequest)
- func (f MLDeleteJob) WithHuman() func(*MLDeleteJobRequest)
- func (f MLDeleteJob) WithOpaqueID(s string) func(*MLDeleteJobRequest)
- func (f MLDeleteJob) WithPretty() func(*MLDeleteJobRequest)
- func (f MLDeleteJob) WithWaitForCompletion(v bool) func(*MLDeleteJobRequest)
- type MLDeleteJobRequest
- type MLDeleteModelSnapshot
- func (f MLDeleteModelSnapshot) WithContext(v context.Context) func(*MLDeleteModelSnapshotRequest)
- func (f MLDeleteModelSnapshot) WithErrorTrace() func(*MLDeleteModelSnapshotRequest)
- func (f MLDeleteModelSnapshot) WithFilterPath(v ...string) func(*MLDeleteModelSnapshotRequest)
- func (f MLDeleteModelSnapshot) WithHeader(h map[string]string) func(*MLDeleteModelSnapshotRequest)
- func (f MLDeleteModelSnapshot) WithHuman() func(*MLDeleteModelSnapshotRequest)
- func (f MLDeleteModelSnapshot) WithOpaqueID(s string) func(*MLDeleteModelSnapshotRequest)
- func (f MLDeleteModelSnapshot) WithPretty() func(*MLDeleteModelSnapshotRequest)
- type MLDeleteModelSnapshotRequest
- type MLDeleteTrainedModel
- func (f MLDeleteTrainedModel) WithContext(v context.Context) func(*MLDeleteTrainedModelRequest)
- func (f MLDeleteTrainedModel) WithErrorTrace() func(*MLDeleteTrainedModelRequest)
- func (f MLDeleteTrainedModel) WithFilterPath(v ...string) func(*MLDeleteTrainedModelRequest)
- func (f MLDeleteTrainedModel) WithHeader(h map[string]string) func(*MLDeleteTrainedModelRequest)
- func (f MLDeleteTrainedModel) WithHuman() func(*MLDeleteTrainedModelRequest)
- func (f MLDeleteTrainedModel) WithOpaqueID(s string) func(*MLDeleteTrainedModelRequest)
- func (f MLDeleteTrainedModel) WithPretty() func(*MLDeleteTrainedModelRequest)
- type MLDeleteTrainedModelAlias
- func (f MLDeleteTrainedModelAlias) WithContext(v context.Context) func(*MLDeleteTrainedModelAliasRequest)
- func (f MLDeleteTrainedModelAlias) WithErrorTrace() func(*MLDeleteTrainedModelAliasRequest)
- func (f MLDeleteTrainedModelAlias) WithFilterPath(v ...string) func(*MLDeleteTrainedModelAliasRequest)
- func (f MLDeleteTrainedModelAlias) WithHeader(h map[string]string) func(*MLDeleteTrainedModelAliasRequest)
- func (f MLDeleteTrainedModelAlias) WithHuman() func(*MLDeleteTrainedModelAliasRequest)
- func (f MLDeleteTrainedModelAlias) WithOpaqueID(s string) func(*MLDeleteTrainedModelAliasRequest)
- func (f MLDeleteTrainedModelAlias) WithPretty() func(*MLDeleteTrainedModelAliasRequest)
- type MLDeleteTrainedModelAliasRequest
- type MLDeleteTrainedModelRequest
- type MLEstimateModelMemory
- func (f MLEstimateModelMemory) WithContext(v context.Context) func(*MLEstimateModelMemoryRequest)
- func (f MLEstimateModelMemory) WithErrorTrace() func(*MLEstimateModelMemoryRequest)
- func (f MLEstimateModelMemory) WithFilterPath(v ...string) func(*MLEstimateModelMemoryRequest)
- func (f MLEstimateModelMemory) WithHeader(h map[string]string) func(*MLEstimateModelMemoryRequest)
- func (f MLEstimateModelMemory) WithHuman() func(*MLEstimateModelMemoryRequest)
- func (f MLEstimateModelMemory) WithOpaqueID(s string) func(*MLEstimateModelMemoryRequest)
- func (f MLEstimateModelMemory) WithPretty() func(*MLEstimateModelMemoryRequest)
- type MLEstimateModelMemoryRequest
- type MLEvaluateDataFrame
- func (f MLEvaluateDataFrame) WithContext(v context.Context) func(*MLEvaluateDataFrameRequest)
- func (f MLEvaluateDataFrame) WithErrorTrace() func(*MLEvaluateDataFrameRequest)
- func (f MLEvaluateDataFrame) WithFilterPath(v ...string) func(*MLEvaluateDataFrameRequest)
- func (f MLEvaluateDataFrame) WithHeader(h map[string]string) func(*MLEvaluateDataFrameRequest)
- func (f MLEvaluateDataFrame) WithHuman() func(*MLEvaluateDataFrameRequest)
- func (f MLEvaluateDataFrame) WithOpaqueID(s string) func(*MLEvaluateDataFrameRequest)
- func (f MLEvaluateDataFrame) WithPretty() func(*MLEvaluateDataFrameRequest)
- type MLEvaluateDataFrameRequest
- type MLExplainDataFrameAnalytics
- func (f MLExplainDataFrameAnalytics) WithBody(v io.Reader) func(*MLExplainDataFrameAnalyticsRequest)
- func (f MLExplainDataFrameAnalytics) WithContext(v context.Context) func(*MLExplainDataFrameAnalyticsRequest)
- func (f MLExplainDataFrameAnalytics) WithDocumentID(v string) func(*MLExplainDataFrameAnalyticsRequest)
- func (f MLExplainDataFrameAnalytics) WithErrorTrace() func(*MLExplainDataFrameAnalyticsRequest)
- func (f MLExplainDataFrameAnalytics) WithFilterPath(v ...string) func(*MLExplainDataFrameAnalyticsRequest)
- func (f MLExplainDataFrameAnalytics) WithHeader(h map[string]string) func(*MLExplainDataFrameAnalyticsRequest)
- func (f MLExplainDataFrameAnalytics) WithHuman() func(*MLExplainDataFrameAnalyticsRequest)
- func (f MLExplainDataFrameAnalytics) WithOpaqueID(s string) func(*MLExplainDataFrameAnalyticsRequest)
- func (f MLExplainDataFrameAnalytics) WithPretty() func(*MLExplainDataFrameAnalyticsRequest)
- type MLExplainDataFrameAnalyticsRequest
- type MLFindFileStructure
- func (f MLFindFileStructure) WithCharset(v string) func(*MLFindFileStructureRequest)
- func (f MLFindFileStructure) WithColumnNames(v ...string) func(*MLFindFileStructureRequest)
- func (f MLFindFileStructure) WithContext(v context.Context) func(*MLFindFileStructureRequest)
- func (f MLFindFileStructure) WithDelimiter(v string) func(*MLFindFileStructureRequest)
- func (f MLFindFileStructure) WithErrorTrace() func(*MLFindFileStructureRequest)
- func (f MLFindFileStructure) WithExplain(v bool) func(*MLFindFileStructureRequest)
- func (f MLFindFileStructure) WithFilterPath(v ...string) func(*MLFindFileStructureRequest)
- func (f MLFindFileStructure) WithFormat(v string) func(*MLFindFileStructureRequest)
- func (f MLFindFileStructure) WithGrokPattern(v string) func(*MLFindFileStructureRequest)
- func (f MLFindFileStructure) WithHasHeaderRow(v bool) func(*MLFindFileStructureRequest)
- func (f MLFindFileStructure) WithHeader(h map[string]string) func(*MLFindFileStructureRequest)
- func (f MLFindFileStructure) WithHuman() func(*MLFindFileStructureRequest)
- func (f MLFindFileStructure) WithLineMergeSizeLimit(v int) func(*MLFindFileStructureRequest)
- func (f MLFindFileStructure) WithLinesToSample(v int) func(*MLFindFileStructureRequest)
- func (f MLFindFileStructure) WithOpaqueID(s string) func(*MLFindFileStructureRequest)
- func (f MLFindFileStructure) WithPretty() func(*MLFindFileStructureRequest)
- func (f MLFindFileStructure) WithQuote(v string) func(*MLFindFileStructureRequest)
- func (f MLFindFileStructure) WithShouldTrimFields(v bool) func(*MLFindFileStructureRequest)
- func (f MLFindFileStructure) WithTimeout(v time.Duration) func(*MLFindFileStructureRequest)
- func (f MLFindFileStructure) WithTimestampField(v string) func(*MLFindFileStructureRequest)
- func (f MLFindFileStructure) WithTimestampFormat(v string) func(*MLFindFileStructureRequest)
- type MLFindFileStructureRequest
- type MLFlushJob
- func (f MLFlushJob) WithAdvanceTime(v string) func(*MLFlushJobRequest)
- func (f MLFlushJob) WithBody(v io.Reader) func(*MLFlushJobRequest)
- func (f MLFlushJob) WithCalcInterim(v bool) func(*MLFlushJobRequest)
- func (f MLFlushJob) WithContext(v context.Context) func(*MLFlushJobRequest)
- func (f MLFlushJob) WithEnd(v string) func(*MLFlushJobRequest)
- func (f MLFlushJob) WithErrorTrace() func(*MLFlushJobRequest)
- func (f MLFlushJob) WithFilterPath(v ...string) func(*MLFlushJobRequest)
- func (f MLFlushJob) WithHeader(h map[string]string) func(*MLFlushJobRequest)
- func (f MLFlushJob) WithHuman() func(*MLFlushJobRequest)
- func (f MLFlushJob) WithOpaqueID(s string) func(*MLFlushJobRequest)
- func (f MLFlushJob) WithPretty() func(*MLFlushJobRequest)
- func (f MLFlushJob) WithSkipTime(v string) func(*MLFlushJobRequest)
- func (f MLFlushJob) WithStart(v string) func(*MLFlushJobRequest)
- type MLFlushJobRequest
- type MLForecast
- func (f MLForecast) WithBody(v io.Reader) func(*MLForecastRequest)
- func (f MLForecast) WithContext(v context.Context) func(*MLForecastRequest)
- func (f MLForecast) WithDuration(v time.Duration) func(*MLForecastRequest)
- func (f MLForecast) WithErrorTrace() func(*MLForecastRequest)
- func (f MLForecast) WithExpiresIn(v time.Duration) func(*MLForecastRequest)
- func (f MLForecast) WithFilterPath(v ...string) func(*MLForecastRequest)
- func (f MLForecast) WithHeader(h map[string]string) func(*MLForecastRequest)
- func (f MLForecast) WithHuman() func(*MLForecastRequest)
- func (f MLForecast) WithMaxModelMemory(v string) func(*MLForecastRequest)
- func (f MLForecast) WithOpaqueID(s string) func(*MLForecastRequest)
- func (f MLForecast) WithPretty() func(*MLForecastRequest)
- type MLForecastRequest
- type MLGetBuckets
- func (f MLGetBuckets) WithAnomalyScore(v interface{}) func(*MLGetBucketsRequest)
- func (f MLGetBuckets) WithBody(v io.Reader) func(*MLGetBucketsRequest)
- func (f MLGetBuckets) WithContext(v context.Context) func(*MLGetBucketsRequest)
- func (f MLGetBuckets) WithDesc(v bool) func(*MLGetBucketsRequest)
- func (f MLGetBuckets) WithEnd(v string) func(*MLGetBucketsRequest)
- func (f MLGetBuckets) WithErrorTrace() func(*MLGetBucketsRequest)
- func (f MLGetBuckets) WithExcludeInterim(v bool) func(*MLGetBucketsRequest)
- func (f MLGetBuckets) WithExpand(v bool) func(*MLGetBucketsRequest)
- func (f MLGetBuckets) WithFilterPath(v ...string) func(*MLGetBucketsRequest)
- func (f MLGetBuckets) WithFrom(v int) func(*MLGetBucketsRequest)
- func (f MLGetBuckets) WithHeader(h map[string]string) func(*MLGetBucketsRequest)
- func (f MLGetBuckets) WithHuman() func(*MLGetBucketsRequest)
- func (f MLGetBuckets) WithOpaqueID(s string) func(*MLGetBucketsRequest)
- func (f MLGetBuckets) WithPretty() func(*MLGetBucketsRequest)
- func (f MLGetBuckets) WithSize(v int) func(*MLGetBucketsRequest)
- func (f MLGetBuckets) WithSort(v string) func(*MLGetBucketsRequest)
- func (f MLGetBuckets) WithStart(v string) func(*MLGetBucketsRequest)
- func (f MLGetBuckets) WithTimestamp(v string) func(*MLGetBucketsRequest)
- type MLGetBucketsRequest
- type MLGetCalendarEvents
- func (f MLGetCalendarEvents) WithContext(v context.Context) func(*MLGetCalendarEventsRequest)
- func (f MLGetCalendarEvents) WithEnd(v interface{}) func(*MLGetCalendarEventsRequest)
- func (f MLGetCalendarEvents) WithErrorTrace() func(*MLGetCalendarEventsRequest)
- func (f MLGetCalendarEvents) WithFilterPath(v ...string) func(*MLGetCalendarEventsRequest)
- func (f MLGetCalendarEvents) WithFrom(v int) func(*MLGetCalendarEventsRequest)
- func (f MLGetCalendarEvents) WithHeader(h map[string]string) func(*MLGetCalendarEventsRequest)
- func (f MLGetCalendarEvents) WithHuman() func(*MLGetCalendarEventsRequest)
- func (f MLGetCalendarEvents) WithJobID(v string) func(*MLGetCalendarEventsRequest)
- func (f MLGetCalendarEvents) WithOpaqueID(s string) func(*MLGetCalendarEventsRequest)
- func (f MLGetCalendarEvents) WithPretty() func(*MLGetCalendarEventsRequest)
- func (f MLGetCalendarEvents) WithSize(v int) func(*MLGetCalendarEventsRequest)
- func (f MLGetCalendarEvents) WithStart(v string) func(*MLGetCalendarEventsRequest)
- type MLGetCalendarEventsRequest
- type MLGetCalendars
- func (f MLGetCalendars) WithBody(v io.Reader) func(*MLGetCalendarsRequest)
- func (f MLGetCalendars) WithCalendarID(v string) func(*MLGetCalendarsRequest)
- func (f MLGetCalendars) WithContext(v context.Context) func(*MLGetCalendarsRequest)
- func (f MLGetCalendars) WithErrorTrace() func(*MLGetCalendarsRequest)
- func (f MLGetCalendars) WithFilterPath(v ...string) func(*MLGetCalendarsRequest)
- func (f MLGetCalendars) WithFrom(v int) func(*MLGetCalendarsRequest)
- func (f MLGetCalendars) WithHeader(h map[string]string) func(*MLGetCalendarsRequest)
- func (f MLGetCalendars) WithHuman() func(*MLGetCalendarsRequest)
- func (f MLGetCalendars) WithOpaqueID(s string) func(*MLGetCalendarsRequest)
- func (f MLGetCalendars) WithPretty() func(*MLGetCalendarsRequest)
- func (f MLGetCalendars) WithSize(v int) func(*MLGetCalendarsRequest)
- type MLGetCalendarsRequest
- type MLGetCategories
- func (f MLGetCategories) WithBody(v io.Reader) func(*MLGetCategoriesRequest)
- func (f MLGetCategories) WithCategoryID(v int) func(*MLGetCategoriesRequest)
- func (f MLGetCategories) WithContext(v context.Context) func(*MLGetCategoriesRequest)
- func (f MLGetCategories) WithErrorTrace() func(*MLGetCategoriesRequest)
- func (f MLGetCategories) WithFilterPath(v ...string) func(*MLGetCategoriesRequest)
- func (f MLGetCategories) WithFrom(v int) func(*MLGetCategoriesRequest)
- func (f MLGetCategories) WithHeader(h map[string]string) func(*MLGetCategoriesRequest)
- func (f MLGetCategories) WithHuman() func(*MLGetCategoriesRequest)
- func (f MLGetCategories) WithOpaqueID(s string) func(*MLGetCategoriesRequest)
- func (f MLGetCategories) WithPartitionFieldValue(v string) func(*MLGetCategoriesRequest)
- func (f MLGetCategories) WithPretty() func(*MLGetCategoriesRequest)
- func (f MLGetCategories) WithSize(v int) func(*MLGetCategoriesRequest)
- type MLGetCategoriesRequest
- type MLGetDataFrameAnalytics
- func (f MLGetDataFrameAnalytics) WithAllowNoMatch(v bool) func(*MLGetDataFrameAnalyticsRequest)
- func (f MLGetDataFrameAnalytics) WithContext(v context.Context) func(*MLGetDataFrameAnalyticsRequest)
- func (f MLGetDataFrameAnalytics) WithErrorTrace() func(*MLGetDataFrameAnalyticsRequest)
- func (f MLGetDataFrameAnalytics) WithExcludeGenerated(v bool) func(*MLGetDataFrameAnalyticsRequest)
- func (f MLGetDataFrameAnalytics) WithFilterPath(v ...string) func(*MLGetDataFrameAnalyticsRequest)
- func (f MLGetDataFrameAnalytics) WithFrom(v int) func(*MLGetDataFrameAnalyticsRequest)
- func (f MLGetDataFrameAnalytics) WithHeader(h map[string]string) func(*MLGetDataFrameAnalyticsRequest)
- func (f MLGetDataFrameAnalytics) WithHuman() func(*MLGetDataFrameAnalyticsRequest)
- func (f MLGetDataFrameAnalytics) WithID(v string) func(*MLGetDataFrameAnalyticsRequest)
- func (f MLGetDataFrameAnalytics) WithOpaqueID(s string) func(*MLGetDataFrameAnalyticsRequest)
- func (f MLGetDataFrameAnalytics) WithPretty() func(*MLGetDataFrameAnalyticsRequest)
- func (f MLGetDataFrameAnalytics) WithSize(v int) func(*MLGetDataFrameAnalyticsRequest)
- type MLGetDataFrameAnalyticsRequest
- type MLGetDataFrameAnalyticsStats
- func (f MLGetDataFrameAnalyticsStats) WithAllowNoMatch(v bool) func(*MLGetDataFrameAnalyticsStatsRequest)
- func (f MLGetDataFrameAnalyticsStats) WithContext(v context.Context) func(*MLGetDataFrameAnalyticsStatsRequest)
- func (f MLGetDataFrameAnalyticsStats) WithErrorTrace() func(*MLGetDataFrameAnalyticsStatsRequest)
- func (f MLGetDataFrameAnalyticsStats) WithFilterPath(v ...string) func(*MLGetDataFrameAnalyticsStatsRequest)
- func (f MLGetDataFrameAnalyticsStats) WithFrom(v int) func(*MLGetDataFrameAnalyticsStatsRequest)
- func (f MLGetDataFrameAnalyticsStats) WithHeader(h map[string]string) func(*MLGetDataFrameAnalyticsStatsRequest)
- func (f MLGetDataFrameAnalyticsStats) WithHuman() func(*MLGetDataFrameAnalyticsStatsRequest)
- func (f MLGetDataFrameAnalyticsStats) WithID(v string) func(*MLGetDataFrameAnalyticsStatsRequest)
- func (f MLGetDataFrameAnalyticsStats) WithOpaqueID(s string) func(*MLGetDataFrameAnalyticsStatsRequest)
- func (f MLGetDataFrameAnalyticsStats) WithPretty() func(*MLGetDataFrameAnalyticsStatsRequest)
- func (f MLGetDataFrameAnalyticsStats) WithSize(v int) func(*MLGetDataFrameAnalyticsStatsRequest)
- func (f MLGetDataFrameAnalyticsStats) WithVerbose(v bool) func(*MLGetDataFrameAnalyticsStatsRequest)
- type MLGetDataFrameAnalyticsStatsRequest
- type MLGetDatafeedStats
- func (f MLGetDatafeedStats) WithAllowNoDatafeeds(v bool) func(*MLGetDatafeedStatsRequest)
- func (f MLGetDatafeedStats) WithAllowNoMatch(v bool) func(*MLGetDatafeedStatsRequest)
- func (f MLGetDatafeedStats) WithContext(v context.Context) func(*MLGetDatafeedStatsRequest)
- func (f MLGetDatafeedStats) WithDatafeedID(v string) func(*MLGetDatafeedStatsRequest)
- func (f MLGetDatafeedStats) WithErrorTrace() func(*MLGetDatafeedStatsRequest)
- func (f MLGetDatafeedStats) WithFilterPath(v ...string) func(*MLGetDatafeedStatsRequest)
- func (f MLGetDatafeedStats) WithHeader(h map[string]string) func(*MLGetDatafeedStatsRequest)
- func (f MLGetDatafeedStats) WithHuman() func(*MLGetDatafeedStatsRequest)
- func (f MLGetDatafeedStats) WithOpaqueID(s string) func(*MLGetDatafeedStatsRequest)
- func (f MLGetDatafeedStats) WithPretty() func(*MLGetDatafeedStatsRequest)
- type MLGetDatafeedStatsRequest
- type MLGetDatafeeds
- func (f MLGetDatafeeds) WithAllowNoDatafeeds(v bool) func(*MLGetDatafeedsRequest)
- func (f MLGetDatafeeds) WithAllowNoMatch(v bool) func(*MLGetDatafeedsRequest)
- func (f MLGetDatafeeds) WithContext(v context.Context) func(*MLGetDatafeedsRequest)
- func (f MLGetDatafeeds) WithDatafeedID(v string) func(*MLGetDatafeedsRequest)
- func (f MLGetDatafeeds) WithErrorTrace() func(*MLGetDatafeedsRequest)
- func (f MLGetDatafeeds) WithExcludeGenerated(v bool) func(*MLGetDatafeedsRequest)
- func (f MLGetDatafeeds) WithFilterPath(v ...string) func(*MLGetDatafeedsRequest)
- func (f MLGetDatafeeds) WithHeader(h map[string]string) func(*MLGetDatafeedsRequest)
- func (f MLGetDatafeeds) WithHuman() func(*MLGetDatafeedsRequest)
- func (f MLGetDatafeeds) WithOpaqueID(s string) func(*MLGetDatafeedsRequest)
- func (f MLGetDatafeeds) WithPretty() func(*MLGetDatafeedsRequest)
- type MLGetDatafeedsRequest
- type MLGetFilters
- func (f MLGetFilters) WithContext(v context.Context) func(*MLGetFiltersRequest)
- func (f MLGetFilters) WithErrorTrace() func(*MLGetFiltersRequest)
- func (f MLGetFilters) WithFilterID(v string) func(*MLGetFiltersRequest)
- func (f MLGetFilters) WithFilterPath(v ...string) func(*MLGetFiltersRequest)
- func (f MLGetFilters) WithFrom(v int) func(*MLGetFiltersRequest)
- func (f MLGetFilters) WithHeader(h map[string]string) func(*MLGetFiltersRequest)
- func (f MLGetFilters) WithHuman() func(*MLGetFiltersRequest)
- func (f MLGetFilters) WithOpaqueID(s string) func(*MLGetFiltersRequest)
- func (f MLGetFilters) WithPretty() func(*MLGetFiltersRequest)
- func (f MLGetFilters) WithSize(v int) func(*MLGetFiltersRequest)
- type MLGetFiltersRequest
- type MLGetInfluencers
- func (f MLGetInfluencers) WithBody(v io.Reader) func(*MLGetInfluencersRequest)
- func (f MLGetInfluencers) WithContext(v context.Context) func(*MLGetInfluencersRequest)
- func (f MLGetInfluencers) WithDesc(v bool) func(*MLGetInfluencersRequest)
- func (f MLGetInfluencers) WithEnd(v string) func(*MLGetInfluencersRequest)
- func (f MLGetInfluencers) WithErrorTrace() func(*MLGetInfluencersRequest)
- func (f MLGetInfluencers) WithExcludeInterim(v bool) func(*MLGetInfluencersRequest)
- func (f MLGetInfluencers) WithFilterPath(v ...string) func(*MLGetInfluencersRequest)
- func (f MLGetInfluencers) WithFrom(v int) func(*MLGetInfluencersRequest)
- func (f MLGetInfluencers) WithHeader(h map[string]string) func(*MLGetInfluencersRequest)
- func (f MLGetInfluencers) WithHuman() func(*MLGetInfluencersRequest)
- func (f MLGetInfluencers) WithInfluencerScore(v interface{}) func(*MLGetInfluencersRequest)
- func (f MLGetInfluencers) WithOpaqueID(s string) func(*MLGetInfluencersRequest)
- func (f MLGetInfluencers) WithPretty() func(*MLGetInfluencersRequest)
- func (f MLGetInfluencers) WithSize(v int) func(*MLGetInfluencersRequest)
- func (f MLGetInfluencers) WithSort(v string) func(*MLGetInfluencersRequest)
- func (f MLGetInfluencers) WithStart(v string) func(*MLGetInfluencersRequest)
- type MLGetInfluencersRequest
- type MLGetJobStats
- func (f MLGetJobStats) WithAllowNoJobs(v bool) func(*MLGetJobStatsRequest)
- func (f MLGetJobStats) WithAllowNoMatch(v bool) func(*MLGetJobStatsRequest)
- func (f MLGetJobStats) WithContext(v context.Context) func(*MLGetJobStatsRequest)
- func (f MLGetJobStats) WithErrorTrace() func(*MLGetJobStatsRequest)
- func (f MLGetJobStats) WithFilterPath(v ...string) func(*MLGetJobStatsRequest)
- func (f MLGetJobStats) WithHeader(h map[string]string) func(*MLGetJobStatsRequest)
- func (f MLGetJobStats) WithHuman() func(*MLGetJobStatsRequest)
- func (f MLGetJobStats) WithJobID(v string) func(*MLGetJobStatsRequest)
- func (f MLGetJobStats) WithOpaqueID(s string) func(*MLGetJobStatsRequest)
- func (f MLGetJobStats) WithPretty() func(*MLGetJobStatsRequest)
- type MLGetJobStatsRequest
- type MLGetJobs
- func (f MLGetJobs) WithAllowNoJobs(v bool) func(*MLGetJobsRequest)
- func (f MLGetJobs) WithAllowNoMatch(v bool) func(*MLGetJobsRequest)
- func (f MLGetJobs) WithContext(v context.Context) func(*MLGetJobsRequest)
- func (f MLGetJobs) WithErrorTrace() func(*MLGetJobsRequest)
- func (f MLGetJobs) WithExcludeGenerated(v bool) func(*MLGetJobsRequest)
- func (f MLGetJobs) WithFilterPath(v ...string) func(*MLGetJobsRequest)
- func (f MLGetJobs) WithHeader(h map[string]string) func(*MLGetJobsRequest)
- func (f MLGetJobs) WithHuman() func(*MLGetJobsRequest)
- func (f MLGetJobs) WithJobID(v string) func(*MLGetJobsRequest)
- func (f MLGetJobs) WithOpaqueID(s string) func(*MLGetJobsRequest)
- func (f MLGetJobs) WithPretty() func(*MLGetJobsRequest)
- type MLGetJobsRequest
- type MLGetModelSnapshotUpgradeStats
- func (f MLGetModelSnapshotUpgradeStats) WithAllowNoMatch(v bool) func(*MLGetModelSnapshotUpgradeStatsRequest)
- func (f MLGetModelSnapshotUpgradeStats) WithContext(v context.Context) func(*MLGetModelSnapshotUpgradeStatsRequest)
- func (f MLGetModelSnapshotUpgradeStats) WithErrorTrace() func(*MLGetModelSnapshotUpgradeStatsRequest)
- func (f MLGetModelSnapshotUpgradeStats) WithFilterPath(v ...string) func(*MLGetModelSnapshotUpgradeStatsRequest)
- func (f MLGetModelSnapshotUpgradeStats) WithHeader(h map[string]string) func(*MLGetModelSnapshotUpgradeStatsRequest)
- func (f MLGetModelSnapshotUpgradeStats) WithHuman() func(*MLGetModelSnapshotUpgradeStatsRequest)
- func (f MLGetModelSnapshotUpgradeStats) WithOpaqueID(s string) func(*MLGetModelSnapshotUpgradeStatsRequest)
- func (f MLGetModelSnapshotUpgradeStats) WithPretty() func(*MLGetModelSnapshotUpgradeStatsRequest)
- type MLGetModelSnapshotUpgradeStatsRequest
- type MLGetModelSnapshots
- func (f MLGetModelSnapshots) WithBody(v io.Reader) func(*MLGetModelSnapshotsRequest)
- func (f MLGetModelSnapshots) WithContext(v context.Context) func(*MLGetModelSnapshotsRequest)
- func (f MLGetModelSnapshots) WithDesc(v bool) func(*MLGetModelSnapshotsRequest)
- func (f MLGetModelSnapshots) WithEnd(v interface{}) func(*MLGetModelSnapshotsRequest)
- func (f MLGetModelSnapshots) WithErrorTrace() func(*MLGetModelSnapshotsRequest)
- func (f MLGetModelSnapshots) WithFilterPath(v ...string) func(*MLGetModelSnapshotsRequest)
- func (f MLGetModelSnapshots) WithFrom(v int) func(*MLGetModelSnapshotsRequest)
- func (f MLGetModelSnapshots) WithHeader(h map[string]string) func(*MLGetModelSnapshotsRequest)
- func (f MLGetModelSnapshots) WithHuman() func(*MLGetModelSnapshotsRequest)
- func (f MLGetModelSnapshots) WithOpaqueID(s string) func(*MLGetModelSnapshotsRequest)
- func (f MLGetModelSnapshots) WithPretty() func(*MLGetModelSnapshotsRequest)
- func (f MLGetModelSnapshots) WithSize(v int) func(*MLGetModelSnapshotsRequest)
- func (f MLGetModelSnapshots) WithSnapshotID(v string) func(*MLGetModelSnapshotsRequest)
- func (f MLGetModelSnapshots) WithSort(v string) func(*MLGetModelSnapshotsRequest)
- func (f MLGetModelSnapshots) WithStart(v interface{}) func(*MLGetModelSnapshotsRequest)
- type MLGetModelSnapshotsRequest
- type MLGetOverallBuckets
- func (f MLGetOverallBuckets) WithAllowNoJobs(v bool) func(*MLGetOverallBucketsRequest)
- func (f MLGetOverallBuckets) WithAllowNoMatch(v bool) func(*MLGetOverallBucketsRequest)
- func (f MLGetOverallBuckets) WithBody(v io.Reader) func(*MLGetOverallBucketsRequest)
- func (f MLGetOverallBuckets) WithBucketSpan(v string) func(*MLGetOverallBucketsRequest)
- func (f MLGetOverallBuckets) WithContext(v context.Context) func(*MLGetOverallBucketsRequest)
- func (f MLGetOverallBuckets) WithEnd(v string) func(*MLGetOverallBucketsRequest)
- func (f MLGetOverallBuckets) WithErrorTrace() func(*MLGetOverallBucketsRequest)
- func (f MLGetOverallBuckets) WithExcludeInterim(v bool) func(*MLGetOverallBucketsRequest)
- func (f MLGetOverallBuckets) WithFilterPath(v ...string) func(*MLGetOverallBucketsRequest)
- func (f MLGetOverallBuckets) WithHeader(h map[string]string) func(*MLGetOverallBucketsRequest)
- func (f MLGetOverallBuckets) WithHuman() func(*MLGetOverallBucketsRequest)
- func (f MLGetOverallBuckets) WithOpaqueID(s string) func(*MLGetOverallBucketsRequest)
- func (f MLGetOverallBuckets) WithOverallScore(v interface{}) func(*MLGetOverallBucketsRequest)
- func (f MLGetOverallBuckets) WithPretty() func(*MLGetOverallBucketsRequest)
- func (f MLGetOverallBuckets) WithStart(v string) func(*MLGetOverallBucketsRequest)
- func (f MLGetOverallBuckets) WithTopN(v int) func(*MLGetOverallBucketsRequest)
- type MLGetOverallBucketsRequest
- type MLGetRecords
- func (f MLGetRecords) WithBody(v io.Reader) func(*MLGetRecordsRequest)
- func (f MLGetRecords) WithContext(v context.Context) func(*MLGetRecordsRequest)
- func (f MLGetRecords) WithDesc(v bool) func(*MLGetRecordsRequest)
- func (f MLGetRecords) WithEnd(v string) func(*MLGetRecordsRequest)
- func (f MLGetRecords) WithErrorTrace() func(*MLGetRecordsRequest)
- func (f MLGetRecords) WithExcludeInterim(v bool) func(*MLGetRecordsRequest)
- func (f MLGetRecords) WithFilterPath(v ...string) func(*MLGetRecordsRequest)
- func (f MLGetRecords) WithFrom(v int) func(*MLGetRecordsRequest)
- func (f MLGetRecords) WithHeader(h map[string]string) func(*MLGetRecordsRequest)
- func (f MLGetRecords) WithHuman() func(*MLGetRecordsRequest)
- func (f MLGetRecords) WithOpaqueID(s string) func(*MLGetRecordsRequest)
- func (f MLGetRecords) WithPretty() func(*MLGetRecordsRequest)
- func (f MLGetRecords) WithRecordScore(v interface{}) func(*MLGetRecordsRequest)
- func (f MLGetRecords) WithSize(v int) func(*MLGetRecordsRequest)
- func (f MLGetRecords) WithSort(v string) func(*MLGetRecordsRequest)
- func (f MLGetRecords) WithStart(v string) func(*MLGetRecordsRequest)
- type MLGetRecordsRequest
- type MLGetTrainedModels
- func (f MLGetTrainedModels) WithAllowNoMatch(v bool) func(*MLGetTrainedModelsRequest)
- func (f MLGetTrainedModels) WithContext(v context.Context) func(*MLGetTrainedModelsRequest)
- func (f MLGetTrainedModels) WithDecompressDefinition(v bool) func(*MLGetTrainedModelsRequest)
- func (f MLGetTrainedModels) WithErrorTrace() func(*MLGetTrainedModelsRequest)
- func (f MLGetTrainedModels) WithExcludeGenerated(v bool) func(*MLGetTrainedModelsRequest)
- func (f MLGetTrainedModels) WithFilterPath(v ...string) func(*MLGetTrainedModelsRequest)
- func (f MLGetTrainedModels) WithFrom(v int) func(*MLGetTrainedModelsRequest)
- func (f MLGetTrainedModels) WithHeader(h map[string]string) func(*MLGetTrainedModelsRequest)
- func (f MLGetTrainedModels) WithHuman() func(*MLGetTrainedModelsRequest)
- func (f MLGetTrainedModels) WithInclude(v string) func(*MLGetTrainedModelsRequest)
- func (f MLGetTrainedModels) WithIncludeModelDefinition(v bool) func(*MLGetTrainedModelsRequest)
- func (f MLGetTrainedModels) WithModelID(v string) func(*MLGetTrainedModelsRequest)
- func (f MLGetTrainedModels) WithOpaqueID(s string) func(*MLGetTrainedModelsRequest)
- func (f MLGetTrainedModels) WithPretty() func(*MLGetTrainedModelsRequest)
- func (f MLGetTrainedModels) WithSize(v int) func(*MLGetTrainedModelsRequest)
- func (f MLGetTrainedModels) WithTags(v ...string) func(*MLGetTrainedModelsRequest)
- type MLGetTrainedModelsRequest
- type MLGetTrainedModelsStats
- func (f MLGetTrainedModelsStats) WithAllowNoMatch(v bool) func(*MLGetTrainedModelsStatsRequest)
- func (f MLGetTrainedModelsStats) WithContext(v context.Context) func(*MLGetTrainedModelsStatsRequest)
- func (f MLGetTrainedModelsStats) WithErrorTrace() func(*MLGetTrainedModelsStatsRequest)
- func (f MLGetTrainedModelsStats) WithFilterPath(v ...string) func(*MLGetTrainedModelsStatsRequest)
- func (f MLGetTrainedModelsStats) WithFrom(v int) func(*MLGetTrainedModelsStatsRequest)
- func (f MLGetTrainedModelsStats) WithHeader(h map[string]string) func(*MLGetTrainedModelsStatsRequest)
- func (f MLGetTrainedModelsStats) WithHuman() func(*MLGetTrainedModelsStatsRequest)
- func (f MLGetTrainedModelsStats) WithModelID(v string) func(*MLGetTrainedModelsStatsRequest)
- func (f MLGetTrainedModelsStats) WithOpaqueID(s string) func(*MLGetTrainedModelsStatsRequest)
- func (f MLGetTrainedModelsStats) WithPretty() func(*MLGetTrainedModelsStatsRequest)
- func (f MLGetTrainedModelsStats) WithSize(v int) func(*MLGetTrainedModelsStatsRequest)
- type MLGetTrainedModelsStatsRequest
- type MLInfo
- func (f MLInfo) WithContext(v context.Context) func(*MLInfoRequest)
- func (f MLInfo) WithErrorTrace() func(*MLInfoRequest)
- func (f MLInfo) WithFilterPath(v ...string) func(*MLInfoRequest)
- func (f MLInfo) WithHeader(h map[string]string) func(*MLInfoRequest)
- func (f MLInfo) WithHuman() func(*MLInfoRequest)
- func (f MLInfo) WithOpaqueID(s string) func(*MLInfoRequest)
- func (f MLInfo) WithPretty() func(*MLInfoRequest)
- type MLInfoRequest
- type MLOpenJob
- func (f MLOpenJob) WithBody(v io.Reader) func(*MLOpenJobRequest)
- func (f MLOpenJob) WithContext(v context.Context) func(*MLOpenJobRequest)
- func (f MLOpenJob) WithErrorTrace() func(*MLOpenJobRequest)
- func (f MLOpenJob) WithFilterPath(v ...string) func(*MLOpenJobRequest)
- func (f MLOpenJob) WithHeader(h map[string]string) func(*MLOpenJobRequest)
- func (f MLOpenJob) WithHuman() func(*MLOpenJobRequest)
- func (f MLOpenJob) WithOpaqueID(s string) func(*MLOpenJobRequest)
- func (f MLOpenJob) WithPretty() func(*MLOpenJobRequest)
- type MLOpenJobRequest
- type MLPostCalendarEvents
- func (f MLPostCalendarEvents) WithContext(v context.Context) func(*MLPostCalendarEventsRequest)
- func (f MLPostCalendarEvents) WithErrorTrace() func(*MLPostCalendarEventsRequest)
- func (f MLPostCalendarEvents) WithFilterPath(v ...string) func(*MLPostCalendarEventsRequest)
- func (f MLPostCalendarEvents) WithHeader(h map[string]string) func(*MLPostCalendarEventsRequest)
- func (f MLPostCalendarEvents) WithHuman() func(*MLPostCalendarEventsRequest)
- func (f MLPostCalendarEvents) WithOpaqueID(s string) func(*MLPostCalendarEventsRequest)
- func (f MLPostCalendarEvents) WithPretty() func(*MLPostCalendarEventsRequest)
- type MLPostCalendarEventsRequest
- type MLPostData
- func (f MLPostData) WithContext(v context.Context) func(*MLPostDataRequest)
- func (f MLPostData) WithErrorTrace() func(*MLPostDataRequest)
- func (f MLPostData) WithFilterPath(v ...string) func(*MLPostDataRequest)
- func (f MLPostData) WithHeader(h map[string]string) func(*MLPostDataRequest)
- func (f MLPostData) WithHuman() func(*MLPostDataRequest)
- func (f MLPostData) WithOpaqueID(s string) func(*MLPostDataRequest)
- func (f MLPostData) WithPretty() func(*MLPostDataRequest)
- func (f MLPostData) WithResetEnd(v string) func(*MLPostDataRequest)
- func (f MLPostData) WithResetStart(v string) func(*MLPostDataRequest)
- type MLPostDataRequest
- type MLPreviewDataFrameAnalytics
- func (f MLPreviewDataFrameAnalytics) WithBody(v io.Reader) func(*MLPreviewDataFrameAnalyticsRequest)
- func (f MLPreviewDataFrameAnalytics) WithContext(v context.Context) func(*MLPreviewDataFrameAnalyticsRequest)
- func (f MLPreviewDataFrameAnalytics) WithDocumentID(v string) func(*MLPreviewDataFrameAnalyticsRequest)
- func (f MLPreviewDataFrameAnalytics) WithErrorTrace() func(*MLPreviewDataFrameAnalyticsRequest)
- func (f MLPreviewDataFrameAnalytics) WithFilterPath(v ...string) func(*MLPreviewDataFrameAnalyticsRequest)
- func (f MLPreviewDataFrameAnalytics) WithHeader(h map[string]string) func(*MLPreviewDataFrameAnalyticsRequest)
- func (f MLPreviewDataFrameAnalytics) WithHuman() func(*MLPreviewDataFrameAnalyticsRequest)
- func (f MLPreviewDataFrameAnalytics) WithOpaqueID(s string) func(*MLPreviewDataFrameAnalyticsRequest)
- func (f MLPreviewDataFrameAnalytics) WithPretty() func(*MLPreviewDataFrameAnalyticsRequest)
- type MLPreviewDataFrameAnalyticsRequest
- type MLPreviewDatafeed
- func (f MLPreviewDatafeed) WithBody(v io.Reader) func(*MLPreviewDatafeedRequest)
- func (f MLPreviewDatafeed) WithContext(v context.Context) func(*MLPreviewDatafeedRequest)
- func (f MLPreviewDatafeed) WithDatafeedID(v string) func(*MLPreviewDatafeedRequest)
- func (f MLPreviewDatafeed) WithErrorTrace() func(*MLPreviewDatafeedRequest)
- func (f MLPreviewDatafeed) WithFilterPath(v ...string) func(*MLPreviewDatafeedRequest)
- func (f MLPreviewDatafeed) WithHeader(h map[string]string) func(*MLPreviewDatafeedRequest)
- func (f MLPreviewDatafeed) WithHuman() func(*MLPreviewDatafeedRequest)
- func (f MLPreviewDatafeed) WithOpaqueID(s string) func(*MLPreviewDatafeedRequest)
- func (f MLPreviewDatafeed) WithPretty() func(*MLPreviewDatafeedRequest)
- type MLPreviewDatafeedRequest
- type MLPutCalendar
- func (f MLPutCalendar) WithBody(v io.Reader) func(*MLPutCalendarRequest)
- func (f MLPutCalendar) WithContext(v context.Context) func(*MLPutCalendarRequest)
- func (f MLPutCalendar) WithErrorTrace() func(*MLPutCalendarRequest)
- func (f MLPutCalendar) WithFilterPath(v ...string) func(*MLPutCalendarRequest)
- func (f MLPutCalendar) WithHeader(h map[string]string) func(*MLPutCalendarRequest)
- func (f MLPutCalendar) WithHuman() func(*MLPutCalendarRequest)
- func (f MLPutCalendar) WithOpaqueID(s string) func(*MLPutCalendarRequest)
- func (f MLPutCalendar) WithPretty() func(*MLPutCalendarRequest)
- type MLPutCalendarJob
- func (f MLPutCalendarJob) WithContext(v context.Context) func(*MLPutCalendarJobRequest)
- func (f MLPutCalendarJob) WithErrorTrace() func(*MLPutCalendarJobRequest)
- func (f MLPutCalendarJob) WithFilterPath(v ...string) func(*MLPutCalendarJobRequest)
- func (f MLPutCalendarJob) WithHeader(h map[string]string) func(*MLPutCalendarJobRequest)
- func (f MLPutCalendarJob) WithHuman() func(*MLPutCalendarJobRequest)
- func (f MLPutCalendarJob) WithOpaqueID(s string) func(*MLPutCalendarJobRequest)
- func (f MLPutCalendarJob) WithPretty() func(*MLPutCalendarJobRequest)
- type MLPutCalendarJobRequest
- type MLPutCalendarRequest
- type MLPutDataFrameAnalytics
- func (f MLPutDataFrameAnalytics) WithContext(v context.Context) func(*MLPutDataFrameAnalyticsRequest)
- func (f MLPutDataFrameAnalytics) WithErrorTrace() func(*MLPutDataFrameAnalyticsRequest)
- func (f MLPutDataFrameAnalytics) WithFilterPath(v ...string) func(*MLPutDataFrameAnalyticsRequest)
- func (f MLPutDataFrameAnalytics) WithHeader(h map[string]string) func(*MLPutDataFrameAnalyticsRequest)
- func (f MLPutDataFrameAnalytics) WithHuman() func(*MLPutDataFrameAnalyticsRequest)
- func (f MLPutDataFrameAnalytics) WithOpaqueID(s string) func(*MLPutDataFrameAnalyticsRequest)
- func (f MLPutDataFrameAnalytics) WithPretty() func(*MLPutDataFrameAnalyticsRequest)
- type MLPutDataFrameAnalyticsRequest
- type MLPutDatafeed
- func (f MLPutDatafeed) WithAllowNoIndices(v bool) func(*MLPutDatafeedRequest)
- func (f MLPutDatafeed) WithContext(v context.Context) func(*MLPutDatafeedRequest)
- func (f MLPutDatafeed) WithErrorTrace() func(*MLPutDatafeedRequest)
- func (f MLPutDatafeed) WithExpandWildcards(v string) func(*MLPutDatafeedRequest)
- func (f MLPutDatafeed) WithFilterPath(v ...string) func(*MLPutDatafeedRequest)
- func (f MLPutDatafeed) WithHeader(h map[string]string) func(*MLPutDatafeedRequest)
- func (f MLPutDatafeed) WithHuman() func(*MLPutDatafeedRequest)
- func (f MLPutDatafeed) WithIgnoreThrottled(v bool) func(*MLPutDatafeedRequest)
- func (f MLPutDatafeed) WithIgnoreUnavailable(v bool) func(*MLPutDatafeedRequest)
- func (f MLPutDatafeed) WithOpaqueID(s string) func(*MLPutDatafeedRequest)
- func (f MLPutDatafeed) WithPretty() func(*MLPutDatafeedRequest)
- type MLPutDatafeedRequest
- type MLPutFilter
- func (f MLPutFilter) WithContext(v context.Context) func(*MLPutFilterRequest)
- func (f MLPutFilter) WithErrorTrace() func(*MLPutFilterRequest)
- func (f MLPutFilter) WithFilterPath(v ...string) func(*MLPutFilterRequest)
- func (f MLPutFilter) WithHeader(h map[string]string) func(*MLPutFilterRequest)
- func (f MLPutFilter) WithHuman() func(*MLPutFilterRequest)
- func (f MLPutFilter) WithOpaqueID(s string) func(*MLPutFilterRequest)
- func (f MLPutFilter) WithPretty() func(*MLPutFilterRequest)
- type MLPutFilterRequest
- type MLPutJob
- func (f MLPutJob) WithAllowNoIndices(v bool) func(*MLPutJobRequest)
- func (f MLPutJob) WithContext(v context.Context) func(*MLPutJobRequest)
- func (f MLPutJob) WithErrorTrace() func(*MLPutJobRequest)
- func (f MLPutJob) WithExpandWildcards(v string) func(*MLPutJobRequest)
- func (f MLPutJob) WithFilterPath(v ...string) func(*MLPutJobRequest)
- func (f MLPutJob) WithHeader(h map[string]string) func(*MLPutJobRequest)
- func (f MLPutJob) WithHuman() func(*MLPutJobRequest)
- func (f MLPutJob) WithIgnoreThrottled(v bool) func(*MLPutJobRequest)
- func (f MLPutJob) WithIgnoreUnavailable(v bool) func(*MLPutJobRequest)
- func (f MLPutJob) WithOpaqueID(s string) func(*MLPutJobRequest)
- func (f MLPutJob) WithPretty() func(*MLPutJobRequest)
- type MLPutJobRequest
- type MLPutTrainedModel
- func (f MLPutTrainedModel) WithContext(v context.Context) func(*MLPutTrainedModelRequest)
- func (f MLPutTrainedModel) WithDeferDefinitionDecompression(v bool) func(*MLPutTrainedModelRequest)
- func (f MLPutTrainedModel) WithErrorTrace() func(*MLPutTrainedModelRequest)
- func (f MLPutTrainedModel) WithFilterPath(v ...string) func(*MLPutTrainedModelRequest)
- func (f MLPutTrainedModel) WithHeader(h map[string]string) func(*MLPutTrainedModelRequest)
- func (f MLPutTrainedModel) WithHuman() func(*MLPutTrainedModelRequest)
- func (f MLPutTrainedModel) WithOpaqueID(s string) func(*MLPutTrainedModelRequest)
- func (f MLPutTrainedModel) WithPretty() func(*MLPutTrainedModelRequest)
- type MLPutTrainedModelAlias
- func (f MLPutTrainedModelAlias) WithContext(v context.Context) func(*MLPutTrainedModelAliasRequest)
- func (f MLPutTrainedModelAlias) WithErrorTrace() func(*MLPutTrainedModelAliasRequest)
- func (f MLPutTrainedModelAlias) WithFilterPath(v ...string) func(*MLPutTrainedModelAliasRequest)
- func (f MLPutTrainedModelAlias) WithHeader(h map[string]string) func(*MLPutTrainedModelAliasRequest)
- func (f MLPutTrainedModelAlias) WithHuman() func(*MLPutTrainedModelAliasRequest)
- func (f MLPutTrainedModelAlias) WithOpaqueID(s string) func(*MLPutTrainedModelAliasRequest)
- func (f MLPutTrainedModelAlias) WithPretty() func(*MLPutTrainedModelAliasRequest)
- func (f MLPutTrainedModelAlias) WithReassign(v bool) func(*MLPutTrainedModelAliasRequest)
- type MLPutTrainedModelAliasRequest
- type MLPutTrainedModelRequest
- type MLResetJob
- func (f MLResetJob) WithContext(v context.Context) func(*MLResetJobRequest)
- func (f MLResetJob) WithErrorTrace() func(*MLResetJobRequest)
- func (f MLResetJob) WithFilterPath(v ...string) func(*MLResetJobRequest)
- func (f MLResetJob) WithHeader(h map[string]string) func(*MLResetJobRequest)
- func (f MLResetJob) WithHuman() func(*MLResetJobRequest)
- func (f MLResetJob) WithOpaqueID(s string) func(*MLResetJobRequest)
- func (f MLResetJob) WithPretty() func(*MLResetJobRequest)
- func (f MLResetJob) WithWaitForCompletion(v bool) func(*MLResetJobRequest)
- type MLResetJobRequest
- type MLRevertModelSnapshot
- func (f MLRevertModelSnapshot) WithBody(v io.Reader) func(*MLRevertModelSnapshotRequest)
- func (f MLRevertModelSnapshot) WithContext(v context.Context) func(*MLRevertModelSnapshotRequest)
- func (f MLRevertModelSnapshot) WithDeleteInterveningResults(v bool) func(*MLRevertModelSnapshotRequest)
- func (f MLRevertModelSnapshot) WithErrorTrace() func(*MLRevertModelSnapshotRequest)
- func (f MLRevertModelSnapshot) WithFilterPath(v ...string) func(*MLRevertModelSnapshotRequest)
- func (f MLRevertModelSnapshot) WithHeader(h map[string]string) func(*MLRevertModelSnapshotRequest)
- func (f MLRevertModelSnapshot) WithHuman() func(*MLRevertModelSnapshotRequest)
- func (f MLRevertModelSnapshot) WithOpaqueID(s string) func(*MLRevertModelSnapshotRequest)
- func (f MLRevertModelSnapshot) WithPretty() func(*MLRevertModelSnapshotRequest)
- type MLRevertModelSnapshotRequest
- type MLSetUpgradeMode
- func (f MLSetUpgradeMode) WithContext(v context.Context) func(*MLSetUpgradeModeRequest)
- func (f MLSetUpgradeMode) WithEnabled(v bool) func(*MLSetUpgradeModeRequest)
- func (f MLSetUpgradeMode) WithErrorTrace() func(*MLSetUpgradeModeRequest)
- func (f MLSetUpgradeMode) WithFilterPath(v ...string) func(*MLSetUpgradeModeRequest)
- func (f MLSetUpgradeMode) WithHeader(h map[string]string) func(*MLSetUpgradeModeRequest)
- func (f MLSetUpgradeMode) WithHuman() func(*MLSetUpgradeModeRequest)
- func (f MLSetUpgradeMode) WithOpaqueID(s string) func(*MLSetUpgradeModeRequest)
- func (f MLSetUpgradeMode) WithPretty() func(*MLSetUpgradeModeRequest)
- func (f MLSetUpgradeMode) WithTimeout(v time.Duration) func(*MLSetUpgradeModeRequest)
- type MLSetUpgradeModeRequest
- type MLStartDataFrameAnalytics
- func (f MLStartDataFrameAnalytics) WithBody(v io.Reader) func(*MLStartDataFrameAnalyticsRequest)
- func (f MLStartDataFrameAnalytics) WithContext(v context.Context) func(*MLStartDataFrameAnalyticsRequest)
- func (f MLStartDataFrameAnalytics) WithErrorTrace() func(*MLStartDataFrameAnalyticsRequest)
- func (f MLStartDataFrameAnalytics) WithFilterPath(v ...string) func(*MLStartDataFrameAnalyticsRequest)
- func (f MLStartDataFrameAnalytics) WithHeader(h map[string]string) func(*MLStartDataFrameAnalyticsRequest)
- func (f MLStartDataFrameAnalytics) WithHuman() func(*MLStartDataFrameAnalyticsRequest)
- func (f MLStartDataFrameAnalytics) WithOpaqueID(s string) func(*MLStartDataFrameAnalyticsRequest)
- func (f MLStartDataFrameAnalytics) WithPretty() func(*MLStartDataFrameAnalyticsRequest)
- func (f MLStartDataFrameAnalytics) WithTimeout(v time.Duration) func(*MLStartDataFrameAnalyticsRequest)
- type MLStartDataFrameAnalyticsRequest
- type MLStartDatafeed
- func (f MLStartDatafeed) WithBody(v io.Reader) func(*MLStartDatafeedRequest)
- func (f MLStartDatafeed) WithContext(v context.Context) func(*MLStartDatafeedRequest)
- func (f MLStartDatafeed) WithEnd(v string) func(*MLStartDatafeedRequest)
- func (f MLStartDatafeed) WithErrorTrace() func(*MLStartDatafeedRequest)
- func (f MLStartDatafeed) WithFilterPath(v ...string) func(*MLStartDatafeedRequest)
- func (f MLStartDatafeed) WithHeader(h map[string]string) func(*MLStartDatafeedRequest)
- func (f MLStartDatafeed) WithHuman() func(*MLStartDatafeedRequest)
- func (f MLStartDatafeed) WithOpaqueID(s string) func(*MLStartDatafeedRequest)
- func (f MLStartDatafeed) WithPretty() func(*MLStartDatafeedRequest)
- func (f MLStartDatafeed) WithStart(v string) func(*MLStartDatafeedRequest)
- func (f MLStartDatafeed) WithTimeout(v time.Duration) func(*MLStartDatafeedRequest)
- type MLStartDatafeedRequest
- type MLStopDataFrameAnalytics
- func (f MLStopDataFrameAnalytics) WithAllowNoMatch(v bool) func(*MLStopDataFrameAnalyticsRequest)
- func (f MLStopDataFrameAnalytics) WithBody(v io.Reader) func(*MLStopDataFrameAnalyticsRequest)
- func (f MLStopDataFrameAnalytics) WithContext(v context.Context) func(*MLStopDataFrameAnalyticsRequest)
- func (f MLStopDataFrameAnalytics) WithErrorTrace() func(*MLStopDataFrameAnalyticsRequest)
- func (f MLStopDataFrameAnalytics) WithFilterPath(v ...string) func(*MLStopDataFrameAnalyticsRequest)
- func (f MLStopDataFrameAnalytics) WithForce(v bool) func(*MLStopDataFrameAnalyticsRequest)
- func (f MLStopDataFrameAnalytics) WithHeader(h map[string]string) func(*MLStopDataFrameAnalyticsRequest)
- func (f MLStopDataFrameAnalytics) WithHuman() func(*MLStopDataFrameAnalyticsRequest)
- func (f MLStopDataFrameAnalytics) WithOpaqueID(s string) func(*MLStopDataFrameAnalyticsRequest)
- func (f MLStopDataFrameAnalytics) WithPretty() func(*MLStopDataFrameAnalyticsRequest)
- func (f MLStopDataFrameAnalytics) WithTimeout(v time.Duration) func(*MLStopDataFrameAnalyticsRequest)
- type MLStopDataFrameAnalyticsRequest
- type MLStopDatafeed
- func (f MLStopDatafeed) WithAllowNoDatafeeds(v bool) func(*MLStopDatafeedRequest)
- func (f MLStopDatafeed) WithAllowNoMatch(v bool) func(*MLStopDatafeedRequest)
- func (f MLStopDatafeed) WithBody(v io.Reader) func(*MLStopDatafeedRequest)
- func (f MLStopDatafeed) WithContext(v context.Context) func(*MLStopDatafeedRequest)
- func (f MLStopDatafeed) WithErrorTrace() func(*MLStopDatafeedRequest)
- func (f MLStopDatafeed) WithFilterPath(v ...string) func(*MLStopDatafeedRequest)
- func (f MLStopDatafeed) WithForce(v bool) func(*MLStopDatafeedRequest)
- func (f MLStopDatafeed) WithHeader(h map[string]string) func(*MLStopDatafeedRequest)
- func (f MLStopDatafeed) WithHuman() func(*MLStopDatafeedRequest)
- func (f MLStopDatafeed) WithOpaqueID(s string) func(*MLStopDatafeedRequest)
- func (f MLStopDatafeed) WithPretty() func(*MLStopDatafeedRequest)
- func (f MLStopDatafeed) WithTimeout(v time.Duration) func(*MLStopDatafeedRequest)
- type MLStopDatafeedRequest
- type MLUpdateDataFrameAnalytics
- func (f MLUpdateDataFrameAnalytics) WithContext(v context.Context) func(*MLUpdateDataFrameAnalyticsRequest)
- func (f MLUpdateDataFrameAnalytics) WithErrorTrace() func(*MLUpdateDataFrameAnalyticsRequest)
- func (f MLUpdateDataFrameAnalytics) WithFilterPath(v ...string) func(*MLUpdateDataFrameAnalyticsRequest)
- func (f MLUpdateDataFrameAnalytics) WithHeader(h map[string]string) func(*MLUpdateDataFrameAnalyticsRequest)
- func (f MLUpdateDataFrameAnalytics) WithHuman() func(*MLUpdateDataFrameAnalyticsRequest)
- func (f MLUpdateDataFrameAnalytics) WithOpaqueID(s string) func(*MLUpdateDataFrameAnalyticsRequest)
- func (f MLUpdateDataFrameAnalytics) WithPretty() func(*MLUpdateDataFrameAnalyticsRequest)
- type MLUpdateDataFrameAnalyticsRequest
- type MLUpdateDatafeed
- func (f MLUpdateDatafeed) WithAllowNoIndices(v bool) func(*MLUpdateDatafeedRequest)
- func (f MLUpdateDatafeed) WithContext(v context.Context) func(*MLUpdateDatafeedRequest)
- func (f MLUpdateDatafeed) WithErrorTrace() func(*MLUpdateDatafeedRequest)
- func (f MLUpdateDatafeed) WithExpandWildcards(v string) func(*MLUpdateDatafeedRequest)
- func (f MLUpdateDatafeed) WithFilterPath(v ...string) func(*MLUpdateDatafeedRequest)
- func (f MLUpdateDatafeed) WithHeader(h map[string]string) func(*MLUpdateDatafeedRequest)
- func (f MLUpdateDatafeed) WithHuman() func(*MLUpdateDatafeedRequest)
- func (f MLUpdateDatafeed) WithIgnoreThrottled(v bool) func(*MLUpdateDatafeedRequest)
- func (f MLUpdateDatafeed) WithIgnoreUnavailable(v bool) func(*MLUpdateDatafeedRequest)
- func (f MLUpdateDatafeed) WithOpaqueID(s string) func(*MLUpdateDatafeedRequest)
- func (f MLUpdateDatafeed) WithPretty() func(*MLUpdateDatafeedRequest)
- type MLUpdateDatafeedRequest
- type MLUpdateFilter
- func (f MLUpdateFilter) WithContext(v context.Context) func(*MLUpdateFilterRequest)
- func (f MLUpdateFilter) WithErrorTrace() func(*MLUpdateFilterRequest)
- func (f MLUpdateFilter) WithFilterPath(v ...string) func(*MLUpdateFilterRequest)
- func (f MLUpdateFilter) WithHeader(h map[string]string) func(*MLUpdateFilterRequest)
- func (f MLUpdateFilter) WithHuman() func(*MLUpdateFilterRequest)
- func (f MLUpdateFilter) WithOpaqueID(s string) func(*MLUpdateFilterRequest)
- func (f MLUpdateFilter) WithPretty() func(*MLUpdateFilterRequest)
- type MLUpdateFilterRequest
- type MLUpdateJob
- func (f MLUpdateJob) WithContext(v context.Context) func(*MLUpdateJobRequest)
- func (f MLUpdateJob) WithErrorTrace() func(*MLUpdateJobRequest)
- func (f MLUpdateJob) WithFilterPath(v ...string) func(*MLUpdateJobRequest)
- func (f MLUpdateJob) WithHeader(h map[string]string) func(*MLUpdateJobRequest)
- func (f MLUpdateJob) WithHuman() func(*MLUpdateJobRequest)
- func (f MLUpdateJob) WithOpaqueID(s string) func(*MLUpdateJobRequest)
- func (f MLUpdateJob) WithPretty() func(*MLUpdateJobRequest)
- type MLUpdateJobRequest
- type MLUpdateModelSnapshot
- func (f MLUpdateModelSnapshot) WithContext(v context.Context) func(*MLUpdateModelSnapshotRequest)
- func (f MLUpdateModelSnapshot) WithErrorTrace() func(*MLUpdateModelSnapshotRequest)
- func (f MLUpdateModelSnapshot) WithFilterPath(v ...string) func(*MLUpdateModelSnapshotRequest)
- func (f MLUpdateModelSnapshot) WithHeader(h map[string]string) func(*MLUpdateModelSnapshotRequest)
- func (f MLUpdateModelSnapshot) WithHuman() func(*MLUpdateModelSnapshotRequest)
- func (f MLUpdateModelSnapshot) WithOpaqueID(s string) func(*MLUpdateModelSnapshotRequest)
- func (f MLUpdateModelSnapshot) WithPretty() func(*MLUpdateModelSnapshotRequest)
- type MLUpdateModelSnapshotRequest
- type MLUpgradeJobSnapshot
- func (f MLUpgradeJobSnapshot) WithContext(v context.Context) func(*MLUpgradeJobSnapshotRequest)
- func (f MLUpgradeJobSnapshot) WithErrorTrace() func(*MLUpgradeJobSnapshotRequest)
- func (f MLUpgradeJobSnapshot) WithFilterPath(v ...string) func(*MLUpgradeJobSnapshotRequest)
- func (f MLUpgradeJobSnapshot) WithHeader(h map[string]string) func(*MLUpgradeJobSnapshotRequest)
- func (f MLUpgradeJobSnapshot) WithHuman() func(*MLUpgradeJobSnapshotRequest)
- func (f MLUpgradeJobSnapshot) WithOpaqueID(s string) func(*MLUpgradeJobSnapshotRequest)
- func (f MLUpgradeJobSnapshot) WithPretty() func(*MLUpgradeJobSnapshotRequest)
- func (f MLUpgradeJobSnapshot) WithTimeout(v time.Duration) func(*MLUpgradeJobSnapshotRequest)
- func (f MLUpgradeJobSnapshot) WithWaitForCompletion(v bool) func(*MLUpgradeJobSnapshotRequest)
- type MLUpgradeJobSnapshotRequest
- type MLValidate
- func (f MLValidate) WithContext(v context.Context) func(*MLValidateRequest)
- func (f MLValidate) WithErrorTrace() func(*MLValidateRequest)
- func (f MLValidate) WithFilterPath(v ...string) func(*MLValidateRequest)
- func (f MLValidate) WithHeader(h map[string]string) func(*MLValidateRequest)
- func (f MLValidate) WithHuman() func(*MLValidateRequest)
- func (f MLValidate) WithOpaqueID(s string) func(*MLValidateRequest)
- func (f MLValidate) WithPretty() func(*MLValidateRequest)
- type MLValidateDetector
- func (f MLValidateDetector) WithContext(v context.Context) func(*MLValidateDetectorRequest)
- func (f MLValidateDetector) WithErrorTrace() func(*MLValidateDetectorRequest)
- func (f MLValidateDetector) WithFilterPath(v ...string) func(*MLValidateDetectorRequest)
- func (f MLValidateDetector) WithHeader(h map[string]string) func(*MLValidateDetectorRequest)
- func (f MLValidateDetector) WithHuman() func(*MLValidateDetectorRequest)
- func (f MLValidateDetector) WithOpaqueID(s string) func(*MLValidateDetectorRequest)
- func (f MLValidateDetector) WithPretty() func(*MLValidateDetectorRequest)
- type MLValidateDetectorRequest
- type MLValidateRequest
- type Mget
- func (f Mget) WithContext(v context.Context) func(*MgetRequest)
- func (f Mget) WithDocumentType(v string) func(*MgetRequest)
- func (f Mget) WithErrorTrace() func(*MgetRequest)
- func (f Mget) WithFilterPath(v ...string) func(*MgetRequest)
- func (f Mget) WithHeader(h map[string]string) func(*MgetRequest)
- func (f Mget) WithHuman() func(*MgetRequest)
- func (f Mget) WithIndex(v string) func(*MgetRequest)
- func (f Mget) WithOpaqueID(s string) func(*MgetRequest)
- func (f Mget) WithPreference(v string) func(*MgetRequest)
- func (f Mget) WithPretty() func(*MgetRequest)
- func (f Mget) WithRealtime(v bool) func(*MgetRequest)
- func (f Mget) WithRefresh(v bool) func(*MgetRequest)
- func (f Mget) WithRouting(v string) func(*MgetRequest)
- func (f Mget) WithSource(v ...string) func(*MgetRequest)
- func (f Mget) WithSourceExcludes(v ...string) func(*MgetRequest)
- func (f Mget) WithSourceIncludes(v ...string) func(*MgetRequest)
- func (f Mget) WithStoredFields(v ...string) func(*MgetRequest)
- type MgetRequest
- type Migration
- type MigrationDeprecations
- func (f MigrationDeprecations) WithContext(v context.Context) func(*MigrationDeprecationsRequest)
- func (f MigrationDeprecations) WithErrorTrace() func(*MigrationDeprecationsRequest)
- func (f MigrationDeprecations) WithFilterPath(v ...string) func(*MigrationDeprecationsRequest)
- func (f MigrationDeprecations) WithHeader(h map[string]string) func(*MigrationDeprecationsRequest)
- func (f MigrationDeprecations) WithHuman() func(*MigrationDeprecationsRequest)
- func (f MigrationDeprecations) WithIndex(v string) func(*MigrationDeprecationsRequest)
- func (f MigrationDeprecations) WithOpaqueID(s string) func(*MigrationDeprecationsRequest)
- func (f MigrationDeprecations) WithPretty() func(*MigrationDeprecationsRequest)
- type MigrationDeprecationsRequest
- type MigrationGetFeatureUpgradeStatus
- func (f MigrationGetFeatureUpgradeStatus) WithContext(v context.Context) func(*MigrationGetFeatureUpgradeStatusRequest)
- func (f MigrationGetFeatureUpgradeStatus) WithErrorTrace() func(*MigrationGetFeatureUpgradeStatusRequest)
- func (f MigrationGetFeatureUpgradeStatus) WithFilterPath(v ...string) func(*MigrationGetFeatureUpgradeStatusRequest)
- func (f MigrationGetFeatureUpgradeStatus) WithHeader(h map[string]string) func(*MigrationGetFeatureUpgradeStatusRequest)
- func (f MigrationGetFeatureUpgradeStatus) WithHuman() func(*MigrationGetFeatureUpgradeStatusRequest)
- func (f MigrationGetFeatureUpgradeStatus) WithOpaqueID(s string) func(*MigrationGetFeatureUpgradeStatusRequest)
- func (f MigrationGetFeatureUpgradeStatus) WithPretty() func(*MigrationGetFeatureUpgradeStatusRequest)
- type MigrationGetFeatureUpgradeStatusRequest
- type MigrationPostFeatureUpgrade
- func (f MigrationPostFeatureUpgrade) WithContext(v context.Context) func(*MigrationPostFeatureUpgradeRequest)
- func (f MigrationPostFeatureUpgrade) WithErrorTrace() func(*MigrationPostFeatureUpgradeRequest)
- func (f MigrationPostFeatureUpgrade) WithFilterPath(v ...string) func(*MigrationPostFeatureUpgradeRequest)
- func (f MigrationPostFeatureUpgrade) WithHeader(h map[string]string) func(*MigrationPostFeatureUpgradeRequest)
- func (f MigrationPostFeatureUpgrade) WithHuman() func(*MigrationPostFeatureUpgradeRequest)
- func (f MigrationPostFeatureUpgrade) WithOpaqueID(s string) func(*MigrationPostFeatureUpgradeRequest)
- func (f MigrationPostFeatureUpgrade) WithPretty() func(*MigrationPostFeatureUpgradeRequest)
- type MigrationPostFeatureUpgradeRequest
- type Monitoring
- type MonitoringBulk
- func (f MonitoringBulk) WithContext(v context.Context) func(*MonitoringBulkRequest)
- func (f MonitoringBulk) WithDocumentType(v string) func(*MonitoringBulkRequest)
- func (f MonitoringBulk) WithErrorTrace() func(*MonitoringBulkRequest)
- func (f MonitoringBulk) WithFilterPath(v ...string) func(*MonitoringBulkRequest)
- func (f MonitoringBulk) WithHeader(h map[string]string) func(*MonitoringBulkRequest)
- func (f MonitoringBulk) WithHuman() func(*MonitoringBulkRequest)
- func (f MonitoringBulk) WithInterval(v string) func(*MonitoringBulkRequest)
- func (f MonitoringBulk) WithOpaqueID(s string) func(*MonitoringBulkRequest)
- func (f MonitoringBulk) WithPretty() func(*MonitoringBulkRequest)
- func (f MonitoringBulk) WithSystemAPIVersion(v string) func(*MonitoringBulkRequest)
- func (f MonitoringBulk) WithSystemID(v string) func(*MonitoringBulkRequest)
- type MonitoringBulkRequest
- type Msearch
- func (f Msearch) WithCcsMinimizeRoundtrips(v bool) func(*MsearchRequest)
- func (f Msearch) WithContext(v context.Context) func(*MsearchRequest)
- func (f Msearch) WithDocumentType(v ...string) func(*MsearchRequest)
- func (f Msearch) WithErrorTrace() func(*MsearchRequest)
- func (f Msearch) WithFilterPath(v ...string) func(*MsearchRequest)
- func (f Msearch) WithHeader(h map[string]string) func(*MsearchRequest)
- func (f Msearch) WithHuman() func(*MsearchRequest)
- func (f Msearch) WithIndex(v ...string) func(*MsearchRequest)
- func (f Msearch) WithMaxConcurrentSearches(v int) func(*MsearchRequest)
- func (f Msearch) WithMaxConcurrentShardRequests(v int) func(*MsearchRequest)
- func (f Msearch) WithOpaqueID(s string) func(*MsearchRequest)
- func (f Msearch) WithPreFilterShardSize(v int) func(*MsearchRequest)
- func (f Msearch) WithPretty() func(*MsearchRequest)
- func (f Msearch) WithRestTotalHitsAsInt(v bool) func(*MsearchRequest)
- func (f Msearch) WithSearchType(v string) func(*MsearchRequest)
- func (f Msearch) WithTypedKeys(v bool) func(*MsearchRequest)
- type MsearchRequest
- type MsearchTemplate
- func (f MsearchTemplate) WithCcsMinimizeRoundtrips(v bool) func(*MsearchTemplateRequest)
- func (f MsearchTemplate) WithContext(v context.Context) func(*MsearchTemplateRequest)
- func (f MsearchTemplate) WithDocumentType(v ...string) func(*MsearchTemplateRequest)
- func (f MsearchTemplate) WithErrorTrace() func(*MsearchTemplateRequest)
- func (f MsearchTemplate) WithFilterPath(v ...string) func(*MsearchTemplateRequest)
- func (f MsearchTemplate) WithHeader(h map[string]string) func(*MsearchTemplateRequest)
- func (f MsearchTemplate) WithHuman() func(*MsearchTemplateRequest)
- func (f MsearchTemplate) WithIndex(v ...string) func(*MsearchTemplateRequest)
- func (f MsearchTemplate) WithMaxConcurrentSearches(v int) func(*MsearchTemplateRequest)
- func (f MsearchTemplate) WithOpaqueID(s string) func(*MsearchTemplateRequest)
- func (f MsearchTemplate) WithPretty() func(*MsearchTemplateRequest)
- func (f MsearchTemplate) WithRestTotalHitsAsInt(v bool) func(*MsearchTemplateRequest)
- func (f MsearchTemplate) WithSearchType(v string) func(*MsearchTemplateRequest)
- func (f MsearchTemplate) WithTypedKeys(v bool) func(*MsearchTemplateRequest)
- type MsearchTemplateRequest
- type Mtermvectors
- func (f Mtermvectors) WithBody(v io.Reader) func(*MtermvectorsRequest)
- func (f Mtermvectors) WithContext(v context.Context) func(*MtermvectorsRequest)
- func (f Mtermvectors) WithDocumentType(v string) func(*MtermvectorsRequest)
- func (f Mtermvectors) WithErrorTrace() func(*MtermvectorsRequest)
- func (f Mtermvectors) WithFieldStatistics(v bool) func(*MtermvectorsRequest)
- func (f Mtermvectors) WithFields(v ...string) func(*MtermvectorsRequest)
- func (f Mtermvectors) WithFilterPath(v ...string) func(*MtermvectorsRequest)
- func (f Mtermvectors) WithHeader(h map[string]string) func(*MtermvectorsRequest)
- func (f Mtermvectors) WithHuman() func(*MtermvectorsRequest)
- func (f Mtermvectors) WithIds(v ...string) func(*MtermvectorsRequest)
- func (f Mtermvectors) WithIndex(v string) func(*MtermvectorsRequest)
- func (f Mtermvectors) WithOffsets(v bool) func(*MtermvectorsRequest)
- func (f Mtermvectors) WithOpaqueID(s string) func(*MtermvectorsRequest)
- func (f Mtermvectors) WithPayloads(v bool) func(*MtermvectorsRequest)
- func (f Mtermvectors) WithPositions(v bool) func(*MtermvectorsRequest)
- func (f Mtermvectors) WithPreference(v string) func(*MtermvectorsRequest)
- func (f Mtermvectors) WithPretty() func(*MtermvectorsRequest)
- func (f Mtermvectors) WithRealtime(v bool) func(*MtermvectorsRequest)
- func (f Mtermvectors) WithRouting(v string) func(*MtermvectorsRequest)
- func (f Mtermvectors) WithTermStatistics(v bool) func(*MtermvectorsRequest)
- func (f Mtermvectors) WithVersion(v int) func(*MtermvectorsRequest)
- func (f Mtermvectors) WithVersionType(v string) func(*MtermvectorsRequest)
- type MtermvectorsRequest
- type Nodes
- type NodesClearMeteringArchive
- func (f NodesClearMeteringArchive) WithContext(v context.Context) func(*NodesClearMeteringArchiveRequest)
- func (f NodesClearMeteringArchive) WithErrorTrace() func(*NodesClearMeteringArchiveRequest)
- func (f NodesClearMeteringArchive) WithFilterPath(v ...string) func(*NodesClearMeteringArchiveRequest)
- func (f NodesClearMeteringArchive) WithHeader(h map[string]string) func(*NodesClearMeteringArchiveRequest)
- func (f NodesClearMeteringArchive) WithHuman() func(*NodesClearMeteringArchiveRequest)
- func (f NodesClearMeteringArchive) WithOpaqueID(s string) func(*NodesClearMeteringArchiveRequest)
- func (f NodesClearMeteringArchive) WithPretty() func(*NodesClearMeteringArchiveRequest)
- type NodesClearMeteringArchiveRequest
- type NodesClearRepositoriesMeteringArchive
- func (f NodesClearRepositoriesMeteringArchive) WithContext(v context.Context) func(*NodesClearRepositoriesMeteringArchiveRequest)
- func (f NodesClearRepositoriesMeteringArchive) WithErrorTrace() func(*NodesClearRepositoriesMeteringArchiveRequest)
- func (f NodesClearRepositoriesMeteringArchive) WithFilterPath(v ...string) func(*NodesClearRepositoriesMeteringArchiveRequest)
- func (f NodesClearRepositoriesMeteringArchive) WithHeader(h map[string]string) func(*NodesClearRepositoriesMeteringArchiveRequest)
- func (f NodesClearRepositoriesMeteringArchive) WithHuman() func(*NodesClearRepositoriesMeteringArchiveRequest)
- func (f NodesClearRepositoriesMeteringArchive) WithOpaqueID(s string) func(*NodesClearRepositoriesMeteringArchiveRequest)
- func (f NodesClearRepositoriesMeteringArchive) WithPretty() func(*NodesClearRepositoriesMeteringArchiveRequest)
- type NodesClearRepositoriesMeteringArchiveRequest
- type NodesGetMeteringInfo
- func (f NodesGetMeteringInfo) WithContext(v context.Context) func(*NodesGetMeteringInfoRequest)
- func (f NodesGetMeteringInfo) WithErrorTrace() func(*NodesGetMeteringInfoRequest)
- func (f NodesGetMeteringInfo) WithFilterPath(v ...string) func(*NodesGetMeteringInfoRequest)
- func (f NodesGetMeteringInfo) WithHeader(h map[string]string) func(*NodesGetMeteringInfoRequest)
- func (f NodesGetMeteringInfo) WithHuman() func(*NodesGetMeteringInfoRequest)
- func (f NodesGetMeteringInfo) WithOpaqueID(s string) func(*NodesGetMeteringInfoRequest)
- func (f NodesGetMeteringInfo) WithPretty() func(*NodesGetMeteringInfoRequest)
- type NodesGetMeteringInfoRequest
- type NodesGetRepositoriesMeteringInfo
- func (f NodesGetRepositoriesMeteringInfo) WithContext(v context.Context) func(*NodesGetRepositoriesMeteringInfoRequest)
- func (f NodesGetRepositoriesMeteringInfo) WithErrorTrace() func(*NodesGetRepositoriesMeteringInfoRequest)
- func (f NodesGetRepositoriesMeteringInfo) WithFilterPath(v ...string) func(*NodesGetRepositoriesMeteringInfoRequest)
- func (f NodesGetRepositoriesMeteringInfo) WithHeader(h map[string]string) func(*NodesGetRepositoriesMeteringInfoRequest)
- func (f NodesGetRepositoriesMeteringInfo) WithHuman() func(*NodesGetRepositoriesMeteringInfoRequest)
- func (f NodesGetRepositoriesMeteringInfo) WithOpaqueID(s string) func(*NodesGetRepositoriesMeteringInfoRequest)
- func (f NodesGetRepositoriesMeteringInfo) WithPretty() func(*NodesGetRepositoriesMeteringInfoRequest)
- type NodesGetRepositoriesMeteringInfoRequest
- type NodesHotThreads
- func (f NodesHotThreads) WithContext(v context.Context) func(*NodesHotThreadsRequest)
- func (f NodesHotThreads) WithDocumentType(v string) func(*NodesHotThreadsRequest)
- func (f NodesHotThreads) WithErrorTrace() func(*NodesHotThreadsRequest)
- func (f NodesHotThreads) WithFilterPath(v ...string) func(*NodesHotThreadsRequest)
- func (f NodesHotThreads) WithHeader(h map[string]string) func(*NodesHotThreadsRequest)
- func (f NodesHotThreads) WithHuman() func(*NodesHotThreadsRequest)
- func (f NodesHotThreads) WithIgnoreIdleThreads(v bool) func(*NodesHotThreadsRequest)
- func (f NodesHotThreads) WithInterval(v time.Duration) func(*NodesHotThreadsRequest)
- func (f NodesHotThreads) WithNodeID(v ...string) func(*NodesHotThreadsRequest)
- func (f NodesHotThreads) WithOpaqueID(s string) func(*NodesHotThreadsRequest)
- func (f NodesHotThreads) WithPretty() func(*NodesHotThreadsRequest)
- func (f NodesHotThreads) WithSnapshots(v int) func(*NodesHotThreadsRequest)
- func (f NodesHotThreads) WithSort(v string) func(*NodesHotThreadsRequest)
- func (f NodesHotThreads) WithThreads(v int) func(*NodesHotThreadsRequest)
- func (f NodesHotThreads) WithTimeout(v time.Duration) func(*NodesHotThreadsRequest)
- type NodesHotThreadsRequest
- type NodesInfo
- func (f NodesInfo) WithContext(v context.Context) func(*NodesInfoRequest)
- func (f NodesInfo) WithErrorTrace() func(*NodesInfoRequest)
- func (f NodesInfo) WithFilterPath(v ...string) func(*NodesInfoRequest)
- func (f NodesInfo) WithFlatSettings(v bool) func(*NodesInfoRequest)
- func (f NodesInfo) WithHeader(h map[string]string) func(*NodesInfoRequest)
- func (f NodesInfo) WithHuman() func(*NodesInfoRequest)
- func (f NodesInfo) WithMetric(v ...string) func(*NodesInfoRequest)
- func (f NodesInfo) WithNodeID(v ...string) func(*NodesInfoRequest)
- func (f NodesInfo) WithOpaqueID(s string) func(*NodesInfoRequest)
- func (f NodesInfo) WithPretty() func(*NodesInfoRequest)
- func (f NodesInfo) WithTimeout(v time.Duration) func(*NodesInfoRequest)
- type NodesInfoRequest
- type NodesReloadSecureSettings
- func (f NodesReloadSecureSettings) WithBody(v io.Reader) func(*NodesReloadSecureSettingsRequest)
- func (f NodesReloadSecureSettings) WithContext(v context.Context) func(*NodesReloadSecureSettingsRequest)
- func (f NodesReloadSecureSettings) WithErrorTrace() func(*NodesReloadSecureSettingsRequest)
- func (f NodesReloadSecureSettings) WithFilterPath(v ...string) func(*NodesReloadSecureSettingsRequest)
- func (f NodesReloadSecureSettings) WithHeader(h map[string]string) func(*NodesReloadSecureSettingsRequest)
- func (f NodesReloadSecureSettings) WithHuman() func(*NodesReloadSecureSettingsRequest)
- func (f NodesReloadSecureSettings) WithNodeID(v ...string) func(*NodesReloadSecureSettingsRequest)
- func (f NodesReloadSecureSettings) WithOpaqueID(s string) func(*NodesReloadSecureSettingsRequest)
- func (f NodesReloadSecureSettings) WithPretty() func(*NodesReloadSecureSettingsRequest)
- func (f NodesReloadSecureSettings) WithTimeout(v time.Duration) func(*NodesReloadSecureSettingsRequest)
- type NodesReloadSecureSettingsRequest
- type NodesStats
- func (f NodesStats) WithCompletionFields(v ...string) func(*NodesStatsRequest)
- func (f NodesStats) WithContext(v context.Context) func(*NodesStatsRequest)
- func (f NodesStats) WithErrorTrace() func(*NodesStatsRequest)
- func (f NodesStats) WithFielddataFields(v ...string) func(*NodesStatsRequest)
- func (f NodesStats) WithFields(v ...string) func(*NodesStatsRequest)
- func (f NodesStats) WithFilterPath(v ...string) func(*NodesStatsRequest)
- func (f NodesStats) WithGroups(v bool) func(*NodesStatsRequest)
- func (f NodesStats) WithHeader(h map[string]string) func(*NodesStatsRequest)
- func (f NodesStats) WithHuman() func(*NodesStatsRequest)
- func (f NodesStats) WithIncludeSegmentFileSizes(v bool) func(*NodesStatsRequest)
- func (f NodesStats) WithIncludeUnloadedSegments(v bool) func(*NodesStatsRequest)
- func (f NodesStats) WithIndexMetric(v ...string) func(*NodesStatsRequest)
- func (f NodesStats) WithLevel(v string) func(*NodesStatsRequest)
- func (f NodesStats) WithMetric(v ...string) func(*NodesStatsRequest)
- func (f NodesStats) WithNodeID(v ...string) func(*NodesStatsRequest)
- func (f NodesStats) WithOpaqueID(s string) func(*NodesStatsRequest)
- func (f NodesStats) WithPretty() func(*NodesStatsRequest)
- func (f NodesStats) WithTimeout(v time.Duration) func(*NodesStatsRequest)
- func (f NodesStats) WithTypes(v ...string) func(*NodesStatsRequest)
- type NodesStatsRequest
- type NodesUsage
- func (f NodesUsage) WithContext(v context.Context) func(*NodesUsageRequest)
- func (f NodesUsage) WithErrorTrace() func(*NodesUsageRequest)
- func (f NodesUsage) WithFilterPath(v ...string) func(*NodesUsageRequest)
- func (f NodesUsage) WithHeader(h map[string]string) func(*NodesUsageRequest)
- func (f NodesUsage) WithHuman() func(*NodesUsageRequest)
- func (f NodesUsage) WithMetric(v ...string) func(*NodesUsageRequest)
- func (f NodesUsage) WithNodeID(v ...string) func(*NodesUsageRequest)
- func (f NodesUsage) WithOpaqueID(s string) func(*NodesUsageRequest)
- func (f NodesUsage) WithPretty() func(*NodesUsageRequest)
- func (f NodesUsage) WithTimeout(v time.Duration) func(*NodesUsageRequest)
- type NodesUsageRequest
- type OpenPointInTime
- func (f OpenPointInTime) WithContext(v context.Context) func(*OpenPointInTimeRequest)
- func (f OpenPointInTime) WithErrorTrace() func(*OpenPointInTimeRequest)
- func (f OpenPointInTime) WithExpandWildcards(v string) func(*OpenPointInTimeRequest)
- func (f OpenPointInTime) WithFilterPath(v ...string) func(*OpenPointInTimeRequest)
- func (f OpenPointInTime) WithHeader(h map[string]string) func(*OpenPointInTimeRequest)
- func (f OpenPointInTime) WithHuman() func(*OpenPointInTimeRequest)
- func (f OpenPointInTime) WithIgnoreUnavailable(v bool) func(*OpenPointInTimeRequest)
- func (f OpenPointInTime) WithKeepAlive(v string) func(*OpenPointInTimeRequest)
- func (f OpenPointInTime) WithOpaqueID(s string) func(*OpenPointInTimeRequest)
- func (f OpenPointInTime) WithPreference(v string) func(*OpenPointInTimeRequest)
- func (f OpenPointInTime) WithPretty() func(*OpenPointInTimeRequest)
- func (f OpenPointInTime) WithRouting(v string) func(*OpenPointInTimeRequest)
- type OpenPointInTimeRequest
- type Ping
- func (f Ping) WithContext(v context.Context) func(*PingRequest)
- func (f Ping) WithErrorTrace() func(*PingRequest)
- func (f Ping) WithFilterPath(v ...string) func(*PingRequest)
- func (f Ping) WithHeader(h map[string]string) func(*PingRequest)
- func (f Ping) WithHuman() func(*PingRequest)
- func (f Ping) WithOpaqueID(s string) func(*PingRequest)
- func (f Ping) WithPretty() func(*PingRequest)
- type PingRequest
- type PutScript
- func (f PutScript) WithContext(v context.Context) func(*PutScriptRequest)
- func (f PutScript) WithErrorTrace() func(*PutScriptRequest)
- func (f PutScript) WithFilterPath(v ...string) func(*PutScriptRequest)
- func (f PutScript) WithHeader(h map[string]string) func(*PutScriptRequest)
- func (f PutScript) WithHuman() func(*PutScriptRequest)
- func (f PutScript) WithMasterTimeout(v time.Duration) func(*PutScriptRequest)
- func (f PutScript) WithOpaqueID(s string) func(*PutScriptRequest)
- func (f PutScript) WithPretty() func(*PutScriptRequest)
- func (f PutScript) WithScriptContext(v string) func(*PutScriptRequest)
- func (f PutScript) WithTimeout(v time.Duration) func(*PutScriptRequest)
- type PutScriptRequest
- type RankEval
- func (f RankEval) WithAllowNoIndices(v bool) func(*RankEvalRequest)
- func (f RankEval) WithContext(v context.Context) func(*RankEvalRequest)
- func (f RankEval) WithErrorTrace() func(*RankEvalRequest)
- func (f RankEval) WithExpandWildcards(v string) func(*RankEvalRequest)
- func (f RankEval) WithFilterPath(v ...string) func(*RankEvalRequest)
- func (f RankEval) WithHeader(h map[string]string) func(*RankEvalRequest)
- func (f RankEval) WithHuman() func(*RankEvalRequest)
- func (f RankEval) WithIgnoreUnavailable(v bool) func(*RankEvalRequest)
- func (f RankEval) WithIndex(v ...string) func(*RankEvalRequest)
- func (f RankEval) WithOpaqueID(s string) func(*RankEvalRequest)
- func (f RankEval) WithPretty() func(*RankEvalRequest)
- func (f RankEval) WithSearchType(v string) func(*RankEvalRequest)
- type RankEvalRequest
- type Reindex
- func (f Reindex) WithContext(v context.Context) func(*ReindexRequest)
- func (f Reindex) WithErrorTrace() func(*ReindexRequest)
- func (f Reindex) WithFilterPath(v ...string) func(*ReindexRequest)
- func (f Reindex) WithHeader(h map[string]string) func(*ReindexRequest)
- func (f Reindex) WithHuman() func(*ReindexRequest)
- func (f Reindex) WithMaxDocs(v int) func(*ReindexRequest)
- func (f Reindex) WithOpaqueID(s string) func(*ReindexRequest)
- func (f Reindex) WithPretty() func(*ReindexRequest)
- func (f Reindex) WithRefresh(v bool) func(*ReindexRequest)
- func (f Reindex) WithRequestsPerSecond(v int) func(*ReindexRequest)
- func (f Reindex) WithScroll(v time.Duration) func(*ReindexRequest)
- func (f Reindex) WithSlices(v interface{}) func(*ReindexRequest)
- func (f Reindex) WithTimeout(v time.Duration) func(*ReindexRequest)
- func (f Reindex) WithWaitForActiveShards(v string) func(*ReindexRequest)
- func (f Reindex) WithWaitForCompletion(v bool) func(*ReindexRequest)
- type ReindexRequest
- type ReindexRethrottle
- func (f ReindexRethrottle) WithContext(v context.Context) func(*ReindexRethrottleRequest)
- func (f ReindexRethrottle) WithErrorTrace() func(*ReindexRethrottleRequest)
- func (f ReindexRethrottle) WithFilterPath(v ...string) func(*ReindexRethrottleRequest)
- func (f ReindexRethrottle) WithHeader(h map[string]string) func(*ReindexRethrottleRequest)
- func (f ReindexRethrottle) WithHuman() func(*ReindexRethrottleRequest)
- func (f ReindexRethrottle) WithOpaqueID(s string) func(*ReindexRethrottleRequest)
- func (f ReindexRethrottle) WithPretty() func(*ReindexRethrottleRequest)
- func (f ReindexRethrottle) WithRequestsPerSecond(v int) func(*ReindexRethrottleRequest)
- type ReindexRethrottleRequest
- type Remote
- type RenderSearchTemplate
- func (f RenderSearchTemplate) WithBody(v io.Reader) func(*RenderSearchTemplateRequest)
- func (f RenderSearchTemplate) WithContext(v context.Context) func(*RenderSearchTemplateRequest)
- func (f RenderSearchTemplate) WithErrorTrace() func(*RenderSearchTemplateRequest)
- func (f RenderSearchTemplate) WithFilterPath(v ...string) func(*RenderSearchTemplateRequest)
- func (f RenderSearchTemplate) WithHeader(h map[string]string) func(*RenderSearchTemplateRequest)
- func (f RenderSearchTemplate) WithHuman() func(*RenderSearchTemplateRequest)
- func (f RenderSearchTemplate) WithOpaqueID(s string) func(*RenderSearchTemplateRequest)
- func (f RenderSearchTemplate) WithPretty() func(*RenderSearchTemplateRequest)
- func (f RenderSearchTemplate) WithTemplateID(v string) func(*RenderSearchTemplateRequest)
- type RenderSearchTemplateRequest
- type Request
- type Response
- type Rollup
- type RollupDeleteJob
- func (f RollupDeleteJob) WithContext(v context.Context) func(*RollupDeleteJobRequest)
- func (f RollupDeleteJob) WithErrorTrace() func(*RollupDeleteJobRequest)
- func (f RollupDeleteJob) WithFilterPath(v ...string) func(*RollupDeleteJobRequest)
- func (f RollupDeleteJob) WithHeader(h map[string]string) func(*RollupDeleteJobRequest)
- func (f RollupDeleteJob) WithHuman() func(*RollupDeleteJobRequest)
- func (f RollupDeleteJob) WithOpaqueID(s string) func(*RollupDeleteJobRequest)
- func (f RollupDeleteJob) WithPretty() func(*RollupDeleteJobRequest)
- type RollupDeleteJobRequest
- type RollupGetJobs
- func (f RollupGetJobs) WithContext(v context.Context) func(*RollupGetJobsRequest)
- func (f RollupGetJobs) WithErrorTrace() func(*RollupGetJobsRequest)
- func (f RollupGetJobs) WithFilterPath(v ...string) func(*RollupGetJobsRequest)
- func (f RollupGetJobs) WithHeader(h map[string]string) func(*RollupGetJobsRequest)
- func (f RollupGetJobs) WithHuman() func(*RollupGetJobsRequest)
- func (f RollupGetJobs) WithJobID(v string) func(*RollupGetJobsRequest)
- func (f RollupGetJobs) WithOpaqueID(s string) func(*RollupGetJobsRequest)
- func (f RollupGetJobs) WithPretty() func(*RollupGetJobsRequest)
- type RollupGetJobsRequest
- type RollupGetRollupCaps
- func (f RollupGetRollupCaps) WithContext(v context.Context) func(*RollupGetRollupCapsRequest)
- func (f RollupGetRollupCaps) WithErrorTrace() func(*RollupGetRollupCapsRequest)
- func (f RollupGetRollupCaps) WithFilterPath(v ...string) func(*RollupGetRollupCapsRequest)
- func (f RollupGetRollupCaps) WithHeader(h map[string]string) func(*RollupGetRollupCapsRequest)
- func (f RollupGetRollupCaps) WithHuman() func(*RollupGetRollupCapsRequest)
- func (f RollupGetRollupCaps) WithIndex(v string) func(*RollupGetRollupCapsRequest)
- func (f RollupGetRollupCaps) WithOpaqueID(s string) func(*RollupGetRollupCapsRequest)
- func (f RollupGetRollupCaps) WithPretty() func(*RollupGetRollupCapsRequest)
- type RollupGetRollupCapsRequest
- type RollupGetRollupIndexCaps
- func (f RollupGetRollupIndexCaps) WithContext(v context.Context) func(*RollupGetRollupIndexCapsRequest)
- func (f RollupGetRollupIndexCaps) WithErrorTrace() func(*RollupGetRollupIndexCapsRequest)
- func (f RollupGetRollupIndexCaps) WithFilterPath(v ...string) func(*RollupGetRollupIndexCapsRequest)
- func (f RollupGetRollupIndexCaps) WithHeader(h map[string]string) func(*RollupGetRollupIndexCapsRequest)
- func (f RollupGetRollupIndexCaps) WithHuman() func(*RollupGetRollupIndexCapsRequest)
- func (f RollupGetRollupIndexCaps) WithOpaqueID(s string) func(*RollupGetRollupIndexCapsRequest)
- func (f RollupGetRollupIndexCaps) WithPretty() func(*RollupGetRollupIndexCapsRequest)
- type RollupGetRollupIndexCapsRequest
- type RollupPutJob
- func (f RollupPutJob) WithContext(v context.Context) func(*RollupPutJobRequest)
- func (f RollupPutJob) WithErrorTrace() func(*RollupPutJobRequest)
- func (f RollupPutJob) WithFilterPath(v ...string) func(*RollupPutJobRequest)
- func (f RollupPutJob) WithHeader(h map[string]string) func(*RollupPutJobRequest)
- func (f RollupPutJob) WithHuman() func(*RollupPutJobRequest)
- func (f RollupPutJob) WithOpaqueID(s string) func(*RollupPutJobRequest)
- func (f RollupPutJob) WithPretty() func(*RollupPutJobRequest)
- type RollupPutJobRequest
- type RollupRollup
- func (f RollupRollup) WithContext(v context.Context) func(*RollupRollupRequest)
- func (f RollupRollup) WithErrorTrace() func(*RollupRollupRequest)
- func (f RollupRollup) WithFilterPath(v ...string) func(*RollupRollupRequest)
- func (f RollupRollup) WithHeader(h map[string]string) func(*RollupRollupRequest)
- func (f RollupRollup) WithHuman() func(*RollupRollupRequest)
- func (f RollupRollup) WithOpaqueID(s string) func(*RollupRollupRequest)
- func (f RollupRollup) WithPretty() func(*RollupRollupRequest)
- type RollupRollupRequest
- type RollupRollupSearch
- func (f RollupRollupSearch) WithContext(v context.Context) func(*RollupRollupSearchRequest)
- func (f RollupRollupSearch) WithDocumentType(v string) func(*RollupRollupSearchRequest)
- func (f RollupRollupSearch) WithErrorTrace() func(*RollupRollupSearchRequest)
- func (f RollupRollupSearch) WithFilterPath(v ...string) func(*RollupRollupSearchRequest)
- func (f RollupRollupSearch) WithHeader(h map[string]string) func(*RollupRollupSearchRequest)
- func (f RollupRollupSearch) WithHuman() func(*RollupRollupSearchRequest)
- func (f RollupRollupSearch) WithOpaqueID(s string) func(*RollupRollupSearchRequest)
- func (f RollupRollupSearch) WithPretty() func(*RollupRollupSearchRequest)
- func (f RollupRollupSearch) WithRestTotalHitsAsInt(v bool) func(*RollupRollupSearchRequest)
- func (f RollupRollupSearch) WithTypedKeys(v bool) func(*RollupRollupSearchRequest)
- type RollupRollupSearchRequest
- type RollupStartJob
- func (f RollupStartJob) WithContext(v context.Context) func(*RollupStartJobRequest)
- func (f RollupStartJob) WithErrorTrace() func(*RollupStartJobRequest)
- func (f RollupStartJob) WithFilterPath(v ...string) func(*RollupStartJobRequest)
- func (f RollupStartJob) WithHeader(h map[string]string) func(*RollupStartJobRequest)
- func (f RollupStartJob) WithHuman() func(*RollupStartJobRequest)
- func (f RollupStartJob) WithOpaqueID(s string) func(*RollupStartJobRequest)
- func (f RollupStartJob) WithPretty() func(*RollupStartJobRequest)
- type RollupStartJobRequest
- type RollupStopJob
- func (f RollupStopJob) WithContext(v context.Context) func(*RollupStopJobRequest)
- func (f RollupStopJob) WithErrorTrace() func(*RollupStopJobRequest)
- func (f RollupStopJob) WithFilterPath(v ...string) func(*RollupStopJobRequest)
- func (f RollupStopJob) WithHeader(h map[string]string) func(*RollupStopJobRequest)
- func (f RollupStopJob) WithHuman() func(*RollupStopJobRequest)
- func (f RollupStopJob) WithOpaqueID(s string) func(*RollupStopJobRequest)
- func (f RollupStopJob) WithPretty() func(*RollupStopJobRequest)
- func (f RollupStopJob) WithTimeout(v time.Duration) func(*RollupStopJobRequest)
- func (f RollupStopJob) WithWaitForCompletion(v bool) func(*RollupStopJobRequest)
- type RollupStopJobRequest
- type SQL
- type SQLClearCursor
- func (f SQLClearCursor) WithContext(v context.Context) func(*SQLClearCursorRequest)
- func (f SQLClearCursor) WithErrorTrace() func(*SQLClearCursorRequest)
- func (f SQLClearCursor) WithFilterPath(v ...string) func(*SQLClearCursorRequest)
- func (f SQLClearCursor) WithHeader(h map[string]string) func(*SQLClearCursorRequest)
- func (f SQLClearCursor) WithHuman() func(*SQLClearCursorRequest)
- func (f SQLClearCursor) WithOpaqueID(s string) func(*SQLClearCursorRequest)
- func (f SQLClearCursor) WithPretty() func(*SQLClearCursorRequest)
- type SQLClearCursorRequest
- type SQLDeleteAsync
- func (f SQLDeleteAsync) WithContext(v context.Context) func(*SQLDeleteAsyncRequest)
- func (f SQLDeleteAsync) WithErrorTrace() func(*SQLDeleteAsyncRequest)
- func (f SQLDeleteAsync) WithFilterPath(v ...string) func(*SQLDeleteAsyncRequest)
- func (f SQLDeleteAsync) WithHeader(h map[string]string) func(*SQLDeleteAsyncRequest)
- func (f SQLDeleteAsync) WithHuman() func(*SQLDeleteAsyncRequest)
- func (f SQLDeleteAsync) WithOpaqueID(s string) func(*SQLDeleteAsyncRequest)
- func (f SQLDeleteAsync) WithPretty() func(*SQLDeleteAsyncRequest)
- type SQLDeleteAsyncRequest
- type SQLGetAsync
- func (f SQLGetAsync) WithContext(v context.Context) func(*SQLGetAsyncRequest)
- func (f SQLGetAsync) WithDelimiter(v string) func(*SQLGetAsyncRequest)
- func (f SQLGetAsync) WithErrorTrace() func(*SQLGetAsyncRequest)
- func (f SQLGetAsync) WithFilterPath(v ...string) func(*SQLGetAsyncRequest)
- func (f SQLGetAsync) WithFormat(v string) func(*SQLGetAsyncRequest)
- func (f SQLGetAsync) WithHeader(h map[string]string) func(*SQLGetAsyncRequest)
- func (f SQLGetAsync) WithHuman() func(*SQLGetAsyncRequest)
- func (f SQLGetAsync) WithKeepAlive(v time.Duration) func(*SQLGetAsyncRequest)
- func (f SQLGetAsync) WithOpaqueID(s string) func(*SQLGetAsyncRequest)
- func (f SQLGetAsync) WithPretty() func(*SQLGetAsyncRequest)
- func (f SQLGetAsync) WithWaitForCompletionTimeout(v time.Duration) func(*SQLGetAsyncRequest)
- type SQLGetAsyncRequest
- type SQLGetAsyncStatus
- func (f SQLGetAsyncStatus) WithContext(v context.Context) func(*SQLGetAsyncStatusRequest)
- func (f SQLGetAsyncStatus) WithErrorTrace() func(*SQLGetAsyncStatusRequest)
- func (f SQLGetAsyncStatus) WithFilterPath(v ...string) func(*SQLGetAsyncStatusRequest)
- func (f SQLGetAsyncStatus) WithHeader(h map[string]string) func(*SQLGetAsyncStatusRequest)
- func (f SQLGetAsyncStatus) WithHuman() func(*SQLGetAsyncStatusRequest)
- func (f SQLGetAsyncStatus) WithOpaqueID(s string) func(*SQLGetAsyncStatusRequest)
- func (f SQLGetAsyncStatus) WithPretty() func(*SQLGetAsyncStatusRequest)
- type SQLGetAsyncStatusRequest
- type SQLQuery
- func (f SQLQuery) WithContext(v context.Context) func(*SQLQueryRequest)
- func (f SQLQuery) WithErrorTrace() func(*SQLQueryRequest)
- func (f SQLQuery) WithFilterPath(v ...string) func(*SQLQueryRequest)
- func (f SQLQuery) WithFormat(v string) func(*SQLQueryRequest)
- func (f SQLQuery) WithHeader(h map[string]string) func(*SQLQueryRequest)
- func (f SQLQuery) WithHuman() func(*SQLQueryRequest)
- func (f SQLQuery) WithOpaqueID(s string) func(*SQLQueryRequest)
- func (f SQLQuery) WithPretty() func(*SQLQueryRequest)
- type SQLQueryRequest
- type SQLTranslate
- func (f SQLTranslate) WithContext(v context.Context) func(*SQLTranslateRequest)
- func (f SQLTranslate) WithErrorTrace() func(*SQLTranslateRequest)
- func (f SQLTranslate) WithFilterPath(v ...string) func(*SQLTranslateRequest)
- func (f SQLTranslate) WithHeader(h map[string]string) func(*SQLTranslateRequest)
- func (f SQLTranslate) WithHuman() func(*SQLTranslateRequest)
- func (f SQLTranslate) WithOpaqueID(s string) func(*SQLTranslateRequest)
- func (f SQLTranslate) WithPretty() func(*SQLTranslateRequest)
- type SQLTranslateRequest
- type SSL
- type SSLCertificates
- func (f SSLCertificates) WithContext(v context.Context) func(*SSLCertificatesRequest)
- func (f SSLCertificates) WithErrorTrace() func(*SSLCertificatesRequest)
- func (f SSLCertificates) WithFilterPath(v ...string) func(*SSLCertificatesRequest)
- func (f SSLCertificates) WithHeader(h map[string]string) func(*SSLCertificatesRequest)
- func (f SSLCertificates) WithHuman() func(*SSLCertificatesRequest)
- func (f SSLCertificates) WithOpaqueID(s string) func(*SSLCertificatesRequest)
- func (f SSLCertificates) WithPretty() func(*SSLCertificatesRequest)
- type SSLCertificatesRequest
- type ScriptsPainlessExecute
- func (f ScriptsPainlessExecute) WithBody(v io.Reader) func(*ScriptsPainlessExecuteRequest)
- func (f ScriptsPainlessExecute) WithContext(v context.Context) func(*ScriptsPainlessExecuteRequest)
- func (f ScriptsPainlessExecute) WithErrorTrace() func(*ScriptsPainlessExecuteRequest)
- func (f ScriptsPainlessExecute) WithFilterPath(v ...string) func(*ScriptsPainlessExecuteRequest)
- func (f ScriptsPainlessExecute) WithHeader(h map[string]string) func(*ScriptsPainlessExecuteRequest)
- func (f ScriptsPainlessExecute) WithHuman() func(*ScriptsPainlessExecuteRequest)
- func (f ScriptsPainlessExecute) WithOpaqueID(s string) func(*ScriptsPainlessExecuteRequest)
- func (f ScriptsPainlessExecute) WithPretty() func(*ScriptsPainlessExecuteRequest)
- type ScriptsPainlessExecuteRequest
- type Scroll
- func (f Scroll) WithBody(v io.Reader) func(*ScrollRequest)
- func (f Scroll) WithContext(v context.Context) func(*ScrollRequest)
- func (f Scroll) WithErrorTrace() func(*ScrollRequest)
- func (f Scroll) WithFilterPath(v ...string) func(*ScrollRequest)
- func (f Scroll) WithHeader(h map[string]string) func(*ScrollRequest)
- func (f Scroll) WithHuman() func(*ScrollRequest)
- func (f Scroll) WithOpaqueID(s string) func(*ScrollRequest)
- func (f Scroll) WithPretty() func(*ScrollRequest)
- func (f Scroll) WithRestTotalHitsAsInt(v bool) func(*ScrollRequest)
- func (f Scroll) WithScroll(v time.Duration) func(*ScrollRequest)
- func (f Scroll) WithScrollID(v string) func(*ScrollRequest)
- type ScrollRequest
- type Search
- func (f Search) WithAllowNoIndices(v bool) func(*SearchRequest)
- func (f Search) WithAllowPartialSearchResults(v bool) func(*SearchRequest)
- func (f Search) WithAnalyzeWildcard(v bool) func(*SearchRequest)
- func (f Search) WithAnalyzer(v string) func(*SearchRequest)
- func (f Search) WithBatchedReduceSize(v int) func(*SearchRequest)
- func (f Search) WithBody(v io.Reader) func(*SearchRequest)
- func (f Search) WithCcsMinimizeRoundtrips(v bool) func(*SearchRequest)
- func (f Search) WithContext(v context.Context) func(*SearchRequest)
- func (f Search) WithDefaultOperator(v string) func(*SearchRequest)
- func (f Search) WithDf(v string) func(*SearchRequest)
- func (f Search) WithDocumentType(v ...string) func(*SearchRequest)
- func (f Search) WithDocvalueFields(v ...string) func(*SearchRequest)
- func (f Search) WithErrorTrace() func(*SearchRequest)
- func (f Search) WithExpandWildcards(v string) func(*SearchRequest)
- func (f Search) WithExplain(v bool) func(*SearchRequest)
- func (f Search) WithFilterPath(v ...string) func(*SearchRequest)
- func (f Search) WithFrom(v int) func(*SearchRequest)
- func (f Search) WithHeader(h map[string]string) func(*SearchRequest)
- func (f Search) WithHuman() func(*SearchRequest)
- func (f Search) WithIgnoreThrottled(v bool) func(*SearchRequest)
- func (f Search) WithIgnoreUnavailable(v bool) func(*SearchRequest)
- func (f Search) WithIndex(v ...string) func(*SearchRequest)
- func (f Search) WithLenient(v bool) func(*SearchRequest)
- func (f Search) WithMaxConcurrentShardRequests(v int) func(*SearchRequest)
- func (f Search) WithMinCompatibleShardNode(v string) func(*SearchRequest)
- func (f Search) WithOpaqueID(s string) func(*SearchRequest)
- func (f Search) WithPreFilterShardSize(v int) func(*SearchRequest)
- func (f Search) WithPreference(v string) func(*SearchRequest)
- func (f Search) WithPretty() func(*SearchRequest)
- func (f Search) WithQuery(v string) func(*SearchRequest)
- func (f Search) WithRequestCache(v bool) func(*SearchRequest)
- func (f Search) WithRestTotalHitsAsInt(v bool) func(*SearchRequest)
- func (f Search) WithRouting(v ...string) func(*SearchRequest)
- func (f Search) WithScroll(v time.Duration) func(*SearchRequest)
- func (f Search) WithSearchType(v string) func(*SearchRequest)
- func (f Search) WithSeqNoPrimaryTerm(v bool) func(*SearchRequest)
- func (f Search) WithSize(v int) func(*SearchRequest)
- func (f Search) WithSort(v ...string) func(*SearchRequest)
- func (f Search) WithSource(v ...string) func(*SearchRequest)
- func (f Search) WithSourceExcludes(v ...string) func(*SearchRequest)
- func (f Search) WithSourceIncludes(v ...string) func(*SearchRequest)
- func (f Search) WithStats(v ...string) func(*SearchRequest)
- func (f Search) WithStoredFields(v ...string) func(*SearchRequest)
- func (f Search) WithSuggestField(v string) func(*SearchRequest)
- func (f Search) WithSuggestMode(v string) func(*SearchRequest)
- func (f Search) WithSuggestSize(v int) func(*SearchRequest)
- func (f Search) WithSuggestText(v string) func(*SearchRequest)
- func (f Search) WithTerminateAfter(v int) func(*SearchRequest)
- func (f Search) WithTimeout(v time.Duration) func(*SearchRequest)
- func (f Search) WithTrackScores(v bool) func(*SearchRequest)
- func (f Search) WithTrackTotalHits(v interface{}) func(*SearchRequest)
- func (f Search) WithTypedKeys(v bool) func(*SearchRequest)
- func (f Search) WithVersion(v bool) func(*SearchRequest)
- type SearchMvt
- func (f SearchMvt) WithBody(v io.Reader) func(*SearchMvtRequest)
- func (f SearchMvt) WithContext(v context.Context) func(*SearchMvtRequest)
- func (f SearchMvt) WithErrorTrace() func(*SearchMvtRequest)
- func (f SearchMvt) WithExactBounds(v bool) func(*SearchMvtRequest)
- func (f SearchMvt) WithExtent(v int) func(*SearchMvtRequest)
- func (f SearchMvt) WithFilterPath(v ...string) func(*SearchMvtRequest)
- func (f SearchMvt) WithGridPrecision(v int) func(*SearchMvtRequest)
- func (f SearchMvt) WithGridType(v string) func(*SearchMvtRequest)
- func (f SearchMvt) WithHeader(h map[string]string) func(*SearchMvtRequest)
- func (f SearchMvt) WithHuman() func(*SearchMvtRequest)
- func (f SearchMvt) WithOpaqueID(s string) func(*SearchMvtRequest)
- func (f SearchMvt) WithPretty() func(*SearchMvtRequest)
- func (f SearchMvt) WithSize(v int) func(*SearchMvtRequest)
- func (f SearchMvt) WithTrackTotalHits(v interface{}) func(*SearchMvtRequest)
- type SearchMvtRequest
- type SearchRequest
- type SearchShards
- func (f SearchShards) WithAllowNoIndices(v bool) func(*SearchShardsRequest)
- func (f SearchShards) WithContext(v context.Context) func(*SearchShardsRequest)
- func (f SearchShards) WithErrorTrace() func(*SearchShardsRequest)
- func (f SearchShards) WithExpandWildcards(v string) func(*SearchShardsRequest)
- func (f SearchShards) WithFilterPath(v ...string) func(*SearchShardsRequest)
- func (f SearchShards) WithHeader(h map[string]string) func(*SearchShardsRequest)
- func (f SearchShards) WithHuman() func(*SearchShardsRequest)
- func (f SearchShards) WithIgnoreUnavailable(v bool) func(*SearchShardsRequest)
- func (f SearchShards) WithIndex(v ...string) func(*SearchShardsRequest)
- func (f SearchShards) WithLocal(v bool) func(*SearchShardsRequest)
- func (f SearchShards) WithOpaqueID(s string) func(*SearchShardsRequest)
- func (f SearchShards) WithPreference(v string) func(*SearchShardsRequest)
- func (f SearchShards) WithPretty() func(*SearchShardsRequest)
- func (f SearchShards) WithRouting(v string) func(*SearchShardsRequest)
- type SearchShardsRequest
- type SearchTemplate
- func (f SearchTemplate) WithAllowNoIndices(v bool) func(*SearchTemplateRequest)
- func (f SearchTemplate) WithCcsMinimizeRoundtrips(v bool) func(*SearchTemplateRequest)
- func (f SearchTemplate) WithContext(v context.Context) func(*SearchTemplateRequest)
- func (f SearchTemplate) WithDocumentType(v ...string) func(*SearchTemplateRequest)
- func (f SearchTemplate) WithErrorTrace() func(*SearchTemplateRequest)
- func (f SearchTemplate) WithExpandWildcards(v string) func(*SearchTemplateRequest)
- func (f SearchTemplate) WithExplain(v bool) func(*SearchTemplateRequest)
- func (f SearchTemplate) WithFilterPath(v ...string) func(*SearchTemplateRequest)
- func (f SearchTemplate) WithHeader(h map[string]string) func(*SearchTemplateRequest)
- func (f SearchTemplate) WithHuman() func(*SearchTemplateRequest)
- func (f SearchTemplate) WithIgnoreThrottled(v bool) func(*SearchTemplateRequest)
- func (f SearchTemplate) WithIgnoreUnavailable(v bool) func(*SearchTemplateRequest)
- func (f SearchTemplate) WithIndex(v ...string) func(*SearchTemplateRequest)
- func (f SearchTemplate) WithOpaqueID(s string) func(*SearchTemplateRequest)
- func (f SearchTemplate) WithPreference(v string) func(*SearchTemplateRequest)
- func (f SearchTemplate) WithPretty() func(*SearchTemplateRequest)
- func (f SearchTemplate) WithProfile(v bool) func(*SearchTemplateRequest)
- func (f SearchTemplate) WithRestTotalHitsAsInt(v bool) func(*SearchTemplateRequest)
- func (f SearchTemplate) WithRouting(v ...string) func(*SearchTemplateRequest)
- func (f SearchTemplate) WithScroll(v time.Duration) func(*SearchTemplateRequest)
- func (f SearchTemplate) WithSearchType(v string) func(*SearchTemplateRequest)
- func (f SearchTemplate) WithTypedKeys(v bool) func(*SearchTemplateRequest)
- type SearchTemplateRequest
- type SearchableSnapshotsCacheStats
- func (f SearchableSnapshotsCacheStats) WithContext(v context.Context) func(*SearchableSnapshotsCacheStatsRequest)
- func (f SearchableSnapshotsCacheStats) WithErrorTrace() func(*SearchableSnapshotsCacheStatsRequest)
- func (f SearchableSnapshotsCacheStats) WithFilterPath(v ...string) func(*SearchableSnapshotsCacheStatsRequest)
- func (f SearchableSnapshotsCacheStats) WithHeader(h map[string]string) func(*SearchableSnapshotsCacheStatsRequest)
- func (f SearchableSnapshotsCacheStats) WithHuman() func(*SearchableSnapshotsCacheStatsRequest)
- func (f SearchableSnapshotsCacheStats) WithNodeID(v ...string) func(*SearchableSnapshotsCacheStatsRequest)
- func (f SearchableSnapshotsCacheStats) WithOpaqueID(s string) func(*SearchableSnapshotsCacheStatsRequest)
- func (f SearchableSnapshotsCacheStats) WithPretty() func(*SearchableSnapshotsCacheStatsRequest)
- type SearchableSnapshotsCacheStatsRequest
- type SearchableSnapshotsClearCache
- func (f SearchableSnapshotsClearCache) WithAllowNoIndices(v bool) func(*SearchableSnapshotsClearCacheRequest)
- func (f SearchableSnapshotsClearCache) WithContext(v context.Context) func(*SearchableSnapshotsClearCacheRequest)
- func (f SearchableSnapshotsClearCache) WithErrorTrace() func(*SearchableSnapshotsClearCacheRequest)
- func (f SearchableSnapshotsClearCache) WithExpandWildcards(v string) func(*SearchableSnapshotsClearCacheRequest)
- func (f SearchableSnapshotsClearCache) WithFilterPath(v ...string) func(*SearchableSnapshotsClearCacheRequest)
- func (f SearchableSnapshotsClearCache) WithHeader(h map[string]string) func(*SearchableSnapshotsClearCacheRequest)
- func (f SearchableSnapshotsClearCache) WithHuman() func(*SearchableSnapshotsClearCacheRequest)
- func (f SearchableSnapshotsClearCache) WithIgnoreUnavailable(v bool) func(*SearchableSnapshotsClearCacheRequest)
- func (f SearchableSnapshotsClearCache) WithIndex(v ...string) func(*SearchableSnapshotsClearCacheRequest)
- func (f SearchableSnapshotsClearCache) WithOpaqueID(s string) func(*SearchableSnapshotsClearCacheRequest)
- func (f SearchableSnapshotsClearCache) WithPretty() func(*SearchableSnapshotsClearCacheRequest)
- type SearchableSnapshotsClearCacheRequest
- type SearchableSnapshotsMount
- func (f SearchableSnapshotsMount) WithContext(v context.Context) func(*SearchableSnapshotsMountRequest)
- func (f SearchableSnapshotsMount) WithErrorTrace() func(*SearchableSnapshotsMountRequest)
- func (f SearchableSnapshotsMount) WithFilterPath(v ...string) func(*SearchableSnapshotsMountRequest)
- func (f SearchableSnapshotsMount) WithHeader(h map[string]string) func(*SearchableSnapshotsMountRequest)
- func (f SearchableSnapshotsMount) WithHuman() func(*SearchableSnapshotsMountRequest)
- func (f SearchableSnapshotsMount) WithMasterTimeout(v time.Duration) func(*SearchableSnapshotsMountRequest)
- func (f SearchableSnapshotsMount) WithOpaqueID(s string) func(*SearchableSnapshotsMountRequest)
- func (f SearchableSnapshotsMount) WithPretty() func(*SearchableSnapshotsMountRequest)
- func (f SearchableSnapshotsMount) WithStorage(v string) func(*SearchableSnapshotsMountRequest)
- func (f SearchableSnapshotsMount) WithWaitForCompletion(v bool) func(*SearchableSnapshotsMountRequest)
- type SearchableSnapshotsMountRequest
- type SearchableSnapshotsRepositoryStats
- func (f SearchableSnapshotsRepositoryStats) WithContext(v context.Context) func(*SearchableSnapshotsRepositoryStatsRequest)
- func (f SearchableSnapshotsRepositoryStats) WithErrorTrace() func(*SearchableSnapshotsRepositoryStatsRequest)
- func (f SearchableSnapshotsRepositoryStats) WithFilterPath(v ...string) func(*SearchableSnapshotsRepositoryStatsRequest)
- func (f SearchableSnapshotsRepositoryStats) WithHeader(h map[string]string) func(*SearchableSnapshotsRepositoryStatsRequest)
- func (f SearchableSnapshotsRepositoryStats) WithHuman() func(*SearchableSnapshotsRepositoryStatsRequest)
- func (f SearchableSnapshotsRepositoryStats) WithOpaqueID(s string) func(*SearchableSnapshotsRepositoryStatsRequest)
- func (f SearchableSnapshotsRepositoryStats) WithPretty() func(*SearchableSnapshotsRepositoryStatsRequest)
- type SearchableSnapshotsRepositoryStatsRequest
- type SearchableSnapshotsStats
- func (f SearchableSnapshotsStats) WithContext(v context.Context) func(*SearchableSnapshotsStatsRequest)
- func (f SearchableSnapshotsStats) WithErrorTrace() func(*SearchableSnapshotsStatsRequest)
- func (f SearchableSnapshotsStats) WithFilterPath(v ...string) func(*SearchableSnapshotsStatsRequest)
- func (f SearchableSnapshotsStats) WithHeader(h map[string]string) func(*SearchableSnapshotsStatsRequest)
- func (f SearchableSnapshotsStats) WithHuman() func(*SearchableSnapshotsStatsRequest)
- func (f SearchableSnapshotsStats) WithIndex(v ...string) func(*SearchableSnapshotsStatsRequest)
- func (f SearchableSnapshotsStats) WithLevel(v string) func(*SearchableSnapshotsStatsRequest)
- func (f SearchableSnapshotsStats) WithOpaqueID(s string) func(*SearchableSnapshotsStatsRequest)
- func (f SearchableSnapshotsStats) WithPretty() func(*SearchableSnapshotsStatsRequest)
- type SearchableSnapshotsStatsRequest
- type Security
- type SecurityAuthenticate
- func (f SecurityAuthenticate) WithContext(v context.Context) func(*SecurityAuthenticateRequest)
- func (f SecurityAuthenticate) WithErrorTrace() func(*SecurityAuthenticateRequest)
- func (f SecurityAuthenticate) WithFilterPath(v ...string) func(*SecurityAuthenticateRequest)
- func (f SecurityAuthenticate) WithHeader(h map[string]string) func(*SecurityAuthenticateRequest)
- func (f SecurityAuthenticate) WithHuman() func(*SecurityAuthenticateRequest)
- func (f SecurityAuthenticate) WithOpaqueID(s string) func(*SecurityAuthenticateRequest)
- func (f SecurityAuthenticate) WithPretty() func(*SecurityAuthenticateRequest)
- type SecurityAuthenticateRequest
- type SecurityChangePassword
- func (f SecurityChangePassword) WithContext(v context.Context) func(*SecurityChangePasswordRequest)
- func (f SecurityChangePassword) WithErrorTrace() func(*SecurityChangePasswordRequest)
- func (f SecurityChangePassword) WithFilterPath(v ...string) func(*SecurityChangePasswordRequest)
- func (f SecurityChangePassword) WithHeader(h map[string]string) func(*SecurityChangePasswordRequest)
- func (f SecurityChangePassword) WithHuman() func(*SecurityChangePasswordRequest)
- func (f SecurityChangePassword) WithOpaqueID(s string) func(*SecurityChangePasswordRequest)
- func (f SecurityChangePassword) WithPretty() func(*SecurityChangePasswordRequest)
- func (f SecurityChangePassword) WithRefresh(v string) func(*SecurityChangePasswordRequest)
- func (f SecurityChangePassword) WithUsername(v string) func(*SecurityChangePasswordRequest)
- type SecurityChangePasswordRequest
- type SecurityClearAPIKeyCache
- func (f SecurityClearAPIKeyCache) WithContext(v context.Context) func(*SecurityClearAPIKeyCacheRequest)
- func (f SecurityClearAPIKeyCache) WithErrorTrace() func(*SecurityClearAPIKeyCacheRequest)
- func (f SecurityClearAPIKeyCache) WithFilterPath(v ...string) func(*SecurityClearAPIKeyCacheRequest)
- func (f SecurityClearAPIKeyCache) WithHeader(h map[string]string) func(*SecurityClearAPIKeyCacheRequest)
- func (f SecurityClearAPIKeyCache) WithHuman() func(*SecurityClearAPIKeyCacheRequest)
- func (f SecurityClearAPIKeyCache) WithOpaqueID(s string) func(*SecurityClearAPIKeyCacheRequest)
- func (f SecurityClearAPIKeyCache) WithPretty() func(*SecurityClearAPIKeyCacheRequest)
- type SecurityClearAPIKeyCacheRequest
- type SecurityClearCachedPrivileges
- func (f SecurityClearCachedPrivileges) WithContext(v context.Context) func(*SecurityClearCachedPrivilegesRequest)
- func (f SecurityClearCachedPrivileges) WithErrorTrace() func(*SecurityClearCachedPrivilegesRequest)
- func (f SecurityClearCachedPrivileges) WithFilterPath(v ...string) func(*SecurityClearCachedPrivilegesRequest)
- func (f SecurityClearCachedPrivileges) WithHeader(h map[string]string) func(*SecurityClearCachedPrivilegesRequest)
- func (f SecurityClearCachedPrivileges) WithHuman() func(*SecurityClearCachedPrivilegesRequest)
- func (f SecurityClearCachedPrivileges) WithOpaqueID(s string) func(*SecurityClearCachedPrivilegesRequest)
- func (f SecurityClearCachedPrivileges) WithPretty() func(*SecurityClearCachedPrivilegesRequest)
- type SecurityClearCachedPrivilegesRequest
- type SecurityClearCachedRealms
- func (f SecurityClearCachedRealms) WithContext(v context.Context) func(*SecurityClearCachedRealmsRequest)
- func (f SecurityClearCachedRealms) WithErrorTrace() func(*SecurityClearCachedRealmsRequest)
- func (f SecurityClearCachedRealms) WithFilterPath(v ...string) func(*SecurityClearCachedRealmsRequest)
- func (f SecurityClearCachedRealms) WithHeader(h map[string]string) func(*SecurityClearCachedRealmsRequest)
- func (f SecurityClearCachedRealms) WithHuman() func(*SecurityClearCachedRealmsRequest)
- func (f SecurityClearCachedRealms) WithOpaqueID(s string) func(*SecurityClearCachedRealmsRequest)
- func (f SecurityClearCachedRealms) WithPretty() func(*SecurityClearCachedRealmsRequest)
- func (f SecurityClearCachedRealms) WithUsernames(v ...string) func(*SecurityClearCachedRealmsRequest)
- type SecurityClearCachedRealmsRequest
- type SecurityClearCachedRoles
- func (f SecurityClearCachedRoles) WithContext(v context.Context) func(*SecurityClearCachedRolesRequest)
- func (f SecurityClearCachedRoles) WithErrorTrace() func(*SecurityClearCachedRolesRequest)
- func (f SecurityClearCachedRoles) WithFilterPath(v ...string) func(*SecurityClearCachedRolesRequest)
- func (f SecurityClearCachedRoles) WithHeader(h map[string]string) func(*SecurityClearCachedRolesRequest)
- func (f SecurityClearCachedRoles) WithHuman() func(*SecurityClearCachedRolesRequest)
- func (f SecurityClearCachedRoles) WithOpaqueID(s string) func(*SecurityClearCachedRolesRequest)
- func (f SecurityClearCachedRoles) WithPretty() func(*SecurityClearCachedRolesRequest)
- type SecurityClearCachedRolesRequest
- type SecurityClearCachedServiceTokens
- func (f SecurityClearCachedServiceTokens) WithContext(v context.Context) func(*SecurityClearCachedServiceTokensRequest)
- func (f SecurityClearCachedServiceTokens) WithErrorTrace() func(*SecurityClearCachedServiceTokensRequest)
- func (f SecurityClearCachedServiceTokens) WithFilterPath(v ...string) func(*SecurityClearCachedServiceTokensRequest)
- func (f SecurityClearCachedServiceTokens) WithHeader(h map[string]string) func(*SecurityClearCachedServiceTokensRequest)
- func (f SecurityClearCachedServiceTokens) WithHuman() func(*SecurityClearCachedServiceTokensRequest)
- func (f SecurityClearCachedServiceTokens) WithOpaqueID(s string) func(*SecurityClearCachedServiceTokensRequest)
- func (f SecurityClearCachedServiceTokens) WithPretty() func(*SecurityClearCachedServiceTokensRequest)
- type SecurityClearCachedServiceTokensRequest
- type SecurityCreateAPIKey
- func (f SecurityCreateAPIKey) WithContext(v context.Context) func(*SecurityCreateAPIKeyRequest)
- func (f SecurityCreateAPIKey) WithErrorTrace() func(*SecurityCreateAPIKeyRequest)
- func (f SecurityCreateAPIKey) WithFilterPath(v ...string) func(*SecurityCreateAPIKeyRequest)
- func (f SecurityCreateAPIKey) WithHeader(h map[string]string) func(*SecurityCreateAPIKeyRequest)
- func (f SecurityCreateAPIKey) WithHuman() func(*SecurityCreateAPIKeyRequest)
- func (f SecurityCreateAPIKey) WithOpaqueID(s string) func(*SecurityCreateAPIKeyRequest)
- func (f SecurityCreateAPIKey) WithPretty() func(*SecurityCreateAPIKeyRequest)
- func (f SecurityCreateAPIKey) WithRefresh(v string) func(*SecurityCreateAPIKeyRequest)
- type SecurityCreateAPIKeyRequest
- type SecurityCreateServiceToken
- func (f SecurityCreateServiceToken) WithContext(v context.Context) func(*SecurityCreateServiceTokenRequest)
- func (f SecurityCreateServiceToken) WithErrorTrace() func(*SecurityCreateServiceTokenRequest)
- func (f SecurityCreateServiceToken) WithFilterPath(v ...string) func(*SecurityCreateServiceTokenRequest)
- func (f SecurityCreateServiceToken) WithHeader(h map[string]string) func(*SecurityCreateServiceTokenRequest)
- func (f SecurityCreateServiceToken) WithHuman() func(*SecurityCreateServiceTokenRequest)
- func (f SecurityCreateServiceToken) WithName(v string) func(*SecurityCreateServiceTokenRequest)
- func (f SecurityCreateServiceToken) WithOpaqueID(s string) func(*SecurityCreateServiceTokenRequest)
- func (f SecurityCreateServiceToken) WithPretty() func(*SecurityCreateServiceTokenRequest)
- func (f SecurityCreateServiceToken) WithRefresh(v string) func(*SecurityCreateServiceTokenRequest)
- type SecurityCreateServiceTokenRequest
- type SecurityDeletePrivileges
- func (f SecurityDeletePrivileges) WithContext(v context.Context) func(*SecurityDeletePrivilegesRequest)
- func (f SecurityDeletePrivileges) WithErrorTrace() func(*SecurityDeletePrivilegesRequest)
- func (f SecurityDeletePrivileges) WithFilterPath(v ...string) func(*SecurityDeletePrivilegesRequest)
- func (f SecurityDeletePrivileges) WithHeader(h map[string]string) func(*SecurityDeletePrivilegesRequest)
- func (f SecurityDeletePrivileges) WithHuman() func(*SecurityDeletePrivilegesRequest)
- func (f SecurityDeletePrivileges) WithOpaqueID(s string) func(*SecurityDeletePrivilegesRequest)
- func (f SecurityDeletePrivileges) WithPretty() func(*SecurityDeletePrivilegesRequest)
- func (f SecurityDeletePrivileges) WithRefresh(v string) func(*SecurityDeletePrivilegesRequest)
- type SecurityDeletePrivilegesRequest
- type SecurityDeleteRole
- func (f SecurityDeleteRole) WithContext(v context.Context) func(*SecurityDeleteRoleRequest)
- func (f SecurityDeleteRole) WithErrorTrace() func(*SecurityDeleteRoleRequest)
- func (f SecurityDeleteRole) WithFilterPath(v ...string) func(*SecurityDeleteRoleRequest)
- func (f SecurityDeleteRole) WithHeader(h map[string]string) func(*SecurityDeleteRoleRequest)
- func (f SecurityDeleteRole) WithHuman() func(*SecurityDeleteRoleRequest)
- func (f SecurityDeleteRole) WithOpaqueID(s string) func(*SecurityDeleteRoleRequest)
- func (f SecurityDeleteRole) WithPretty() func(*SecurityDeleteRoleRequest)
- func (f SecurityDeleteRole) WithRefresh(v string) func(*SecurityDeleteRoleRequest)
- type SecurityDeleteRoleMapping
- func (f SecurityDeleteRoleMapping) WithContext(v context.Context) func(*SecurityDeleteRoleMappingRequest)
- func (f SecurityDeleteRoleMapping) WithErrorTrace() func(*SecurityDeleteRoleMappingRequest)
- func (f SecurityDeleteRoleMapping) WithFilterPath(v ...string) func(*SecurityDeleteRoleMappingRequest)
- func (f SecurityDeleteRoleMapping) WithHeader(h map[string]string) func(*SecurityDeleteRoleMappingRequest)
- func (f SecurityDeleteRoleMapping) WithHuman() func(*SecurityDeleteRoleMappingRequest)
- func (f SecurityDeleteRoleMapping) WithOpaqueID(s string) func(*SecurityDeleteRoleMappingRequest)
- func (f SecurityDeleteRoleMapping) WithPretty() func(*SecurityDeleteRoleMappingRequest)
- func (f SecurityDeleteRoleMapping) WithRefresh(v string) func(*SecurityDeleteRoleMappingRequest)
- type SecurityDeleteRoleMappingRequest
- type SecurityDeleteRoleRequest
- type SecurityDeleteServiceToken
- func (f SecurityDeleteServiceToken) WithContext(v context.Context) func(*SecurityDeleteServiceTokenRequest)
- func (f SecurityDeleteServiceToken) WithErrorTrace() func(*SecurityDeleteServiceTokenRequest)
- func (f SecurityDeleteServiceToken) WithFilterPath(v ...string) func(*SecurityDeleteServiceTokenRequest)
- func (f SecurityDeleteServiceToken) WithHeader(h map[string]string) func(*SecurityDeleteServiceTokenRequest)
- func (f SecurityDeleteServiceToken) WithHuman() func(*SecurityDeleteServiceTokenRequest)
- func (f SecurityDeleteServiceToken) WithOpaqueID(s string) func(*SecurityDeleteServiceTokenRequest)
- func (f SecurityDeleteServiceToken) WithPretty() func(*SecurityDeleteServiceTokenRequest)
- func (f SecurityDeleteServiceToken) WithRefresh(v string) func(*SecurityDeleteServiceTokenRequest)
- type SecurityDeleteServiceTokenRequest
- type SecurityDeleteUser
- func (f SecurityDeleteUser) WithContext(v context.Context) func(*SecurityDeleteUserRequest)
- func (f SecurityDeleteUser) WithErrorTrace() func(*SecurityDeleteUserRequest)
- func (f SecurityDeleteUser) WithFilterPath(v ...string) func(*SecurityDeleteUserRequest)
- func (f SecurityDeleteUser) WithHeader(h map[string]string) func(*SecurityDeleteUserRequest)
- func (f SecurityDeleteUser) WithHuman() func(*SecurityDeleteUserRequest)
- func (f SecurityDeleteUser) WithOpaqueID(s string) func(*SecurityDeleteUserRequest)
- func (f SecurityDeleteUser) WithPretty() func(*SecurityDeleteUserRequest)
- func (f SecurityDeleteUser) WithRefresh(v string) func(*SecurityDeleteUserRequest)
- type SecurityDeleteUserRequest
- type SecurityDisableUser
- func (f SecurityDisableUser) WithContext(v context.Context) func(*SecurityDisableUserRequest)
- func (f SecurityDisableUser) WithErrorTrace() func(*SecurityDisableUserRequest)
- func (f SecurityDisableUser) WithFilterPath(v ...string) func(*SecurityDisableUserRequest)
- func (f SecurityDisableUser) WithHeader(h map[string]string) func(*SecurityDisableUserRequest)
- func (f SecurityDisableUser) WithHuman() func(*SecurityDisableUserRequest)
- func (f SecurityDisableUser) WithOpaqueID(s string) func(*SecurityDisableUserRequest)
- func (f SecurityDisableUser) WithPretty() func(*SecurityDisableUserRequest)
- func (f SecurityDisableUser) WithRefresh(v string) func(*SecurityDisableUserRequest)
- type SecurityDisableUserRequest
- type SecurityEnableUser
- func (f SecurityEnableUser) WithContext(v context.Context) func(*SecurityEnableUserRequest)
- func (f SecurityEnableUser) WithErrorTrace() func(*SecurityEnableUserRequest)
- func (f SecurityEnableUser) WithFilterPath(v ...string) func(*SecurityEnableUserRequest)
- func (f SecurityEnableUser) WithHeader(h map[string]string) func(*SecurityEnableUserRequest)
- func (f SecurityEnableUser) WithHuman() func(*SecurityEnableUserRequest)
- func (f SecurityEnableUser) WithOpaqueID(s string) func(*SecurityEnableUserRequest)
- func (f SecurityEnableUser) WithPretty() func(*SecurityEnableUserRequest)
- func (f SecurityEnableUser) WithRefresh(v string) func(*SecurityEnableUserRequest)
- type SecurityEnableUserRequest
- type SecurityGetAPIKey
- func (f SecurityGetAPIKey) WithContext(v context.Context) func(*SecurityGetAPIKeyRequest)
- func (f SecurityGetAPIKey) WithErrorTrace() func(*SecurityGetAPIKeyRequest)
- func (f SecurityGetAPIKey) WithFilterPath(v ...string) func(*SecurityGetAPIKeyRequest)
- func (f SecurityGetAPIKey) WithHeader(h map[string]string) func(*SecurityGetAPIKeyRequest)
- func (f SecurityGetAPIKey) WithHuman() func(*SecurityGetAPIKeyRequest)
- func (f SecurityGetAPIKey) WithID(v string) func(*SecurityGetAPIKeyRequest)
- func (f SecurityGetAPIKey) WithName(v string) func(*SecurityGetAPIKeyRequest)
- func (f SecurityGetAPIKey) WithOpaqueID(s string) func(*SecurityGetAPIKeyRequest)
- func (f SecurityGetAPIKey) WithOwner(v bool) func(*SecurityGetAPIKeyRequest)
- func (f SecurityGetAPIKey) WithPretty() func(*SecurityGetAPIKeyRequest)
- func (f SecurityGetAPIKey) WithRealmName(v string) func(*SecurityGetAPIKeyRequest)
- func (f SecurityGetAPIKey) WithUsername(v string) func(*SecurityGetAPIKeyRequest)
- type SecurityGetAPIKeyRequest
- type SecurityGetBuiltinPrivileges
- func (f SecurityGetBuiltinPrivileges) WithContext(v context.Context) func(*SecurityGetBuiltinPrivilegesRequest)
- func (f SecurityGetBuiltinPrivileges) WithErrorTrace() func(*SecurityGetBuiltinPrivilegesRequest)
- func (f SecurityGetBuiltinPrivileges) WithFilterPath(v ...string) func(*SecurityGetBuiltinPrivilegesRequest)
- func (f SecurityGetBuiltinPrivileges) WithHeader(h map[string]string) func(*SecurityGetBuiltinPrivilegesRequest)
- func (f SecurityGetBuiltinPrivileges) WithHuman() func(*SecurityGetBuiltinPrivilegesRequest)
- func (f SecurityGetBuiltinPrivileges) WithOpaqueID(s string) func(*SecurityGetBuiltinPrivilegesRequest)
- func (f SecurityGetBuiltinPrivileges) WithPretty() func(*SecurityGetBuiltinPrivilegesRequest)
- type SecurityGetBuiltinPrivilegesRequest
- type SecurityGetPrivileges
- func (f SecurityGetPrivileges) WithApplication(v string) func(*SecurityGetPrivilegesRequest)
- func (f SecurityGetPrivileges) WithContext(v context.Context) func(*SecurityGetPrivilegesRequest)
- func (f SecurityGetPrivileges) WithErrorTrace() func(*SecurityGetPrivilegesRequest)
- func (f SecurityGetPrivileges) WithFilterPath(v ...string) func(*SecurityGetPrivilegesRequest)
- func (f SecurityGetPrivileges) WithHeader(h map[string]string) func(*SecurityGetPrivilegesRequest)
- func (f SecurityGetPrivileges) WithHuman() func(*SecurityGetPrivilegesRequest)
- func (f SecurityGetPrivileges) WithName(v string) func(*SecurityGetPrivilegesRequest)
- func (f SecurityGetPrivileges) WithOpaqueID(s string) func(*SecurityGetPrivilegesRequest)
- func (f SecurityGetPrivileges) WithPretty() func(*SecurityGetPrivilegesRequest)
- type SecurityGetPrivilegesRequest
- type SecurityGetRole
- func (f SecurityGetRole) WithContext(v context.Context) func(*SecurityGetRoleRequest)
- func (f SecurityGetRole) WithErrorTrace() func(*SecurityGetRoleRequest)
- func (f SecurityGetRole) WithFilterPath(v ...string) func(*SecurityGetRoleRequest)
- func (f SecurityGetRole) WithHeader(h map[string]string) func(*SecurityGetRoleRequest)
- func (f SecurityGetRole) WithHuman() func(*SecurityGetRoleRequest)
- func (f SecurityGetRole) WithName(v ...string) func(*SecurityGetRoleRequest)
- func (f SecurityGetRole) WithOpaqueID(s string) func(*SecurityGetRoleRequest)
- func (f SecurityGetRole) WithPretty() func(*SecurityGetRoleRequest)
- type SecurityGetRoleMapping
- func (f SecurityGetRoleMapping) WithContext(v context.Context) func(*SecurityGetRoleMappingRequest)
- func (f SecurityGetRoleMapping) WithErrorTrace() func(*SecurityGetRoleMappingRequest)
- func (f SecurityGetRoleMapping) WithFilterPath(v ...string) func(*SecurityGetRoleMappingRequest)
- func (f SecurityGetRoleMapping) WithHeader(h map[string]string) func(*SecurityGetRoleMappingRequest)
- func (f SecurityGetRoleMapping) WithHuman() func(*SecurityGetRoleMappingRequest)
- func (f SecurityGetRoleMapping) WithName(v ...string) func(*SecurityGetRoleMappingRequest)
- func (f SecurityGetRoleMapping) WithOpaqueID(s string) func(*SecurityGetRoleMappingRequest)
- func (f SecurityGetRoleMapping) WithPretty() func(*SecurityGetRoleMappingRequest)
- type SecurityGetRoleMappingRequest
- type SecurityGetRoleRequest
- type SecurityGetServiceAccounts
- func (f SecurityGetServiceAccounts) WithContext(v context.Context) func(*SecurityGetServiceAccountsRequest)
- func (f SecurityGetServiceAccounts) WithErrorTrace() func(*SecurityGetServiceAccountsRequest)
- func (f SecurityGetServiceAccounts) WithFilterPath(v ...string) func(*SecurityGetServiceAccountsRequest)
- func (f SecurityGetServiceAccounts) WithHeader(h map[string]string) func(*SecurityGetServiceAccountsRequest)
- func (f SecurityGetServiceAccounts) WithHuman() func(*SecurityGetServiceAccountsRequest)
- func (f SecurityGetServiceAccounts) WithNamespace(v string) func(*SecurityGetServiceAccountsRequest)
- func (f SecurityGetServiceAccounts) WithOpaqueID(s string) func(*SecurityGetServiceAccountsRequest)
- func (f SecurityGetServiceAccounts) WithPretty() func(*SecurityGetServiceAccountsRequest)
- func (f SecurityGetServiceAccounts) WithService(v string) func(*SecurityGetServiceAccountsRequest)
- type SecurityGetServiceAccountsRequest
- type SecurityGetServiceCredentials
- func (f SecurityGetServiceCredentials) WithContext(v context.Context) func(*SecurityGetServiceCredentialsRequest)
- func (f SecurityGetServiceCredentials) WithErrorTrace() func(*SecurityGetServiceCredentialsRequest)
- func (f SecurityGetServiceCredentials) WithFilterPath(v ...string) func(*SecurityGetServiceCredentialsRequest)
- func (f SecurityGetServiceCredentials) WithHeader(h map[string]string) func(*SecurityGetServiceCredentialsRequest)
- func (f SecurityGetServiceCredentials) WithHuman() func(*SecurityGetServiceCredentialsRequest)
- func (f SecurityGetServiceCredentials) WithOpaqueID(s string) func(*SecurityGetServiceCredentialsRequest)
- func (f SecurityGetServiceCredentials) WithPretty() func(*SecurityGetServiceCredentialsRequest)
- type SecurityGetServiceCredentialsRequest
- type SecurityGetToken
- func (f SecurityGetToken) WithContext(v context.Context) func(*SecurityGetTokenRequest)
- func (f SecurityGetToken) WithErrorTrace() func(*SecurityGetTokenRequest)
- func (f SecurityGetToken) WithFilterPath(v ...string) func(*SecurityGetTokenRequest)
- func (f SecurityGetToken) WithHeader(h map[string]string) func(*SecurityGetTokenRequest)
- func (f SecurityGetToken) WithHuman() func(*SecurityGetTokenRequest)
- func (f SecurityGetToken) WithOpaqueID(s string) func(*SecurityGetTokenRequest)
- func (f SecurityGetToken) WithPretty() func(*SecurityGetTokenRequest)
- type SecurityGetTokenRequest
- type SecurityGetUser
- func (f SecurityGetUser) WithContext(v context.Context) func(*SecurityGetUserRequest)
- func (f SecurityGetUser) WithErrorTrace() func(*SecurityGetUserRequest)
- func (f SecurityGetUser) WithFilterPath(v ...string) func(*SecurityGetUserRequest)
- func (f SecurityGetUser) WithHeader(h map[string]string) func(*SecurityGetUserRequest)
- func (f SecurityGetUser) WithHuman() func(*SecurityGetUserRequest)
- func (f SecurityGetUser) WithOpaqueID(s string) func(*SecurityGetUserRequest)
- func (f SecurityGetUser) WithPretty() func(*SecurityGetUserRequest)
- func (f SecurityGetUser) WithUsername(v ...string) func(*SecurityGetUserRequest)
- type SecurityGetUserPrivileges
- func (f SecurityGetUserPrivileges) WithContext(v context.Context) func(*SecurityGetUserPrivilegesRequest)
- func (f SecurityGetUserPrivileges) WithErrorTrace() func(*SecurityGetUserPrivilegesRequest)
- func (f SecurityGetUserPrivileges) WithFilterPath(v ...string) func(*SecurityGetUserPrivilegesRequest)
- func (f SecurityGetUserPrivileges) WithHeader(h map[string]string) func(*SecurityGetUserPrivilegesRequest)
- func (f SecurityGetUserPrivileges) WithHuman() func(*SecurityGetUserPrivilegesRequest)
- func (f SecurityGetUserPrivileges) WithOpaqueID(s string) func(*SecurityGetUserPrivilegesRequest)
- func (f SecurityGetUserPrivileges) WithPretty() func(*SecurityGetUserPrivilegesRequest)
- type SecurityGetUserPrivilegesRequest
- type SecurityGetUserRequest
- type SecurityGrantAPIKey
- func (f SecurityGrantAPIKey) WithContext(v context.Context) func(*SecurityGrantAPIKeyRequest)
- func (f SecurityGrantAPIKey) WithErrorTrace() func(*SecurityGrantAPIKeyRequest)
- func (f SecurityGrantAPIKey) WithFilterPath(v ...string) func(*SecurityGrantAPIKeyRequest)
- func (f SecurityGrantAPIKey) WithHeader(h map[string]string) func(*SecurityGrantAPIKeyRequest)
- func (f SecurityGrantAPIKey) WithHuman() func(*SecurityGrantAPIKeyRequest)
- func (f SecurityGrantAPIKey) WithOpaqueID(s string) func(*SecurityGrantAPIKeyRequest)
- func (f SecurityGrantAPIKey) WithPretty() func(*SecurityGrantAPIKeyRequest)
- func (f SecurityGrantAPIKey) WithRefresh(v string) func(*SecurityGrantAPIKeyRequest)
- type SecurityGrantAPIKeyRequest
- type SecurityHasPrivileges
- func (f SecurityHasPrivileges) WithContext(v context.Context) func(*SecurityHasPrivilegesRequest)
- func (f SecurityHasPrivileges) WithErrorTrace() func(*SecurityHasPrivilegesRequest)
- func (f SecurityHasPrivileges) WithFilterPath(v ...string) func(*SecurityHasPrivilegesRequest)
- func (f SecurityHasPrivileges) WithHeader(h map[string]string) func(*SecurityHasPrivilegesRequest)
- func (f SecurityHasPrivileges) WithHuman() func(*SecurityHasPrivilegesRequest)
- func (f SecurityHasPrivileges) WithOpaqueID(s string) func(*SecurityHasPrivilegesRequest)
- func (f SecurityHasPrivileges) WithPretty() func(*SecurityHasPrivilegesRequest)
- func (f SecurityHasPrivileges) WithUser(v string) func(*SecurityHasPrivilegesRequest)
- type SecurityHasPrivilegesRequest
- type SecurityInvalidateAPIKey
- func (f SecurityInvalidateAPIKey) WithContext(v context.Context) func(*SecurityInvalidateAPIKeyRequest)
- func (f SecurityInvalidateAPIKey) WithErrorTrace() func(*SecurityInvalidateAPIKeyRequest)
- func (f SecurityInvalidateAPIKey) WithFilterPath(v ...string) func(*SecurityInvalidateAPIKeyRequest)
- func (f SecurityInvalidateAPIKey) WithHeader(h map[string]string) func(*SecurityInvalidateAPIKeyRequest)
- func (f SecurityInvalidateAPIKey) WithHuman() func(*SecurityInvalidateAPIKeyRequest)
- func (f SecurityInvalidateAPIKey) WithOpaqueID(s string) func(*SecurityInvalidateAPIKeyRequest)
- func (f SecurityInvalidateAPIKey) WithPretty() func(*SecurityInvalidateAPIKeyRequest)
- type SecurityInvalidateAPIKeyRequest
- type SecurityInvalidateToken
- func (f SecurityInvalidateToken) WithContext(v context.Context) func(*SecurityInvalidateTokenRequest)
- func (f SecurityInvalidateToken) WithErrorTrace() func(*SecurityInvalidateTokenRequest)
- func (f SecurityInvalidateToken) WithFilterPath(v ...string) func(*SecurityInvalidateTokenRequest)
- func (f SecurityInvalidateToken) WithHeader(h map[string]string) func(*SecurityInvalidateTokenRequest)
- func (f SecurityInvalidateToken) WithHuman() func(*SecurityInvalidateTokenRequest)
- func (f SecurityInvalidateToken) WithOpaqueID(s string) func(*SecurityInvalidateTokenRequest)
- func (f SecurityInvalidateToken) WithPretty() func(*SecurityInvalidateTokenRequest)
- type SecurityInvalidateTokenRequest
- type SecurityPutPrivileges
- func (f SecurityPutPrivileges) WithContext(v context.Context) func(*SecurityPutPrivilegesRequest)
- func (f SecurityPutPrivileges) WithErrorTrace() func(*SecurityPutPrivilegesRequest)
- func (f SecurityPutPrivileges) WithFilterPath(v ...string) func(*SecurityPutPrivilegesRequest)
- func (f SecurityPutPrivileges) WithHeader(h map[string]string) func(*SecurityPutPrivilegesRequest)
- func (f SecurityPutPrivileges) WithHuman() func(*SecurityPutPrivilegesRequest)
- func (f SecurityPutPrivileges) WithOpaqueID(s string) func(*SecurityPutPrivilegesRequest)
- func (f SecurityPutPrivileges) WithPretty() func(*SecurityPutPrivilegesRequest)
- func (f SecurityPutPrivileges) WithRefresh(v string) func(*SecurityPutPrivilegesRequest)
- type SecurityPutPrivilegesRequest
- type SecurityPutRole
- func (f SecurityPutRole) WithContext(v context.Context) func(*SecurityPutRoleRequest)
- func (f SecurityPutRole) WithErrorTrace() func(*SecurityPutRoleRequest)
- func (f SecurityPutRole) WithFilterPath(v ...string) func(*SecurityPutRoleRequest)
- func (f SecurityPutRole) WithHeader(h map[string]string) func(*SecurityPutRoleRequest)
- func (f SecurityPutRole) WithHuman() func(*SecurityPutRoleRequest)
- func (f SecurityPutRole) WithOpaqueID(s string) func(*SecurityPutRoleRequest)
- func (f SecurityPutRole) WithPretty() func(*SecurityPutRoleRequest)
- func (f SecurityPutRole) WithRefresh(v string) func(*SecurityPutRoleRequest)
- type SecurityPutRoleMapping
- func (f SecurityPutRoleMapping) WithContext(v context.Context) func(*SecurityPutRoleMappingRequest)
- func (f SecurityPutRoleMapping) WithErrorTrace() func(*SecurityPutRoleMappingRequest)
- func (f SecurityPutRoleMapping) WithFilterPath(v ...string) func(*SecurityPutRoleMappingRequest)
- func (f SecurityPutRoleMapping) WithHeader(h map[string]string) func(*SecurityPutRoleMappingRequest)
- func (f SecurityPutRoleMapping) WithHuman() func(*SecurityPutRoleMappingRequest)
- func (f SecurityPutRoleMapping) WithOpaqueID(s string) func(*SecurityPutRoleMappingRequest)
- func (f SecurityPutRoleMapping) WithPretty() func(*SecurityPutRoleMappingRequest)
- func (f SecurityPutRoleMapping) WithRefresh(v string) func(*SecurityPutRoleMappingRequest)
- type SecurityPutRoleMappingRequest
- type SecurityPutRoleRequest
- type SecurityPutUser
- func (f SecurityPutUser) WithContext(v context.Context) func(*SecurityPutUserRequest)
- func (f SecurityPutUser) WithErrorTrace() func(*SecurityPutUserRequest)
- func (f SecurityPutUser) WithFilterPath(v ...string) func(*SecurityPutUserRequest)
- func (f SecurityPutUser) WithHeader(h map[string]string) func(*SecurityPutUserRequest)
- func (f SecurityPutUser) WithHuman() func(*SecurityPutUserRequest)
- func (f SecurityPutUser) WithOpaqueID(s string) func(*SecurityPutUserRequest)
- func (f SecurityPutUser) WithPretty() func(*SecurityPutUserRequest)
- func (f SecurityPutUser) WithRefresh(v string) func(*SecurityPutUserRequest)
- type SecurityPutUserRequest
- type SecurityQueryAPIKeys
- func (f SecurityQueryAPIKeys) WithBody(v io.Reader) func(*SecurityQueryAPIKeysRequest)
- func (f SecurityQueryAPIKeys) WithContext(v context.Context) func(*SecurityQueryAPIKeysRequest)
- func (f SecurityQueryAPIKeys) WithErrorTrace() func(*SecurityQueryAPIKeysRequest)
- func (f SecurityQueryAPIKeys) WithFilterPath(v ...string) func(*SecurityQueryAPIKeysRequest)
- func (f SecurityQueryAPIKeys) WithHeader(h map[string]string) func(*SecurityQueryAPIKeysRequest)
- func (f SecurityQueryAPIKeys) WithHuman() func(*SecurityQueryAPIKeysRequest)
- func (f SecurityQueryAPIKeys) WithOpaqueID(s string) func(*SecurityQueryAPIKeysRequest)
- func (f SecurityQueryAPIKeys) WithPretty() func(*SecurityQueryAPIKeysRequest)
- type SecurityQueryAPIKeysRequest
- type SecuritySamlAuthenticate
- func (f SecuritySamlAuthenticate) WithContext(v context.Context) func(*SecuritySamlAuthenticateRequest)
- func (f SecuritySamlAuthenticate) WithErrorTrace() func(*SecuritySamlAuthenticateRequest)
- func (f SecuritySamlAuthenticate) WithFilterPath(v ...string) func(*SecuritySamlAuthenticateRequest)
- func (f SecuritySamlAuthenticate) WithHeader(h map[string]string) func(*SecuritySamlAuthenticateRequest)
- func (f SecuritySamlAuthenticate) WithHuman() func(*SecuritySamlAuthenticateRequest)
- func (f SecuritySamlAuthenticate) WithOpaqueID(s string) func(*SecuritySamlAuthenticateRequest)
- func (f SecuritySamlAuthenticate) WithPretty() func(*SecuritySamlAuthenticateRequest)
- type SecuritySamlAuthenticateRequest
- type SecuritySamlCompleteLogout
- func (f SecuritySamlCompleteLogout) WithContext(v context.Context) func(*SecuritySamlCompleteLogoutRequest)
- func (f SecuritySamlCompleteLogout) WithErrorTrace() func(*SecuritySamlCompleteLogoutRequest)
- func (f SecuritySamlCompleteLogout) WithFilterPath(v ...string) func(*SecuritySamlCompleteLogoutRequest)
- func (f SecuritySamlCompleteLogout) WithHeader(h map[string]string) func(*SecuritySamlCompleteLogoutRequest)
- func (f SecuritySamlCompleteLogout) WithHuman() func(*SecuritySamlCompleteLogoutRequest)
- func (f SecuritySamlCompleteLogout) WithOpaqueID(s string) func(*SecuritySamlCompleteLogoutRequest)
- func (f SecuritySamlCompleteLogout) WithPretty() func(*SecuritySamlCompleteLogoutRequest)
- type SecuritySamlCompleteLogoutRequest
- type SecuritySamlInvalidate
- func (f SecuritySamlInvalidate) WithContext(v context.Context) func(*SecuritySamlInvalidateRequest)
- func (f SecuritySamlInvalidate) WithErrorTrace() func(*SecuritySamlInvalidateRequest)
- func (f SecuritySamlInvalidate) WithFilterPath(v ...string) func(*SecuritySamlInvalidateRequest)
- func (f SecuritySamlInvalidate) WithHeader(h map[string]string) func(*SecuritySamlInvalidateRequest)
- func (f SecuritySamlInvalidate) WithHuman() func(*SecuritySamlInvalidateRequest)
- func (f SecuritySamlInvalidate) WithOpaqueID(s string) func(*SecuritySamlInvalidateRequest)
- func (f SecuritySamlInvalidate) WithPretty() func(*SecuritySamlInvalidateRequest)
- type SecuritySamlInvalidateRequest
- type SecuritySamlLogout
- func (f SecuritySamlLogout) WithContext(v context.Context) func(*SecuritySamlLogoutRequest)
- func (f SecuritySamlLogout) WithErrorTrace() func(*SecuritySamlLogoutRequest)
- func (f SecuritySamlLogout) WithFilterPath(v ...string) func(*SecuritySamlLogoutRequest)
- func (f SecuritySamlLogout) WithHeader(h map[string]string) func(*SecuritySamlLogoutRequest)
- func (f SecuritySamlLogout) WithHuman() func(*SecuritySamlLogoutRequest)
- func (f SecuritySamlLogout) WithOpaqueID(s string) func(*SecuritySamlLogoutRequest)
- func (f SecuritySamlLogout) WithPretty() func(*SecuritySamlLogoutRequest)
- type SecuritySamlLogoutRequest
- type SecuritySamlPrepareAuthentication
- func (f SecuritySamlPrepareAuthentication) WithContext(v context.Context) func(*SecuritySamlPrepareAuthenticationRequest)
- func (f SecuritySamlPrepareAuthentication) WithErrorTrace() func(*SecuritySamlPrepareAuthenticationRequest)
- func (f SecuritySamlPrepareAuthentication) WithFilterPath(v ...string) func(*SecuritySamlPrepareAuthenticationRequest)
- func (f SecuritySamlPrepareAuthentication) WithHeader(h map[string]string) func(*SecuritySamlPrepareAuthenticationRequest)
- func (f SecuritySamlPrepareAuthentication) WithHuman() func(*SecuritySamlPrepareAuthenticationRequest)
- func (f SecuritySamlPrepareAuthentication) WithOpaqueID(s string) func(*SecuritySamlPrepareAuthenticationRequest)
- func (f SecuritySamlPrepareAuthentication) WithPretty() func(*SecuritySamlPrepareAuthenticationRequest)
- type SecuritySamlPrepareAuthenticationRequest
- type SecuritySamlServiceProviderMetadata
- func (f SecuritySamlServiceProviderMetadata) WithContext(v context.Context) func(*SecuritySamlServiceProviderMetadataRequest)
- func (f SecuritySamlServiceProviderMetadata) WithErrorTrace() func(*SecuritySamlServiceProviderMetadataRequest)
- func (f SecuritySamlServiceProviderMetadata) WithFilterPath(v ...string) func(*SecuritySamlServiceProviderMetadataRequest)
- func (f SecuritySamlServiceProviderMetadata) WithHeader(h map[string]string) func(*SecuritySamlServiceProviderMetadataRequest)
- func (f SecuritySamlServiceProviderMetadata) WithHuman() func(*SecuritySamlServiceProviderMetadataRequest)
- func (f SecuritySamlServiceProviderMetadata) WithOpaqueID(s string) func(*SecuritySamlServiceProviderMetadataRequest)
- func (f SecuritySamlServiceProviderMetadata) WithPretty() func(*SecuritySamlServiceProviderMetadataRequest)
- type SecuritySamlServiceProviderMetadataRequest
- type ShutdownDeleteNode
- func (f ShutdownDeleteNode) WithContext(v context.Context) func(*ShutdownDeleteNodeRequest)
- func (f ShutdownDeleteNode) WithErrorTrace() func(*ShutdownDeleteNodeRequest)
- func (f ShutdownDeleteNode) WithFilterPath(v ...string) func(*ShutdownDeleteNodeRequest)
- func (f ShutdownDeleteNode) WithHeader(h map[string]string) func(*ShutdownDeleteNodeRequest)
- func (f ShutdownDeleteNode) WithHuman() func(*ShutdownDeleteNodeRequest)
- func (f ShutdownDeleteNode) WithOpaqueID(s string) func(*ShutdownDeleteNodeRequest)
- func (f ShutdownDeleteNode) WithPretty() func(*ShutdownDeleteNodeRequest)
- type ShutdownDeleteNodeRequest
- type ShutdownGetNode
- func (f ShutdownGetNode) WithContext(v context.Context) func(*ShutdownGetNodeRequest)
- func (f ShutdownGetNode) WithErrorTrace() func(*ShutdownGetNodeRequest)
- func (f ShutdownGetNode) WithFilterPath(v ...string) func(*ShutdownGetNodeRequest)
- func (f ShutdownGetNode) WithHeader(h map[string]string) func(*ShutdownGetNodeRequest)
- func (f ShutdownGetNode) WithHuman() func(*ShutdownGetNodeRequest)
- func (f ShutdownGetNode) WithNodeID(v string) func(*ShutdownGetNodeRequest)
- func (f ShutdownGetNode) WithOpaqueID(s string) func(*ShutdownGetNodeRequest)
- func (f ShutdownGetNode) WithPretty() func(*ShutdownGetNodeRequest)
- type ShutdownGetNodeRequest
- type ShutdownPutNode
- func (f ShutdownPutNode) WithContext(v context.Context) func(*ShutdownPutNodeRequest)
- func (f ShutdownPutNode) WithErrorTrace() func(*ShutdownPutNodeRequest)
- func (f ShutdownPutNode) WithFilterPath(v ...string) func(*ShutdownPutNodeRequest)
- func (f ShutdownPutNode) WithHeader(h map[string]string) func(*ShutdownPutNodeRequest)
- func (f ShutdownPutNode) WithHuman() func(*ShutdownPutNodeRequest)
- func (f ShutdownPutNode) WithOpaqueID(s string) func(*ShutdownPutNodeRequest)
- func (f ShutdownPutNode) WithPretty() func(*ShutdownPutNodeRequest)
- type ShutdownPutNodeRequest
- type SlmDeleteLifecycle
- func (f SlmDeleteLifecycle) WithContext(v context.Context) func(*SlmDeleteLifecycleRequest)
- func (f SlmDeleteLifecycle) WithErrorTrace() func(*SlmDeleteLifecycleRequest)
- func (f SlmDeleteLifecycle) WithFilterPath(v ...string) func(*SlmDeleteLifecycleRequest)
- func (f SlmDeleteLifecycle) WithHeader(h map[string]string) func(*SlmDeleteLifecycleRequest)
- func (f SlmDeleteLifecycle) WithHuman() func(*SlmDeleteLifecycleRequest)
- func (f SlmDeleteLifecycle) WithOpaqueID(s string) func(*SlmDeleteLifecycleRequest)
- func (f SlmDeleteLifecycle) WithPretty() func(*SlmDeleteLifecycleRequest)
- type SlmDeleteLifecycleRequest
- type SlmExecuteLifecycle
- func (f SlmExecuteLifecycle) WithContext(v context.Context) func(*SlmExecuteLifecycleRequest)
- func (f SlmExecuteLifecycle) WithErrorTrace() func(*SlmExecuteLifecycleRequest)
- func (f SlmExecuteLifecycle) WithFilterPath(v ...string) func(*SlmExecuteLifecycleRequest)
- func (f SlmExecuteLifecycle) WithHeader(h map[string]string) func(*SlmExecuteLifecycleRequest)
- func (f SlmExecuteLifecycle) WithHuman() func(*SlmExecuteLifecycleRequest)
- func (f SlmExecuteLifecycle) WithOpaqueID(s string) func(*SlmExecuteLifecycleRequest)
- func (f SlmExecuteLifecycle) WithPretty() func(*SlmExecuteLifecycleRequest)
- type SlmExecuteLifecycleRequest
- type SlmExecuteRetention
- func (f SlmExecuteRetention) WithContext(v context.Context) func(*SlmExecuteRetentionRequest)
- func (f SlmExecuteRetention) WithErrorTrace() func(*SlmExecuteRetentionRequest)
- func (f SlmExecuteRetention) WithFilterPath(v ...string) func(*SlmExecuteRetentionRequest)
- func (f SlmExecuteRetention) WithHeader(h map[string]string) func(*SlmExecuteRetentionRequest)
- func (f SlmExecuteRetention) WithHuman() func(*SlmExecuteRetentionRequest)
- func (f SlmExecuteRetention) WithOpaqueID(s string) func(*SlmExecuteRetentionRequest)
- func (f SlmExecuteRetention) WithPretty() func(*SlmExecuteRetentionRequest)
- type SlmExecuteRetentionRequest
- type SlmGetLifecycle
- func (f SlmGetLifecycle) WithContext(v context.Context) func(*SlmGetLifecycleRequest)
- func (f SlmGetLifecycle) WithErrorTrace() func(*SlmGetLifecycleRequest)
- func (f SlmGetLifecycle) WithFilterPath(v ...string) func(*SlmGetLifecycleRequest)
- func (f SlmGetLifecycle) WithHeader(h map[string]string) func(*SlmGetLifecycleRequest)
- func (f SlmGetLifecycle) WithHuman() func(*SlmGetLifecycleRequest)
- func (f SlmGetLifecycle) WithOpaqueID(s string) func(*SlmGetLifecycleRequest)
- func (f SlmGetLifecycle) WithPolicyID(v ...string) func(*SlmGetLifecycleRequest)
- func (f SlmGetLifecycle) WithPretty() func(*SlmGetLifecycleRequest)
- type SlmGetLifecycleRequest
- type SlmGetStats
- func (f SlmGetStats) WithContext(v context.Context) func(*SlmGetStatsRequest)
- func (f SlmGetStats) WithErrorTrace() func(*SlmGetStatsRequest)
- func (f SlmGetStats) WithFilterPath(v ...string) func(*SlmGetStatsRequest)
- func (f SlmGetStats) WithHeader(h map[string]string) func(*SlmGetStatsRequest)
- func (f SlmGetStats) WithHuman() func(*SlmGetStatsRequest)
- func (f SlmGetStats) WithOpaqueID(s string) func(*SlmGetStatsRequest)
- func (f SlmGetStats) WithPretty() func(*SlmGetStatsRequest)
- type SlmGetStatsRequest
- type SlmGetStatus
- func (f SlmGetStatus) WithContext(v context.Context) func(*SlmGetStatusRequest)
- func (f SlmGetStatus) WithErrorTrace() func(*SlmGetStatusRequest)
- func (f SlmGetStatus) WithFilterPath(v ...string) func(*SlmGetStatusRequest)
- func (f SlmGetStatus) WithHeader(h map[string]string) func(*SlmGetStatusRequest)
- func (f SlmGetStatus) WithHuman() func(*SlmGetStatusRequest)
- func (f SlmGetStatus) WithOpaqueID(s string) func(*SlmGetStatusRequest)
- func (f SlmGetStatus) WithPretty() func(*SlmGetStatusRequest)
- type SlmGetStatusRequest
- type SlmPutLifecycle
- func (f SlmPutLifecycle) WithBody(v io.Reader) func(*SlmPutLifecycleRequest)
- func (f SlmPutLifecycle) WithContext(v context.Context) func(*SlmPutLifecycleRequest)
- func (f SlmPutLifecycle) WithErrorTrace() func(*SlmPutLifecycleRequest)
- func (f SlmPutLifecycle) WithFilterPath(v ...string) func(*SlmPutLifecycleRequest)
- func (f SlmPutLifecycle) WithHeader(h map[string]string) func(*SlmPutLifecycleRequest)
- func (f SlmPutLifecycle) WithHuman() func(*SlmPutLifecycleRequest)
- func (f SlmPutLifecycle) WithOpaqueID(s string) func(*SlmPutLifecycleRequest)
- func (f SlmPutLifecycle) WithPretty() func(*SlmPutLifecycleRequest)
- type SlmPutLifecycleRequest
- type SlmStart
- func (f SlmStart) WithContext(v context.Context) func(*SlmStartRequest)
- func (f SlmStart) WithErrorTrace() func(*SlmStartRequest)
- func (f SlmStart) WithFilterPath(v ...string) func(*SlmStartRequest)
- func (f SlmStart) WithHeader(h map[string]string) func(*SlmStartRequest)
- func (f SlmStart) WithHuman() func(*SlmStartRequest)
- func (f SlmStart) WithOpaqueID(s string) func(*SlmStartRequest)
- func (f SlmStart) WithPretty() func(*SlmStartRequest)
- type SlmStartRequest
- type SlmStop
- func (f SlmStop) WithContext(v context.Context) func(*SlmStopRequest)
- func (f SlmStop) WithErrorTrace() func(*SlmStopRequest)
- func (f SlmStop) WithFilterPath(v ...string) func(*SlmStopRequest)
- func (f SlmStop) WithHeader(h map[string]string) func(*SlmStopRequest)
- func (f SlmStop) WithHuman() func(*SlmStopRequest)
- func (f SlmStop) WithOpaqueID(s string) func(*SlmStopRequest)
- func (f SlmStop) WithPretty() func(*SlmStopRequest)
- type SlmStopRequest
- type Snapshot
- type SnapshotCleanupRepository
- func (f SnapshotCleanupRepository) WithContext(v context.Context) func(*SnapshotCleanupRepositoryRequest)
- func (f SnapshotCleanupRepository) WithErrorTrace() func(*SnapshotCleanupRepositoryRequest)
- func (f SnapshotCleanupRepository) WithFilterPath(v ...string) func(*SnapshotCleanupRepositoryRequest)
- func (f SnapshotCleanupRepository) WithHeader(h map[string]string) func(*SnapshotCleanupRepositoryRequest)
- func (f SnapshotCleanupRepository) WithHuman() func(*SnapshotCleanupRepositoryRequest)
- func (f SnapshotCleanupRepository) WithMasterTimeout(v time.Duration) func(*SnapshotCleanupRepositoryRequest)
- func (f SnapshotCleanupRepository) WithOpaqueID(s string) func(*SnapshotCleanupRepositoryRequest)
- func (f SnapshotCleanupRepository) WithPretty() func(*SnapshotCleanupRepositoryRequest)
- func (f SnapshotCleanupRepository) WithTimeout(v time.Duration) func(*SnapshotCleanupRepositoryRequest)
- type SnapshotCleanupRepositoryRequest
- type SnapshotClone
- func (f SnapshotClone) WithContext(v context.Context) func(*SnapshotCloneRequest)
- func (f SnapshotClone) WithErrorTrace() func(*SnapshotCloneRequest)
- func (f SnapshotClone) WithFilterPath(v ...string) func(*SnapshotCloneRequest)
- func (f SnapshotClone) WithHeader(h map[string]string) func(*SnapshotCloneRequest)
- func (f SnapshotClone) WithHuman() func(*SnapshotCloneRequest)
- func (f SnapshotClone) WithMasterTimeout(v time.Duration) func(*SnapshotCloneRequest)
- func (f SnapshotClone) WithOpaqueID(s string) func(*SnapshotCloneRequest)
- func (f SnapshotClone) WithPretty() func(*SnapshotCloneRequest)
- type SnapshotCloneRequest
- type SnapshotCreate
- func (f SnapshotCreate) WithBody(v io.Reader) func(*SnapshotCreateRequest)
- func (f SnapshotCreate) WithContext(v context.Context) func(*SnapshotCreateRequest)
- func (f SnapshotCreate) WithErrorTrace() func(*SnapshotCreateRequest)
- func (f SnapshotCreate) WithFilterPath(v ...string) func(*SnapshotCreateRequest)
- func (f SnapshotCreate) WithHeader(h map[string]string) func(*SnapshotCreateRequest)
- func (f SnapshotCreate) WithHuman() func(*SnapshotCreateRequest)
- func (f SnapshotCreate) WithMasterTimeout(v time.Duration) func(*SnapshotCreateRequest)
- func (f SnapshotCreate) WithOpaqueID(s string) func(*SnapshotCreateRequest)
- func (f SnapshotCreate) WithPretty() func(*SnapshotCreateRequest)
- func (f SnapshotCreate) WithWaitForCompletion(v bool) func(*SnapshotCreateRequest)
- type SnapshotCreateRepository
- func (f SnapshotCreateRepository) WithContext(v context.Context) func(*SnapshotCreateRepositoryRequest)
- func (f SnapshotCreateRepository) WithErrorTrace() func(*SnapshotCreateRepositoryRequest)
- func (f SnapshotCreateRepository) WithFilterPath(v ...string) func(*SnapshotCreateRepositoryRequest)
- func (f SnapshotCreateRepository) WithHeader(h map[string]string) func(*SnapshotCreateRepositoryRequest)
- func (f SnapshotCreateRepository) WithHuman() func(*SnapshotCreateRepositoryRequest)
- func (f SnapshotCreateRepository) WithMasterTimeout(v time.Duration) func(*SnapshotCreateRepositoryRequest)
- func (f SnapshotCreateRepository) WithOpaqueID(s string) func(*SnapshotCreateRepositoryRequest)
- func (f SnapshotCreateRepository) WithPretty() func(*SnapshotCreateRepositoryRequest)
- func (f SnapshotCreateRepository) WithTimeout(v time.Duration) func(*SnapshotCreateRepositoryRequest)
- func (f SnapshotCreateRepository) WithVerify(v bool) func(*SnapshotCreateRepositoryRequest)
- type SnapshotCreateRepositoryRequest
- type SnapshotCreateRequest
- type SnapshotDelete
- func (f SnapshotDelete) WithContext(v context.Context) func(*SnapshotDeleteRequest)
- func (f SnapshotDelete) WithErrorTrace() func(*SnapshotDeleteRequest)
- func (f SnapshotDelete) WithFilterPath(v ...string) func(*SnapshotDeleteRequest)
- func (f SnapshotDelete) WithHeader(h map[string]string) func(*SnapshotDeleteRequest)
- func (f SnapshotDelete) WithHuman() func(*SnapshotDeleteRequest)
- func (f SnapshotDelete) WithMasterTimeout(v time.Duration) func(*SnapshotDeleteRequest)
- func (f SnapshotDelete) WithOpaqueID(s string) func(*SnapshotDeleteRequest)
- func (f SnapshotDelete) WithPretty() func(*SnapshotDeleteRequest)
- type SnapshotDeleteRepository
- func (f SnapshotDeleteRepository) WithContext(v context.Context) func(*SnapshotDeleteRepositoryRequest)
- func (f SnapshotDeleteRepository) WithErrorTrace() func(*SnapshotDeleteRepositoryRequest)
- func (f SnapshotDeleteRepository) WithFilterPath(v ...string) func(*SnapshotDeleteRepositoryRequest)
- func (f SnapshotDeleteRepository) WithHeader(h map[string]string) func(*SnapshotDeleteRepositoryRequest)
- func (f SnapshotDeleteRepository) WithHuman() func(*SnapshotDeleteRepositoryRequest)
- func (f SnapshotDeleteRepository) WithMasterTimeout(v time.Duration) func(*SnapshotDeleteRepositoryRequest)
- func (f SnapshotDeleteRepository) WithOpaqueID(s string) func(*SnapshotDeleteRepositoryRequest)
- func (f SnapshotDeleteRepository) WithPretty() func(*SnapshotDeleteRepositoryRequest)
- func (f SnapshotDeleteRepository) WithTimeout(v time.Duration) func(*SnapshotDeleteRepositoryRequest)
- type SnapshotDeleteRepositoryRequest
- type SnapshotDeleteRequest
- type SnapshotGet
- func (f SnapshotGet) WithAfter(v string) func(*SnapshotGetRequest)
- func (f SnapshotGet) WithContext(v context.Context) func(*SnapshotGetRequest)
- func (f SnapshotGet) WithErrorTrace() func(*SnapshotGetRequest)
- func (f SnapshotGet) WithFilterPath(v ...string) func(*SnapshotGetRequest)
- func (f SnapshotGet) WithFromSortValue(v string) func(*SnapshotGetRequest)
- func (f SnapshotGet) WithHeader(h map[string]string) func(*SnapshotGetRequest)
- func (f SnapshotGet) WithHuman() func(*SnapshotGetRequest)
- func (f SnapshotGet) WithIgnoreUnavailable(v bool) func(*SnapshotGetRequest)
- func (f SnapshotGet) WithIncludeRepository(v bool) func(*SnapshotGetRequest)
- func (f SnapshotGet) WithIndexDetails(v bool) func(*SnapshotGetRequest)
- func (f SnapshotGet) WithMasterTimeout(v time.Duration) func(*SnapshotGetRequest)
- func (f SnapshotGet) WithOffset(v interface{}) func(*SnapshotGetRequest)
- func (f SnapshotGet) WithOpaqueID(s string) func(*SnapshotGetRequest)
- func (f SnapshotGet) WithOrder(v string) func(*SnapshotGetRequest)
- func (f SnapshotGet) WithPretty() func(*SnapshotGetRequest)
- func (f SnapshotGet) WithSize(v interface{}) func(*SnapshotGetRequest)
- func (f SnapshotGet) WithSlmPolicyFilter(v string) func(*SnapshotGetRequest)
- func (f SnapshotGet) WithSort(v string) func(*SnapshotGetRequest)
- func (f SnapshotGet) WithVerbose(v bool) func(*SnapshotGetRequest)
- type SnapshotGetRepository
- func (f SnapshotGetRepository) WithContext(v context.Context) func(*SnapshotGetRepositoryRequest)
- func (f SnapshotGetRepository) WithErrorTrace() func(*SnapshotGetRepositoryRequest)
- func (f SnapshotGetRepository) WithFilterPath(v ...string) func(*SnapshotGetRepositoryRequest)
- func (f SnapshotGetRepository) WithHeader(h map[string]string) func(*SnapshotGetRepositoryRequest)
- func (f SnapshotGetRepository) WithHuman() func(*SnapshotGetRepositoryRequest)
- func (f SnapshotGetRepository) WithLocal(v bool) func(*SnapshotGetRepositoryRequest)
- func (f SnapshotGetRepository) WithMasterTimeout(v time.Duration) func(*SnapshotGetRepositoryRequest)
- func (f SnapshotGetRepository) WithOpaqueID(s string) func(*SnapshotGetRepositoryRequest)
- func (f SnapshotGetRepository) WithPretty() func(*SnapshotGetRepositoryRequest)
- func (f SnapshotGetRepository) WithRepository(v ...string) func(*SnapshotGetRepositoryRequest)
- type SnapshotGetRepositoryRequest
- type SnapshotGetRequest
- type SnapshotRepositoryAnalyze
- func (f SnapshotRepositoryAnalyze) WithBlobCount(v int) func(*SnapshotRepositoryAnalyzeRequest)
- func (f SnapshotRepositoryAnalyze) WithConcurrency(v int) func(*SnapshotRepositoryAnalyzeRequest)
- func (f SnapshotRepositoryAnalyze) WithContext(v context.Context) func(*SnapshotRepositoryAnalyzeRequest)
- func (f SnapshotRepositoryAnalyze) WithDetailed(v bool) func(*SnapshotRepositoryAnalyzeRequest)
- func (f SnapshotRepositoryAnalyze) WithEarlyReadNodeCount(v int) func(*SnapshotRepositoryAnalyzeRequest)
- func (f SnapshotRepositoryAnalyze) WithErrorTrace() func(*SnapshotRepositoryAnalyzeRequest)
- func (f SnapshotRepositoryAnalyze) WithFilterPath(v ...string) func(*SnapshotRepositoryAnalyzeRequest)
- func (f SnapshotRepositoryAnalyze) WithHeader(h map[string]string) func(*SnapshotRepositoryAnalyzeRequest)
- func (f SnapshotRepositoryAnalyze) WithHuman() func(*SnapshotRepositoryAnalyzeRequest)
- func (f SnapshotRepositoryAnalyze) WithMaxBlobSize(v string) func(*SnapshotRepositoryAnalyzeRequest)
- func (f SnapshotRepositoryAnalyze) WithMaxTotalDataSize(v string) func(*SnapshotRepositoryAnalyzeRequest)
- func (f SnapshotRepositoryAnalyze) WithOpaqueID(s string) func(*SnapshotRepositoryAnalyzeRequest)
- func (f SnapshotRepositoryAnalyze) WithPretty() func(*SnapshotRepositoryAnalyzeRequest)
- func (f SnapshotRepositoryAnalyze) WithRareActionProbability(v int) func(*SnapshotRepositoryAnalyzeRequest)
- func (f SnapshotRepositoryAnalyze) WithRarelyAbortWrites(v bool) func(*SnapshotRepositoryAnalyzeRequest)
- func (f SnapshotRepositoryAnalyze) WithReadNodeCount(v int) func(*SnapshotRepositoryAnalyzeRequest)
- func (f SnapshotRepositoryAnalyze) WithSeed(v int) func(*SnapshotRepositoryAnalyzeRequest)
- func (f SnapshotRepositoryAnalyze) WithTimeout(v time.Duration) func(*SnapshotRepositoryAnalyzeRequest)
- type SnapshotRepositoryAnalyzeRequest
- type SnapshotRestore
- func (f SnapshotRestore) WithBody(v io.Reader) func(*SnapshotRestoreRequest)
- func (f SnapshotRestore) WithContext(v context.Context) func(*SnapshotRestoreRequest)
- func (f SnapshotRestore) WithErrorTrace() func(*SnapshotRestoreRequest)
- func (f SnapshotRestore) WithFilterPath(v ...string) func(*SnapshotRestoreRequest)
- func (f SnapshotRestore) WithHeader(h map[string]string) func(*SnapshotRestoreRequest)
- func (f SnapshotRestore) WithHuman() func(*SnapshotRestoreRequest)
- func (f SnapshotRestore) WithMasterTimeout(v time.Duration) func(*SnapshotRestoreRequest)
- func (f SnapshotRestore) WithOpaqueID(s string) func(*SnapshotRestoreRequest)
- func (f SnapshotRestore) WithPretty() func(*SnapshotRestoreRequest)
- func (f SnapshotRestore) WithWaitForCompletion(v bool) func(*SnapshotRestoreRequest)
- type SnapshotRestoreRequest
- type SnapshotStatus
- func (f SnapshotStatus) WithContext(v context.Context) func(*SnapshotStatusRequest)
- func (f SnapshotStatus) WithErrorTrace() func(*SnapshotStatusRequest)
- func (f SnapshotStatus) WithFilterPath(v ...string) func(*SnapshotStatusRequest)
- func (f SnapshotStatus) WithHeader(h map[string]string) func(*SnapshotStatusRequest)
- func (f SnapshotStatus) WithHuman() func(*SnapshotStatusRequest)
- func (f SnapshotStatus) WithIgnoreUnavailable(v bool) func(*SnapshotStatusRequest)
- func (f SnapshotStatus) WithMasterTimeout(v time.Duration) func(*SnapshotStatusRequest)
- func (f SnapshotStatus) WithOpaqueID(s string) func(*SnapshotStatusRequest)
- func (f SnapshotStatus) WithPretty() func(*SnapshotStatusRequest)
- func (f SnapshotStatus) WithRepository(v string) func(*SnapshotStatusRequest)
- func (f SnapshotStatus) WithSnapshot(v ...string) func(*SnapshotStatusRequest)
- type SnapshotStatusRequest
- type SnapshotVerifyRepository
- func (f SnapshotVerifyRepository) WithContext(v context.Context) func(*SnapshotVerifyRepositoryRequest)
- func (f SnapshotVerifyRepository) WithErrorTrace() func(*SnapshotVerifyRepositoryRequest)
- func (f SnapshotVerifyRepository) WithFilterPath(v ...string) func(*SnapshotVerifyRepositoryRequest)
- func (f SnapshotVerifyRepository) WithHeader(h map[string]string) func(*SnapshotVerifyRepositoryRequest)
- func (f SnapshotVerifyRepository) WithHuman() func(*SnapshotVerifyRepositoryRequest)
- func (f SnapshotVerifyRepository) WithMasterTimeout(v time.Duration) func(*SnapshotVerifyRepositoryRequest)
- func (f SnapshotVerifyRepository) WithOpaqueID(s string) func(*SnapshotVerifyRepositoryRequest)
- func (f SnapshotVerifyRepository) WithPretty() func(*SnapshotVerifyRepositoryRequest)
- func (f SnapshotVerifyRepository) WithTimeout(v time.Duration) func(*SnapshotVerifyRepositoryRequest)
- type SnapshotVerifyRepositoryRequest
- type Tasks
- type TasksCancel
- func (f TasksCancel) WithActions(v ...string) func(*TasksCancelRequest)
- func (f TasksCancel) WithContext(v context.Context) func(*TasksCancelRequest)
- func (f TasksCancel) WithErrorTrace() func(*TasksCancelRequest)
- func (f TasksCancel) WithFilterPath(v ...string) func(*TasksCancelRequest)
- func (f TasksCancel) WithHeader(h map[string]string) func(*TasksCancelRequest)
- func (f TasksCancel) WithHuman() func(*TasksCancelRequest)
- func (f TasksCancel) WithNodes(v ...string) func(*TasksCancelRequest)
- func (f TasksCancel) WithOpaqueID(s string) func(*TasksCancelRequest)
- func (f TasksCancel) WithParentTaskID(v string) func(*TasksCancelRequest)
- func (f TasksCancel) WithPretty() func(*TasksCancelRequest)
- func (f TasksCancel) WithTaskID(v string) func(*TasksCancelRequest)
- func (f TasksCancel) WithWaitForCompletion(v bool) func(*TasksCancelRequest)
- type TasksCancelRequest
- type TasksGet
- func (f TasksGet) WithContext(v context.Context) func(*TasksGetRequest)
- func (f TasksGet) WithErrorTrace() func(*TasksGetRequest)
- func (f TasksGet) WithFilterPath(v ...string) func(*TasksGetRequest)
- func (f TasksGet) WithHeader(h map[string]string) func(*TasksGetRequest)
- func (f TasksGet) WithHuman() func(*TasksGetRequest)
- func (f TasksGet) WithOpaqueID(s string) func(*TasksGetRequest)
- func (f TasksGet) WithPretty() func(*TasksGetRequest)
- func (f TasksGet) WithTimeout(v time.Duration) func(*TasksGetRequest)
- func (f TasksGet) WithWaitForCompletion(v bool) func(*TasksGetRequest)
- type TasksGetRequest
- type TasksList
- func (f TasksList) WithActions(v ...string) func(*TasksListRequest)
- func (f TasksList) WithContext(v context.Context) func(*TasksListRequest)
- func (f TasksList) WithDetailed(v bool) func(*TasksListRequest)
- func (f TasksList) WithErrorTrace() func(*TasksListRequest)
- func (f TasksList) WithFilterPath(v ...string) func(*TasksListRequest)
- func (f TasksList) WithGroupBy(v string) func(*TasksListRequest)
- func (f TasksList) WithHeader(h map[string]string) func(*TasksListRequest)
- func (f TasksList) WithHuman() func(*TasksListRequest)
- func (f TasksList) WithNodes(v ...string) func(*TasksListRequest)
- func (f TasksList) WithOpaqueID(s string) func(*TasksListRequest)
- func (f TasksList) WithParentTaskID(v string) func(*TasksListRequest)
- func (f TasksList) WithPretty() func(*TasksListRequest)
- func (f TasksList) WithTimeout(v time.Duration) func(*TasksListRequest)
- func (f TasksList) WithWaitForCompletion(v bool) func(*TasksListRequest)
- type TasksListRequest
- type TermsEnum
- func (f TermsEnum) WithBody(v io.Reader) func(*TermsEnumRequest)
- func (f TermsEnum) WithContext(v context.Context) func(*TermsEnumRequest)
- func (f TermsEnum) WithErrorTrace() func(*TermsEnumRequest)
- func (f TermsEnum) WithFilterPath(v ...string) func(*TermsEnumRequest)
- func (f TermsEnum) WithHeader(h map[string]string) func(*TermsEnumRequest)
- func (f TermsEnum) WithHuman() func(*TermsEnumRequest)
- func (f TermsEnum) WithOpaqueID(s string) func(*TermsEnumRequest)
- func (f TermsEnum) WithPretty() func(*TermsEnumRequest)
- type TermsEnumRequest
- type Termvectors
- func (f Termvectors) WithBody(v io.Reader) func(*TermvectorsRequest)
- func (f Termvectors) WithContext(v context.Context) func(*TermvectorsRequest)
- func (f Termvectors) WithDocumentID(v string) func(*TermvectorsRequest)
- func (f Termvectors) WithDocumentType(v string) func(*TermvectorsRequest)
- func (f Termvectors) WithErrorTrace() func(*TermvectorsRequest)
- func (f Termvectors) WithFieldStatistics(v bool) func(*TermvectorsRequest)
- func (f Termvectors) WithFields(v ...string) func(*TermvectorsRequest)
- func (f Termvectors) WithFilterPath(v ...string) func(*TermvectorsRequest)
- func (f Termvectors) WithHeader(h map[string]string) func(*TermvectorsRequest)
- func (f Termvectors) WithHuman() func(*TermvectorsRequest)
- func (f Termvectors) WithOffsets(v bool) func(*TermvectorsRequest)
- func (f Termvectors) WithOpaqueID(s string) func(*TermvectorsRequest)
- func (f Termvectors) WithPayloads(v bool) func(*TermvectorsRequest)
- func (f Termvectors) WithPositions(v bool) func(*TermvectorsRequest)
- func (f Termvectors) WithPreference(v string) func(*TermvectorsRequest)
- func (f Termvectors) WithPretty() func(*TermvectorsRequest)
- func (f Termvectors) WithRealtime(v bool) func(*TermvectorsRequest)
- func (f Termvectors) WithRouting(v string) func(*TermvectorsRequest)
- func (f Termvectors) WithTermStatistics(v bool) func(*TermvectorsRequest)
- func (f Termvectors) WithVersion(v int) func(*TermvectorsRequest)
- func (f Termvectors) WithVersionType(v string) func(*TermvectorsRequest)
- type TermvectorsRequest
- type TextStructureFindStructure
- func (f TextStructureFindStructure) WithCharset(v string) func(*TextStructureFindStructureRequest)
- func (f TextStructureFindStructure) WithColumnNames(v ...string) func(*TextStructureFindStructureRequest)
- func (f TextStructureFindStructure) WithContext(v context.Context) func(*TextStructureFindStructureRequest)
- func (f TextStructureFindStructure) WithDelimiter(v string) func(*TextStructureFindStructureRequest)
- func (f TextStructureFindStructure) WithErrorTrace() func(*TextStructureFindStructureRequest)
- func (f TextStructureFindStructure) WithExplain(v bool) func(*TextStructureFindStructureRequest)
- func (f TextStructureFindStructure) WithFilterPath(v ...string) func(*TextStructureFindStructureRequest)
- func (f TextStructureFindStructure) WithFormat(v string) func(*TextStructureFindStructureRequest)
- func (f TextStructureFindStructure) WithGrokPattern(v string) func(*TextStructureFindStructureRequest)
- func (f TextStructureFindStructure) WithHasHeaderRow(v bool) func(*TextStructureFindStructureRequest)
- func (f TextStructureFindStructure) WithHeader(h map[string]string) func(*TextStructureFindStructureRequest)
- func (f TextStructureFindStructure) WithHuman() func(*TextStructureFindStructureRequest)
- func (f TextStructureFindStructure) WithLineMergeSizeLimit(v int) func(*TextStructureFindStructureRequest)
- func (f TextStructureFindStructure) WithLinesToSample(v int) func(*TextStructureFindStructureRequest)
- func (f TextStructureFindStructure) WithOpaqueID(s string) func(*TextStructureFindStructureRequest)
- func (f TextStructureFindStructure) WithPretty() func(*TextStructureFindStructureRequest)
- func (f TextStructureFindStructure) WithQuote(v string) func(*TextStructureFindStructureRequest)
- func (f TextStructureFindStructure) WithShouldTrimFields(v bool) func(*TextStructureFindStructureRequest)
- func (f TextStructureFindStructure) WithTimeout(v time.Duration) func(*TextStructureFindStructureRequest)
- func (f TextStructureFindStructure) WithTimestampField(v string) func(*TextStructureFindStructureRequest)
- func (f TextStructureFindStructure) WithTimestampFormat(v string) func(*TextStructureFindStructureRequest)
- type TextStructureFindStructureRequest
- type TransformDeleteTransform
- func (f TransformDeleteTransform) WithContext(v context.Context) func(*TransformDeleteTransformRequest)
- func (f TransformDeleteTransform) WithErrorTrace() func(*TransformDeleteTransformRequest)
- func (f TransformDeleteTransform) WithFilterPath(v ...string) func(*TransformDeleteTransformRequest)
- func (f TransformDeleteTransform) WithForce(v bool) func(*TransformDeleteTransformRequest)
- func (f TransformDeleteTransform) WithHeader(h map[string]string) func(*TransformDeleteTransformRequest)
- func (f TransformDeleteTransform) WithHuman() func(*TransformDeleteTransformRequest)
- func (f TransformDeleteTransform) WithOpaqueID(s string) func(*TransformDeleteTransformRequest)
- func (f TransformDeleteTransform) WithPretty() func(*TransformDeleteTransformRequest)
- func (f TransformDeleteTransform) WithTimeout(v time.Duration) func(*TransformDeleteTransformRequest)
- type TransformDeleteTransformRequest
- type TransformGetTransform
- func (f TransformGetTransform) WithAllowNoMatch(v bool) func(*TransformGetTransformRequest)
- func (f TransformGetTransform) WithContext(v context.Context) func(*TransformGetTransformRequest)
- func (f TransformGetTransform) WithErrorTrace() func(*TransformGetTransformRequest)
- func (f TransformGetTransform) WithExcludeGenerated(v bool) func(*TransformGetTransformRequest)
- func (f TransformGetTransform) WithFilterPath(v ...string) func(*TransformGetTransformRequest)
- func (f TransformGetTransform) WithFrom(v int) func(*TransformGetTransformRequest)
- func (f TransformGetTransform) WithHeader(h map[string]string) func(*TransformGetTransformRequest)
- func (f TransformGetTransform) WithHuman() func(*TransformGetTransformRequest)
- func (f TransformGetTransform) WithOpaqueID(s string) func(*TransformGetTransformRequest)
- func (f TransformGetTransform) WithPretty() func(*TransformGetTransformRequest)
- func (f TransformGetTransform) WithSize(v int) func(*TransformGetTransformRequest)
- func (f TransformGetTransform) WithTransformID(v string) func(*TransformGetTransformRequest)
- type TransformGetTransformRequest
- type TransformGetTransformStats
- func (f TransformGetTransformStats) WithAllowNoMatch(v bool) func(*TransformGetTransformStatsRequest)
- func (f TransformGetTransformStats) WithContext(v context.Context) func(*TransformGetTransformStatsRequest)
- func (f TransformGetTransformStats) WithErrorTrace() func(*TransformGetTransformStatsRequest)
- func (f TransformGetTransformStats) WithFilterPath(v ...string) func(*TransformGetTransformStatsRequest)
- func (f TransformGetTransformStats) WithFrom(v int) func(*TransformGetTransformStatsRequest)
- func (f TransformGetTransformStats) WithHeader(h map[string]string) func(*TransformGetTransformStatsRequest)
- func (f TransformGetTransformStats) WithHuman() func(*TransformGetTransformStatsRequest)
- func (f TransformGetTransformStats) WithOpaqueID(s string) func(*TransformGetTransformStatsRequest)
- func (f TransformGetTransformStats) WithPretty() func(*TransformGetTransformStatsRequest)
- func (f TransformGetTransformStats) WithSize(v int) func(*TransformGetTransformStatsRequest)
- type TransformGetTransformStatsRequest
- type TransformPreviewTransform
- func (f TransformPreviewTransform) WithBody(v io.Reader) func(*TransformPreviewTransformRequest)
- func (f TransformPreviewTransform) WithContext(v context.Context) func(*TransformPreviewTransformRequest)
- func (f TransformPreviewTransform) WithErrorTrace() func(*TransformPreviewTransformRequest)
- func (f TransformPreviewTransform) WithFilterPath(v ...string) func(*TransformPreviewTransformRequest)
- func (f TransformPreviewTransform) WithHeader(h map[string]string) func(*TransformPreviewTransformRequest)
- func (f TransformPreviewTransform) WithHuman() func(*TransformPreviewTransformRequest)
- func (f TransformPreviewTransform) WithOpaqueID(s string) func(*TransformPreviewTransformRequest)
- func (f TransformPreviewTransform) WithPretty() func(*TransformPreviewTransformRequest)
- func (f TransformPreviewTransform) WithTimeout(v time.Duration) func(*TransformPreviewTransformRequest)
- func (f TransformPreviewTransform) WithTransformID(v string) func(*TransformPreviewTransformRequest)
- type TransformPreviewTransformRequest
- type TransformPutTransform
- func (f TransformPutTransform) WithContext(v context.Context) func(*TransformPutTransformRequest)
- func (f TransformPutTransform) WithDeferValidation(v bool) func(*TransformPutTransformRequest)
- func (f TransformPutTransform) WithErrorTrace() func(*TransformPutTransformRequest)
- func (f TransformPutTransform) WithFilterPath(v ...string) func(*TransformPutTransformRequest)
- func (f TransformPutTransform) WithHeader(h map[string]string) func(*TransformPutTransformRequest)
- func (f TransformPutTransform) WithHuman() func(*TransformPutTransformRequest)
- func (f TransformPutTransform) WithOpaqueID(s string) func(*TransformPutTransformRequest)
- func (f TransformPutTransform) WithPretty() func(*TransformPutTransformRequest)
- func (f TransformPutTransform) WithTimeout(v time.Duration) func(*TransformPutTransformRequest)
- type TransformPutTransformRequest
- type TransformStartTransform
- func (f TransformStartTransform) WithContext(v context.Context) func(*TransformStartTransformRequest)
- func (f TransformStartTransform) WithErrorTrace() func(*TransformStartTransformRequest)
- func (f TransformStartTransform) WithFilterPath(v ...string) func(*TransformStartTransformRequest)
- func (f TransformStartTransform) WithHeader(h map[string]string) func(*TransformStartTransformRequest)
- func (f TransformStartTransform) WithHuman() func(*TransformStartTransformRequest)
- func (f TransformStartTransform) WithOpaqueID(s string) func(*TransformStartTransformRequest)
- func (f TransformStartTransform) WithPretty() func(*TransformStartTransformRequest)
- func (f TransformStartTransform) WithTimeout(v time.Duration) func(*TransformStartTransformRequest)
- type TransformStartTransformRequest
- type TransformStopTransform
- func (f TransformStopTransform) WithAllowNoMatch(v bool) func(*TransformStopTransformRequest)
- func (f TransformStopTransform) WithContext(v context.Context) func(*TransformStopTransformRequest)
- func (f TransformStopTransform) WithErrorTrace() func(*TransformStopTransformRequest)
- func (f TransformStopTransform) WithFilterPath(v ...string) func(*TransformStopTransformRequest)
- func (f TransformStopTransform) WithForce(v bool) func(*TransformStopTransformRequest)
- func (f TransformStopTransform) WithHeader(h map[string]string) func(*TransformStopTransformRequest)
- func (f TransformStopTransform) WithHuman() func(*TransformStopTransformRequest)
- func (f TransformStopTransform) WithOpaqueID(s string) func(*TransformStopTransformRequest)
- func (f TransformStopTransform) WithPretty() func(*TransformStopTransformRequest)
- func (f TransformStopTransform) WithTimeout(v time.Duration) func(*TransformStopTransformRequest)
- func (f TransformStopTransform) WithWaitForCheckpoint(v bool) func(*TransformStopTransformRequest)
- func (f TransformStopTransform) WithWaitForCompletion(v bool) func(*TransformStopTransformRequest)
- type TransformStopTransformRequest
- type TransformUpdateTransform
- func (f TransformUpdateTransform) WithContext(v context.Context) func(*TransformUpdateTransformRequest)
- func (f TransformUpdateTransform) WithDeferValidation(v bool) func(*TransformUpdateTransformRequest)
- func (f TransformUpdateTransform) WithErrorTrace() func(*TransformUpdateTransformRequest)
- func (f TransformUpdateTransform) WithFilterPath(v ...string) func(*TransformUpdateTransformRequest)
- func (f TransformUpdateTransform) WithHeader(h map[string]string) func(*TransformUpdateTransformRequest)
- func (f TransformUpdateTransform) WithHuman() func(*TransformUpdateTransformRequest)
- func (f TransformUpdateTransform) WithOpaqueID(s string) func(*TransformUpdateTransformRequest)
- func (f TransformUpdateTransform) WithPretty() func(*TransformUpdateTransformRequest)
- func (f TransformUpdateTransform) WithTimeout(v time.Duration) func(*TransformUpdateTransformRequest)
- type TransformUpdateTransformRequest
- type TransformUpgradeTransforms
- func (f TransformUpgradeTransforms) WithContext(v context.Context) func(*TransformUpgradeTransformsRequest)
- func (f TransformUpgradeTransforms) WithDryRun(v bool) func(*TransformUpgradeTransformsRequest)
- func (f TransformUpgradeTransforms) WithErrorTrace() func(*TransformUpgradeTransformsRequest)
- func (f TransformUpgradeTransforms) WithFilterPath(v ...string) func(*TransformUpgradeTransformsRequest)
- func (f TransformUpgradeTransforms) WithHeader(h map[string]string) func(*TransformUpgradeTransformsRequest)
- func (f TransformUpgradeTransforms) WithHuman() func(*TransformUpgradeTransformsRequest)
- func (f TransformUpgradeTransforms) WithOpaqueID(s string) func(*TransformUpgradeTransformsRequest)
- func (f TransformUpgradeTransforms) WithPretty() func(*TransformUpgradeTransformsRequest)
- func (f TransformUpgradeTransforms) WithTimeout(v time.Duration) func(*TransformUpgradeTransformsRequest)
- type TransformUpgradeTransformsRequest
- type Transport
- type Update
- func (f Update) WithContext(v context.Context) func(*UpdateRequest)
- func (f Update) WithDocumentType(v string) func(*UpdateRequest)
- func (f Update) WithErrorTrace() func(*UpdateRequest)
- func (f Update) WithFilterPath(v ...string) func(*UpdateRequest)
- func (f Update) WithHeader(h map[string]string) func(*UpdateRequest)
- func (f Update) WithHuman() func(*UpdateRequest)
- func (f Update) WithIfPrimaryTerm(v int) func(*UpdateRequest)
- func (f Update) WithIfSeqNo(v int) func(*UpdateRequest)
- func (f Update) WithLang(v string) func(*UpdateRequest)
- func (f Update) WithOpaqueID(s string) func(*UpdateRequest)
- func (f Update) WithPretty() func(*UpdateRequest)
- func (f Update) WithRefresh(v string) func(*UpdateRequest)
- func (f Update) WithRequireAlias(v bool) func(*UpdateRequest)
- func (f Update) WithRetryOnConflict(v int) func(*UpdateRequest)
- func (f Update) WithRouting(v string) func(*UpdateRequest)
- func (f Update) WithSource(v ...string) func(*UpdateRequest)
- func (f Update) WithSourceExcludes(v ...string) func(*UpdateRequest)
- func (f Update) WithSourceIncludes(v ...string) func(*UpdateRequest)
- func (f Update) WithTimeout(v time.Duration) func(*UpdateRequest)
- func (f Update) WithWaitForActiveShards(v string) func(*UpdateRequest)
- type UpdateByQuery
- func (f UpdateByQuery) WithAllowNoIndices(v bool) func(*UpdateByQueryRequest)
- func (f UpdateByQuery) WithAnalyzeWildcard(v bool) func(*UpdateByQueryRequest)
- func (f UpdateByQuery) WithAnalyzer(v string) func(*UpdateByQueryRequest)
- func (f UpdateByQuery) WithBody(v io.Reader) func(*UpdateByQueryRequest)
- func (f UpdateByQuery) WithConflicts(v string) func(*UpdateByQueryRequest)
- func (f UpdateByQuery) WithContext(v context.Context) func(*UpdateByQueryRequest)
- func (f UpdateByQuery) WithDefaultOperator(v string) func(*UpdateByQueryRequest)
- func (f UpdateByQuery) WithDf(v string) func(*UpdateByQueryRequest)
- func (f UpdateByQuery) WithDocumentType(v ...string) func(*UpdateByQueryRequest)
- func (f UpdateByQuery) WithErrorTrace() func(*UpdateByQueryRequest)
- func (f UpdateByQuery) WithExpandWildcards(v string) func(*UpdateByQueryRequest)
- func (f UpdateByQuery) WithFilterPath(v ...string) func(*UpdateByQueryRequest)
- func (f UpdateByQuery) WithFrom(v int) func(*UpdateByQueryRequest)
- func (f UpdateByQuery) WithHeader(h map[string]string) func(*UpdateByQueryRequest)
- func (f UpdateByQuery) WithHuman() func(*UpdateByQueryRequest)
- func (f UpdateByQuery) WithIgnoreUnavailable(v bool) func(*UpdateByQueryRequest)
- func (f UpdateByQuery) WithLenient(v bool) func(*UpdateByQueryRequest)
- func (f UpdateByQuery) WithMaxDocs(v int) func(*UpdateByQueryRequest)
- func (f UpdateByQuery) WithOpaqueID(s string) func(*UpdateByQueryRequest)
- func (f UpdateByQuery) WithPipeline(v string) func(*UpdateByQueryRequest)
- func (f UpdateByQuery) WithPreference(v string) func(*UpdateByQueryRequest)
- func (f UpdateByQuery) WithPretty() func(*UpdateByQueryRequest)
- func (f UpdateByQuery) WithQuery(v string) func(*UpdateByQueryRequest)
- func (f UpdateByQuery) WithRefresh(v bool) func(*UpdateByQueryRequest)
- func (f UpdateByQuery) WithRequestCache(v bool) func(*UpdateByQueryRequest)
- func (f UpdateByQuery) WithRequestsPerSecond(v int) func(*UpdateByQueryRequest)
- func (f UpdateByQuery) WithRouting(v ...string) func(*UpdateByQueryRequest)
- func (f UpdateByQuery) WithScroll(v time.Duration) func(*UpdateByQueryRequest)
- func (f UpdateByQuery) WithScrollSize(v int) func(*UpdateByQueryRequest)
- func (f UpdateByQuery) WithSearchTimeout(v time.Duration) func(*UpdateByQueryRequest)
- func (f UpdateByQuery) WithSearchType(v string) func(*UpdateByQueryRequest)
- func (f UpdateByQuery) WithSize(v int) func(*UpdateByQueryRequest)
- func (f UpdateByQuery) WithSlices(v interface{}) func(*UpdateByQueryRequest)
- func (f UpdateByQuery) WithSort(v ...string) func(*UpdateByQueryRequest)
- func (f UpdateByQuery) WithStats(v ...string) func(*UpdateByQueryRequest)
- func (f UpdateByQuery) WithTerminateAfter(v int) func(*UpdateByQueryRequest)
- func (f UpdateByQuery) WithTimeout(v time.Duration) func(*UpdateByQueryRequest)
- func (f UpdateByQuery) WithVersion(v bool) func(*UpdateByQueryRequest)
- func (f UpdateByQuery) WithVersionType(v bool) func(*UpdateByQueryRequest)
- func (f UpdateByQuery) WithWaitForActiveShards(v string) func(*UpdateByQueryRequest)
- func (f UpdateByQuery) WithWaitForCompletion(v bool) func(*UpdateByQueryRequest)
- type UpdateByQueryRequest
- type UpdateByQueryRethrottle
- func (f UpdateByQueryRethrottle) WithContext(v context.Context) func(*UpdateByQueryRethrottleRequest)
- func (f UpdateByQueryRethrottle) WithErrorTrace() func(*UpdateByQueryRethrottleRequest)
- func (f UpdateByQueryRethrottle) WithFilterPath(v ...string) func(*UpdateByQueryRethrottleRequest)
- func (f UpdateByQueryRethrottle) WithHeader(h map[string]string) func(*UpdateByQueryRethrottleRequest)
- func (f UpdateByQueryRethrottle) WithHuman() func(*UpdateByQueryRethrottleRequest)
- func (f UpdateByQueryRethrottle) WithOpaqueID(s string) func(*UpdateByQueryRethrottleRequest)
- func (f UpdateByQueryRethrottle) WithPretty() func(*UpdateByQueryRethrottleRequest)
- func (f UpdateByQueryRethrottle) WithRequestsPerSecond(v int) func(*UpdateByQueryRethrottleRequest)
- type UpdateByQueryRethrottleRequest
- type UpdateRequest
- type Watcher
- type WatcherAckWatch
- func (f WatcherAckWatch) WithActionID(v ...string) func(*WatcherAckWatchRequest)
- func (f WatcherAckWatch) WithContext(v context.Context) func(*WatcherAckWatchRequest)
- func (f WatcherAckWatch) WithErrorTrace() func(*WatcherAckWatchRequest)
- func (f WatcherAckWatch) WithFilterPath(v ...string) func(*WatcherAckWatchRequest)
- func (f WatcherAckWatch) WithHeader(h map[string]string) func(*WatcherAckWatchRequest)
- func (f WatcherAckWatch) WithHuman() func(*WatcherAckWatchRequest)
- func (f WatcherAckWatch) WithOpaqueID(s string) func(*WatcherAckWatchRequest)
- func (f WatcherAckWatch) WithPretty() func(*WatcherAckWatchRequest)
- type WatcherAckWatchRequest
- type WatcherActivateWatch
- func (f WatcherActivateWatch) WithContext(v context.Context) func(*WatcherActivateWatchRequest)
- func (f WatcherActivateWatch) WithErrorTrace() func(*WatcherActivateWatchRequest)
- func (f WatcherActivateWatch) WithFilterPath(v ...string) func(*WatcherActivateWatchRequest)
- func (f WatcherActivateWatch) WithHeader(h map[string]string) func(*WatcherActivateWatchRequest)
- func (f WatcherActivateWatch) WithHuman() func(*WatcherActivateWatchRequest)
- func (f WatcherActivateWatch) WithOpaqueID(s string) func(*WatcherActivateWatchRequest)
- func (f WatcherActivateWatch) WithPretty() func(*WatcherActivateWatchRequest)
- type WatcherActivateWatchRequest
- type WatcherDeactivateWatch
- func (f WatcherDeactivateWatch) WithContext(v context.Context) func(*WatcherDeactivateWatchRequest)
- func (f WatcherDeactivateWatch) WithErrorTrace() func(*WatcherDeactivateWatchRequest)
- func (f WatcherDeactivateWatch) WithFilterPath(v ...string) func(*WatcherDeactivateWatchRequest)
- func (f WatcherDeactivateWatch) WithHeader(h map[string]string) func(*WatcherDeactivateWatchRequest)
- func (f WatcherDeactivateWatch) WithHuman() func(*WatcherDeactivateWatchRequest)
- func (f WatcherDeactivateWatch) WithOpaqueID(s string) func(*WatcherDeactivateWatchRequest)
- func (f WatcherDeactivateWatch) WithPretty() func(*WatcherDeactivateWatchRequest)
- type WatcherDeactivateWatchRequest
- type WatcherDeleteWatch
- func (f WatcherDeleteWatch) WithContext(v context.Context) func(*WatcherDeleteWatchRequest)
- func (f WatcherDeleteWatch) WithErrorTrace() func(*WatcherDeleteWatchRequest)
- func (f WatcherDeleteWatch) WithFilterPath(v ...string) func(*WatcherDeleteWatchRequest)
- func (f WatcherDeleteWatch) WithHeader(h map[string]string) func(*WatcherDeleteWatchRequest)
- func (f WatcherDeleteWatch) WithHuman() func(*WatcherDeleteWatchRequest)
- func (f WatcherDeleteWatch) WithOpaqueID(s string) func(*WatcherDeleteWatchRequest)
- func (f WatcherDeleteWatch) WithPretty() func(*WatcherDeleteWatchRequest)
- type WatcherDeleteWatchRequest
- type WatcherExecuteWatch
- func (f WatcherExecuteWatch) WithBody(v io.Reader) func(*WatcherExecuteWatchRequest)
- func (f WatcherExecuteWatch) WithContext(v context.Context) func(*WatcherExecuteWatchRequest)
- func (f WatcherExecuteWatch) WithDebug(v bool) func(*WatcherExecuteWatchRequest)
- func (f WatcherExecuteWatch) WithErrorTrace() func(*WatcherExecuteWatchRequest)
- func (f WatcherExecuteWatch) WithFilterPath(v ...string) func(*WatcherExecuteWatchRequest)
- func (f WatcherExecuteWatch) WithHeader(h map[string]string) func(*WatcherExecuteWatchRequest)
- func (f WatcherExecuteWatch) WithHuman() func(*WatcherExecuteWatchRequest)
- func (f WatcherExecuteWatch) WithOpaqueID(s string) func(*WatcherExecuteWatchRequest)
- func (f WatcherExecuteWatch) WithPretty() func(*WatcherExecuteWatchRequest)
- func (f WatcherExecuteWatch) WithWatchID(v string) func(*WatcherExecuteWatchRequest)
- type WatcherExecuteWatchRequest
- type WatcherGetWatch
- func (f WatcherGetWatch) WithContext(v context.Context) func(*WatcherGetWatchRequest)
- func (f WatcherGetWatch) WithErrorTrace() func(*WatcherGetWatchRequest)
- func (f WatcherGetWatch) WithFilterPath(v ...string) func(*WatcherGetWatchRequest)
- func (f WatcherGetWatch) WithHeader(h map[string]string) func(*WatcherGetWatchRequest)
- func (f WatcherGetWatch) WithHuman() func(*WatcherGetWatchRequest)
- func (f WatcherGetWatch) WithOpaqueID(s string) func(*WatcherGetWatchRequest)
- func (f WatcherGetWatch) WithPretty() func(*WatcherGetWatchRequest)
- type WatcherGetWatchRequest
- type WatcherPutWatch
- func (f WatcherPutWatch) WithActive(v bool) func(*WatcherPutWatchRequest)
- func (f WatcherPutWatch) WithBody(v io.Reader) func(*WatcherPutWatchRequest)
- func (f WatcherPutWatch) WithContext(v context.Context) func(*WatcherPutWatchRequest)
- func (f WatcherPutWatch) WithErrorTrace() func(*WatcherPutWatchRequest)
- func (f WatcherPutWatch) WithFilterPath(v ...string) func(*WatcherPutWatchRequest)
- func (f WatcherPutWatch) WithHeader(h map[string]string) func(*WatcherPutWatchRequest)
- func (f WatcherPutWatch) WithHuman() func(*WatcherPutWatchRequest)
- func (f WatcherPutWatch) WithIfPrimaryTerm(v int) func(*WatcherPutWatchRequest)
- func (f WatcherPutWatch) WithIfSeqNo(v int) func(*WatcherPutWatchRequest)
- func (f WatcherPutWatch) WithOpaqueID(s string) func(*WatcherPutWatchRequest)
- func (f WatcherPutWatch) WithPretty() func(*WatcherPutWatchRequest)
- func (f WatcherPutWatch) WithVersion(v int) func(*WatcherPutWatchRequest)
- type WatcherPutWatchRequest
- type WatcherQueryWatches
- func (f WatcherQueryWatches) WithBody(v io.Reader) func(*WatcherQueryWatchesRequest)
- func (f WatcherQueryWatches) WithContext(v context.Context) func(*WatcherQueryWatchesRequest)
- func (f WatcherQueryWatches) WithErrorTrace() func(*WatcherQueryWatchesRequest)
- func (f WatcherQueryWatches) WithFilterPath(v ...string) func(*WatcherQueryWatchesRequest)
- func (f WatcherQueryWatches) WithHeader(h map[string]string) func(*WatcherQueryWatchesRequest)
- func (f WatcherQueryWatches) WithHuman() func(*WatcherQueryWatchesRequest)
- func (f WatcherQueryWatches) WithOpaqueID(s string) func(*WatcherQueryWatchesRequest)
- func (f WatcherQueryWatches) WithPretty() func(*WatcherQueryWatchesRequest)
- type WatcherQueryWatchesRequest
- type WatcherStart
- func (f WatcherStart) WithContext(v context.Context) func(*WatcherStartRequest)
- func (f WatcherStart) WithErrorTrace() func(*WatcherStartRequest)
- func (f WatcherStart) WithFilterPath(v ...string) func(*WatcherStartRequest)
- func (f WatcherStart) WithHeader(h map[string]string) func(*WatcherStartRequest)
- func (f WatcherStart) WithHuman() func(*WatcherStartRequest)
- func (f WatcherStart) WithOpaqueID(s string) func(*WatcherStartRequest)
- func (f WatcherStart) WithPretty() func(*WatcherStartRequest)
- type WatcherStartRequest
- type WatcherStats
- func (f WatcherStats) WithContext(v context.Context) func(*WatcherStatsRequest)
- func (f WatcherStats) WithEmitStacktraces(v bool) func(*WatcherStatsRequest)
- func (f WatcherStats) WithErrorTrace() func(*WatcherStatsRequest)
- func (f WatcherStats) WithFilterPath(v ...string) func(*WatcherStatsRequest)
- func (f WatcherStats) WithHeader(h map[string]string) func(*WatcherStatsRequest)
- func (f WatcherStats) WithHuman() func(*WatcherStatsRequest)
- func (f WatcherStats) WithMetric(v ...string) func(*WatcherStatsRequest)
- func (f WatcherStats) WithOpaqueID(s string) func(*WatcherStatsRequest)
- func (f WatcherStats) WithPretty() func(*WatcherStatsRequest)
- type WatcherStatsRequest
- type WatcherStop
- func (f WatcherStop) WithContext(v context.Context) func(*WatcherStopRequest)
- func (f WatcherStop) WithErrorTrace() func(*WatcherStopRequest)
- func (f WatcherStop) WithFilterPath(v ...string) func(*WatcherStopRequest)
- func (f WatcherStop) WithHeader(h map[string]string) func(*WatcherStopRequest)
- func (f WatcherStop) WithHuman() func(*WatcherStopRequest)
- func (f WatcherStop) WithOpaqueID(s string) func(*WatcherStopRequest)
- func (f WatcherStop) WithPretty() func(*WatcherStopRequest)
- type WatcherStopRequest
- type XPack
- type XPackInfo
- func (f XPackInfo) WithAcceptEnterprise(v bool) func(*XPackInfoRequest)
- func (f XPackInfo) WithCategories(v ...string) func(*XPackInfoRequest)
- func (f XPackInfo) WithContext(v context.Context) func(*XPackInfoRequest)
- func (f XPackInfo) WithErrorTrace() func(*XPackInfoRequest)
- func (f XPackInfo) WithFilterPath(v ...string) func(*XPackInfoRequest)
- func (f XPackInfo) WithHeader(h map[string]string) func(*XPackInfoRequest)
- func (f XPackInfo) WithHuman() func(*XPackInfoRequest)
- func (f XPackInfo) WithOpaqueID(s string) func(*XPackInfoRequest)
- func (f XPackInfo) WithPretty() func(*XPackInfoRequest)
- type XPackInfoRequest
- type XPackUsage
- func (f XPackUsage) WithContext(v context.Context) func(*XPackUsageRequest)
- func (f XPackUsage) WithErrorTrace() func(*XPackUsageRequest)
- func (f XPackUsage) WithFilterPath(v ...string) func(*XPackUsageRequest)
- func (f XPackUsage) WithHeader(h map[string]string) func(*XPackUsageRequest)
- func (f XPackUsage) WithHuman() func(*XPackUsageRequest)
- func (f XPackUsage) WithMasterTimeout(v time.Duration) func(*XPackUsageRequest)
- func (f XPackUsage) WithOpaqueID(s string) func(*XPackUsageRequest)
- func (f XPackUsage) WithPretty() func(*XPackUsageRequest)
- type XPackUsageRequest
Examples ¶
Constants ¶
const Version = version.Client
Version returns the package version as a string.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type API ¶
type API struct {
Cat *Cat
Cluster *Cluster
Indices *Indices
Ingest *Ingest
Nodes *Nodes
Remote *Remote
Snapshot *Snapshot
Tasks *Tasks
AsyncSearch *AsyncSearch
CCR *CCR
ILM *ILM
License *License
Migration *Migration
ML *ML
Monitoring *Monitoring
Rollup *Rollup
Security *Security
SQL *SQL
SSL *SSL
Watcher *Watcher
XPack *XPack
AutoscalingDeleteAutoscalingPolicy AutoscalingDeleteAutoscalingPolicy
AutoscalingGetAutoscalingCapacity AutoscalingGetAutoscalingCapacity
AutoscalingGetAutoscalingDecision AutoscalingGetAutoscalingDecision
AutoscalingGetAutoscalingPolicy AutoscalingGetAutoscalingPolicy
AutoscalingPutAutoscalingPolicy AutoscalingPutAutoscalingPolicy
Bulk Bulk
ClearScroll ClearScroll
ClosePointInTime ClosePointInTime
Count Count
Create Create
DanglingIndicesDeleteDanglingIndex DanglingIndicesDeleteDanglingIndex
DanglingIndicesImportDanglingIndex DanglingIndicesImportDanglingIndex
DanglingIndicesListDanglingIndices DanglingIndicesListDanglingIndices
DataFrameTransformDeprecatedDeleteTransform DataFrameTransformDeprecatedDeleteTransform
DataFrameTransformDeprecatedGetTransform DataFrameTransformDeprecatedGetTransform
DataFrameTransformDeprecatedGetTransformStats DataFrameTransformDeprecatedGetTransformStats
DataFrameTransformDeprecatedPreviewTransform DataFrameTransformDeprecatedPreviewTransform
DataFrameTransformDeprecatedPutTransform DataFrameTransformDeprecatedPutTransform
DataFrameTransformDeprecatedStartTransform DataFrameTransformDeprecatedStartTransform
DataFrameTransformDeprecatedStopTransform DataFrameTransformDeprecatedStopTransform
DataFrameTransformDeprecatedUpdateTransform DataFrameTransformDeprecatedUpdateTransform
DeleteByQuery DeleteByQuery
DeleteByQueryRethrottle DeleteByQueryRethrottle
Delete Delete
DeleteScript DeleteScript
EnrichDeletePolicy EnrichDeletePolicy
EnrichExecutePolicy EnrichExecutePolicy
EnrichGetPolicy EnrichGetPolicy
EnrichPutPolicy EnrichPutPolicy
EnrichStats EnrichStats
EqlDelete EqlDelete
EqlGet EqlGet
EqlGetStatus EqlGetStatus
EqlSearch EqlSearch
Exists Exists
ExistsSource ExistsSource
Explain Explain
FeaturesGetFeatures FeaturesGetFeatures
FeaturesResetFeatures FeaturesResetFeatures
FieldCaps FieldCaps
FleetGlobalCheckpoints FleetGlobalCheckpoints
FleetMsearch FleetMsearch
FleetSearch FleetSearch
Get Get
GetScriptContext GetScriptContext
GetScriptLanguages GetScriptLanguages
GetScript GetScript
GetSource GetSource
GraphExplore GraphExplore
Index Index
Info Info
LogstashDeletePipeline LogstashDeletePipeline
LogstashGetPipeline LogstashGetPipeline
LogstashPutPipeline LogstashPutPipeline
Mget Mget
Msearch Msearch
MsearchTemplate MsearchTemplate
Mtermvectors Mtermvectors
OpenPointInTime OpenPointInTime
Ping Ping
PutScript PutScript
RankEval RankEval
Reindex Reindex
ReindexRethrottle ReindexRethrottle
RenderSearchTemplate RenderSearchTemplate
ScriptsPainlessExecute ScriptsPainlessExecute
Scroll Scroll
SearchMvt SearchMvt
Search Search
SearchShards SearchShards
SearchTemplate SearchTemplate
SearchableSnapshotsCacheStats SearchableSnapshotsCacheStats
SearchableSnapshotsClearCache SearchableSnapshotsClearCache
SearchableSnapshotsMount SearchableSnapshotsMount
SearchableSnapshotsRepositoryStats SearchableSnapshotsRepositoryStats
SearchableSnapshotsStats SearchableSnapshotsStats
ShutdownDeleteNode ShutdownDeleteNode
ShutdownGetNode ShutdownGetNode
ShutdownPutNode ShutdownPutNode
SlmDeleteLifecycle SlmDeleteLifecycle
SlmExecuteLifecycle SlmExecuteLifecycle
SlmExecuteRetention SlmExecuteRetention
SlmGetLifecycle SlmGetLifecycle
SlmGetStats SlmGetStats
SlmGetStatus SlmGetStatus
SlmPutLifecycle SlmPutLifecycle
SlmStart SlmStart
SlmStop SlmStop
TermsEnum TermsEnum
Termvectors Termvectors
TextStructureFindStructure TextStructureFindStructure
TransformDeleteTransform TransformDeleteTransform
TransformGetTransform TransformGetTransform
TransformGetTransformStats TransformGetTransformStats
TransformPreviewTransform TransformPreviewTransform
TransformPutTransform TransformPutTransform
TransformStartTransform TransformStartTransform
TransformStopTransform TransformStopTransform
TransformUpdateTransform TransformUpdateTransform
TransformUpgradeTransforms TransformUpgradeTransforms
UpdateByQuery UpdateByQuery
UpdateByQueryRethrottle UpdateByQueryRethrottle
Update Update
}
API contains the Elasticsearch APIs
type AsyncSearch ¶ added in v7.7.0
type AsyncSearch struct {
Delete AsyncSearchDelete
Get AsyncSearchGet
Status AsyncSearchStatus
Submit AsyncSearchSubmit
}
AsyncSearch contains the AsyncSearch APIs
type AsyncSearchDelete ¶ added in v7.7.0
type AsyncSearchDelete func(id string, o ...func(*AsyncSearchDeleteRequest)) (*Response, error)
AsyncSearchDelete - Deletes an async search by ID. If the search is still running, the search request will be cancelled. Otherwise, the saved search results are deleted.
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/current/async-search.html.
func (AsyncSearchDelete) WithContext ¶ added in v7.7.0
func (f AsyncSearchDelete) WithContext(v context.Context) func(*AsyncSearchDeleteRequest)
WithContext sets the request context.
func (AsyncSearchDelete) WithErrorTrace ¶ added in v7.7.0
func (f AsyncSearchDelete) WithErrorTrace() func(*AsyncSearchDeleteRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (AsyncSearchDelete) WithFilterPath ¶ added in v7.7.0
func (f AsyncSearchDelete) WithFilterPath(v ...string) func(*AsyncSearchDeleteRequest)
WithFilterPath filters the properties of the response body.
func (AsyncSearchDelete) WithHeader ¶ added in v7.7.0
func (f AsyncSearchDelete) WithHeader(h map[string]string) func(*AsyncSearchDeleteRequest)
WithHeader adds the headers to the HTTP request.
func (AsyncSearchDelete) WithHuman ¶ added in v7.7.0
func (f AsyncSearchDelete) WithHuman() func(*AsyncSearchDeleteRequest)
WithHuman makes statistical values human-readable.
func (AsyncSearchDelete) WithOpaqueID ¶ added in v7.7.0
func (f AsyncSearchDelete) WithOpaqueID(s string) func(*AsyncSearchDeleteRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (AsyncSearchDelete) WithPretty ¶ added in v7.7.0
func (f AsyncSearchDelete) WithPretty() func(*AsyncSearchDeleteRequest)
WithPretty makes the response body pretty-printed.
type AsyncSearchDeleteRequest ¶ added in v7.7.0
type AsyncSearchDeleteRequest struct {
DocumentID string
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
AsyncSearchDeleteRequest configures the Async Search Delete API request.
type AsyncSearchGet ¶ added in v7.7.0
type AsyncSearchGet func(id string, o ...func(*AsyncSearchGetRequest)) (*Response, error)
AsyncSearchGet - Retrieves the results of a previously submitted async search request given its ID.
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/current/async-search.html.
func (AsyncSearchGet) WithContext ¶ added in v7.7.0
func (f AsyncSearchGet) WithContext(v context.Context) func(*AsyncSearchGetRequest)
WithContext sets the request context.
func (AsyncSearchGet) WithErrorTrace ¶ added in v7.7.0
func (f AsyncSearchGet) WithErrorTrace() func(*AsyncSearchGetRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (AsyncSearchGet) WithFilterPath ¶ added in v7.7.0
func (f AsyncSearchGet) WithFilterPath(v ...string) func(*AsyncSearchGetRequest)
WithFilterPath filters the properties of the response body.
func (AsyncSearchGet) WithHeader ¶ added in v7.7.0
func (f AsyncSearchGet) WithHeader(h map[string]string) func(*AsyncSearchGetRequest)
WithHeader adds the headers to the HTTP request.
func (AsyncSearchGet) WithHuman ¶ added in v7.7.0
func (f AsyncSearchGet) WithHuman() func(*AsyncSearchGetRequest)
WithHuman makes statistical values human-readable.
func (AsyncSearchGet) WithKeepAlive ¶ added in v7.7.0
func (f AsyncSearchGet) WithKeepAlive(v time.Duration) func(*AsyncSearchGetRequest)
WithKeepAlive - specify the time interval in which the results (partial or final) for this search will be available.
func (AsyncSearchGet) WithOpaqueID ¶ added in v7.7.0
func (f AsyncSearchGet) WithOpaqueID(s string) func(*AsyncSearchGetRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (AsyncSearchGet) WithPretty ¶ added in v7.7.0
func (f AsyncSearchGet) WithPretty() func(*AsyncSearchGetRequest)
WithPretty makes the response body pretty-printed.
func (AsyncSearchGet) WithTypedKeys ¶ added in v7.7.0
func (f AsyncSearchGet) WithTypedKeys(v bool) func(*AsyncSearchGetRequest)
WithTypedKeys - specify whether aggregation and suggester names should be prefixed by their respective types in the response.
func (AsyncSearchGet) WithWaitForCompletionTimeout ¶ added in v7.7.0
func (f AsyncSearchGet) WithWaitForCompletionTimeout(v time.Duration) func(*AsyncSearchGetRequest)
WithWaitForCompletionTimeout - specify the time that the request should block waiting for the final response.
type AsyncSearchGetRequest ¶ added in v7.7.0
type AsyncSearchGetRequest struct {
DocumentID string
KeepAlive time.Duration
TypedKeys *bool
WaitForCompletionTimeout time.Duration
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
AsyncSearchGetRequest configures the Async Search Get API request.
type AsyncSearchStatus ¶ added in v7.10.0
type AsyncSearchStatus func(id string, o ...func(*AsyncSearchStatusRequest)) (*Response, error)
AsyncSearchStatus - Retrieves the status of a previously submitted async search request given its ID.
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/current/async-search.html.
func (AsyncSearchStatus) WithContext ¶ added in v7.10.0
func (f AsyncSearchStatus) WithContext(v context.Context) func(*AsyncSearchStatusRequest)
WithContext sets the request context.
func (AsyncSearchStatus) WithErrorTrace ¶ added in v7.10.0
func (f AsyncSearchStatus) WithErrorTrace() func(*AsyncSearchStatusRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (AsyncSearchStatus) WithFilterPath ¶ added in v7.10.0
func (f AsyncSearchStatus) WithFilterPath(v ...string) func(*AsyncSearchStatusRequest)
WithFilterPath filters the properties of the response body.
func (AsyncSearchStatus) WithHeader ¶ added in v7.10.0
func (f AsyncSearchStatus) WithHeader(h map[string]string) func(*AsyncSearchStatusRequest)
WithHeader adds the headers to the HTTP request.
func (AsyncSearchStatus) WithHuman ¶ added in v7.10.0
func (f AsyncSearchStatus) WithHuman() func(*AsyncSearchStatusRequest)
WithHuman makes statistical values human-readable.
func (AsyncSearchStatus) WithOpaqueID ¶ added in v7.10.0
func (f AsyncSearchStatus) WithOpaqueID(s string) func(*AsyncSearchStatusRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (AsyncSearchStatus) WithPretty ¶ added in v7.10.0
func (f AsyncSearchStatus) WithPretty() func(*AsyncSearchStatusRequest)
WithPretty makes the response body pretty-printed.
type AsyncSearchStatusRequest ¶ added in v7.10.0
type AsyncSearchStatusRequest struct {
DocumentID string
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
AsyncSearchStatusRequest configures the Async Search Status API request.
type AsyncSearchSubmit ¶ added in v7.7.0
type AsyncSearchSubmit func(o ...func(*AsyncSearchSubmitRequest)) (*Response, error)
AsyncSearchSubmit - Executes a search request asynchronously.
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/current/async-search.html.
func (AsyncSearchSubmit) WithAllowNoIndices ¶ added in v7.7.0
func (f AsyncSearchSubmit) WithAllowNoIndices(v bool) func(*AsyncSearchSubmitRequest)
WithAllowNoIndices - whether to ignore if a wildcard indices expression resolves into no concrete indices. (this includes `_all` string or when no indices have been specified).
func (AsyncSearchSubmit) WithAllowPartialSearchResults ¶ added in v7.7.0
func (f AsyncSearchSubmit) WithAllowPartialSearchResults(v bool) func(*AsyncSearchSubmitRequest)
WithAllowPartialSearchResults - indicate if an error should be returned if there is a partial search failure or timeout.
func (AsyncSearchSubmit) WithAnalyzeWildcard ¶ added in v7.7.0
func (f AsyncSearchSubmit) WithAnalyzeWildcard(v bool) func(*AsyncSearchSubmitRequest)
WithAnalyzeWildcard - specify whether wildcard and prefix queries should be analyzed (default: false).
func (AsyncSearchSubmit) WithAnalyzer ¶ added in v7.7.0
func (f AsyncSearchSubmit) WithAnalyzer(v string) func(*AsyncSearchSubmitRequest)
WithAnalyzer - the analyzer to use for the query string.
func (AsyncSearchSubmit) WithBatchedReduceSize ¶ added in v7.7.0
func (f AsyncSearchSubmit) WithBatchedReduceSize(v int) func(*AsyncSearchSubmitRequest)
WithBatchedReduceSize - the number of shard results that should be reduced at once on the coordinating node. this value should be used as the granularity at which progress results will be made available..
func (AsyncSearchSubmit) WithBody ¶ added in v7.7.0
func (f AsyncSearchSubmit) WithBody(v io.Reader) func(*AsyncSearchSubmitRequest)
WithBody - The search definition using the Query DSL.
func (AsyncSearchSubmit) WithContext ¶ added in v7.7.0
func (f AsyncSearchSubmit) WithContext(v context.Context) func(*AsyncSearchSubmitRequest)
WithContext sets the request context.
func (AsyncSearchSubmit) WithDefaultOperator ¶ added in v7.7.0
func (f AsyncSearchSubmit) WithDefaultOperator(v string) func(*AsyncSearchSubmitRequest)
WithDefaultOperator - the default operator for query string query (and or or).
func (AsyncSearchSubmit) WithDf ¶ added in v7.7.0
func (f AsyncSearchSubmit) WithDf(v string) func(*AsyncSearchSubmitRequest)
WithDf - the field to use as default where no field prefix is given in the query string.
func (AsyncSearchSubmit) WithDocvalueFields ¶ added in v7.7.0
func (f AsyncSearchSubmit) WithDocvalueFields(v ...string) func(*AsyncSearchSubmitRequest)
WithDocvalueFields - a list of fields to return as the docvalue representation of a field for each hit.
func (AsyncSearchSubmit) WithErrorTrace ¶ added in v7.7.0
func (f AsyncSearchSubmit) WithErrorTrace() func(*AsyncSearchSubmitRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (AsyncSearchSubmit) WithExpandWildcards ¶ added in v7.7.0
func (f AsyncSearchSubmit) WithExpandWildcards(v string) func(*AsyncSearchSubmitRequest)
WithExpandWildcards - whether to expand wildcard expression to concrete indices that are open, closed or both..
func (AsyncSearchSubmit) WithExplain ¶ added in v7.7.0
func (f AsyncSearchSubmit) WithExplain(v bool) func(*AsyncSearchSubmitRequest)
WithExplain - specify whether to return detailed information about score computation as part of a hit.
func (AsyncSearchSubmit) WithFilterPath ¶ added in v7.7.0
func (f AsyncSearchSubmit) WithFilterPath(v ...string) func(*AsyncSearchSubmitRequest)
WithFilterPath filters the properties of the response body.
func (AsyncSearchSubmit) WithFrom ¶ added in v7.7.0
func (f AsyncSearchSubmit) WithFrom(v int) func(*AsyncSearchSubmitRequest)
WithFrom - starting offset (default: 0).
func (AsyncSearchSubmit) WithHeader ¶ added in v7.7.0
func (f AsyncSearchSubmit) WithHeader(h map[string]string) func(*AsyncSearchSubmitRequest)
WithHeader adds the headers to the HTTP request.
func (AsyncSearchSubmit) WithHuman ¶ added in v7.7.0
func (f AsyncSearchSubmit) WithHuman() func(*AsyncSearchSubmitRequest)
WithHuman makes statistical values human-readable.
func (AsyncSearchSubmit) WithIgnoreThrottled ¶ added in v7.7.0
func (f AsyncSearchSubmit) WithIgnoreThrottled(v bool) func(*AsyncSearchSubmitRequest)
WithIgnoreThrottled - whether specified concrete, expanded or aliased indices should be ignored when throttled.
func (AsyncSearchSubmit) WithIgnoreUnavailable ¶ added in v7.7.0
func (f AsyncSearchSubmit) WithIgnoreUnavailable(v bool) func(*AsyncSearchSubmitRequest)
WithIgnoreUnavailable - whether specified concrete indices should be ignored when unavailable (missing or closed).
func (AsyncSearchSubmit) WithIndex ¶ added in v7.7.0
func (f AsyncSearchSubmit) WithIndex(v ...string) func(*AsyncSearchSubmitRequest)
WithIndex - a list of index names to search; use _all to perform the operation on all indices.
func (AsyncSearchSubmit) WithKeepAlive ¶ added in v7.7.0
func (f AsyncSearchSubmit) WithKeepAlive(v time.Duration) func(*AsyncSearchSubmitRequest)
WithKeepAlive - update the time interval in which the results (partial or final) for this search will be available.
func (AsyncSearchSubmit) WithKeepOnCompletion ¶ added in v7.7.0
func (f AsyncSearchSubmit) WithKeepOnCompletion(v bool) func(*AsyncSearchSubmitRequest)
WithKeepOnCompletion - control whether the response should be stored in the cluster if it completed within the provided [wait_for_completion] time (default: false).
func (AsyncSearchSubmit) WithLenient ¶ added in v7.7.0
func (f AsyncSearchSubmit) WithLenient(v bool) func(*AsyncSearchSubmitRequest)
WithLenient - specify whether format-based query failures (such as providing text to a numeric field) should be ignored.
func (AsyncSearchSubmit) WithMaxConcurrentShardRequests ¶ added in v7.7.0
func (f AsyncSearchSubmit) WithMaxConcurrentShardRequests(v int) func(*AsyncSearchSubmitRequest)
WithMaxConcurrentShardRequests - the number of concurrent shard requests per node this search executes concurrently. this value should be used to limit the impact of the search on the cluster in order to limit the number of concurrent shard requests.
func (AsyncSearchSubmit) WithOpaqueID ¶ added in v7.7.0
func (f AsyncSearchSubmit) WithOpaqueID(s string) func(*AsyncSearchSubmitRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (AsyncSearchSubmit) WithPreference ¶ added in v7.7.0
func (f AsyncSearchSubmit) WithPreference(v string) func(*AsyncSearchSubmitRequest)
WithPreference - specify the node or shard the operation should be performed on (default: random).
func (AsyncSearchSubmit) WithPretty ¶ added in v7.7.0
func (f AsyncSearchSubmit) WithPretty() func(*AsyncSearchSubmitRequest)
WithPretty makes the response body pretty-printed.
func (AsyncSearchSubmit) WithQuery ¶ added in v7.7.0
func (f AsyncSearchSubmit) WithQuery(v string) func(*AsyncSearchSubmitRequest)
WithQuery - query in the lucene query string syntax.
func (AsyncSearchSubmit) WithRequestCache ¶ added in v7.7.0
func (f AsyncSearchSubmit) WithRequestCache(v bool) func(*AsyncSearchSubmitRequest)
WithRequestCache - specify if request cache should be used for this request or not, defaults to true.
func (AsyncSearchSubmit) WithRouting ¶ added in v7.7.0
func (f AsyncSearchSubmit) WithRouting(v ...string) func(*AsyncSearchSubmitRequest)
WithRouting - a list of specific routing values.
func (AsyncSearchSubmit) WithSearchType ¶ added in v7.7.0
func (f AsyncSearchSubmit) WithSearchType(v string) func(*AsyncSearchSubmitRequest)
WithSearchType - search operation type.
func (AsyncSearchSubmit) WithSeqNoPrimaryTerm ¶ added in v7.7.0
func (f AsyncSearchSubmit) WithSeqNoPrimaryTerm(v bool) func(*AsyncSearchSubmitRequest)
WithSeqNoPrimaryTerm - specify whether to return sequence number and primary term of the last modification of each hit.
func (AsyncSearchSubmit) WithSize ¶ added in v7.7.0
func (f AsyncSearchSubmit) WithSize(v int) func(*AsyncSearchSubmitRequest)
WithSize - number of hits to return (default: 10).
func (AsyncSearchSubmit) WithSort ¶ added in v7.7.0
func (f AsyncSearchSubmit) WithSort(v ...string) func(*AsyncSearchSubmitRequest)
WithSort - a list of <field>:<direction> pairs.
func (AsyncSearchSubmit) WithSource ¶ added in v7.7.0
func (f AsyncSearchSubmit) WithSource(v ...string) func(*AsyncSearchSubmitRequest)
WithSource - true or false to return the _source field or not, or a list of fields to return.
func (AsyncSearchSubmit) WithSourceExcludes ¶ added in v7.7.0
func (f AsyncSearchSubmit) WithSourceExcludes(v ...string) func(*AsyncSearchSubmitRequest)
WithSourceExcludes - a list of fields to exclude from the returned _source field.
func (AsyncSearchSubmit) WithSourceIncludes ¶ added in v7.7.0
func (f AsyncSearchSubmit) WithSourceIncludes(v ...string) func(*AsyncSearchSubmitRequest)
WithSourceIncludes - a list of fields to extract and return from the _source field.
func (AsyncSearchSubmit) WithStats ¶ added in v7.7.0
func (f AsyncSearchSubmit) WithStats(v ...string) func(*AsyncSearchSubmitRequest)
WithStats - specific 'tag' of the request for logging and statistical purposes.
func (AsyncSearchSubmit) WithStoredFields ¶ added in v7.7.0
func (f AsyncSearchSubmit) WithStoredFields(v ...string) func(*AsyncSearchSubmitRequest)
WithStoredFields - a list of stored fields to return as part of a hit.
func (AsyncSearchSubmit) WithSuggestField ¶ added in v7.7.0
func (f AsyncSearchSubmit) WithSuggestField(v string) func(*AsyncSearchSubmitRequest)
WithSuggestField - specify which field to use for suggestions.
func (AsyncSearchSubmit) WithSuggestMode ¶ added in v7.7.0
func (f AsyncSearchSubmit) WithSuggestMode(v string) func(*AsyncSearchSubmitRequest)
WithSuggestMode - specify suggest mode.
func (AsyncSearchSubmit) WithSuggestSize ¶ added in v7.7.0
func (f AsyncSearchSubmit) WithSuggestSize(v int) func(*AsyncSearchSubmitRequest)
WithSuggestSize - how many suggestions to return in response.
func (AsyncSearchSubmit) WithSuggestText ¶ added in v7.7.0
func (f AsyncSearchSubmit) WithSuggestText(v string) func(*AsyncSearchSubmitRequest)
WithSuggestText - the source text for which the suggestions should be returned.
func (AsyncSearchSubmit) WithTerminateAfter ¶ added in v7.7.0
func (f AsyncSearchSubmit) WithTerminateAfter(v int) func(*AsyncSearchSubmitRequest)
WithTerminateAfter - the maximum number of documents to collect for each shard, upon reaching which the query execution will terminate early..
func (AsyncSearchSubmit) WithTimeout ¶ added in v7.7.0
func (f AsyncSearchSubmit) WithTimeout(v time.Duration) func(*AsyncSearchSubmitRequest)
WithTimeout - explicit operation timeout.
func (AsyncSearchSubmit) WithTrackScores ¶ added in v7.7.0
func (f AsyncSearchSubmit) WithTrackScores(v bool) func(*AsyncSearchSubmitRequest)
WithTrackScores - whether to calculate and return scores even if they are not used for sorting.
func (AsyncSearchSubmit) WithTrackTotalHits ¶ added in v7.7.0
func (f AsyncSearchSubmit) WithTrackTotalHits(v bool) func(*AsyncSearchSubmitRequest)
WithTrackTotalHits - indicate if the number of documents that match the query should be tracked.
func (AsyncSearchSubmit) WithTypedKeys ¶ added in v7.7.0
func (f AsyncSearchSubmit) WithTypedKeys(v bool) func(*AsyncSearchSubmitRequest)
WithTypedKeys - specify whether aggregation and suggester names should be prefixed by their respective types in the response.
func (AsyncSearchSubmit) WithVersion ¶ added in v7.7.0
func (f AsyncSearchSubmit) WithVersion(v bool) func(*AsyncSearchSubmitRequest)
WithVersion - specify whether to return document version as part of a hit.
func (AsyncSearchSubmit) WithWaitForCompletionTimeout ¶ added in v7.7.0
func (f AsyncSearchSubmit) WithWaitForCompletionTimeout(v time.Duration) func(*AsyncSearchSubmitRequest)
WithWaitForCompletionTimeout - specify the time that the request should block waiting for the final response.
type AsyncSearchSubmitRequest ¶ added in v7.7.0
type AsyncSearchSubmitRequest struct {
Index []string
Body io.Reader
AllowNoIndices *bool
AllowPartialSearchResults *bool
Analyzer string
AnalyzeWildcard *bool
BatchedReduceSize *int
DefaultOperator string
Df string
DocvalueFields []string
ExpandWildcards string
Explain *bool
From *int
IgnoreThrottled *bool
KeepAlive time.Duration
KeepOnCompletion *bool
Lenient *bool
MaxConcurrentShardRequests *int
Preference string
Query string
RequestCache *bool
Routing []string
SearchType string
SeqNoPrimaryTerm *bool
Size *int
Sort []string
Source []string
SourceExcludes []string
SourceIncludes []string
Stats []string
StoredFields []string
SuggestField string
SuggestMode string
SuggestSize *int
SuggestText string
TerminateAfter *int
Timeout time.Duration
TrackScores *bool
TrackTotalHits *bool
TypedKeys *bool
Version *bool
WaitForCompletionTimeout time.Duration
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
AsyncSearchSubmitRequest configures the Async Search Submit API request.
type AutoscalingDeleteAutoscalingPolicy ¶ added in v7.7.0
type AutoscalingDeleteAutoscalingPolicy func(name string, o ...func(*AutoscalingDeleteAutoscalingPolicyRequest)) (*Response, error)
AutoscalingDeleteAutoscalingPolicy - Deletes an autoscaling policy. Designed for indirect use by ECE/ESS and ECK. Direct use is not supported.
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/current/autoscaling-delete-autoscaling-policy.html.
func (AutoscalingDeleteAutoscalingPolicy) WithContext ¶ added in v7.7.0
func (f AutoscalingDeleteAutoscalingPolicy) WithContext(v context.Context) func(*AutoscalingDeleteAutoscalingPolicyRequest)
WithContext sets the request context.
func (AutoscalingDeleteAutoscalingPolicy) WithErrorTrace ¶ added in v7.7.0
func (f AutoscalingDeleteAutoscalingPolicy) WithErrorTrace() func(*AutoscalingDeleteAutoscalingPolicyRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (AutoscalingDeleteAutoscalingPolicy) WithFilterPath ¶ added in v7.7.0
func (f AutoscalingDeleteAutoscalingPolicy) WithFilterPath(v ...string) func(*AutoscalingDeleteAutoscalingPolicyRequest)
WithFilterPath filters the properties of the response body.
func (AutoscalingDeleteAutoscalingPolicy) WithHeader ¶ added in v7.7.0
func (f AutoscalingDeleteAutoscalingPolicy) WithHeader(h map[string]string) func(*AutoscalingDeleteAutoscalingPolicyRequest)
WithHeader adds the headers to the HTTP request.
func (AutoscalingDeleteAutoscalingPolicy) WithHuman ¶ added in v7.7.0
func (f AutoscalingDeleteAutoscalingPolicy) WithHuman() func(*AutoscalingDeleteAutoscalingPolicyRequest)
WithHuman makes statistical values human-readable.
func (AutoscalingDeleteAutoscalingPolicy) WithOpaqueID ¶ added in v7.7.0
func (f AutoscalingDeleteAutoscalingPolicy) WithOpaqueID(s string) func(*AutoscalingDeleteAutoscalingPolicyRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (AutoscalingDeleteAutoscalingPolicy) WithPretty ¶ added in v7.7.0
func (f AutoscalingDeleteAutoscalingPolicy) WithPretty() func(*AutoscalingDeleteAutoscalingPolicyRequest)
WithPretty makes the response body pretty-printed.
type AutoscalingDeleteAutoscalingPolicyRequest ¶ added in v7.7.0
type AutoscalingDeleteAutoscalingPolicyRequest struct {
Name string
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
AutoscalingDeleteAutoscalingPolicyRequest configures the Autoscaling Delete Autoscaling Policy API request.
type AutoscalingGetAutoscalingCapacity ¶ added in v7.10.0
type AutoscalingGetAutoscalingCapacity func(o ...func(*AutoscalingGetAutoscalingCapacityRequest)) (*Response, error)
AutoscalingGetAutoscalingCapacity - Gets the current autoscaling capacity based on the configured autoscaling policy. Designed for indirect use by ECE/ESS and ECK. Direct use is not supported.
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/current/autoscaling-get-autoscaling-capacity.html.
func (AutoscalingGetAutoscalingCapacity) WithContext ¶ added in v7.10.0
func (f AutoscalingGetAutoscalingCapacity) WithContext(v context.Context) func(*AutoscalingGetAutoscalingCapacityRequest)
WithContext sets the request context.
func (AutoscalingGetAutoscalingCapacity) WithErrorTrace ¶ added in v7.10.0
func (f AutoscalingGetAutoscalingCapacity) WithErrorTrace() func(*AutoscalingGetAutoscalingCapacityRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (AutoscalingGetAutoscalingCapacity) WithFilterPath ¶ added in v7.10.0
func (f AutoscalingGetAutoscalingCapacity) WithFilterPath(v ...string) func(*AutoscalingGetAutoscalingCapacityRequest)
WithFilterPath filters the properties of the response body.
func (AutoscalingGetAutoscalingCapacity) WithHeader ¶ added in v7.10.0
func (f AutoscalingGetAutoscalingCapacity) WithHeader(h map[string]string) func(*AutoscalingGetAutoscalingCapacityRequest)
WithHeader adds the headers to the HTTP request.
func (AutoscalingGetAutoscalingCapacity) WithHuman ¶ added in v7.10.0
func (f AutoscalingGetAutoscalingCapacity) WithHuman() func(*AutoscalingGetAutoscalingCapacityRequest)
WithHuman makes statistical values human-readable.
func (AutoscalingGetAutoscalingCapacity) WithOpaqueID ¶ added in v7.10.0
func (f AutoscalingGetAutoscalingCapacity) WithOpaqueID(s string) func(*AutoscalingGetAutoscalingCapacityRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (AutoscalingGetAutoscalingCapacity) WithPretty ¶ added in v7.10.0
func (f AutoscalingGetAutoscalingCapacity) WithPretty() func(*AutoscalingGetAutoscalingCapacityRequest)
WithPretty makes the response body pretty-printed.
type AutoscalingGetAutoscalingCapacityRequest ¶ added in v7.10.0
type AutoscalingGetAutoscalingCapacityRequest struct {
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
AutoscalingGetAutoscalingCapacityRequest configures the Autoscaling Get Autoscaling Capacity API request.
type AutoscalingGetAutoscalingDecision ¶ added in v7.7.0
type AutoscalingGetAutoscalingDecision func(o ...func(*AutoscalingGetAutoscalingDecisionRequest)) (*Response, error)
AutoscalingGetAutoscalingDecision - Gets the current autoscaling decision based on the configured autoscaling policy, indicating whether or not autoscaling is needed.
This API is experimental.
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/current/autoscaling-get-autoscaling-decision.html.
func (AutoscalingGetAutoscalingDecision) WithContext ¶ added in v7.7.0
func (f AutoscalingGetAutoscalingDecision) WithContext(v context.Context) func(*AutoscalingGetAutoscalingDecisionRequest)
WithContext sets the request context.
func (AutoscalingGetAutoscalingDecision) WithErrorTrace ¶ added in v7.7.0
func (f AutoscalingGetAutoscalingDecision) WithErrorTrace() func(*AutoscalingGetAutoscalingDecisionRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (AutoscalingGetAutoscalingDecision) WithFilterPath ¶ added in v7.7.0
func (f AutoscalingGetAutoscalingDecision) WithFilterPath(v ...string) func(*AutoscalingGetAutoscalingDecisionRequest)
WithFilterPath filters the properties of the response body.
func (AutoscalingGetAutoscalingDecision) WithHeader ¶ added in v7.7.0
func (f AutoscalingGetAutoscalingDecision) WithHeader(h map[string]string) func(*AutoscalingGetAutoscalingDecisionRequest)
WithHeader adds the headers to the HTTP request.
func (AutoscalingGetAutoscalingDecision) WithHuman ¶ added in v7.7.0
func (f AutoscalingGetAutoscalingDecision) WithHuman() func(*AutoscalingGetAutoscalingDecisionRequest)
WithHuman makes statistical values human-readable.
func (AutoscalingGetAutoscalingDecision) WithOpaqueID ¶ added in v7.7.0
func (f AutoscalingGetAutoscalingDecision) WithOpaqueID(s string) func(*AutoscalingGetAutoscalingDecisionRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (AutoscalingGetAutoscalingDecision) WithPretty ¶ added in v7.7.0
func (f AutoscalingGetAutoscalingDecision) WithPretty() func(*AutoscalingGetAutoscalingDecisionRequest)
WithPretty makes the response body pretty-printed.
type AutoscalingGetAutoscalingDecisionRequest ¶ added in v7.7.0
type AutoscalingGetAutoscalingDecisionRequest struct {
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
AutoscalingGetAutoscalingDecisionRequest configures the Autoscaling Get Autoscaling Decision API request.
type AutoscalingGetAutoscalingPolicy ¶ added in v7.7.0
type AutoscalingGetAutoscalingPolicy func(name string, o ...func(*AutoscalingGetAutoscalingPolicyRequest)) (*Response, error)
AutoscalingGetAutoscalingPolicy - Retrieves an autoscaling policy. Designed for indirect use by ECE/ESS and ECK. Direct use is not supported.
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/current/autoscaling-get-autoscaling-policy.html.
func (AutoscalingGetAutoscalingPolicy) WithContext ¶ added in v7.7.0
func (f AutoscalingGetAutoscalingPolicy) WithContext(v context.Context) func(*AutoscalingGetAutoscalingPolicyRequest)
WithContext sets the request context.
func (AutoscalingGetAutoscalingPolicy) WithErrorTrace ¶ added in v7.7.0
func (f AutoscalingGetAutoscalingPolicy) WithErrorTrace() func(*AutoscalingGetAutoscalingPolicyRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (AutoscalingGetAutoscalingPolicy) WithFilterPath ¶ added in v7.7.0
func (f AutoscalingGetAutoscalingPolicy) WithFilterPath(v ...string) func(*AutoscalingGetAutoscalingPolicyRequest)
WithFilterPath filters the properties of the response body.
func (AutoscalingGetAutoscalingPolicy) WithHeader ¶ added in v7.7.0
func (f AutoscalingGetAutoscalingPolicy) WithHeader(h map[string]string) func(*AutoscalingGetAutoscalingPolicyRequest)
WithHeader adds the headers to the HTTP request.
func (AutoscalingGetAutoscalingPolicy) WithHuman ¶ added in v7.7.0
func (f AutoscalingGetAutoscalingPolicy) WithHuman() func(*AutoscalingGetAutoscalingPolicyRequest)
WithHuman makes statistical values human-readable.
func (AutoscalingGetAutoscalingPolicy) WithOpaqueID ¶ added in v7.7.0
func (f AutoscalingGetAutoscalingPolicy) WithOpaqueID(s string) func(*AutoscalingGetAutoscalingPolicyRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (AutoscalingGetAutoscalingPolicy) WithPretty ¶ added in v7.7.0
func (f AutoscalingGetAutoscalingPolicy) WithPretty() func(*AutoscalingGetAutoscalingPolicyRequest)
WithPretty makes the response body pretty-printed.
type AutoscalingGetAutoscalingPolicyRequest ¶ added in v7.7.0
type AutoscalingGetAutoscalingPolicyRequest struct {
Name string
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
AutoscalingGetAutoscalingPolicyRequest configures the Autoscaling Get Autoscaling Policy API request.
type AutoscalingPutAutoscalingPolicy ¶ added in v7.7.0
type AutoscalingPutAutoscalingPolicy func(name string, body io.Reader, o ...func(*AutoscalingPutAutoscalingPolicyRequest)) (*Response, error)
AutoscalingPutAutoscalingPolicy - Creates a new autoscaling policy. Designed for indirect use by ECE/ESS and ECK. Direct use is not supported.
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/current/autoscaling-put-autoscaling-policy.html.
func (AutoscalingPutAutoscalingPolicy) WithContext ¶ added in v7.7.0
func (f AutoscalingPutAutoscalingPolicy) WithContext(v context.Context) func(*AutoscalingPutAutoscalingPolicyRequest)
WithContext sets the request context.
func (AutoscalingPutAutoscalingPolicy) WithErrorTrace ¶ added in v7.7.0
func (f AutoscalingPutAutoscalingPolicy) WithErrorTrace() func(*AutoscalingPutAutoscalingPolicyRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (AutoscalingPutAutoscalingPolicy) WithFilterPath ¶ added in v7.7.0
func (f AutoscalingPutAutoscalingPolicy) WithFilterPath(v ...string) func(*AutoscalingPutAutoscalingPolicyRequest)
WithFilterPath filters the properties of the response body.
func (AutoscalingPutAutoscalingPolicy) WithHeader ¶ added in v7.7.0
func (f AutoscalingPutAutoscalingPolicy) WithHeader(h map[string]string) func(*AutoscalingPutAutoscalingPolicyRequest)
WithHeader adds the headers to the HTTP request.
func (AutoscalingPutAutoscalingPolicy) WithHuman ¶ added in v7.7.0
func (f AutoscalingPutAutoscalingPolicy) WithHuman() func(*AutoscalingPutAutoscalingPolicyRequest)
WithHuman makes statistical values human-readable.
func (AutoscalingPutAutoscalingPolicy) WithOpaqueID ¶ added in v7.7.0
func (f AutoscalingPutAutoscalingPolicy) WithOpaqueID(s string) func(*AutoscalingPutAutoscalingPolicyRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (AutoscalingPutAutoscalingPolicy) WithPretty ¶ added in v7.7.0
func (f AutoscalingPutAutoscalingPolicy) WithPretty() func(*AutoscalingPutAutoscalingPolicyRequest)
WithPretty makes the response body pretty-printed.
type AutoscalingPutAutoscalingPolicyRequest ¶ added in v7.7.0
type AutoscalingPutAutoscalingPolicyRequest struct {
Body io.Reader
Name string
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
AutoscalingPutAutoscalingPolicyRequest configures the Autoscaling Put Autoscaling Policy API request.
type Bulk ¶
type Bulk func(body io.Reader, o ...func(*BulkRequest)) (*Response, error)
Bulk allows to perform multiple index/update/delete operations in a single request.
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-bulk.html.
func (Bulk) WithContext ¶
func (f Bulk) WithContext(v context.Context) func(*BulkRequest)
WithContext sets the request context.
func (Bulk) WithDocumentType ¶
func (f Bulk) WithDocumentType(v string) func(*BulkRequest)
WithDocumentType - default document type for items which don't provide one.
func (Bulk) WithErrorTrace ¶
func (f Bulk) WithErrorTrace() func(*BulkRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (Bulk) WithFilterPath ¶
func (f Bulk) WithFilterPath(v ...string) func(*BulkRequest)
WithFilterPath filters the properties of the response body.
func (Bulk) WithHeader ¶ added in v7.2.0
func (f Bulk) WithHeader(h map[string]string) func(*BulkRequest)
WithHeader adds the headers to the HTTP request.
func (Bulk) WithHuman ¶
func (f Bulk) WithHuman() func(*BulkRequest)
WithHuman makes statistical values human-readable.
func (Bulk) WithIndex ¶
func (f Bulk) WithIndex(v string) func(*BulkRequest)
WithIndex - default index for items which don't provide one.
func (Bulk) WithOpaqueID ¶ added in v7.5.0
func (f Bulk) WithOpaqueID(s string) func(*BulkRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (Bulk) WithPipeline ¶
func (f Bulk) WithPipeline(v string) func(*BulkRequest)
WithPipeline - the pipeline ID to preprocess incoming documents with.
func (Bulk) WithPretty ¶
func (f Bulk) WithPretty() func(*BulkRequest)
WithPretty makes the response body pretty-printed.
func (Bulk) WithRefresh ¶
func (f Bulk) WithRefresh(v string) func(*BulkRequest)
WithRefresh - if `true` then refresh the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` (the default) then do nothing with refreshes..
func (Bulk) WithRequireAlias ¶ added in v7.10.0
func (f Bulk) WithRequireAlias(v bool) func(*BulkRequest)
WithRequireAlias - sets require_alias for all incoming documents. defaults to unset (false).
func (Bulk) WithRouting ¶
func (f Bulk) WithRouting(v string) func(*BulkRequest)
WithRouting - specific routing value.
func (Bulk) WithSource ¶
func (f Bulk) WithSource(v ...string) func(*BulkRequest)
WithSource - true or false to return the _source field or not, or default list of fields to return, can be overridden on each sub-request.
func (Bulk) WithSourceExcludes ¶
func (f Bulk) WithSourceExcludes(v ...string) func(*BulkRequest)
WithSourceExcludes - default list of fields to exclude from the returned _source field, can be overridden on each sub-request.
func (Bulk) WithSourceIncludes ¶
func (f Bulk) WithSourceIncludes(v ...string) func(*BulkRequest)
WithSourceIncludes - default list of fields to extract and return from the _source field, can be overridden on each sub-request.
func (Bulk) WithTimeout ¶
func (f Bulk) WithTimeout(v time.Duration) func(*BulkRequest)
WithTimeout - explicit operation timeout.
func (Bulk) WithWaitForActiveShards ¶
func (f Bulk) WithWaitForActiveShards(v string) func(*BulkRequest)
WithWaitForActiveShards - sets the number of shard copies that must be active before proceeding with the bulk operation. defaults to 1, meaning the primary shard only. set to `all` for all shard copies, otherwise set to any non-negative value less than or equal to the total number of copies for the shard (number of replicas + 1).
type BulkRequest ¶
type BulkRequest struct {
Index string
DocumentType string
Body io.Reader
Pipeline string
Refresh string
RequireAlias *bool
Routing string
Source []string
SourceExcludes []string
SourceIncludes []string
Timeout time.Duration
WaitForActiveShards string
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
BulkRequest configures the Bulk API request.
type CCR ¶ added in v7.2.0
type CCR struct {
DeleteAutoFollowPattern CCRDeleteAutoFollowPattern
FollowInfo CCRFollowInfo
Follow CCRFollow
FollowStats CCRFollowStats
ForgetFollower CCRForgetFollower
GetAutoFollowPattern CCRGetAutoFollowPattern
PauseAutoFollowPattern CCRPauseAutoFollowPattern
PauseFollow CCRPauseFollow
PutAutoFollowPattern CCRPutAutoFollowPattern
ResumeAutoFollowPattern CCRResumeAutoFollowPattern
ResumeFollow CCRResumeFollow
Stats CCRStats
Unfollow CCRUnfollow
}
CCR contains the CCR APIs
type CCRDeleteAutoFollowPattern ¶ added in v7.2.0
type CCRDeleteAutoFollowPattern func(name string, o ...func(*CCRDeleteAutoFollowPatternRequest)) (*Response, error)
CCRDeleteAutoFollowPattern - Deletes auto-follow patterns.
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-delete-auto-follow-pattern.html.
func (CCRDeleteAutoFollowPattern) WithContext ¶ added in v7.2.0
func (f CCRDeleteAutoFollowPattern) WithContext(v context.Context) func(*CCRDeleteAutoFollowPatternRequest)
WithContext sets the request context.
func (CCRDeleteAutoFollowPattern) WithErrorTrace ¶ added in v7.2.0
func (f CCRDeleteAutoFollowPattern) WithErrorTrace() func(*CCRDeleteAutoFollowPatternRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (CCRDeleteAutoFollowPattern) WithFilterPath ¶ added in v7.2.0
func (f CCRDeleteAutoFollowPattern) WithFilterPath(v ...string) func(*CCRDeleteAutoFollowPatternRequest)
WithFilterPath filters the properties of the response body.
func (CCRDeleteAutoFollowPattern) WithHeader ¶ added in v7.2.0
func (f CCRDeleteAutoFollowPattern) WithHeader(h map[string]string) func(*CCRDeleteAutoFollowPatternRequest)
WithHeader adds the headers to the HTTP request.
func (CCRDeleteAutoFollowPattern) WithHuman ¶ added in v7.2.0
func (f CCRDeleteAutoFollowPattern) WithHuman() func(*CCRDeleteAutoFollowPatternRequest)
WithHuman makes statistical values human-readable.
func (CCRDeleteAutoFollowPattern) WithOpaqueID ¶ added in v7.5.0
func (f CCRDeleteAutoFollowPattern) WithOpaqueID(s string) func(*CCRDeleteAutoFollowPatternRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (CCRDeleteAutoFollowPattern) WithPretty ¶ added in v7.2.0
func (f CCRDeleteAutoFollowPattern) WithPretty() func(*CCRDeleteAutoFollowPatternRequest)
WithPretty makes the response body pretty-printed.
type CCRDeleteAutoFollowPatternRequest ¶ added in v7.2.0
type CCRDeleteAutoFollowPatternRequest struct {
Name string
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
CCRDeleteAutoFollowPatternRequest configures the CCR Delete Auto Follow Pattern API request.
type CCRFollow ¶ added in v7.2.0
CCRFollow - Creates a new follower index configured to follow the referenced leader index.
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-put-follow.html.
func (CCRFollow) WithContext ¶ added in v7.2.0
func (f CCRFollow) WithContext(v context.Context) func(*CCRFollowRequest)
WithContext sets the request context.
func (CCRFollow) WithErrorTrace ¶ added in v7.2.0
func (f CCRFollow) WithErrorTrace() func(*CCRFollowRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (CCRFollow) WithFilterPath ¶ added in v7.2.0
func (f CCRFollow) WithFilterPath(v ...string) func(*CCRFollowRequest)
WithFilterPath filters the properties of the response body.
func (CCRFollow) WithHeader ¶ added in v7.2.0
func (f CCRFollow) WithHeader(h map[string]string) func(*CCRFollowRequest)
WithHeader adds the headers to the HTTP request.
func (CCRFollow) WithHuman ¶ added in v7.2.0
func (f CCRFollow) WithHuman() func(*CCRFollowRequest)
WithHuman makes statistical values human-readable.
func (CCRFollow) WithOpaqueID ¶ added in v7.5.0
func (f CCRFollow) WithOpaqueID(s string) func(*CCRFollowRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (CCRFollow) WithPretty ¶ added in v7.2.0
func (f CCRFollow) WithPretty() func(*CCRFollowRequest)
WithPretty makes the response body pretty-printed.
func (CCRFollow) WithWaitForActiveShards ¶ added in v7.2.0
func (f CCRFollow) WithWaitForActiveShards(v string) func(*CCRFollowRequest)
WithWaitForActiveShards - sets the number of shard copies that must be active before returning. defaults to 0. set to `all` for all shard copies, otherwise set to any non-negative value less than or equal to the total number of copies for the shard (number of replicas + 1).
type CCRFollowInfo ¶ added in v7.2.0
type CCRFollowInfo func(index []string, o ...func(*CCRFollowInfoRequest)) (*Response, error)
CCRFollowInfo - Retrieves information about all follower indices, including parameters and status for each follower index
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-get-follow-info.html.
func (CCRFollowInfo) WithContext ¶ added in v7.2.0
func (f CCRFollowInfo) WithContext(v context.Context) func(*CCRFollowInfoRequest)
WithContext sets the request context.
func (CCRFollowInfo) WithErrorTrace ¶ added in v7.2.0
func (f CCRFollowInfo) WithErrorTrace() func(*CCRFollowInfoRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (CCRFollowInfo) WithFilterPath ¶ added in v7.2.0
func (f CCRFollowInfo) WithFilterPath(v ...string) func(*CCRFollowInfoRequest)
WithFilterPath filters the properties of the response body.
func (CCRFollowInfo) WithHeader ¶ added in v7.2.0
func (f CCRFollowInfo) WithHeader(h map[string]string) func(*CCRFollowInfoRequest)
WithHeader adds the headers to the HTTP request.
func (CCRFollowInfo) WithHuman ¶ added in v7.2.0
func (f CCRFollowInfo) WithHuman() func(*CCRFollowInfoRequest)
WithHuman makes statistical values human-readable.
func (CCRFollowInfo) WithOpaqueID ¶ added in v7.5.0
func (f CCRFollowInfo) WithOpaqueID(s string) func(*CCRFollowInfoRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (CCRFollowInfo) WithPretty ¶ added in v7.2.0
func (f CCRFollowInfo) WithPretty() func(*CCRFollowInfoRequest)
WithPretty makes the response body pretty-printed.
type CCRFollowInfoRequest ¶ added in v7.2.0
type CCRFollowInfoRequest struct {
Index []string
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
CCRFollowInfoRequest configures the CCR Follow Info API request.
type CCRFollowRequest ¶ added in v7.2.0
type CCRFollowRequest struct {
Index string
Body io.Reader
WaitForActiveShards string
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
CCRFollowRequest configures the CCR Follow API request.
type CCRFollowStats ¶ added in v7.2.0
type CCRFollowStats func(index []string, o ...func(*CCRFollowStatsRequest)) (*Response, error)
CCRFollowStats - Retrieves follower stats. return shard-level stats about the following tasks associated with each shard for the specified indices.
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-get-follow-stats.html.
func (CCRFollowStats) WithContext ¶ added in v7.2.0
func (f CCRFollowStats) WithContext(v context.Context) func(*CCRFollowStatsRequest)
WithContext sets the request context.
func (CCRFollowStats) WithErrorTrace ¶ added in v7.2.0
func (f CCRFollowStats) WithErrorTrace() func(*CCRFollowStatsRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (CCRFollowStats) WithFilterPath ¶ added in v7.2.0
func (f CCRFollowStats) WithFilterPath(v ...string) func(*CCRFollowStatsRequest)
WithFilterPath filters the properties of the response body.
func (CCRFollowStats) WithHeader ¶ added in v7.2.0
func (f CCRFollowStats) WithHeader(h map[string]string) func(*CCRFollowStatsRequest)
WithHeader adds the headers to the HTTP request.
func (CCRFollowStats) WithHuman ¶ added in v7.2.0
func (f CCRFollowStats) WithHuman() func(*CCRFollowStatsRequest)
WithHuman makes statistical values human-readable.
func (CCRFollowStats) WithOpaqueID ¶ added in v7.5.0
func (f CCRFollowStats) WithOpaqueID(s string) func(*CCRFollowStatsRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (CCRFollowStats) WithPretty ¶ added in v7.2.0
func (f CCRFollowStats) WithPretty() func(*CCRFollowStatsRequest)
WithPretty makes the response body pretty-printed.
type CCRFollowStatsRequest ¶ added in v7.2.0
type CCRFollowStatsRequest struct {
Index []string
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
CCRFollowStatsRequest configures the CCR Follow Stats API request.
type CCRForgetFollower ¶ added in v7.2.0
type CCRForgetFollower func(index string, body io.Reader, o ...func(*CCRForgetFollowerRequest)) (*Response, error)
CCRForgetFollower - Removes the follower retention leases from the leader.
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-post-forget-follower.html.
func (CCRForgetFollower) WithContext ¶ added in v7.2.0
func (f CCRForgetFollower) WithContext(v context.Context) func(*CCRForgetFollowerRequest)
WithContext sets the request context.
func (CCRForgetFollower) WithErrorTrace ¶ added in v7.2.0
func (f CCRForgetFollower) WithErrorTrace() func(*CCRForgetFollowerRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (CCRForgetFollower) WithFilterPath ¶ added in v7.2.0
func (f CCRForgetFollower) WithFilterPath(v ...string) func(*CCRForgetFollowerRequest)
WithFilterPath filters the properties of the response body.
func (CCRForgetFollower) WithHeader ¶ added in v7.2.0
func (f CCRForgetFollower) WithHeader(h map[string]string) func(*CCRForgetFollowerRequest)
WithHeader adds the headers to the HTTP request.
func (CCRForgetFollower) WithHuman ¶ added in v7.2.0
func (f CCRForgetFollower) WithHuman() func(*CCRForgetFollowerRequest)
WithHuman makes statistical values human-readable.
func (CCRForgetFollower) WithOpaqueID ¶ added in v7.5.0
func (f CCRForgetFollower) WithOpaqueID(s string) func(*CCRForgetFollowerRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (CCRForgetFollower) WithPretty ¶ added in v7.2.0
func (f CCRForgetFollower) WithPretty() func(*CCRForgetFollowerRequest)
WithPretty makes the response body pretty-printed.
type CCRForgetFollowerRequest ¶ added in v7.2.0
type CCRForgetFollowerRequest struct {
Index string
Body io.Reader
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
CCRForgetFollowerRequest configures the CCR Forget Follower API request.
type CCRGetAutoFollowPattern ¶ added in v7.2.0
type CCRGetAutoFollowPattern func(o ...func(*CCRGetAutoFollowPatternRequest)) (*Response, error)
CCRGetAutoFollowPattern - Gets configured auto-follow patterns. Returns the specified auto-follow pattern collection.
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-get-auto-follow-pattern.html.
func (CCRGetAutoFollowPattern) WithContext ¶ added in v7.2.0
func (f CCRGetAutoFollowPattern) WithContext(v context.Context) func(*CCRGetAutoFollowPatternRequest)
WithContext sets the request context.
func (CCRGetAutoFollowPattern) WithErrorTrace ¶ added in v7.2.0
func (f CCRGetAutoFollowPattern) WithErrorTrace() func(*CCRGetAutoFollowPatternRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (CCRGetAutoFollowPattern) WithFilterPath ¶ added in v7.2.0
func (f CCRGetAutoFollowPattern) WithFilterPath(v ...string) func(*CCRGetAutoFollowPatternRequest)
WithFilterPath filters the properties of the response body.
func (CCRGetAutoFollowPattern) WithHeader ¶ added in v7.2.0
func (f CCRGetAutoFollowPattern) WithHeader(h map[string]string) func(*CCRGetAutoFollowPatternRequest)
WithHeader adds the headers to the HTTP request.
func (CCRGetAutoFollowPattern) WithHuman ¶ added in v7.2.0
func (f CCRGetAutoFollowPattern) WithHuman() func(*CCRGetAutoFollowPatternRequest)
WithHuman makes statistical values human-readable.
func (CCRGetAutoFollowPattern) WithName ¶ added in v7.2.0
func (f CCRGetAutoFollowPattern) WithName(v string) func(*CCRGetAutoFollowPatternRequest)
WithName - the name of the auto follow pattern..
func (CCRGetAutoFollowPattern) WithOpaqueID ¶ added in v7.5.0
func (f CCRGetAutoFollowPattern) WithOpaqueID(s string) func(*CCRGetAutoFollowPatternRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (CCRGetAutoFollowPattern) WithPretty ¶ added in v7.2.0
func (f CCRGetAutoFollowPattern) WithPretty() func(*CCRGetAutoFollowPatternRequest)
WithPretty makes the response body pretty-printed.
type CCRGetAutoFollowPatternRequest ¶ added in v7.2.0
type CCRGetAutoFollowPatternRequest struct {
Name string
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
CCRGetAutoFollowPatternRequest configures the CCR Get Auto Follow Pattern API request.
type CCRPauseAutoFollowPattern ¶ added in v7.5.0
type CCRPauseAutoFollowPattern func(name string, o ...func(*CCRPauseAutoFollowPatternRequest)) (*Response, error)
CCRPauseAutoFollowPattern - Pauses an auto-follow pattern
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-pause-auto-follow-pattern.html.
func (CCRPauseAutoFollowPattern) WithContext ¶ added in v7.5.0
func (f CCRPauseAutoFollowPattern) WithContext(v context.Context) func(*CCRPauseAutoFollowPatternRequest)
WithContext sets the request context.
func (CCRPauseAutoFollowPattern) WithErrorTrace ¶ added in v7.5.0
func (f CCRPauseAutoFollowPattern) WithErrorTrace() func(*CCRPauseAutoFollowPatternRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (CCRPauseAutoFollowPattern) WithFilterPath ¶ added in v7.5.0
func (f CCRPauseAutoFollowPattern) WithFilterPath(v ...string) func(*CCRPauseAutoFollowPatternRequest)
WithFilterPath filters the properties of the response body.
func (CCRPauseAutoFollowPattern) WithHeader ¶ added in v7.5.0
func (f CCRPauseAutoFollowPattern) WithHeader(h map[string]string) func(*CCRPauseAutoFollowPatternRequest)
WithHeader adds the headers to the HTTP request.
func (CCRPauseAutoFollowPattern) WithHuman ¶ added in v7.5.0
func (f CCRPauseAutoFollowPattern) WithHuman() func(*CCRPauseAutoFollowPatternRequest)
WithHuman makes statistical values human-readable.
func (CCRPauseAutoFollowPattern) WithOpaqueID ¶ added in v7.5.0
func (f CCRPauseAutoFollowPattern) WithOpaqueID(s string) func(*CCRPauseAutoFollowPatternRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (CCRPauseAutoFollowPattern) WithPretty ¶ added in v7.5.0
func (f CCRPauseAutoFollowPattern) WithPretty() func(*CCRPauseAutoFollowPatternRequest)
WithPretty makes the response body pretty-printed.
type CCRPauseAutoFollowPatternRequest ¶ added in v7.5.0
type CCRPauseAutoFollowPatternRequest struct {
Name string
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
CCRPauseAutoFollowPatternRequest configures the CCR Pause Auto Follow Pattern API request.
type CCRPauseFollow ¶ added in v7.2.0
type CCRPauseFollow func(index string, o ...func(*CCRPauseFollowRequest)) (*Response, error)
CCRPauseFollow - Pauses a follower index. The follower index will not fetch any additional operations from the leader index.
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-post-pause-follow.html.
func (CCRPauseFollow) WithContext ¶ added in v7.2.0
func (f CCRPauseFollow) WithContext(v context.Context) func(*CCRPauseFollowRequest)
WithContext sets the request context.
func (CCRPauseFollow) WithErrorTrace ¶ added in v7.2.0
func (f CCRPauseFollow) WithErrorTrace() func(*CCRPauseFollowRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (CCRPauseFollow) WithFilterPath ¶ added in v7.2.0
func (f CCRPauseFollow) WithFilterPath(v ...string) func(*CCRPauseFollowRequest)
WithFilterPath filters the properties of the response body.
func (CCRPauseFollow) WithHeader ¶ added in v7.2.0
func (f CCRPauseFollow) WithHeader(h map[string]string) func(*CCRPauseFollowRequest)
WithHeader adds the headers to the HTTP request.
func (CCRPauseFollow) WithHuman ¶ added in v7.2.0
func (f CCRPauseFollow) WithHuman() func(*CCRPauseFollowRequest)
WithHuman makes statistical values human-readable.
func (CCRPauseFollow) WithOpaqueID ¶ added in v7.5.0
func (f CCRPauseFollow) WithOpaqueID(s string) func(*CCRPauseFollowRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (CCRPauseFollow) WithPretty ¶ added in v7.2.0
func (f CCRPauseFollow) WithPretty() func(*CCRPauseFollowRequest)
WithPretty makes the response body pretty-printed.
type CCRPauseFollowRequest ¶ added in v7.2.0
type CCRPauseFollowRequest struct {
Index string
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
CCRPauseFollowRequest configures the CCR Pause Follow API request.
type CCRPutAutoFollowPattern ¶ added in v7.2.0
type CCRPutAutoFollowPattern func(name string, body io.Reader, o ...func(*CCRPutAutoFollowPatternRequest)) (*Response, error)
CCRPutAutoFollowPattern - Creates a new named collection of auto-follow patterns against a specified remote cluster. Newly created indices on the remote cluster matching any of the specified patterns will be automatically configured as follower indices.
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-put-auto-follow-pattern.html.
func (CCRPutAutoFollowPattern) WithContext ¶ added in v7.2.0
func (f CCRPutAutoFollowPattern) WithContext(v context.Context) func(*CCRPutAutoFollowPatternRequest)
WithContext sets the request context.
func (CCRPutAutoFollowPattern) WithErrorTrace ¶ added in v7.2.0
func (f CCRPutAutoFollowPattern) WithErrorTrace() func(*CCRPutAutoFollowPatternRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (CCRPutAutoFollowPattern) WithFilterPath ¶ added in v7.2.0
func (f CCRPutAutoFollowPattern) WithFilterPath(v ...string) func(*CCRPutAutoFollowPatternRequest)
WithFilterPath filters the properties of the response body.
func (CCRPutAutoFollowPattern) WithHeader ¶ added in v7.2.0
func (f CCRPutAutoFollowPattern) WithHeader(h map[string]string) func(*CCRPutAutoFollowPatternRequest)
WithHeader adds the headers to the HTTP request.
func (CCRPutAutoFollowPattern) WithHuman ¶ added in v7.2.0
func (f CCRPutAutoFollowPattern) WithHuman() func(*CCRPutAutoFollowPatternRequest)
WithHuman makes statistical values human-readable.
func (CCRPutAutoFollowPattern) WithOpaqueID ¶ added in v7.5.0
func (f CCRPutAutoFollowPattern) WithOpaqueID(s string) func(*CCRPutAutoFollowPatternRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (CCRPutAutoFollowPattern) WithPretty ¶ added in v7.2.0
func (f CCRPutAutoFollowPattern) WithPretty() func(*CCRPutAutoFollowPatternRequest)
WithPretty makes the response body pretty-printed.
type CCRPutAutoFollowPatternRequest ¶ added in v7.2.0
type CCRPutAutoFollowPatternRequest struct {
Body io.Reader
Name string
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
CCRPutAutoFollowPatternRequest configures the CCR Put Auto Follow Pattern API request.
type CCRResumeAutoFollowPattern ¶ added in v7.5.0
type CCRResumeAutoFollowPattern func(name string, o ...func(*CCRResumeAutoFollowPatternRequest)) (*Response, error)
CCRResumeAutoFollowPattern - Resumes an auto-follow pattern that has been paused
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-resume-auto-follow-pattern.html.
func (CCRResumeAutoFollowPattern) WithContext ¶ added in v7.5.0
func (f CCRResumeAutoFollowPattern) WithContext(v context.Context) func(*CCRResumeAutoFollowPatternRequest)
WithContext sets the request context.
func (CCRResumeAutoFollowPattern) WithErrorTrace ¶ added in v7.5.0
func (f CCRResumeAutoFollowPattern) WithErrorTrace() func(*CCRResumeAutoFollowPatternRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (CCRResumeAutoFollowPattern) WithFilterPath ¶ added in v7.5.0
func (f CCRResumeAutoFollowPattern) WithFilterPath(v ...string) func(*CCRResumeAutoFollowPatternRequest)
WithFilterPath filters the properties of the response body.
func (CCRResumeAutoFollowPattern) WithHeader ¶ added in v7.5.0
func (f CCRResumeAutoFollowPattern) WithHeader(h map[string]string) func(*CCRResumeAutoFollowPatternRequest)
WithHeader adds the headers to the HTTP request.
func (CCRResumeAutoFollowPattern) WithHuman ¶ added in v7.5.0
func (f CCRResumeAutoFollowPattern) WithHuman() func(*CCRResumeAutoFollowPatternRequest)
WithHuman makes statistical values human-readable.
func (CCRResumeAutoFollowPattern) WithOpaqueID ¶ added in v7.5.0
func (f CCRResumeAutoFollowPattern) WithOpaqueID(s string) func(*CCRResumeAutoFollowPatternRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (CCRResumeAutoFollowPattern) WithPretty ¶ added in v7.5.0
func (f CCRResumeAutoFollowPattern) WithPretty() func(*CCRResumeAutoFollowPatternRequest)
WithPretty makes the response body pretty-printed.
type CCRResumeAutoFollowPatternRequest ¶ added in v7.5.0
type CCRResumeAutoFollowPatternRequest struct {
Name string
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
CCRResumeAutoFollowPatternRequest configures the CCR Resume Auto Follow Pattern API request.
type CCRResumeFollow ¶ added in v7.2.0
type CCRResumeFollow func(index string, o ...func(*CCRResumeFollowRequest)) (*Response, error)
CCRResumeFollow - Resumes a follower index that has been paused
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-post-resume-follow.html.
func (CCRResumeFollow) WithBody ¶ added in v7.2.0
func (f CCRResumeFollow) WithBody(v io.Reader) func(*CCRResumeFollowRequest)
WithBody - The name of the leader index and other optional ccr related parameters.
func (CCRResumeFollow) WithContext ¶ added in v7.2.0
func (f CCRResumeFollow) WithContext(v context.Context) func(*CCRResumeFollowRequest)
WithContext sets the request context.
func (CCRResumeFollow) WithErrorTrace ¶ added in v7.2.0
func (f CCRResumeFollow) WithErrorTrace() func(*CCRResumeFollowRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (CCRResumeFollow) WithFilterPath ¶ added in v7.2.0
func (f CCRResumeFollow) WithFilterPath(v ...string) func(*CCRResumeFollowRequest)
WithFilterPath filters the properties of the response body.
func (CCRResumeFollow) WithHeader ¶ added in v7.2.0
func (f CCRResumeFollow) WithHeader(h map[string]string) func(*CCRResumeFollowRequest)
WithHeader adds the headers to the HTTP request.
func (CCRResumeFollow) WithHuman ¶ added in v7.2.0
func (f CCRResumeFollow) WithHuman() func(*CCRResumeFollowRequest)
WithHuman makes statistical values human-readable.
func (CCRResumeFollow) WithOpaqueID ¶ added in v7.5.0
func (f CCRResumeFollow) WithOpaqueID(s string) func(*CCRResumeFollowRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (CCRResumeFollow) WithPretty ¶ added in v7.2.0
func (f CCRResumeFollow) WithPretty() func(*CCRResumeFollowRequest)
WithPretty makes the response body pretty-printed.
type CCRResumeFollowRequest ¶ added in v7.2.0
type CCRResumeFollowRequest struct {
Index string
Body io.Reader
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
CCRResumeFollowRequest configures the CCR Resume Follow API request.
type CCRStats ¶ added in v7.2.0
type CCRStats func(o ...func(*CCRStatsRequest)) (*Response, error)
CCRStats - Gets all stats related to cross-cluster replication.
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-get-stats.html.
func (CCRStats) WithContext ¶ added in v7.2.0
func (f CCRStats) WithContext(v context.Context) func(*CCRStatsRequest)
WithContext sets the request context.
func (CCRStats) WithErrorTrace ¶ added in v7.2.0
func (f CCRStats) WithErrorTrace() func(*CCRStatsRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (CCRStats) WithFilterPath ¶ added in v7.2.0
func (f CCRStats) WithFilterPath(v ...string) func(*CCRStatsRequest)
WithFilterPath filters the properties of the response body.
func (CCRStats) WithHeader ¶ added in v7.2.0
func (f CCRStats) WithHeader(h map[string]string) func(*CCRStatsRequest)
WithHeader adds the headers to the HTTP request.
func (CCRStats) WithHuman ¶ added in v7.2.0
func (f CCRStats) WithHuman() func(*CCRStatsRequest)
WithHuman makes statistical values human-readable.
func (CCRStats) WithOpaqueID ¶ added in v7.5.0
func (f CCRStats) WithOpaqueID(s string) func(*CCRStatsRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (CCRStats) WithPretty ¶ added in v7.2.0
func (f CCRStats) WithPretty() func(*CCRStatsRequest)
WithPretty makes the response body pretty-printed.
type CCRStatsRequest ¶ added in v7.2.0
type CCRStatsRequest struct {
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
CCRStatsRequest configures the CCR Stats API request.
type CCRUnfollow ¶ added in v7.2.0
type CCRUnfollow func(index string, o ...func(*CCRUnfollowRequest)) (*Response, error)
CCRUnfollow - Stops the following task associated with a follower index and removes index metadata and settings associated with cross-cluster replication.
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/current/ccr-post-unfollow.html.
func (CCRUnfollow) WithContext ¶ added in v7.2.0
func (f CCRUnfollow) WithContext(v context.Context) func(*CCRUnfollowRequest)
WithContext sets the request context.
func (CCRUnfollow) WithErrorTrace ¶ added in v7.2.0
func (f CCRUnfollow) WithErrorTrace() func(*CCRUnfollowRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (CCRUnfollow) WithFilterPath ¶ added in v7.2.0
func (f CCRUnfollow) WithFilterPath(v ...string) func(*CCRUnfollowRequest)
WithFilterPath filters the properties of the response body.
func (CCRUnfollow) WithHeader ¶ added in v7.2.0
func (f CCRUnfollow) WithHeader(h map[string]string) func(*CCRUnfollowRequest)
WithHeader adds the headers to the HTTP request.
func (CCRUnfollow) WithHuman ¶ added in v7.2.0
func (f CCRUnfollow) WithHuman() func(*CCRUnfollowRequest)
WithHuman makes statistical values human-readable.
func (CCRUnfollow) WithOpaqueID ¶ added in v7.5.0
func (f CCRUnfollow) WithOpaqueID(s string) func(*CCRUnfollowRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (CCRUnfollow) WithPretty ¶ added in v7.2.0
func (f CCRUnfollow) WithPretty() func(*CCRUnfollowRequest)
WithPretty makes the response body pretty-printed.
type CCRUnfollowRequest ¶ added in v7.2.0
type CCRUnfollowRequest struct {
Index string
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
CCRUnfollowRequest configures the CCR Unfollow API request.
type Cat ¶
type Cat struct {
Aliases CatAliases
Allocation CatAllocation
Count CatCount
Fielddata CatFielddata
Health CatHealth
Help CatHelp
Indices CatIndices
MLDataFrameAnalytics CatMLDataFrameAnalytics
MLDatafeeds CatMLDatafeeds
MLJobs CatMLJobs
MLTrainedModels CatMLTrainedModels
Master CatMaster
Nodeattrs CatNodeattrs
Nodes CatNodes
PendingTasks CatPendingTasks
Plugins CatPlugins
Recovery CatRecovery
Repositories CatRepositories
Segments CatSegments
Shards CatShards
Snapshots CatSnapshots
Tasks CatTasks
Templates CatTemplates
ThreadPool CatThreadPool
Transforms CatTransforms
}
Cat contains the Cat APIs
type CatAliases ¶
type CatAliases func(o ...func(*CatAliasesRequest)) (*Response, error)
CatAliases shows information about currently configured aliases to indices including filter and routing infos.
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-alias.html.
func (CatAliases) WithContext ¶
func (f CatAliases) WithContext(v context.Context) func(*CatAliasesRequest)
WithContext sets the request context.
func (CatAliases) WithErrorTrace ¶
func (f CatAliases) WithErrorTrace() func(*CatAliasesRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (CatAliases) WithExpandWildcards ¶ added in v7.7.0
func (f CatAliases) WithExpandWildcards(v string) func(*CatAliasesRequest)
WithExpandWildcards - whether to expand wildcard expression to concrete indices that are open, closed or both..
func (CatAliases) WithFilterPath ¶
func (f CatAliases) WithFilterPath(v ...string) func(*CatAliasesRequest)
WithFilterPath filters the properties of the response body.
func (CatAliases) WithFormat ¶
func (f CatAliases) WithFormat(v string) func(*CatAliasesRequest)
WithFormat - a short version of the accept header, e.g. json, yaml.
func (CatAliases) WithH ¶
func (f CatAliases) WithH(v ...string) func(*CatAliasesRequest)
WithH - comma-separated list of column names to display.
func (CatAliases) WithHeader ¶ added in v7.2.0
func (f CatAliases) WithHeader(h map[string]string) func(*CatAliasesRequest)
WithHeader adds the headers to the HTTP request.
func (CatAliases) WithHelp ¶
func (f CatAliases) WithHelp(v bool) func(*CatAliasesRequest)
WithHelp - return help information.
func (CatAliases) WithHuman ¶
func (f CatAliases) WithHuman() func(*CatAliasesRequest)
WithHuman makes statistical values human-readable.
func (CatAliases) WithLocal ¶
func (f CatAliases) WithLocal(v bool) func(*CatAliasesRequest)
WithLocal - return local information, do not retrieve the state from master node (default: false).
func (CatAliases) WithName ¶
func (f CatAliases) WithName(v ...string) func(*CatAliasesRequest)
WithName - a list of alias names to return.
func (CatAliases) WithOpaqueID ¶ added in v7.5.0
func (f CatAliases) WithOpaqueID(s string) func(*CatAliasesRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (CatAliases) WithPretty ¶
func (f CatAliases) WithPretty() func(*CatAliasesRequest)
WithPretty makes the response body pretty-printed.
func (CatAliases) WithS ¶
func (f CatAliases) WithS(v ...string) func(*CatAliasesRequest)
WithS - comma-separated list of column names or column aliases to sort by.
func (CatAliases) WithV ¶
func (f CatAliases) WithV(v bool) func(*CatAliasesRequest)
WithV - verbose mode. display column headers.
type CatAliasesRequest ¶
type CatAliasesRequest struct {
Name []string
ExpandWildcards string
Format string
H []string
Help *bool
Local *bool
S []string
V *bool
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
CatAliasesRequest configures the Cat Aliases API request.
type CatAllocation ¶
type CatAllocation func(o ...func(*CatAllocationRequest)) (*Response, error)
CatAllocation provides a snapshot of how many shards are allocated to each data node and how much disk space they are using.
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-allocation.html.
func (CatAllocation) WithBytes ¶
func (f CatAllocation) WithBytes(v string) func(*CatAllocationRequest)
WithBytes - the unit in which to display byte values.
func (CatAllocation) WithContext ¶
func (f CatAllocation) WithContext(v context.Context) func(*CatAllocationRequest)
WithContext sets the request context.
func (CatAllocation) WithErrorTrace ¶
func (f CatAllocation) WithErrorTrace() func(*CatAllocationRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (CatAllocation) WithFilterPath ¶
func (f CatAllocation) WithFilterPath(v ...string) func(*CatAllocationRequest)
WithFilterPath filters the properties of the response body.
func (CatAllocation) WithFormat ¶
func (f CatAllocation) WithFormat(v string) func(*CatAllocationRequest)
WithFormat - a short version of the accept header, e.g. json, yaml.
func (CatAllocation) WithH ¶
func (f CatAllocation) WithH(v ...string) func(*CatAllocationRequest)
WithH - comma-separated list of column names to display.
func (CatAllocation) WithHeader ¶ added in v7.2.0
func (f CatAllocation) WithHeader(h map[string]string) func(*CatAllocationRequest)
WithHeader adds the headers to the HTTP request.
func (CatAllocation) WithHelp ¶
func (f CatAllocation) WithHelp(v bool) func(*CatAllocationRequest)
WithHelp - return help information.
func (CatAllocation) WithHuman ¶
func (f CatAllocation) WithHuman() func(*CatAllocationRequest)
WithHuman makes statistical values human-readable.
func (CatAllocation) WithLocal ¶
func (f CatAllocation) WithLocal(v bool) func(*CatAllocationRequest)
WithLocal - return local information, do not retrieve the state from master node (default: false).
func (CatAllocation) WithMasterTimeout ¶
func (f CatAllocation) WithMasterTimeout(v time.Duration) func(*CatAllocationRequest)
WithMasterTimeout - explicit operation timeout for connection to master node.
func (CatAllocation) WithNodeID ¶
func (f CatAllocation) WithNodeID(v ...string) func(*CatAllocationRequest)
WithNodeID - a list of node ids or names to limit the returned information.
func (CatAllocation) WithOpaqueID ¶ added in v7.5.0
func (f CatAllocation) WithOpaqueID(s string) func(*CatAllocationRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (CatAllocation) WithPretty ¶
func (f CatAllocation) WithPretty() func(*CatAllocationRequest)
WithPretty makes the response body pretty-printed.
func (CatAllocation) WithS ¶
func (f CatAllocation) WithS(v ...string) func(*CatAllocationRequest)
WithS - comma-separated list of column names or column aliases to sort by.
func (CatAllocation) WithV ¶
func (f CatAllocation) WithV(v bool) func(*CatAllocationRequest)
WithV - verbose mode. display column headers.
type CatAllocationRequest ¶
type CatAllocationRequest struct {
NodeID []string
Bytes string
Format string
H []string
Help *bool
Local *bool
MasterTimeout time.Duration
S []string
V *bool
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
CatAllocationRequest configures the Cat Allocation API request.
type CatCount ¶
type CatCount func(o ...func(*CatCountRequest)) (*Response, error)
CatCount provides quick access to the document count of the entire cluster, or individual indices.
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-count.html.
func (CatCount) WithContext ¶
func (f CatCount) WithContext(v context.Context) func(*CatCountRequest)
WithContext sets the request context.
func (CatCount) WithErrorTrace ¶
func (f CatCount) WithErrorTrace() func(*CatCountRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (CatCount) WithFilterPath ¶
func (f CatCount) WithFilterPath(v ...string) func(*CatCountRequest)
WithFilterPath filters the properties of the response body.
func (CatCount) WithFormat ¶
func (f CatCount) WithFormat(v string) func(*CatCountRequest)
WithFormat - a short version of the accept header, e.g. json, yaml.
func (CatCount) WithH ¶
func (f CatCount) WithH(v ...string) func(*CatCountRequest)
WithH - comma-separated list of column names to display.
func (CatCount) WithHeader ¶ added in v7.2.0
func (f CatCount) WithHeader(h map[string]string) func(*CatCountRequest)
WithHeader adds the headers to the HTTP request.
func (CatCount) WithHelp ¶
func (f CatCount) WithHelp(v bool) func(*CatCountRequest)
WithHelp - return help information.
func (CatCount) WithHuman ¶
func (f CatCount) WithHuman() func(*CatCountRequest)
WithHuman makes statistical values human-readable.
func (CatCount) WithIndex ¶
func (f CatCount) WithIndex(v ...string) func(*CatCountRequest)
WithIndex - a list of index names to limit the returned information.
func (CatCount) WithOpaqueID ¶ added in v7.5.0
func (f CatCount) WithOpaqueID(s string) func(*CatCountRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (CatCount) WithPretty ¶
func (f CatCount) WithPretty() func(*CatCountRequest)
WithPretty makes the response body pretty-printed.
func (CatCount) WithS ¶
func (f CatCount) WithS(v ...string) func(*CatCountRequest)
WithS - comma-separated list of column names or column aliases to sort by.
func (CatCount) WithV ¶
func (f CatCount) WithV(v bool) func(*CatCountRequest)
WithV - verbose mode. display column headers.
type CatCountRequest ¶
type CatCountRequest struct {
Index []string
Format string
H []string
Help *bool
S []string
V *bool
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
CatCountRequest configures the Cat Count API request.
type CatFielddata ¶
type CatFielddata func(o ...func(*CatFielddataRequest)) (*Response, error)
CatFielddata shows how much heap memory is currently being used by fielddata on every data node in the cluster.
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-fielddata.html.
func (CatFielddata) WithBytes ¶
func (f CatFielddata) WithBytes(v string) func(*CatFielddataRequest)
WithBytes - the unit in which to display byte values.
func (CatFielddata) WithContext ¶
func (f CatFielddata) WithContext(v context.Context) func(*CatFielddataRequest)
WithContext sets the request context.
func (CatFielddata) WithErrorTrace ¶
func (f CatFielddata) WithErrorTrace() func(*CatFielddataRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (CatFielddata) WithFields ¶
func (f CatFielddata) WithFields(v ...string) func(*CatFielddataRequest)
WithFields - a list of fields to return the fielddata size.
func (CatFielddata) WithFilterPath ¶
func (f CatFielddata) WithFilterPath(v ...string) func(*CatFielddataRequest)
WithFilterPath filters the properties of the response body.
func (CatFielddata) WithFormat ¶
func (f CatFielddata) WithFormat(v string) func(*CatFielddataRequest)
WithFormat - a short version of the accept header, e.g. json, yaml.
func (CatFielddata) WithH ¶
func (f CatFielddata) WithH(v ...string) func(*CatFielddataRequest)
WithH - comma-separated list of column names to display.
func (CatFielddata) WithHeader ¶ added in v7.2.0
func (f CatFielddata) WithHeader(h map[string]string) func(*CatFielddataRequest)
WithHeader adds the headers to the HTTP request.
func (CatFielddata) WithHelp ¶
func (f CatFielddata) WithHelp(v bool) func(*CatFielddataRequest)
WithHelp - return help information.
func (CatFielddata) WithHuman ¶
func (f CatFielddata) WithHuman() func(*CatFielddataRequest)
WithHuman makes statistical values human-readable.
func (CatFielddata) WithOpaqueID ¶ added in v7.5.0
func (f CatFielddata) WithOpaqueID(s string) func(*CatFielddataRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (CatFielddata) WithPretty ¶
func (f CatFielddata) WithPretty() func(*CatFielddataRequest)
WithPretty makes the response body pretty-printed.
func (CatFielddata) WithS ¶
func (f CatFielddata) WithS(v ...string) func(*CatFielddataRequest)
WithS - comma-separated list of column names or column aliases to sort by.
func (CatFielddata) WithV ¶
func (f CatFielddata) WithV(v bool) func(*CatFielddataRequest)
WithV - verbose mode. display column headers.
type CatFielddataRequest ¶
type CatFielddataRequest struct {
Fields []string
Bytes string
Format string
H []string
Help *bool
S []string
V *bool
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
CatFielddataRequest configures the Cat Fielddata API request.
type CatHealth ¶
type CatHealth func(o ...func(*CatHealthRequest)) (*Response, error)
CatHealth returns a concise representation of the cluster health.
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-health.html.
func (CatHealth) WithContext ¶
func (f CatHealth) WithContext(v context.Context) func(*CatHealthRequest)
WithContext sets the request context.
func (CatHealth) WithErrorTrace ¶
func (f CatHealth) WithErrorTrace() func(*CatHealthRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (CatHealth) WithFilterPath ¶
func (f CatHealth) WithFilterPath(v ...string) func(*CatHealthRequest)
WithFilterPath filters the properties of the response body.
func (CatHealth) WithFormat ¶
func (f CatHealth) WithFormat(v string) func(*CatHealthRequest)
WithFormat - a short version of the accept header, e.g. json, yaml.
func (CatHealth) WithH ¶
func (f CatHealth) WithH(v ...string) func(*CatHealthRequest)
WithH - comma-separated list of column names to display.
func (CatHealth) WithHeader ¶ added in v7.2.0
func (f CatHealth) WithHeader(h map[string]string) func(*CatHealthRequest)
WithHeader adds the headers to the HTTP request.
func (CatHealth) WithHelp ¶
func (f CatHealth) WithHelp(v bool) func(*CatHealthRequest)
WithHelp - return help information.
func (CatHealth) WithHuman ¶
func (f CatHealth) WithHuman() func(*CatHealthRequest)
WithHuman makes statistical values human-readable.
func (CatHealth) WithOpaqueID ¶ added in v7.5.0
func (f CatHealth) WithOpaqueID(s string) func(*CatHealthRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (CatHealth) WithPretty ¶
func (f CatHealth) WithPretty() func(*CatHealthRequest)
WithPretty makes the response body pretty-printed.
func (CatHealth) WithS ¶
func (f CatHealth) WithS(v ...string) func(*CatHealthRequest)
WithS - comma-separated list of column names or column aliases to sort by.
func (CatHealth) WithTime ¶ added in v7.4.1
func (f CatHealth) WithTime(v string) func(*CatHealthRequest)
WithTime - the unit in which to display time values.
func (CatHealth) WithTs ¶
func (f CatHealth) WithTs(v bool) func(*CatHealthRequest)
WithTs - set to false to disable timestamping.
func (CatHealth) WithV ¶
func (f CatHealth) WithV(v bool) func(*CatHealthRequest)
WithV - verbose mode. display column headers.
type CatHealthRequest ¶
type CatHealthRequest struct {
Format string
H []string
Help *bool
S []string
Time string
Ts *bool
V *bool
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
CatHealthRequest configures the Cat Health API request.
type CatHelp ¶
type CatHelp func(o ...func(*CatHelpRequest)) (*Response, error)
CatHelp returns help for the Cat APIs.
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/master/cat.html.
func (CatHelp) WithContext ¶
func (f CatHelp) WithContext(v context.Context) func(*CatHelpRequest)
WithContext sets the request context.
func (CatHelp) WithErrorTrace ¶
func (f CatHelp) WithErrorTrace() func(*CatHelpRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (CatHelp) WithFilterPath ¶
func (f CatHelp) WithFilterPath(v ...string) func(*CatHelpRequest)
WithFilterPath filters the properties of the response body.
func (CatHelp) WithHeader ¶ added in v7.2.0
func (f CatHelp) WithHeader(h map[string]string) func(*CatHelpRequest)
WithHeader adds the headers to the HTTP request.
func (CatHelp) WithHelp ¶
func (f CatHelp) WithHelp(v bool) func(*CatHelpRequest)
WithHelp - return help information.
func (CatHelp) WithHuman ¶
func (f CatHelp) WithHuman() func(*CatHelpRequest)
WithHuman makes statistical values human-readable.
func (CatHelp) WithOpaqueID ¶ added in v7.5.0
func (f CatHelp) WithOpaqueID(s string) func(*CatHelpRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (CatHelp) WithPretty ¶
func (f CatHelp) WithPretty() func(*CatHelpRequest)
WithPretty makes the response body pretty-printed.
func (CatHelp) WithS ¶
func (f CatHelp) WithS(v ...string) func(*CatHelpRequest)
WithS - comma-separated list of column names or column aliases to sort by.
type CatHelpRequest ¶
type CatHelpRequest struct {
Help *bool
S []string
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
CatHelpRequest configures the Cat Help API request.
type CatIndices ¶
type CatIndices func(o ...func(*CatIndicesRequest)) (*Response, error)
CatIndices returns information about indices: number of primaries and replicas, document counts, disk size, ...
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-indices.html.
func (CatIndices) WithBytes ¶
func (f CatIndices) WithBytes(v string) func(*CatIndicesRequest)
WithBytes - the unit in which to display byte values.
func (CatIndices) WithContext ¶
func (f CatIndices) WithContext(v context.Context) func(*CatIndicesRequest)
WithContext sets the request context.
func (CatIndices) WithErrorTrace ¶
func (f CatIndices) WithErrorTrace() func(*CatIndicesRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (CatIndices) WithExpandWildcards ¶ added in v7.7.0
func (f CatIndices) WithExpandWildcards(v string) func(*CatIndicesRequest)
WithExpandWildcards - whether to expand wildcard expression to concrete indices that are open, closed or both..
func (CatIndices) WithFilterPath ¶
func (f CatIndices) WithFilterPath(v ...string) func(*CatIndicesRequest)
WithFilterPath filters the properties of the response body.
func (CatIndices) WithFormat ¶
func (f CatIndices) WithFormat(v string) func(*CatIndicesRequest)
WithFormat - a short version of the accept header, e.g. json, yaml.
func (CatIndices) WithH ¶
func (f CatIndices) WithH(v ...string) func(*CatIndicesRequest)
WithH - comma-separated list of column names to display.
func (CatIndices) WithHeader ¶ added in v7.2.0
func (f CatIndices) WithHeader(h map[string]string) func(*CatIndicesRequest)
WithHeader adds the headers to the HTTP request.
func (CatIndices) WithHealth ¶
func (f CatIndices) WithHealth(v string) func(*CatIndicesRequest)
WithHealth - a health status ("green", "yellow", or "red" to filter only indices matching the specified health status.
func (CatIndices) WithHelp ¶
func (f CatIndices) WithHelp(v bool) func(*CatIndicesRequest)
WithHelp - return help information.
func (CatIndices) WithHuman ¶
func (f CatIndices) WithHuman() func(*CatIndicesRequest)
WithHuman makes statistical values human-readable.
func (CatIndices) WithIncludeUnloadedSegments ¶ added in v7.2.0
func (f CatIndices) WithIncludeUnloadedSegments(v bool) func(*CatIndicesRequest)
WithIncludeUnloadedSegments - if set to true segment stats will include stats for segments that are not currently loaded into memory.
func (CatIndices) WithIndex ¶
func (f CatIndices) WithIndex(v ...string) func(*CatIndicesRequest)
WithIndex - a list of index names to limit the returned information.
func (CatIndices) WithLocal ¶
func (f CatIndices) WithLocal(v bool) func(*CatIndicesRequest)
WithLocal - return local information, do not retrieve the state from master node (default: false).
func (CatIndices) WithMasterTimeout ¶
func (f CatIndices) WithMasterTimeout(v time.Duration) func(*CatIndicesRequest)
WithMasterTimeout - explicit operation timeout for connection to master node.
func (CatIndices) WithOpaqueID ¶ added in v7.5.0
func (f CatIndices) WithOpaqueID(s string) func(*CatIndicesRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (CatIndices) WithPretty ¶
func (f CatIndices) WithPretty() func(*CatIndicesRequest)
WithPretty makes the response body pretty-printed.
func (CatIndices) WithPri ¶
func (f CatIndices) WithPri(v bool) func(*CatIndicesRequest)
WithPri - set to true to return stats only for primary shards.
func (CatIndices) WithS ¶
func (f CatIndices) WithS(v ...string) func(*CatIndicesRequest)
WithS - comma-separated list of column names or column aliases to sort by.
func (CatIndices) WithTime ¶ added in v7.4.1
func (f CatIndices) WithTime(v string) func(*CatIndicesRequest)
WithTime - the unit in which to display time values.
func (CatIndices) WithV ¶
func (f CatIndices) WithV(v bool) func(*CatIndicesRequest)
WithV - verbose mode. display column headers.
type CatIndicesRequest ¶
type CatIndicesRequest struct {
Index []string
Bytes string
ExpandWildcards string
Format string
H []string
Health string
Help *bool
IncludeUnloadedSegments *bool
Local *bool
MasterTimeout time.Duration
Pri *bool
S []string
Time string
V *bool
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
CatIndicesRequest configures the Cat Indices API request.
type CatMLDataFrameAnalytics ¶ added in v7.7.0
type CatMLDataFrameAnalytics func(o ...func(*CatMLDataFrameAnalyticsRequest)) (*Response, error)
CatMLDataFrameAnalytics - Gets configuration and usage information about data frame analytics jobs.
See full documentation at http://www.elastic.co/guide/en/elasticsearch/reference/current/cat-dfanalytics.html.
func (CatMLDataFrameAnalytics) WithAllowNoMatch ¶ added in v7.7.0
func (f CatMLDataFrameAnalytics) WithAllowNoMatch(v bool) func(*CatMLDataFrameAnalyticsRequest)
WithAllowNoMatch - whether to ignore if a wildcard expression matches no configs. (this includes `_all` string or when no configs have been specified).
func (CatMLDataFrameAnalytics) WithBytes ¶ added in v7.7.0
func (f CatMLDataFrameAnalytics) WithBytes(v string) func(*CatMLDataFrameAnalyticsRequest)
WithBytes - the unit in which to display byte values.
func (CatMLDataFrameAnalytics) WithContext ¶ added in v7.7.0
func (f CatMLDataFrameAnalytics) WithContext(v context.Context) func(*CatMLDataFrameAnalyticsRequest)
WithContext sets the request context.
func (CatMLDataFrameAnalytics) WithDocumentID ¶ added in v7.7.0
func (f CatMLDataFrameAnalytics) WithDocumentID(v string) func(*CatMLDataFrameAnalyticsRequest)
WithDocumentID - the ID of the data frame analytics to fetch.
func (CatMLDataFrameAnalytics) WithErrorTrace ¶ added in v7.7.0
func (f CatMLDataFrameAnalytics) WithErrorTrace() func(*CatMLDataFrameAnalyticsRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (CatMLDataFrameAnalytics) WithFilterPath ¶ added in v7.7.0
func (f CatMLDataFrameAnalytics) WithFilterPath(v ...string) func(*CatMLDataFrameAnalyticsRequest)
WithFilterPath filters the properties of the response body.
func (CatMLDataFrameAnalytics) WithFormat ¶ added in v7.7.0
func (f CatMLDataFrameAnalytics) WithFormat(v string) func(*CatMLDataFrameAnalyticsRequest)
WithFormat - a short version of the accept header, e.g. json, yaml.
func (CatMLDataFrameAnalytics) WithH ¶ added in v7.7.0
func (f CatMLDataFrameAnalytics) WithH(v ...string) func(*CatMLDataFrameAnalyticsRequest)
WithH - comma-separated list of column names to display.
func (CatMLDataFrameAnalytics) WithHeader ¶ added in v7.7.0
func (f CatMLDataFrameAnalytics) WithHeader(h map[string]string) func(*CatMLDataFrameAnalyticsRequest)
WithHeader adds the headers to the HTTP request.
func (CatMLDataFrameAnalytics) WithHelp ¶ added in v7.7.0
func (f CatMLDataFrameAnalytics) WithHelp(v bool) func(*CatMLDataFrameAnalyticsRequest)
WithHelp - return help information.
func (CatMLDataFrameAnalytics) WithHuman ¶ added in v7.7.0
func (f CatMLDataFrameAnalytics) WithHuman() func(*CatMLDataFrameAnalyticsRequest)
WithHuman makes statistical values human-readable.
func (CatMLDataFrameAnalytics) WithOpaqueID ¶ added in v7.7.0
func (f CatMLDataFrameAnalytics) WithOpaqueID(s string) func(*CatMLDataFrameAnalyticsRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (CatMLDataFrameAnalytics) WithPretty ¶ added in v7.7.0
func (f CatMLDataFrameAnalytics) WithPretty() func(*CatMLDataFrameAnalyticsRequest)
WithPretty makes the response body pretty-printed.
func (CatMLDataFrameAnalytics) WithS ¶ added in v7.7.0
func (f CatMLDataFrameAnalytics) WithS(v ...string) func(*CatMLDataFrameAnalyticsRequest)
WithS - comma-separated list of column names or column aliases to sort by.
func (CatMLDataFrameAnalytics) WithTime ¶ added in v7.7.0
func (f CatMLDataFrameAnalytics) WithTime(v string) func(*CatMLDataFrameAnalyticsRequest)
WithTime - the unit in which to display time values.
func (CatMLDataFrameAnalytics) WithV ¶ added in v7.7.0
func (f CatMLDataFrameAnalytics) WithV(v bool) func(*CatMLDataFrameAnalyticsRequest)
WithV - verbose mode. display column headers.
type CatMLDataFrameAnalyticsRequest ¶ added in v7.7.0
type CatMLDataFrameAnalyticsRequest struct {
DocumentID string
AllowNoMatch *bool
Bytes string
Format string
H []string
Help *bool
S []string
Time string
V *bool
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
CatMLDataFrameAnalyticsRequest configures the CatML Data Frame Analytics API request.
type CatMLDatafeeds ¶ added in v7.7.0
type CatMLDatafeeds func(o ...func(*CatMLDatafeedsRequest)) (*Response, error)
CatMLDatafeeds - Gets configuration and usage information about datafeeds.
See full documentation at http://www.elastic.co/guide/en/elasticsearch/reference/current/cat-datafeeds.html.
func (CatMLDatafeeds) WithAllowNoDatafeeds ¶ added in v7.7.0
func (f CatMLDatafeeds) WithAllowNoDatafeeds(v bool) func(*CatMLDatafeedsRequest)
WithAllowNoDatafeeds - whether to ignore if a wildcard expression matches no datafeeds. (this includes `_all` string or when no datafeeds have been specified).
func (CatMLDatafeeds) WithAllowNoMatch ¶ added in v7.10.0
func (f CatMLDatafeeds) WithAllowNoMatch(v bool) func(*CatMLDatafeedsRequest)
WithAllowNoMatch - whether to ignore if a wildcard expression matches no datafeeds. (this includes `_all` string or when no datafeeds have been specified).
func (CatMLDatafeeds) WithContext ¶ added in v7.7.0
func (f CatMLDatafeeds) WithContext(v context.Context) func(*CatMLDatafeedsRequest)
WithContext sets the request context.
func (CatMLDatafeeds) WithDatafeedID ¶ added in v7.7.0
func (f CatMLDatafeeds) WithDatafeedID(v string) func(*CatMLDatafeedsRequest)
WithDatafeedID - the ID of the datafeeds stats to fetch.
func (CatMLDatafeeds) WithErrorTrace ¶ added in v7.7.0
func (f CatMLDatafeeds) WithErrorTrace() func(*CatMLDatafeedsRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (CatMLDatafeeds) WithFilterPath ¶ added in v7.7.0
func (f CatMLDatafeeds) WithFilterPath(v ...string) func(*CatMLDatafeedsRequest)
WithFilterPath filters the properties of the response body.
func (CatMLDatafeeds) WithFormat ¶ added in v7.7.0
func (f CatMLDatafeeds) WithFormat(v string) func(*CatMLDatafeedsRequest)
WithFormat - a short version of the accept header, e.g. json, yaml.
func (CatMLDatafeeds) WithH ¶ added in v7.7.0
func (f CatMLDatafeeds) WithH(v ...string) func(*CatMLDatafeedsRequest)
WithH - comma-separated list of column names to display.
func (CatMLDatafeeds) WithHeader ¶ added in v7.7.0
func (f CatMLDatafeeds) WithHeader(h map[string]string) func(*CatMLDatafeedsRequest)
WithHeader adds the headers to the HTTP request.
func (CatMLDatafeeds) WithHelp ¶ added in v7.7.0
func (f CatMLDatafeeds) WithHelp(v bool) func(*CatMLDatafeedsRequest)
WithHelp - return help information.
func (CatMLDatafeeds) WithHuman ¶ added in v7.7.0
func (f CatMLDatafeeds) WithHuman() func(*CatMLDatafeedsRequest)
WithHuman makes statistical values human-readable.
func (CatMLDatafeeds) WithOpaqueID ¶ added in v7.7.0
func (f CatMLDatafeeds) WithOpaqueID(s string) func(*CatMLDatafeedsRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (CatMLDatafeeds) WithPretty ¶ added in v7.7.0
func (f CatMLDatafeeds) WithPretty() func(*CatMLDatafeedsRequest)
WithPretty makes the response body pretty-printed.
func (CatMLDatafeeds) WithS ¶ added in v7.7.0
func (f CatMLDatafeeds) WithS(v ...string) func(*CatMLDatafeedsRequest)
WithS - comma-separated list of column names or column aliases to sort by.
func (CatMLDatafeeds) WithTime ¶ added in v7.7.0
func (f CatMLDatafeeds) WithTime(v string) func(*CatMLDatafeedsRequest)
WithTime - the unit in which to display time values.
func (CatMLDatafeeds) WithV ¶ added in v7.7.0
func (f CatMLDatafeeds) WithV(v bool) func(*CatMLDatafeedsRequest)
WithV - verbose mode. display column headers.
type CatMLDatafeedsRequest ¶ added in v7.7.0
type CatMLDatafeedsRequest struct {
DatafeedID string
AllowNoDatafeeds *bool
AllowNoMatch *bool
Format string
H []string
Help *bool
S []string
Time string
V *bool
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
CatMLDatafeedsRequest configures the CatML Datafeeds API request.
type CatMLJobs ¶ added in v7.7.0
type CatMLJobs func(o ...func(*CatMLJobsRequest)) (*Response, error)
CatMLJobs - Gets configuration and usage information about anomaly detection jobs.
See full documentation at http://www.elastic.co/guide/en/elasticsearch/reference/current/cat-anomaly-detectors.html.
func (CatMLJobs) WithAllowNoJobs ¶ added in v7.7.0
func (f CatMLJobs) WithAllowNoJobs(v bool) func(*CatMLJobsRequest)
WithAllowNoJobs - whether to ignore if a wildcard expression matches no jobs. (this includes `_all` string or when no jobs have been specified).
func (CatMLJobs) WithAllowNoMatch ¶ added in v7.10.0
func (f CatMLJobs) WithAllowNoMatch(v bool) func(*CatMLJobsRequest)
WithAllowNoMatch - whether to ignore if a wildcard expression matches no jobs. (this includes `_all` string or when no jobs have been specified).
func (CatMLJobs) WithBytes ¶ added in v7.7.0
func (f CatMLJobs) WithBytes(v string) func(*CatMLJobsRequest)
WithBytes - the unit in which to display byte values.
func (CatMLJobs) WithContext ¶ added in v7.7.0
func (f CatMLJobs) WithContext(v context.Context) func(*CatMLJobsRequest)
WithContext sets the request context.
func (CatMLJobs) WithErrorTrace ¶ added in v7.7.0
func (f CatMLJobs) WithErrorTrace() func(*CatMLJobsRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (CatMLJobs) WithFilterPath ¶ added in v7.7.0
func (f CatMLJobs) WithFilterPath(v ...string) func(*CatMLJobsRequest)
WithFilterPath filters the properties of the response body.
func (CatMLJobs) WithFormat ¶ added in v7.7.0
func (f CatMLJobs) WithFormat(v string) func(*CatMLJobsRequest)
WithFormat - a short version of the accept header, e.g. json, yaml.
func (CatMLJobs) WithH ¶ added in v7.7.0
func (f CatMLJobs) WithH(v ...string) func(*CatMLJobsRequest)
WithH - comma-separated list of column names to display.
func (CatMLJobs) WithHeader ¶ added in v7.7.0
func (f CatMLJobs) WithHeader(h map[string]string) func(*CatMLJobsRequest)
WithHeader adds the headers to the HTTP request.
func (CatMLJobs) WithHelp ¶ added in v7.7.0
func (f CatMLJobs) WithHelp(v bool) func(*CatMLJobsRequest)
WithHelp - return help information.
func (CatMLJobs) WithHuman ¶ added in v7.7.0
func (f CatMLJobs) WithHuman() func(*CatMLJobsRequest)
WithHuman makes statistical values human-readable.
func (CatMLJobs) WithJobID ¶ added in v7.7.0
func (f CatMLJobs) WithJobID(v string) func(*CatMLJobsRequest)
WithJobID - the ID of the jobs stats to fetch.
func (CatMLJobs) WithOpaqueID ¶ added in v7.7.0
func (f CatMLJobs) WithOpaqueID(s string) func(*CatMLJobsRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (CatMLJobs) WithPretty ¶ added in v7.7.0
func (f CatMLJobs) WithPretty() func(*CatMLJobsRequest)
WithPretty makes the response body pretty-printed.
func (CatMLJobs) WithS ¶ added in v7.7.0
func (f CatMLJobs) WithS(v ...string) func(*CatMLJobsRequest)
WithS - comma-separated list of column names or column aliases to sort by.
func (CatMLJobs) WithTime ¶ added in v7.7.0
func (f CatMLJobs) WithTime(v string) func(*CatMLJobsRequest)
WithTime - the unit in which to display time values.
func (CatMLJobs) WithV ¶ added in v7.7.0
func (f CatMLJobs) WithV(v bool) func(*CatMLJobsRequest)
WithV - verbose mode. display column headers.
type CatMLJobsRequest ¶ added in v7.7.0
type CatMLJobsRequest struct {
JobID string
AllowNoJobs *bool
AllowNoMatch *bool
Bytes string
Format string
H []string
Help *bool
S []string
Time string
V *bool
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
CatMLJobsRequest configures the CatML Jobs API request.
type CatMLTrainedModels ¶ added in v7.7.0
type CatMLTrainedModels func(o ...func(*CatMLTrainedModelsRequest)) (*Response, error)
CatMLTrainedModels - Gets configuration and usage information about inference trained models.
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-trained-model.html.
func (CatMLTrainedModels) WithAllowNoMatch ¶ added in v7.7.0
func (f CatMLTrainedModels) WithAllowNoMatch(v bool) func(*CatMLTrainedModelsRequest)
WithAllowNoMatch - whether to ignore if a wildcard expression matches no trained models. (this includes `_all` string or when no trained models have been specified).
func (CatMLTrainedModels) WithBytes ¶ added in v7.7.0
func (f CatMLTrainedModels) WithBytes(v string) func(*CatMLTrainedModelsRequest)
WithBytes - the unit in which to display byte values.
func (CatMLTrainedModels) WithContext ¶ added in v7.7.0
func (f CatMLTrainedModels) WithContext(v context.Context) func(*CatMLTrainedModelsRequest)
WithContext sets the request context.
func (CatMLTrainedModels) WithErrorTrace ¶ added in v7.7.0
func (f CatMLTrainedModels) WithErrorTrace() func(*CatMLTrainedModelsRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (CatMLTrainedModels) WithFilterPath ¶ added in v7.7.0
func (f CatMLTrainedModels) WithFilterPath(v ...string) func(*CatMLTrainedModelsRequest)
WithFilterPath filters the properties of the response body.
func (CatMLTrainedModels) WithFormat ¶ added in v7.7.0
func (f CatMLTrainedModels) WithFormat(v string) func(*CatMLTrainedModelsRequest)
WithFormat - a short version of the accept header, e.g. json, yaml.
func (CatMLTrainedModels) WithFrom ¶ added in v7.7.0
func (f CatMLTrainedModels) WithFrom(v int) func(*CatMLTrainedModelsRequest)
WithFrom - skips a number of trained models.
func (CatMLTrainedModels) WithH ¶ added in v7.7.0
func (f CatMLTrainedModels) WithH(v ...string) func(*CatMLTrainedModelsRequest)
WithH - comma-separated list of column names to display.
func (CatMLTrainedModels) WithHeader ¶ added in v7.7.0
func (f CatMLTrainedModels) WithHeader(h map[string]string) func(*CatMLTrainedModelsRequest)
WithHeader adds the headers to the HTTP request.
func (CatMLTrainedModels) WithHelp ¶ added in v7.7.0
func (f CatMLTrainedModels) WithHelp(v bool) func(*CatMLTrainedModelsRequest)
WithHelp - return help information.
func (CatMLTrainedModels) WithHuman ¶ added in v7.7.0
func (f CatMLTrainedModels) WithHuman() func(*CatMLTrainedModelsRequest)
WithHuman makes statistical values human-readable.
func (CatMLTrainedModels) WithModelID ¶ added in v7.7.0
func (f CatMLTrainedModels) WithModelID(v string) func(*CatMLTrainedModelsRequest)
WithModelID - the ID of the trained models stats to fetch.
func (CatMLTrainedModels) WithOpaqueID ¶ added in v7.7.0
func (f CatMLTrainedModels) WithOpaqueID(s string) func(*CatMLTrainedModelsRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (CatMLTrainedModels) WithPretty ¶ added in v7.7.0
func (f CatMLTrainedModels) WithPretty() func(*CatMLTrainedModelsRequest)
WithPretty makes the response body pretty-printed.
func (CatMLTrainedModels) WithS ¶ added in v7.7.0
func (f CatMLTrainedModels) WithS(v ...string) func(*CatMLTrainedModelsRequest)
WithS - comma-separated list of column names or column aliases to sort by.
func (CatMLTrainedModels) WithSize ¶ added in v7.7.0
func (f CatMLTrainedModels) WithSize(v int) func(*CatMLTrainedModelsRequest)
WithSize - specifies a max number of trained models to get.
func (CatMLTrainedModels) WithTime ¶ added in v7.7.0
func (f CatMLTrainedModels) WithTime(v string) func(*CatMLTrainedModelsRequest)
WithTime - the unit in which to display time values.
func (CatMLTrainedModels) WithV ¶ added in v7.7.0
func (f CatMLTrainedModels) WithV(v bool) func(*CatMLTrainedModelsRequest)
WithV - verbose mode. display column headers.
type CatMLTrainedModelsRequest ¶ added in v7.7.0
type CatMLTrainedModelsRequest struct {
ModelID string
AllowNoMatch *bool
Bytes string
Format string
From *int
H []string
Help *bool
S []string
Size *int
Time string
V *bool
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
CatMLTrainedModelsRequest configures the CatML Trained Models API request.
type CatMaster ¶
type CatMaster func(o ...func(*CatMasterRequest)) (*Response, error)
CatMaster returns information about the master node.
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-master.html.
func (CatMaster) WithContext ¶
func (f CatMaster) WithContext(v context.Context) func(*CatMasterRequest)
WithContext sets the request context.
func (CatMaster) WithErrorTrace ¶
func (f CatMaster) WithErrorTrace() func(*CatMasterRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (CatMaster) WithFilterPath ¶
func (f CatMaster) WithFilterPath(v ...string) func(*CatMasterRequest)
WithFilterPath filters the properties of the response body.
func (CatMaster) WithFormat ¶
func (f CatMaster) WithFormat(v string) func(*CatMasterRequest)
WithFormat - a short version of the accept header, e.g. json, yaml.
func (CatMaster) WithH ¶
func (f CatMaster) WithH(v ...string) func(*CatMasterRequest)
WithH - comma-separated list of column names to display.
func (CatMaster) WithHeader ¶ added in v7.2.0
func (f CatMaster) WithHeader(h map[string]string) func(*CatMasterRequest)
WithHeader adds the headers to the HTTP request.
func (CatMaster) WithHelp ¶
func (f CatMaster) WithHelp(v bool) func(*CatMasterRequest)
WithHelp - return help information.
func (CatMaster) WithHuman ¶
func (f CatMaster) WithHuman() func(*CatMasterRequest)
WithHuman makes statistical values human-readable.
func (CatMaster) WithLocal ¶
func (f CatMaster) WithLocal(v bool) func(*CatMasterRequest)
WithLocal - return local information, do not retrieve the state from master node (default: false).
func (CatMaster) WithMasterTimeout ¶
func (f CatMaster) WithMasterTimeout(v time.Duration) func(*CatMasterRequest)
WithMasterTimeout - explicit operation timeout for connection to master node.
func (CatMaster) WithOpaqueID ¶ added in v7.5.0
func (f CatMaster) WithOpaqueID(s string) func(*CatMasterRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (CatMaster) WithPretty ¶
func (f CatMaster) WithPretty() func(*CatMasterRequest)
WithPretty makes the response body pretty-printed.
func (CatMaster) WithS ¶
func (f CatMaster) WithS(v ...string) func(*CatMasterRequest)
WithS - comma-separated list of column names or column aliases to sort by.
func (CatMaster) WithV ¶
func (f CatMaster) WithV(v bool) func(*CatMasterRequest)
WithV - verbose mode. display column headers.
type CatMasterRequest ¶
type CatMasterRequest struct {
Format string
H []string
Help *bool
Local *bool
MasterTimeout time.Duration
S []string
V *bool
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
CatMasterRequest configures the Cat Master API request.
type CatNodeattrs ¶
type CatNodeattrs func(o ...func(*CatNodeattrsRequest)) (*Response, error)
CatNodeattrs returns information about custom node attributes.
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-nodeattrs.html.
func (CatNodeattrs) WithContext ¶
func (f CatNodeattrs) WithContext(v context.Context) func(*CatNodeattrsRequest)
WithContext sets the request context.
func (CatNodeattrs) WithErrorTrace ¶
func (f CatNodeattrs) WithErrorTrace() func(*CatNodeattrsRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (CatNodeattrs) WithFilterPath ¶
func (f CatNodeattrs) WithFilterPath(v ...string) func(*CatNodeattrsRequest)
WithFilterPath filters the properties of the response body.
func (CatNodeattrs) WithFormat ¶
func (f CatNodeattrs) WithFormat(v string) func(*CatNodeattrsRequest)
WithFormat - a short version of the accept header, e.g. json, yaml.
func (CatNodeattrs) WithH ¶
func (f CatNodeattrs) WithH(v ...string) func(*CatNodeattrsRequest)
WithH - comma-separated list of column names to display.
func (CatNodeattrs) WithHeader ¶ added in v7.2.0
func (f CatNodeattrs) WithHeader(h map[string]string) func(*CatNodeattrsRequest)
WithHeader adds the headers to the HTTP request.
func (CatNodeattrs) WithHelp ¶
func (f CatNodeattrs) WithHelp(v bool) func(*CatNodeattrsRequest)
WithHelp - return help information.
func (CatNodeattrs) WithHuman ¶
func (f CatNodeattrs) WithHuman() func(*CatNodeattrsRequest)
WithHuman makes statistical values human-readable.
func (CatNodeattrs) WithLocal ¶
func (f CatNodeattrs) WithLocal(v bool) func(*CatNodeattrsRequest)
WithLocal - return local information, do not retrieve the state from master node (default: false).
func (CatNodeattrs) WithMasterTimeout ¶
func (f CatNodeattrs) WithMasterTimeout(v time.Duration) func(*CatNodeattrsRequest)
WithMasterTimeout - explicit operation timeout for connection to master node.
func (CatNodeattrs) WithOpaqueID ¶ added in v7.5.0
func (f CatNodeattrs) WithOpaqueID(s string) func(*CatNodeattrsRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (CatNodeattrs) WithPretty ¶
func (f CatNodeattrs) WithPretty() func(*CatNodeattrsRequest)
WithPretty makes the response body pretty-printed.
func (CatNodeattrs) WithS ¶
func (f CatNodeattrs) WithS(v ...string) func(*CatNodeattrsRequest)
WithS - comma-separated list of column names or column aliases to sort by.
func (CatNodeattrs) WithV ¶
func (f CatNodeattrs) WithV(v bool) func(*CatNodeattrsRequest)
WithV - verbose mode. display column headers.
type CatNodeattrsRequest ¶
type CatNodeattrsRequest struct {
Format string
H []string
Help *bool
Local *bool
MasterTimeout time.Duration
S []string
V *bool
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
CatNodeattrsRequest configures the Cat Nodeattrs API request.
type CatNodes ¶
type CatNodes func(o ...func(*CatNodesRequest)) (*Response, error)
CatNodes returns basic statistics about performance of cluster nodes.
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-nodes.html.
func (CatNodes) WithBytes ¶ added in v7.4.1
func (f CatNodes) WithBytes(v string) func(*CatNodesRequest)
WithBytes - the unit in which to display byte values.
func (CatNodes) WithContext ¶
func (f CatNodes) WithContext(v context.Context) func(*CatNodesRequest)
WithContext sets the request context.
func (CatNodes) WithErrorTrace ¶
func (f CatNodes) WithErrorTrace() func(*CatNodesRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (CatNodes) WithFilterPath ¶
func (f CatNodes) WithFilterPath(v ...string) func(*CatNodesRequest)
WithFilterPath filters the properties of the response body.
func (CatNodes) WithFormat ¶
func (f CatNodes) WithFormat(v string) func(*CatNodesRequest)
WithFormat - a short version of the accept header, e.g. json, yaml.
func (CatNodes) WithFullID ¶
func (f CatNodes) WithFullID(v bool) func(*CatNodesRequest)
WithFullID - return the full node ID instead of the shortened version (default: false).
func (CatNodes) WithH ¶
func (f CatNodes) WithH(v ...string) func(*CatNodesRequest)
WithH - comma-separated list of column names to display.
func (CatNodes) WithHeader ¶ added in v7.2.0
func (f CatNodes) WithHeader(h map[string]string) func(*CatNodesRequest)
WithHeader adds the headers to the HTTP request.
func (CatNodes) WithHelp ¶
func (f CatNodes) WithHelp(v bool) func(*CatNodesRequest)
WithHelp - return help information.
func (CatNodes) WithHuman ¶
func (f CatNodes) WithHuman() func(*CatNodesRequest)
WithHuman makes statistical values human-readable.
func (CatNodes) WithIncludeUnloadedSegments ¶ added in v7.13.0
func (f CatNodes) WithIncludeUnloadedSegments(v bool) func(*CatNodesRequest)
WithIncludeUnloadedSegments - if set to true segment stats will include stats for segments that are not currently loaded into memory.
func (CatNodes) WithLocal ¶
func (f CatNodes) WithLocal(v bool) func(*CatNodesRequest)
WithLocal - calculate the selected nodes using the local cluster state rather than the state from master node (default: false).
func (CatNodes) WithMasterTimeout ¶
func (f CatNodes) WithMasterTimeout(v time.Duration) func(*CatNodesRequest)
WithMasterTimeout - explicit operation timeout for connection to master node.
func (CatNodes) WithOpaqueID ¶ added in v7.5.0
func (f CatNodes) WithOpaqueID(s string) func(*CatNodesRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (CatNodes) WithPretty ¶
func (f CatNodes) WithPretty() func(*CatNodesRequest)
WithPretty makes the response body pretty-printed.
func (CatNodes) WithS ¶
func (f CatNodes) WithS(v ...string) func(*CatNodesRequest)
WithS - comma-separated list of column names or column aliases to sort by.
func (CatNodes) WithTime ¶ added in v7.4.1
func (f CatNodes) WithTime(v string) func(*CatNodesRequest)
WithTime - the unit in which to display time values.
func (CatNodes) WithV ¶
func (f CatNodes) WithV(v bool) func(*CatNodesRequest)
WithV - verbose mode. display column headers.
type CatNodesRequest ¶
type CatNodesRequest struct {
Bytes string
Format string
FullID *bool
H []string
Help *bool
IncludeUnloadedSegments *bool
Local *bool
MasterTimeout time.Duration
S []string
Time string
V *bool
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
CatNodesRequest configures the Cat Nodes API request.
type CatPendingTasks ¶
type CatPendingTasks func(o ...func(*CatPendingTasksRequest)) (*Response, error)
CatPendingTasks returns a concise representation of the cluster pending tasks.
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-pending-tasks.html.
func (CatPendingTasks) WithContext ¶
func (f CatPendingTasks) WithContext(v context.Context) func(*CatPendingTasksRequest)
WithContext sets the request context.
func (CatPendingTasks) WithErrorTrace ¶
func (f CatPendingTasks) WithErrorTrace() func(*CatPendingTasksRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (CatPendingTasks) WithFilterPath ¶
func (f CatPendingTasks) WithFilterPath(v ...string) func(*CatPendingTasksRequest)
WithFilterPath filters the properties of the response body.
func (CatPendingTasks) WithFormat ¶
func (f CatPendingTasks) WithFormat(v string) func(*CatPendingTasksRequest)
WithFormat - a short version of the accept header, e.g. json, yaml.
func (CatPendingTasks) WithH ¶
func (f CatPendingTasks) WithH(v ...string) func(*CatPendingTasksRequest)
WithH - comma-separated list of column names to display.
func (CatPendingTasks) WithHeader ¶ added in v7.2.0
func (f CatPendingTasks) WithHeader(h map[string]string) func(*CatPendingTasksRequest)
WithHeader adds the headers to the HTTP request.
func (CatPendingTasks) WithHelp ¶
func (f CatPendingTasks) WithHelp(v bool) func(*CatPendingTasksRequest)
WithHelp - return help information.
func (CatPendingTasks) WithHuman ¶
func (f CatPendingTasks) WithHuman() func(*CatPendingTasksRequest)
WithHuman makes statistical values human-readable.
func (CatPendingTasks) WithLocal ¶
func (f CatPendingTasks) WithLocal(v bool) func(*CatPendingTasksRequest)
WithLocal - return local information, do not retrieve the state from master node (default: false).
func (CatPendingTasks) WithMasterTimeout ¶
func (f CatPendingTasks) WithMasterTimeout(v time.Duration) func(*CatPendingTasksRequest)
WithMasterTimeout - explicit operation timeout for connection to master node.
func (CatPendingTasks) WithOpaqueID ¶ added in v7.5.0
func (f CatPendingTasks) WithOpaqueID(s string) func(*CatPendingTasksRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (CatPendingTasks) WithPretty ¶
func (f CatPendingTasks) WithPretty() func(*CatPendingTasksRequest)
WithPretty makes the response body pretty-printed.
func (CatPendingTasks) WithS ¶
func (f CatPendingTasks) WithS(v ...string) func(*CatPendingTasksRequest)
WithS - comma-separated list of column names or column aliases to sort by.
func (CatPendingTasks) WithTime ¶ added in v7.4.1
func (f CatPendingTasks) WithTime(v string) func(*CatPendingTasksRequest)
WithTime - the unit in which to display time values.
func (CatPendingTasks) WithV ¶
func (f CatPendingTasks) WithV(v bool) func(*CatPendingTasksRequest)
WithV - verbose mode. display column headers.
type CatPendingTasksRequest ¶
type CatPendingTasksRequest struct {
Format string
H []string
Help *bool
Local *bool
MasterTimeout time.Duration
S []string
Time string
V *bool
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
CatPendingTasksRequest configures the Cat Pending Tasks API request.
type CatPlugins ¶
type CatPlugins func(o ...func(*CatPluginsRequest)) (*Response, error)
CatPlugins returns information about installed plugins across nodes node.
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-plugins.html.
func (CatPlugins) WithContext ¶
func (f CatPlugins) WithContext(v context.Context) func(*CatPluginsRequest)
WithContext sets the request context.
func (CatPlugins) WithErrorTrace ¶
func (f CatPlugins) WithErrorTrace() func(*CatPluginsRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (CatPlugins) WithFilterPath ¶
func (f CatPlugins) WithFilterPath(v ...string) func(*CatPluginsRequest)
WithFilterPath filters the properties of the response body.
func (CatPlugins) WithFormat ¶
func (f CatPlugins) WithFormat(v string) func(*CatPluginsRequest)
WithFormat - a short version of the accept header, e.g. json, yaml.
func (CatPlugins) WithH ¶
func (f CatPlugins) WithH(v ...string) func(*CatPluginsRequest)
WithH - comma-separated list of column names to display.
func (CatPlugins) WithHeader ¶ added in v7.2.0
func (f CatPlugins) WithHeader(h map[string]string) func(*CatPluginsRequest)
WithHeader adds the headers to the HTTP request.
func (CatPlugins) WithHelp ¶
func (f CatPlugins) WithHelp(v bool) func(*CatPluginsRequest)
WithHelp - return help information.
func (CatPlugins) WithHuman ¶
func (f CatPlugins) WithHuman() func(*CatPluginsRequest)
WithHuman makes statistical values human-readable.
func (CatPlugins) WithIncludeBootstrap ¶ added in v7.12.0
func (f CatPlugins) WithIncludeBootstrap(v bool) func(*CatPluginsRequest)
WithIncludeBootstrap - include bootstrap plugins in the response.
func (CatPlugins) WithLocal ¶
func (f CatPlugins) WithLocal(v bool) func(*CatPluginsRequest)
WithLocal - return local information, do not retrieve the state from master node (default: false).
func (CatPlugins) WithMasterTimeout ¶
func (f CatPlugins) WithMasterTimeout(v time.Duration) func(*CatPluginsRequest)
WithMasterTimeout - explicit operation timeout for connection to master node.
func (CatPlugins) WithOpaqueID ¶ added in v7.5.0
func (f CatPlugins) WithOpaqueID(s string) func(*CatPluginsRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (CatPlugins) WithPretty ¶
func (f CatPlugins) WithPretty() func(*CatPluginsRequest)
WithPretty makes the response body pretty-printed.
func (CatPlugins) WithS ¶
func (f CatPlugins) WithS(v ...string) func(*CatPluginsRequest)
WithS - comma-separated list of column names or column aliases to sort by.
func (CatPlugins) WithV ¶
func (f CatPlugins) WithV(v bool) func(*CatPluginsRequest)
WithV - verbose mode. display column headers.
type CatPluginsRequest ¶
type CatPluginsRequest struct {
Format string
H []string
Help *bool
IncludeBootstrap *bool
Local *bool
MasterTimeout time.Duration
S []string
V *bool
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
CatPluginsRequest configures the Cat Plugins API request.
type CatRecovery ¶
type CatRecovery func(o ...func(*CatRecoveryRequest)) (*Response, error)
CatRecovery returns information about index shard recoveries, both on-going completed.
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-recovery.html.
func (CatRecovery) WithActiveOnly ¶ added in v7.4.0
func (f CatRecovery) WithActiveOnly(v bool) func(*CatRecoveryRequest)
WithActiveOnly - if `true`, the response only includes ongoing shard recoveries.
func (CatRecovery) WithBytes ¶
func (f CatRecovery) WithBytes(v string) func(*CatRecoveryRequest)
WithBytes - the unit in which to display byte values.
func (CatRecovery) WithContext ¶
func (f CatRecovery) WithContext(v context.Context) func(*CatRecoveryRequest)
WithContext sets the request context.
func (CatRecovery) WithDetailed ¶ added in v7.4.0
func (f CatRecovery) WithDetailed(v bool) func(*CatRecoveryRequest)
WithDetailed - if `true`, the response includes detailed information about shard recoveries.
func (CatRecovery) WithErrorTrace ¶
func (f CatRecovery) WithErrorTrace() func(*CatRecoveryRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (CatRecovery) WithFilterPath ¶
func (f CatRecovery) WithFilterPath(v ...string) func(*CatRecoveryRequest)
WithFilterPath filters the properties of the response body.
func (CatRecovery) WithFormat ¶
func (f CatRecovery) WithFormat(v string) func(*CatRecoveryRequest)
WithFormat - a short version of the accept header, e.g. json, yaml.
func (CatRecovery) WithH ¶
func (f CatRecovery) WithH(v ...string) func(*CatRecoveryRequest)
WithH - comma-separated list of column names to display.
func (CatRecovery) WithHeader ¶ added in v7.2.0
func (f CatRecovery) WithHeader(h map[string]string) func(*CatRecoveryRequest)
WithHeader adds the headers to the HTTP request.
func (CatRecovery) WithHelp ¶
func (f CatRecovery) WithHelp(v bool) func(*CatRecoveryRequest)
WithHelp - return help information.
func (CatRecovery) WithHuman ¶
func (f CatRecovery) WithHuman() func(*CatRecoveryRequest)
WithHuman makes statistical values human-readable.
func (CatRecovery) WithIndex ¶
func (f CatRecovery) WithIndex(v ...string) func(*CatRecoveryRequest)
WithIndex - comma-separated list or wildcard expression of index names to limit the returned information.
func (CatRecovery) WithOpaqueID ¶ added in v7.5.0
func (f CatRecovery) WithOpaqueID(s string) func(*CatRecoveryRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (CatRecovery) WithPretty ¶
func (f CatRecovery) WithPretty() func(*CatRecoveryRequest)
WithPretty makes the response body pretty-printed.
func (CatRecovery) WithS ¶
func (f CatRecovery) WithS(v ...string) func(*CatRecoveryRequest)
WithS - comma-separated list of column names or column aliases to sort by.
func (CatRecovery) WithTime ¶ added in v7.4.1
func (f CatRecovery) WithTime(v string) func(*CatRecoveryRequest)
WithTime - the unit in which to display time values.
func (CatRecovery) WithV ¶
func (f CatRecovery) WithV(v bool) func(*CatRecoveryRequest)
WithV - verbose mode. display column headers.
type CatRecoveryRequest ¶
type CatRecoveryRequest struct {
Index []string
ActiveOnly *bool
Bytes string
Detailed *bool
Format string
H []string
Help *bool
S []string
Time string
V *bool
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
CatRecoveryRequest configures the Cat Recovery API request.
type CatRepositories ¶
type CatRepositories func(o ...func(*CatRepositoriesRequest)) (*Response, error)
CatRepositories returns information about snapshot repositories registered in the cluster.
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-repositories.html.
func (CatRepositories) WithContext ¶
func (f CatRepositories) WithContext(v context.Context) func(*CatRepositoriesRequest)
WithContext sets the request context.
func (CatRepositories) WithErrorTrace ¶
func (f CatRepositories) WithErrorTrace() func(*CatRepositoriesRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (CatRepositories) WithFilterPath ¶
func (f CatRepositories) WithFilterPath(v ...string) func(*CatRepositoriesRequest)
WithFilterPath filters the properties of the response body.
func (CatRepositories) WithFormat ¶
func (f CatRepositories) WithFormat(v string) func(*CatRepositoriesRequest)
WithFormat - a short version of the accept header, e.g. json, yaml.
func (CatRepositories) WithH ¶
func (f CatRepositories) WithH(v ...string) func(*CatRepositoriesRequest)
WithH - comma-separated list of column names to display.
func (CatRepositories) WithHeader ¶ added in v7.2.0
func (f CatRepositories) WithHeader(h map[string]string) func(*CatRepositoriesRequest)
WithHeader adds the headers to the HTTP request.
func (CatRepositories) WithHelp ¶
func (f CatRepositories) WithHelp(v bool) func(*CatRepositoriesRequest)
WithHelp - return help information.
func (CatRepositories) WithHuman ¶
func (f CatRepositories) WithHuman() func(*CatRepositoriesRequest)
WithHuman makes statistical values human-readable.
func (CatRepositories) WithLocal ¶
func (f CatRepositories) WithLocal(v bool) func(*CatRepositoriesRequest)
WithLocal - return local information, do not retrieve the state from master node.
func (CatRepositories) WithMasterTimeout ¶
func (f CatRepositories) WithMasterTimeout(v time.Duration) func(*CatRepositoriesRequest)
WithMasterTimeout - explicit operation timeout for connection to master node.
func (CatRepositories) WithOpaqueID ¶ added in v7.5.0
func (f CatRepositories) WithOpaqueID(s string) func(*CatRepositoriesRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (CatRepositories) WithPretty ¶
func (f CatRepositories) WithPretty() func(*CatRepositoriesRequest)
WithPretty makes the response body pretty-printed.
func (CatRepositories) WithS ¶
func (f CatRepositories) WithS(v ...string) func(*CatRepositoriesRequest)
WithS - comma-separated list of column names or column aliases to sort by.
func (CatRepositories) WithV ¶
func (f CatRepositories) WithV(v bool) func(*CatRepositoriesRequest)
WithV - verbose mode. display column headers.
type CatRepositoriesRequest ¶
type CatRepositoriesRequest struct {
Format string
H []string
Help *bool
Local *bool
MasterTimeout time.Duration
S []string
V *bool
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
CatRepositoriesRequest configures the Cat Repositories API request.
type CatSegments ¶
type CatSegments func(o ...func(*CatSegmentsRequest)) (*Response, error)
CatSegments provides low-level information about the segments in the shards of an index.
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-segments.html.
func (CatSegments) WithBytes ¶
func (f CatSegments) WithBytes(v string) func(*CatSegmentsRequest)
WithBytes - the unit in which to display byte values.
func (CatSegments) WithContext ¶
func (f CatSegments) WithContext(v context.Context) func(*CatSegmentsRequest)
WithContext sets the request context.
func (CatSegments) WithErrorTrace ¶
func (f CatSegments) WithErrorTrace() func(*CatSegmentsRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (CatSegments) WithFilterPath ¶
func (f CatSegments) WithFilterPath(v ...string) func(*CatSegmentsRequest)
WithFilterPath filters the properties of the response body.
func (CatSegments) WithFormat ¶
func (f CatSegments) WithFormat(v string) func(*CatSegmentsRequest)
WithFormat - a short version of the accept header, e.g. json, yaml.
func (CatSegments) WithH ¶
func (f CatSegments) WithH(v ...string) func(*CatSegmentsRequest)
WithH - comma-separated list of column names to display.
func (CatSegments) WithHeader ¶ added in v7.2.0
func (f CatSegments) WithHeader(h map[string]string) func(*CatSegmentsRequest)
WithHeader adds the headers to the HTTP request.
func (CatSegments) WithHelp ¶
func (f CatSegments) WithHelp(v bool) func(*CatSegmentsRequest)
WithHelp - return help information.
func (CatSegments) WithHuman ¶
func (f CatSegments) WithHuman() func(*CatSegmentsRequest)
WithHuman makes statistical values human-readable.
func (CatSegments) WithIndex ¶
func (f CatSegments) WithIndex(v ...string) func(*CatSegmentsRequest)
WithIndex - a list of index names to limit the returned information.
func (CatSegments) WithOpaqueID ¶ added in v7.5.0
func (f CatSegments) WithOpaqueID(s string) func(*CatSegmentsRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (CatSegments) WithPretty ¶
func (f CatSegments) WithPretty() func(*CatSegmentsRequest)
WithPretty makes the response body pretty-printed.
func (CatSegments) WithS ¶
func (f CatSegments) WithS(v ...string) func(*CatSegmentsRequest)
WithS - comma-separated list of column names or column aliases to sort by.
func (CatSegments) WithV ¶
func (f CatSegments) WithV(v bool) func(*CatSegmentsRequest)
WithV - verbose mode. display column headers.
type CatSegmentsRequest ¶
type CatSegmentsRequest struct {
Index []string
Bytes string
Format string
H []string
Help *bool
S []string
V *bool
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
CatSegmentsRequest configures the Cat Segments API request.
type CatShards ¶
type CatShards func(o ...func(*CatShardsRequest)) (*Response, error)
CatShards provides a detailed view of shard allocation on nodes.
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-shards.html.
func (CatShards) WithBytes ¶
func (f CatShards) WithBytes(v string) func(*CatShardsRequest)
WithBytes - the unit in which to display byte values.
func (CatShards) WithContext ¶
func (f CatShards) WithContext(v context.Context) func(*CatShardsRequest)
WithContext sets the request context.
func (CatShards) WithErrorTrace ¶
func (f CatShards) WithErrorTrace() func(*CatShardsRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (CatShards) WithFilterPath ¶
func (f CatShards) WithFilterPath(v ...string) func(*CatShardsRequest)
WithFilterPath filters the properties of the response body.
func (CatShards) WithFormat ¶
func (f CatShards) WithFormat(v string) func(*CatShardsRequest)
WithFormat - a short version of the accept header, e.g. json, yaml.
func (CatShards) WithH ¶
func (f CatShards) WithH(v ...string) func(*CatShardsRequest)
WithH - comma-separated list of column names to display.
func (CatShards) WithHeader ¶ added in v7.2.0
func (f CatShards) WithHeader(h map[string]string) func(*CatShardsRequest)
WithHeader adds the headers to the HTTP request.
func (CatShards) WithHelp ¶
func (f CatShards) WithHelp(v bool) func(*CatShardsRequest)
WithHelp - return help information.
func (CatShards) WithHuman ¶
func (f CatShards) WithHuman() func(*CatShardsRequest)
WithHuman makes statistical values human-readable.
func (CatShards) WithIndex ¶
func (f CatShards) WithIndex(v ...string) func(*CatShardsRequest)
WithIndex - a list of index names to limit the returned information.
func (CatShards) WithLocal ¶
func (f CatShards) WithLocal(v bool) func(*CatShardsRequest)
WithLocal - return local information, do not retrieve the state from master node (default: false).
func (CatShards) WithMasterTimeout ¶
func (f CatShards) WithMasterTimeout(v time.Duration) func(*CatShardsRequest)
WithMasterTimeout - explicit operation timeout for connection to master node.
func (CatShards) WithOpaqueID ¶ added in v7.5.0
func (f CatShards) WithOpaqueID(s string) func(*CatShardsRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (CatShards) WithPretty ¶
func (f CatShards) WithPretty() func(*CatShardsRequest)
WithPretty makes the response body pretty-printed.
func (CatShards) WithS ¶
func (f CatShards) WithS(v ...string) func(*CatShardsRequest)
WithS - comma-separated list of column names or column aliases to sort by.
func (CatShards) WithTime ¶ added in v7.4.1
func (f CatShards) WithTime(v string) func(*CatShardsRequest)
WithTime - the unit in which to display time values.
func (CatShards) WithV ¶
func (f CatShards) WithV(v bool) func(*CatShardsRequest)
WithV - verbose mode. display column headers.
type CatShardsRequest ¶
type CatShardsRequest struct {
Index []string
Bytes string
Format string
H []string
Help *bool
Local *bool
MasterTimeout time.Duration
S []string
Time string
V *bool
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
CatShardsRequest configures the Cat Shards API request.
type CatSnapshots ¶
type CatSnapshots func(o ...func(*CatSnapshotsRequest)) (*Response, error)
CatSnapshots returns all snapshots in a specific repository.
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-snapshots.html.
func (CatSnapshots) WithContext ¶
func (f CatSnapshots) WithContext(v context.Context) func(*CatSnapshotsRequest)
WithContext sets the request context.
func (CatSnapshots) WithErrorTrace ¶
func (f CatSnapshots) WithErrorTrace() func(*CatSnapshotsRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (CatSnapshots) WithFilterPath ¶
func (f CatSnapshots) WithFilterPath(v ...string) func(*CatSnapshotsRequest)
WithFilterPath filters the properties of the response body.
func (CatSnapshots) WithFormat ¶
func (f CatSnapshots) WithFormat(v string) func(*CatSnapshotsRequest)
WithFormat - a short version of the accept header, e.g. json, yaml.
func (CatSnapshots) WithH ¶
func (f CatSnapshots) WithH(v ...string) func(*CatSnapshotsRequest)
WithH - comma-separated list of column names to display.
func (CatSnapshots) WithHeader ¶ added in v7.2.0
func (f CatSnapshots) WithHeader(h map[string]string) func(*CatSnapshotsRequest)
WithHeader adds the headers to the HTTP request.
func (CatSnapshots) WithHelp ¶
func (f CatSnapshots) WithHelp(v bool) func(*CatSnapshotsRequest)
WithHelp - return help information.
func (CatSnapshots) WithHuman ¶
func (f CatSnapshots) WithHuman() func(*CatSnapshotsRequest)
WithHuman makes statistical values human-readable.
func (CatSnapshots) WithIgnoreUnavailable ¶
func (f CatSnapshots) WithIgnoreUnavailable(v bool) func(*CatSnapshotsRequest)
WithIgnoreUnavailable - set to true to ignore unavailable snapshots.
func (CatSnapshots) WithMasterTimeout ¶
func (f CatSnapshots) WithMasterTimeout(v time.Duration) func(*CatSnapshotsRequest)
WithMasterTimeout - explicit operation timeout for connection to master node.
func (CatSnapshots) WithOpaqueID ¶ added in v7.5.0
func (f CatSnapshots) WithOpaqueID(s string) func(*CatSnapshotsRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (CatSnapshots) WithPretty ¶
func (f CatSnapshots) WithPretty() func(*CatSnapshotsRequest)
WithPretty makes the response body pretty-printed.
func (CatSnapshots) WithRepository ¶
func (f CatSnapshots) WithRepository(v ...string) func(*CatSnapshotsRequest)
WithRepository - name of repository from which to fetch the snapshot information.
func (CatSnapshots) WithS ¶
func (f CatSnapshots) WithS(v ...string) func(*CatSnapshotsRequest)
WithS - comma-separated list of column names or column aliases to sort by.
func (CatSnapshots) WithTime ¶ added in v7.4.1
func (f CatSnapshots) WithTime(v string) func(*CatSnapshotsRequest)
WithTime - the unit in which to display time values.
func (CatSnapshots) WithV ¶
func (f CatSnapshots) WithV(v bool) func(*CatSnapshotsRequest)
WithV - verbose mode. display column headers.
type CatSnapshotsRequest ¶
type CatSnapshotsRequest struct {
Repository []string
Format string
H []string
Help *bool
MasterTimeout time.Duration
S []string
Time string
V *bool
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
CatSnapshotsRequest configures the Cat Snapshots API request.
type CatTasks ¶
type CatTasks func(o ...func(*CatTasksRequest)) (*Response, error)
CatTasks returns information about the tasks currently executing on one or more nodes in the cluster.
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/master/tasks.html.
func (CatTasks) WithActions ¶
func (f CatTasks) WithActions(v ...string) func(*CatTasksRequest)
WithActions - a list of actions that should be returned. leave empty to return all..
func (CatTasks) WithContext ¶
func (f CatTasks) WithContext(v context.Context) func(*CatTasksRequest)
WithContext sets the request context.
func (CatTasks) WithDetailed ¶
func (f CatTasks) WithDetailed(v bool) func(*CatTasksRequest)
WithDetailed - return detailed task information (default: false).
func (CatTasks) WithErrorTrace ¶
func (f CatTasks) WithErrorTrace() func(*CatTasksRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (CatTasks) WithFilterPath ¶
func (f CatTasks) WithFilterPath(v ...string) func(*CatTasksRequest)
WithFilterPath filters the properties of the response body.
func (CatTasks) WithFormat ¶
func (f CatTasks) WithFormat(v string) func(*CatTasksRequest)
WithFormat - a short version of the accept header, e.g. json, yaml.
func (CatTasks) WithH ¶
func (f CatTasks) WithH(v ...string) func(*CatTasksRequest)
WithH - comma-separated list of column names to display.
func (CatTasks) WithHeader ¶ added in v7.2.0
func (f CatTasks) WithHeader(h map[string]string) func(*CatTasksRequest)
WithHeader adds the headers to the HTTP request.
func (CatTasks) WithHelp ¶
func (f CatTasks) WithHelp(v bool) func(*CatTasksRequest)
WithHelp - return help information.
func (CatTasks) WithHuman ¶
func (f CatTasks) WithHuman() func(*CatTasksRequest)
WithHuman makes statistical values human-readable.
func (CatTasks) WithNodes ¶ added in v7.11.0
func (f CatTasks) WithNodes(v ...string) func(*CatTasksRequest)
WithNodes - a list of node ids or names to limit the returned information; use `_local` to return information from the node you're connecting to, leave empty to get information from all nodes.
func (CatTasks) WithOpaqueID ¶ added in v7.5.0
func (f CatTasks) WithOpaqueID(s string) func(*CatTasksRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (CatTasks) WithParentTaskID ¶ added in v7.11.0
func (f CatTasks) WithParentTaskID(v string) func(*CatTasksRequest)
WithParentTaskID - return tasks with specified parent task ID (node_id:task_number). set to -1 to return all..
func (CatTasks) WithPretty ¶
func (f CatTasks) WithPretty() func(*CatTasksRequest)
WithPretty makes the response body pretty-printed.
func (CatTasks) WithS ¶
func (f CatTasks) WithS(v ...string) func(*CatTasksRequest)
WithS - comma-separated list of column names or column aliases to sort by.
func (CatTasks) WithTime ¶ added in v7.4.1
func (f CatTasks) WithTime(v string) func(*CatTasksRequest)
WithTime - the unit in which to display time values.
func (CatTasks) WithV ¶
func (f CatTasks) WithV(v bool) func(*CatTasksRequest)
WithV - verbose mode. display column headers.
type CatTasksRequest ¶
type CatTasksRequest struct {
Actions []string
Detailed *bool
Format string
H []string
Help *bool
Nodes []string
ParentTaskID string
S []string
Time string
V *bool
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
CatTasksRequest configures the Cat Tasks API request.
type CatTemplates ¶
type CatTemplates func(o ...func(*CatTemplatesRequest)) (*Response, error)
CatTemplates returns information about existing templates.
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-templates.html.
func (CatTemplates) WithContext ¶
func (f CatTemplates) WithContext(v context.Context) func(*CatTemplatesRequest)
WithContext sets the request context.
func (CatTemplates) WithErrorTrace ¶
func (f CatTemplates) WithErrorTrace() func(*CatTemplatesRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (CatTemplates) WithFilterPath ¶
func (f CatTemplates) WithFilterPath(v ...string) func(*CatTemplatesRequest)
WithFilterPath filters the properties of the response body.
func (CatTemplates) WithFormat ¶
func (f CatTemplates) WithFormat(v string) func(*CatTemplatesRequest)
WithFormat - a short version of the accept header, e.g. json, yaml.
func (CatTemplates) WithH ¶
func (f CatTemplates) WithH(v ...string) func(*CatTemplatesRequest)
WithH - comma-separated list of column names to display.
func (CatTemplates) WithHeader ¶ added in v7.2.0
func (f CatTemplates) WithHeader(h map[string]string) func(*CatTemplatesRequest)
WithHeader adds the headers to the HTTP request.
func (CatTemplates) WithHelp ¶
func (f CatTemplates) WithHelp(v bool) func(*CatTemplatesRequest)
WithHelp - return help information.
func (CatTemplates) WithHuman ¶
func (f CatTemplates) WithHuman() func(*CatTemplatesRequest)
WithHuman makes statistical values human-readable.
func (CatTemplates) WithLocal ¶
func (f CatTemplates) WithLocal(v bool) func(*CatTemplatesRequest)
WithLocal - return local information, do not retrieve the state from master node (default: false).
func (CatTemplates) WithMasterTimeout ¶
func (f CatTemplates) WithMasterTimeout(v time.Duration) func(*CatTemplatesRequest)
WithMasterTimeout - explicit operation timeout for connection to master node.
func (CatTemplates) WithName ¶
func (f CatTemplates) WithName(v string) func(*CatTemplatesRequest)
WithName - a pattern that returned template names must match.
func (CatTemplates) WithOpaqueID ¶ added in v7.5.0
func (f CatTemplates) WithOpaqueID(s string) func(*CatTemplatesRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (CatTemplates) WithPretty ¶
func (f CatTemplates) WithPretty() func(*CatTemplatesRequest)
WithPretty makes the response body pretty-printed.
func (CatTemplates) WithS ¶
func (f CatTemplates) WithS(v ...string) func(*CatTemplatesRequest)
WithS - comma-separated list of column names or column aliases to sort by.
func (CatTemplates) WithV ¶
func (f CatTemplates) WithV(v bool) func(*CatTemplatesRequest)
WithV - verbose mode. display column headers.
type CatTemplatesRequest ¶
type CatTemplatesRequest struct {
Name string
Format string
H []string
Help *bool
Local *bool
MasterTimeout time.Duration
S []string
V *bool
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
CatTemplatesRequest configures the Cat Templates API request.
type CatThreadPool ¶
type CatThreadPool func(o ...func(*CatThreadPoolRequest)) (*Response, error)
CatThreadPool returns cluster-wide thread pool statistics per node. By default the active, queue and rejected statistics are returned for all thread pools.
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/master/cat-thread-pool.html.
func (CatThreadPool) WithContext ¶
func (f CatThreadPool) WithContext(v context.Context) func(*CatThreadPoolRequest)
WithContext sets the request context.
func (CatThreadPool) WithErrorTrace ¶
func (f CatThreadPool) WithErrorTrace() func(*CatThreadPoolRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (CatThreadPool) WithFilterPath ¶
func (f CatThreadPool) WithFilterPath(v ...string) func(*CatThreadPoolRequest)
WithFilterPath filters the properties of the response body.
func (CatThreadPool) WithFormat ¶
func (f CatThreadPool) WithFormat(v string) func(*CatThreadPoolRequest)
WithFormat - a short version of the accept header, e.g. json, yaml.
func (CatThreadPool) WithH ¶
func (f CatThreadPool) WithH(v ...string) func(*CatThreadPoolRequest)
WithH - comma-separated list of column names to display.
func (CatThreadPool) WithHeader ¶ added in v7.2.0
func (f CatThreadPool) WithHeader(h map[string]string) func(*CatThreadPoolRequest)
WithHeader adds the headers to the HTTP request.
func (CatThreadPool) WithHelp ¶
func (f CatThreadPool) WithHelp(v bool) func(*CatThreadPoolRequest)
WithHelp - return help information.
func (CatThreadPool) WithHuman ¶
func (f CatThreadPool) WithHuman() func(*CatThreadPoolRequest)
WithHuman makes statistical values human-readable.
func (CatThreadPool) WithLocal ¶
func (f CatThreadPool) WithLocal(v bool) func(*CatThreadPoolRequest)
WithLocal - return local information, do not retrieve the state from master node (default: false).
func (CatThreadPool) WithMasterTimeout ¶
func (f CatThreadPool) WithMasterTimeout(v time.Duration) func(*CatThreadPoolRequest)
WithMasterTimeout - explicit operation timeout for connection to master node.
func (CatThreadPool) WithOpaqueID ¶ added in v7.5.0
func (f CatThreadPool) WithOpaqueID(s string) func(*CatThreadPoolRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (CatThreadPool) WithPretty ¶
func (f CatThreadPool) WithPretty() func(*CatThreadPoolRequest)
WithPretty makes the response body pretty-printed.
func (CatThreadPool) WithS ¶
func (f CatThreadPool) WithS(v ...string) func(*CatThreadPoolRequest)
WithS - comma-separated list of column names or column aliases to sort by.
func (CatThreadPool) WithSize ¶
func (f CatThreadPool) WithSize(v string) func(*CatThreadPoolRequest)
WithSize - the multiplier in which to display values.
func (CatThreadPool) WithThreadPoolPatterns ¶
func (f CatThreadPool) WithThreadPoolPatterns(v ...string) func(*CatThreadPoolRequest)
WithThreadPoolPatterns - a list of regular-expressions to filter the thread pools in the output.
func (CatThreadPool) WithV ¶
func (f CatThreadPool) WithV(v bool) func(*CatThreadPoolRequest)
WithV - verbose mode. display column headers.
type CatThreadPoolRequest ¶
type CatThreadPoolRequest struct {
ThreadPoolPatterns []string
Format string
H []string
Help *bool
Local *bool
MasterTimeout time.Duration
S []string
Size string
V *bool
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
CatThreadPoolRequest configures the Cat Thread Pool API request.
type CatTransforms ¶ added in v7.7.0
type CatTransforms func(o ...func(*CatTransformsRequest)) (*Response, error)
CatTransforms - Gets configuration and usage information about transforms.
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/current/cat-transforms.html.
func (CatTransforms) WithAllowNoMatch ¶ added in v7.7.0
func (f CatTransforms) WithAllowNoMatch(v bool) func(*CatTransformsRequest)
WithAllowNoMatch - whether to ignore if a wildcard expression matches no transforms. (this includes `_all` string or when no transforms have been specified).
func (CatTransforms) WithContext ¶ added in v7.7.0
func (f CatTransforms) WithContext(v context.Context) func(*CatTransformsRequest)
WithContext sets the request context.
func (CatTransforms) WithErrorTrace ¶ added in v7.7.0
func (f CatTransforms) WithErrorTrace() func(*CatTransformsRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (CatTransforms) WithFilterPath ¶ added in v7.7.0
func (f CatTransforms) WithFilterPath(v ...string) func(*CatTransformsRequest)
WithFilterPath filters the properties of the response body.
func (CatTransforms) WithFormat ¶ added in v7.7.0
func (f CatTransforms) WithFormat(v string) func(*CatTransformsRequest)
WithFormat - a short version of the accept header, e.g. json, yaml.
func (CatTransforms) WithFrom ¶ added in v7.7.0
func (f CatTransforms) WithFrom(v int) func(*CatTransformsRequest)
WithFrom - skips a number of transform configs, defaults to 0.
func (CatTransforms) WithH ¶ added in v7.7.0
func (f CatTransforms) WithH(v ...string) func(*CatTransformsRequest)
WithH - comma-separated list of column names to display.
func (CatTransforms) WithHeader ¶ added in v7.7.0
func (f CatTransforms) WithHeader(h map[string]string) func(*CatTransformsRequest)
WithHeader adds the headers to the HTTP request.
func (CatTransforms) WithHelp ¶ added in v7.7.0
func (f CatTransforms) WithHelp(v bool) func(*CatTransformsRequest)
WithHelp - return help information.
func (CatTransforms) WithHuman ¶ added in v7.7.0
func (f CatTransforms) WithHuman() func(*CatTransformsRequest)
WithHuman makes statistical values human-readable.
func (CatTransforms) WithOpaqueID ¶ added in v7.7.0
func (f CatTransforms) WithOpaqueID(s string) func(*CatTransformsRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (CatTransforms) WithPretty ¶ added in v7.7.0
func (f CatTransforms) WithPretty() func(*CatTransformsRequest)
WithPretty makes the response body pretty-printed.
func (CatTransforms) WithS ¶ added in v7.7.0
func (f CatTransforms) WithS(v ...string) func(*CatTransformsRequest)
WithS - comma-separated list of column names or column aliases to sort by.
func (CatTransforms) WithSize ¶ added in v7.7.0
func (f CatTransforms) WithSize(v int) func(*CatTransformsRequest)
WithSize - specifies a max number of transforms to get, defaults to 100.
func (CatTransforms) WithTime ¶ added in v7.7.0
func (f CatTransforms) WithTime(v string) func(*CatTransformsRequest)
WithTime - the unit in which to display time values.
func (CatTransforms) WithTransformID ¶ added in v7.7.0
func (f CatTransforms) WithTransformID(v string) func(*CatTransformsRequest)
WithTransformID - the ID of the transform for which to get stats. '_all' or '*' implies all transforms.
func (CatTransforms) WithV ¶ added in v7.7.0
func (f CatTransforms) WithV(v bool) func(*CatTransformsRequest)
WithV - verbose mode. display column headers.
type CatTransformsRequest ¶ added in v7.7.0
type CatTransformsRequest struct {
TransformID string
AllowNoMatch *bool
Format string
From *int
H []string
Help *bool
S []string
Size *int
Time string
V *bool
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
CatTransformsRequest configures the Cat Transforms API request.
type ClearScroll ¶
type ClearScroll func(o ...func(*ClearScrollRequest)) (*Response, error)
ClearScroll explicitly clears the search context for a scroll.
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/current/clear-scroll-api.html.
func (ClearScroll) WithBody ¶
func (f ClearScroll) WithBody(v io.Reader) func(*ClearScrollRequest)
WithBody - A comma-separated list of scroll IDs to clear if none was specified via the scroll_id parameter.
func (ClearScroll) WithContext ¶
func (f ClearScroll) WithContext(v context.Context) func(*ClearScrollRequest)
WithContext sets the request context.
func (ClearScroll) WithErrorTrace ¶
func (f ClearScroll) WithErrorTrace() func(*ClearScrollRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (ClearScroll) WithFilterPath ¶
func (f ClearScroll) WithFilterPath(v ...string) func(*ClearScrollRequest)
WithFilterPath filters the properties of the response body.
func (ClearScroll) WithHeader ¶ added in v7.2.0
func (f ClearScroll) WithHeader(h map[string]string) func(*ClearScrollRequest)
WithHeader adds the headers to the HTTP request.
func (ClearScroll) WithHuman ¶
func (f ClearScroll) WithHuman() func(*ClearScrollRequest)
WithHuman makes statistical values human-readable.
func (ClearScroll) WithOpaqueID ¶ added in v7.5.0
func (f ClearScroll) WithOpaqueID(s string) func(*ClearScrollRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (ClearScroll) WithPretty ¶
func (f ClearScroll) WithPretty() func(*ClearScrollRequest)
WithPretty makes the response body pretty-printed.
func (ClearScroll) WithScrollID ¶
func (f ClearScroll) WithScrollID(v ...string) func(*ClearScrollRequest)
WithScrollID - a list of scroll ids to clear.
type ClearScrollRequest ¶
type ClearScrollRequest struct {
Body io.Reader
ScrollID []string
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
ClearScrollRequest configures the Clear Scroll API request.
type ClosePointInTime ¶ added in v7.10.0
type ClosePointInTime func(o ...func(*ClosePointInTimeRequest)) (*Response, error)
ClosePointInTime - Close a point in time
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/master/point-in-time-api.html.
func (ClosePointInTime) WithBody ¶ added in v7.10.0
func (f ClosePointInTime) WithBody(v io.Reader) func(*ClosePointInTimeRequest)
WithBody - a point-in-time id to close.
func (ClosePointInTime) WithContext ¶ added in v7.10.0
func (f ClosePointInTime) WithContext(v context.Context) func(*ClosePointInTimeRequest)
WithContext sets the request context.
func (ClosePointInTime) WithErrorTrace ¶ added in v7.10.0
func (f ClosePointInTime) WithErrorTrace() func(*ClosePointInTimeRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (ClosePointInTime) WithFilterPath ¶ added in v7.10.0
func (f ClosePointInTime) WithFilterPath(v ...string) func(*ClosePointInTimeRequest)
WithFilterPath filters the properties of the response body.
func (ClosePointInTime) WithHeader ¶ added in v7.10.0
func (f ClosePointInTime) WithHeader(h map[string]string) func(*ClosePointInTimeRequest)
WithHeader adds the headers to the HTTP request.
func (ClosePointInTime) WithHuman ¶ added in v7.10.0
func (f ClosePointInTime) WithHuman() func(*ClosePointInTimeRequest)
WithHuman makes statistical values human-readable.
func (ClosePointInTime) WithOpaqueID ¶ added in v7.10.0
func (f ClosePointInTime) WithOpaqueID(s string) func(*ClosePointInTimeRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (ClosePointInTime) WithPretty ¶ added in v7.10.0
func (f ClosePointInTime) WithPretty() func(*ClosePointInTimeRequest)
WithPretty makes the response body pretty-printed.
type ClosePointInTimeRequest ¶ added in v7.10.0
type ClosePointInTimeRequest struct {
Body io.Reader
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
ClosePointInTimeRequest configures the Close Point In Time API request.
type Cluster ¶
type Cluster struct {
AllocationExplain ClusterAllocationExplain
DeleteComponentTemplate ClusterDeleteComponentTemplate
DeleteVotingConfigExclusions ClusterDeleteVotingConfigExclusions
ExistsComponentTemplate ClusterExistsComponentTemplate
GetComponentTemplate ClusterGetComponentTemplate
GetSettings ClusterGetSettings
Health ClusterHealth
PendingTasks ClusterPendingTasks
PostVotingConfigExclusions ClusterPostVotingConfigExclusions
PutComponentTemplate ClusterPutComponentTemplate
PutSettings ClusterPutSettings
RemoteInfo ClusterRemoteInfo
Reroute ClusterReroute
State ClusterState
Stats ClusterStats
}
Cluster contains the Cluster APIs
type ClusterAllocationExplain ¶
type ClusterAllocationExplain func(o ...func(*ClusterAllocationExplainRequest)) (*Response, error)
ClusterAllocationExplain provides explanations for shard allocations in the cluster.
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-allocation-explain.html.
func (ClusterAllocationExplain) WithBody ¶
func (f ClusterAllocationExplain) WithBody(v io.Reader) func(*ClusterAllocationExplainRequest)
WithBody - The index, shard, and primary flag to explain. Empty means 'explain a randomly-chosen unassigned shard'.
func (ClusterAllocationExplain) WithContext ¶
func (f ClusterAllocationExplain) WithContext(v context.Context) func(*ClusterAllocationExplainRequest)
WithContext sets the request context.
func (ClusterAllocationExplain) WithErrorTrace ¶
func (f ClusterAllocationExplain) WithErrorTrace() func(*ClusterAllocationExplainRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (ClusterAllocationExplain) WithFilterPath ¶
func (f ClusterAllocationExplain) WithFilterPath(v ...string) func(*ClusterAllocationExplainRequest)
WithFilterPath filters the properties of the response body.
func (ClusterAllocationExplain) WithHeader ¶ added in v7.2.0
func (f ClusterAllocationExplain) WithHeader(h map[string]string) func(*ClusterAllocationExplainRequest)
WithHeader adds the headers to the HTTP request.
func (ClusterAllocationExplain) WithHuman ¶
func (f ClusterAllocationExplain) WithHuman() func(*ClusterAllocationExplainRequest)
WithHuman makes statistical values human-readable.
func (ClusterAllocationExplain) WithIncludeDiskInfo ¶
func (f ClusterAllocationExplain) WithIncludeDiskInfo(v bool) func(*ClusterAllocationExplainRequest)
WithIncludeDiskInfo - return information about disk usage and shard sizes (default: false).
func (ClusterAllocationExplain) WithIncludeYesDecisions ¶
func (f ClusterAllocationExplain) WithIncludeYesDecisions(v bool) func(*ClusterAllocationExplainRequest)
WithIncludeYesDecisions - return 'yes' decisions in explanation (default: false).
func (ClusterAllocationExplain) WithOpaqueID ¶ added in v7.5.0
func (f ClusterAllocationExplain) WithOpaqueID(s string) func(*ClusterAllocationExplainRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (ClusterAllocationExplain) WithPretty ¶
func (f ClusterAllocationExplain) WithPretty() func(*ClusterAllocationExplainRequest)
WithPretty makes the response body pretty-printed.
type ClusterAllocationExplainRequest ¶
type ClusterAllocationExplainRequest struct {
Body io.Reader
IncludeDiskInfo *bool
IncludeYesDecisions *bool
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
ClusterAllocationExplainRequest configures the Cluster Allocation Explain API request.
type ClusterDeleteComponentTemplate ¶ added in v7.7.0
type ClusterDeleteComponentTemplate func(name string, o ...func(*ClusterDeleteComponentTemplateRequest)) (*Response, error)
ClusterDeleteComponentTemplate deletes a component template
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-component-template.html.
func (ClusterDeleteComponentTemplate) WithContext ¶ added in v7.7.0
func (f ClusterDeleteComponentTemplate) WithContext(v context.Context) func(*ClusterDeleteComponentTemplateRequest)
WithContext sets the request context.
func (ClusterDeleteComponentTemplate) WithErrorTrace ¶ added in v7.7.0
func (f ClusterDeleteComponentTemplate) WithErrorTrace() func(*ClusterDeleteComponentTemplateRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (ClusterDeleteComponentTemplate) WithFilterPath ¶ added in v7.7.0
func (f ClusterDeleteComponentTemplate) WithFilterPath(v ...string) func(*ClusterDeleteComponentTemplateRequest)
WithFilterPath filters the properties of the response body.
func (ClusterDeleteComponentTemplate) WithHeader ¶ added in v7.7.0
func (f ClusterDeleteComponentTemplate) WithHeader(h map[string]string) func(*ClusterDeleteComponentTemplateRequest)
WithHeader adds the headers to the HTTP request.
func (ClusterDeleteComponentTemplate) WithHuman ¶ added in v7.7.0
func (f ClusterDeleteComponentTemplate) WithHuman() func(*ClusterDeleteComponentTemplateRequest)
WithHuman makes statistical values human-readable.
func (ClusterDeleteComponentTemplate) WithMasterTimeout ¶ added in v7.7.0
func (f ClusterDeleteComponentTemplate) WithMasterTimeout(v time.Duration) func(*ClusterDeleteComponentTemplateRequest)
WithMasterTimeout - specify timeout for connection to master.
func (ClusterDeleteComponentTemplate) WithOpaqueID ¶ added in v7.7.0
func (f ClusterDeleteComponentTemplate) WithOpaqueID(s string) func(*ClusterDeleteComponentTemplateRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (ClusterDeleteComponentTemplate) WithPretty ¶ added in v7.7.0
func (f ClusterDeleteComponentTemplate) WithPretty() func(*ClusterDeleteComponentTemplateRequest)
WithPretty makes the response body pretty-printed.
func (ClusterDeleteComponentTemplate) WithTimeout ¶ added in v7.7.0
func (f ClusterDeleteComponentTemplate) WithTimeout(v time.Duration) func(*ClusterDeleteComponentTemplateRequest)
WithTimeout - explicit operation timeout.
type ClusterDeleteComponentTemplateRequest ¶ added in v7.7.0
type ClusterDeleteComponentTemplateRequest struct {
Name string
MasterTimeout time.Duration
Timeout time.Duration
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
ClusterDeleteComponentTemplateRequest configures the Cluster Delete Component Template API request.
type ClusterDeleteVotingConfigExclusions ¶ added in v7.8.0
type ClusterDeleteVotingConfigExclusions func(o ...func(*ClusterDeleteVotingConfigExclusionsRequest)) (*Response, error)
ClusterDeleteVotingConfigExclusions clears cluster voting config exclusions.
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/master/voting-config-exclusions.html.
func (ClusterDeleteVotingConfigExclusions) WithContext ¶ added in v7.8.0
func (f ClusterDeleteVotingConfigExclusions) WithContext(v context.Context) func(*ClusterDeleteVotingConfigExclusionsRequest)
WithContext sets the request context.
func (ClusterDeleteVotingConfigExclusions) WithErrorTrace ¶ added in v7.8.0
func (f ClusterDeleteVotingConfigExclusions) WithErrorTrace() func(*ClusterDeleteVotingConfigExclusionsRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (ClusterDeleteVotingConfigExclusions) WithFilterPath ¶ added in v7.8.0
func (f ClusterDeleteVotingConfigExclusions) WithFilterPath(v ...string) func(*ClusterDeleteVotingConfigExclusionsRequest)
WithFilterPath filters the properties of the response body.
func (ClusterDeleteVotingConfigExclusions) WithHeader ¶ added in v7.8.0
func (f ClusterDeleteVotingConfigExclusions) WithHeader(h map[string]string) func(*ClusterDeleteVotingConfigExclusionsRequest)
WithHeader adds the headers to the HTTP request.
func (ClusterDeleteVotingConfigExclusions) WithHuman ¶ added in v7.8.0
func (f ClusterDeleteVotingConfigExclusions) WithHuman() func(*ClusterDeleteVotingConfigExclusionsRequest)
WithHuman makes statistical values human-readable.
func (ClusterDeleteVotingConfigExclusions) WithOpaqueID ¶ added in v7.8.0
func (f ClusterDeleteVotingConfigExclusions) WithOpaqueID(s string) func(*ClusterDeleteVotingConfigExclusionsRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (ClusterDeleteVotingConfigExclusions) WithPretty ¶ added in v7.8.0
func (f ClusterDeleteVotingConfigExclusions) WithPretty() func(*ClusterDeleteVotingConfigExclusionsRequest)
WithPretty makes the response body pretty-printed.
func (ClusterDeleteVotingConfigExclusions) WithWaitForRemoval ¶ added in v7.8.0
func (f ClusterDeleteVotingConfigExclusions) WithWaitForRemoval(v bool) func(*ClusterDeleteVotingConfigExclusionsRequest)
WithWaitForRemoval - specifies whether to wait for all excluded nodes to be removed from the cluster before clearing the voting configuration exclusions list..
type ClusterDeleteVotingConfigExclusionsRequest ¶ added in v7.8.0
type ClusterDeleteVotingConfigExclusionsRequest struct {
WaitForRemoval *bool
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
ClusterDeleteVotingConfigExclusionsRequest configures the Cluster Delete Voting Config Exclusions API request.
type ClusterExistsComponentTemplate ¶ added in v7.7.0
type ClusterExistsComponentTemplate func(name string, o ...func(*ClusterExistsComponentTemplateRequest)) (*Response, error)
ClusterExistsComponentTemplate returns information about whether a particular component template exist
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-component-template.html.
func (ClusterExistsComponentTemplate) WithContext ¶ added in v7.7.0
func (f ClusterExistsComponentTemplate) WithContext(v context.Context) func(*ClusterExistsComponentTemplateRequest)
WithContext sets the request context.
func (ClusterExistsComponentTemplate) WithErrorTrace ¶ added in v7.7.0
func (f ClusterExistsComponentTemplate) WithErrorTrace() func(*ClusterExistsComponentTemplateRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (ClusterExistsComponentTemplate) WithFilterPath ¶ added in v7.7.0
func (f ClusterExistsComponentTemplate) WithFilterPath(v ...string) func(*ClusterExistsComponentTemplateRequest)
WithFilterPath filters the properties of the response body.
func (ClusterExistsComponentTemplate) WithHeader ¶ added in v7.7.0
func (f ClusterExistsComponentTemplate) WithHeader(h map[string]string) func(*ClusterExistsComponentTemplateRequest)
WithHeader adds the headers to the HTTP request.
func (ClusterExistsComponentTemplate) WithHuman ¶ added in v7.7.0
func (f ClusterExistsComponentTemplate) WithHuman() func(*ClusterExistsComponentTemplateRequest)
WithHuman makes statistical values human-readable.
func (ClusterExistsComponentTemplate) WithLocal ¶ added in v7.7.0
func (f ClusterExistsComponentTemplate) WithLocal(v bool) func(*ClusterExistsComponentTemplateRequest)
WithLocal - return local information, do not retrieve the state from master node (default: false).
func (ClusterExistsComponentTemplate) WithMasterTimeout ¶ added in v7.7.0
func (f ClusterExistsComponentTemplate) WithMasterTimeout(v time.Duration) func(*ClusterExistsComponentTemplateRequest)
WithMasterTimeout - explicit operation timeout for connection to master node.
func (ClusterExistsComponentTemplate) WithOpaqueID ¶ added in v7.7.0
func (f ClusterExistsComponentTemplate) WithOpaqueID(s string) func(*ClusterExistsComponentTemplateRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (ClusterExistsComponentTemplate) WithPretty ¶ added in v7.7.0
func (f ClusterExistsComponentTemplate) WithPretty() func(*ClusterExistsComponentTemplateRequest)
WithPretty makes the response body pretty-printed.
type ClusterExistsComponentTemplateRequest ¶ added in v7.7.0
type ClusterExistsComponentTemplateRequest struct {
Name string
Local *bool
MasterTimeout time.Duration
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
ClusterExistsComponentTemplateRequest configures the Cluster Exists Component Template API request.
type ClusterGetComponentTemplate ¶ added in v7.7.0
type ClusterGetComponentTemplate func(o ...func(*ClusterGetComponentTemplateRequest)) (*Response, error)
ClusterGetComponentTemplate returns one or more component templates
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-component-template.html.
func (ClusterGetComponentTemplate) WithContext ¶ added in v7.7.0
func (f ClusterGetComponentTemplate) WithContext(v context.Context) func(*ClusterGetComponentTemplateRequest)
WithContext sets the request context.
func (ClusterGetComponentTemplate) WithErrorTrace ¶ added in v7.7.0
func (f ClusterGetComponentTemplate) WithErrorTrace() func(*ClusterGetComponentTemplateRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (ClusterGetComponentTemplate) WithFilterPath ¶ added in v7.7.0
func (f ClusterGetComponentTemplate) WithFilterPath(v ...string) func(*ClusterGetComponentTemplateRequest)
WithFilterPath filters the properties of the response body.
func (ClusterGetComponentTemplate) WithHeader ¶ added in v7.7.0
func (f ClusterGetComponentTemplate) WithHeader(h map[string]string) func(*ClusterGetComponentTemplateRequest)
WithHeader adds the headers to the HTTP request.
func (ClusterGetComponentTemplate) WithHuman ¶ added in v7.7.0
func (f ClusterGetComponentTemplate) WithHuman() func(*ClusterGetComponentTemplateRequest)
WithHuman makes statistical values human-readable.
func (ClusterGetComponentTemplate) WithLocal ¶ added in v7.7.0
func (f ClusterGetComponentTemplate) WithLocal(v bool) func(*ClusterGetComponentTemplateRequest)
WithLocal - return local information, do not retrieve the state from master node (default: false).
func (ClusterGetComponentTemplate) WithMasterTimeout ¶ added in v7.7.0
func (f ClusterGetComponentTemplate) WithMasterTimeout(v time.Duration) func(*ClusterGetComponentTemplateRequest)
WithMasterTimeout - explicit operation timeout for connection to master node.
func (ClusterGetComponentTemplate) WithName ¶ added in v7.7.0
func (f ClusterGetComponentTemplate) WithName(v ...string) func(*ClusterGetComponentTemplateRequest)
WithName - the comma separated names of the component templates.
func (ClusterGetComponentTemplate) WithOpaqueID ¶ added in v7.7.0
func (f ClusterGetComponentTemplate) WithOpaqueID(s string) func(*ClusterGetComponentTemplateRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (ClusterGetComponentTemplate) WithPretty ¶ added in v7.7.0
func (f ClusterGetComponentTemplate) WithPretty() func(*ClusterGetComponentTemplateRequest)
WithPretty makes the response body pretty-printed.
type ClusterGetComponentTemplateRequest ¶ added in v7.7.0
type ClusterGetComponentTemplateRequest struct {
Name []string
Local *bool
MasterTimeout time.Duration
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
ClusterGetComponentTemplateRequest configures the Cluster Get Component Template API request.
type ClusterGetSettings ¶
type ClusterGetSettings func(o ...func(*ClusterGetSettingsRequest)) (*Response, error)
ClusterGetSettings returns cluster settings.
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-get-settings.html.
func (ClusterGetSettings) WithContext ¶
func (f ClusterGetSettings) WithContext(v context.Context) func(*ClusterGetSettingsRequest)
WithContext sets the request context.
func (ClusterGetSettings) WithErrorTrace ¶
func (f ClusterGetSettings) WithErrorTrace() func(*ClusterGetSettingsRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (ClusterGetSettings) WithFilterPath ¶
func (f ClusterGetSettings) WithFilterPath(v ...string) func(*ClusterGetSettingsRequest)
WithFilterPath filters the properties of the response body.
func (ClusterGetSettings) WithFlatSettings ¶
func (f ClusterGetSettings) WithFlatSettings(v bool) func(*ClusterGetSettingsRequest)
WithFlatSettings - return settings in flat format (default: false).
func (ClusterGetSettings) WithHeader ¶ added in v7.2.0
func (f ClusterGetSettings) WithHeader(h map[string]string) func(*ClusterGetSettingsRequest)
WithHeader adds the headers to the HTTP request.
func (ClusterGetSettings) WithHuman ¶
func (f ClusterGetSettings) WithHuman() func(*ClusterGetSettingsRequest)
WithHuman makes statistical values human-readable.
func (ClusterGetSettings) WithIncludeDefaults ¶
func (f ClusterGetSettings) WithIncludeDefaults(v bool) func(*ClusterGetSettingsRequest)
WithIncludeDefaults - whether to return all default clusters setting..
func (ClusterGetSettings) WithMasterTimeout ¶
func (f ClusterGetSettings) WithMasterTimeout(v time.Duration) func(*ClusterGetSettingsRequest)
WithMasterTimeout - explicit operation timeout for connection to master node.
func (ClusterGetSettings) WithOpaqueID ¶ added in v7.5.0
func (f ClusterGetSettings) WithOpaqueID(s string) func(*ClusterGetSettingsRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (ClusterGetSettings) WithPretty ¶
func (f ClusterGetSettings) WithPretty() func(*ClusterGetSettingsRequest)
WithPretty makes the response body pretty-printed.
func (ClusterGetSettings) WithTimeout ¶
func (f ClusterGetSettings) WithTimeout(v time.Duration) func(*ClusterGetSettingsRequest)
WithTimeout - explicit operation timeout.
type ClusterGetSettingsRequest ¶
type ClusterGetSettingsRequest struct {
FlatSettings *bool
IncludeDefaults *bool
MasterTimeout time.Duration
Timeout time.Duration
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
ClusterGetSettingsRequest configures the Cluster Get Settings API request.
type ClusterHealth ¶
type ClusterHealth func(o ...func(*ClusterHealthRequest)) (*Response, error)
ClusterHealth returns basic information about the health of the cluster.
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-health.html.
func (ClusterHealth) WithContext ¶
func (f ClusterHealth) WithContext(v context.Context) func(*ClusterHealthRequest)
WithContext sets the request context.
func (ClusterHealth) WithErrorTrace ¶
func (f ClusterHealth) WithErrorTrace() func(*ClusterHealthRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (ClusterHealth) WithExpandWildcards ¶ added in v7.2.0
func (f ClusterHealth) WithExpandWildcards(v string) func(*ClusterHealthRequest)
WithExpandWildcards - whether to expand wildcard expression to concrete indices that are open, closed or both..
func (ClusterHealth) WithFilterPath ¶
func (f ClusterHealth) WithFilterPath(v ...string) func(*ClusterHealthRequest)
WithFilterPath filters the properties of the response body.
func (ClusterHealth) WithHeader ¶ added in v7.2.0
func (f ClusterHealth) WithHeader(h map[string]string) func(*ClusterHealthRequest)
WithHeader adds the headers to the HTTP request.
func (ClusterHealth) WithHuman ¶
func (f ClusterHealth) WithHuman() func(*ClusterHealthRequest)
WithHuman makes statistical values human-readable.
func (ClusterHealth) WithIndex ¶
func (f ClusterHealth) WithIndex(v ...string) func(*ClusterHealthRequest)
WithIndex - limit the information returned to a specific index.
func (ClusterHealth) WithLevel ¶
func (f ClusterHealth) WithLevel(v string) func(*ClusterHealthRequest)
WithLevel - specify the level of detail for returned information.
func (ClusterHealth) WithLocal ¶
func (f ClusterHealth) WithLocal(v bool) func(*ClusterHealthRequest)
WithLocal - return local information, do not retrieve the state from master node (default: false).
func (ClusterHealth) WithMasterTimeout ¶
func (f ClusterHealth) WithMasterTimeout(v time.Duration) func(*ClusterHealthRequest)
WithMasterTimeout - explicit operation timeout for connection to master node.
func (ClusterHealth) WithOpaqueID ¶ added in v7.5.0
func (f ClusterHealth) WithOpaqueID(s string) func(*ClusterHealthRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (ClusterHealth) WithPretty ¶
func (f ClusterHealth) WithPretty() func(*ClusterHealthRequest)
WithPretty makes the response body pretty-printed.
func (ClusterHealth) WithTimeout ¶
func (f ClusterHealth) WithTimeout(v time.Duration) func(*ClusterHealthRequest)
WithTimeout - explicit operation timeout.
func (ClusterHealth) WithWaitForActiveShards ¶
func (f ClusterHealth) WithWaitForActiveShards(v string) func(*ClusterHealthRequest)
WithWaitForActiveShards - wait until the specified number of shards is active.
func (ClusterHealth) WithWaitForEvents ¶
func (f ClusterHealth) WithWaitForEvents(v string) func(*ClusterHealthRequest)
WithWaitForEvents - wait until all currently queued events with the given priority are processed.
func (ClusterHealth) WithWaitForNoInitializingShards ¶
func (f ClusterHealth) WithWaitForNoInitializingShards(v bool) func(*ClusterHealthRequest)
WithWaitForNoInitializingShards - whether to wait until there are no initializing shards in the cluster.
func (ClusterHealth) WithWaitForNoRelocatingShards ¶
func (f ClusterHealth) WithWaitForNoRelocatingShards(v bool) func(*ClusterHealthRequest)
WithWaitForNoRelocatingShards - whether to wait until there are no relocating shards in the cluster.
func (ClusterHealth) WithWaitForNodes ¶
func (f ClusterHealth) WithWaitForNodes(v string) func(*ClusterHealthRequest)
WithWaitForNodes - wait until the specified number of nodes is available.
func (ClusterHealth) WithWaitForStatus ¶
func (f ClusterHealth) WithWaitForStatus(v string) func(*ClusterHealthRequest)
WithWaitForStatus - wait until cluster is in a specific state.
type ClusterHealthRequest ¶
type ClusterHealthRequest struct {
Index []string
ExpandWildcards string
Level string
Local *bool
MasterTimeout time.Duration
Timeout time.Duration
WaitForActiveShards string
WaitForEvents string
WaitForNoInitializingShards *bool
WaitForNoRelocatingShards *bool
WaitForNodes string
WaitForStatus string
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
ClusterHealthRequest configures the Cluster Health API request.
type ClusterPendingTasks ¶
type ClusterPendingTasks func(o ...func(*ClusterPendingTasksRequest)) (*Response, error)
ClusterPendingTasks returns a list of any cluster-level changes (e.g. create index, update mapping, allocate or fail shard) which have not yet been executed.
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-pending.html.
func (ClusterPendingTasks) WithContext ¶
func (f ClusterPendingTasks) WithContext(v context.Context) func(*ClusterPendingTasksRequest)
WithContext sets the request context.
func (ClusterPendingTasks) WithErrorTrace ¶
func (f ClusterPendingTasks) WithErrorTrace() func(*ClusterPendingTasksRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (ClusterPendingTasks) WithFilterPath ¶
func (f ClusterPendingTasks) WithFilterPath(v ...string) func(*ClusterPendingTasksRequest)
WithFilterPath filters the properties of the response body.
func (ClusterPendingTasks) WithHeader ¶ added in v7.2.0
func (f ClusterPendingTasks) WithHeader(h map[string]string) func(*ClusterPendingTasksRequest)
WithHeader adds the headers to the HTTP request.
func (ClusterPendingTasks) WithHuman ¶
func (f ClusterPendingTasks) WithHuman() func(*ClusterPendingTasksRequest)
WithHuman makes statistical values human-readable.
func (ClusterPendingTasks) WithLocal ¶
func (f ClusterPendingTasks) WithLocal(v bool) func(*ClusterPendingTasksRequest)
WithLocal - return local information, do not retrieve the state from master node (default: false).
func (ClusterPendingTasks) WithMasterTimeout ¶
func (f ClusterPendingTasks) WithMasterTimeout(v time.Duration) func(*ClusterPendingTasksRequest)
WithMasterTimeout - specify timeout for connection to master.
func (ClusterPendingTasks) WithOpaqueID ¶ added in v7.5.0
func (f ClusterPendingTasks) WithOpaqueID(s string) func(*ClusterPendingTasksRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (ClusterPendingTasks) WithPretty ¶
func (f ClusterPendingTasks) WithPretty() func(*ClusterPendingTasksRequest)
WithPretty makes the response body pretty-printed.
type ClusterPendingTasksRequest ¶
type ClusterPendingTasksRequest struct {
Local *bool
MasterTimeout time.Duration
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
ClusterPendingTasksRequest configures the Cluster Pending Tasks API request.
type ClusterPostVotingConfigExclusions ¶ added in v7.8.0
type ClusterPostVotingConfigExclusions func(o ...func(*ClusterPostVotingConfigExclusionsRequest)) (*Response, error)
ClusterPostVotingConfigExclusions updates the cluster voting config exclusions by node ids or node names.
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/master/voting-config-exclusions.html.
func (ClusterPostVotingConfigExclusions) WithContext ¶ added in v7.8.0
func (f ClusterPostVotingConfigExclusions) WithContext(v context.Context) func(*ClusterPostVotingConfigExclusionsRequest)
WithContext sets the request context.
func (ClusterPostVotingConfigExclusions) WithErrorTrace ¶ added in v7.8.0
func (f ClusterPostVotingConfigExclusions) WithErrorTrace() func(*ClusterPostVotingConfigExclusionsRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (ClusterPostVotingConfigExclusions) WithFilterPath ¶ added in v7.8.0
func (f ClusterPostVotingConfigExclusions) WithFilterPath(v ...string) func(*ClusterPostVotingConfigExclusionsRequest)
WithFilterPath filters the properties of the response body.
func (ClusterPostVotingConfigExclusions) WithHeader ¶ added in v7.8.0
func (f ClusterPostVotingConfigExclusions) WithHeader(h map[string]string) func(*ClusterPostVotingConfigExclusionsRequest)
WithHeader adds the headers to the HTTP request.
func (ClusterPostVotingConfigExclusions) WithHuman ¶ added in v7.8.0
func (f ClusterPostVotingConfigExclusions) WithHuman() func(*ClusterPostVotingConfigExclusionsRequest)
WithHuman makes statistical values human-readable.
func (ClusterPostVotingConfigExclusions) WithNodeIds ¶ added in v7.8.0
func (f ClusterPostVotingConfigExclusions) WithNodeIds(v string) func(*ClusterPostVotingConfigExclusionsRequest)
WithNodeIds - a list of the persistent ids of the nodes to exclude from the voting configuration. if specified, you may not also specify ?node_names..
func (ClusterPostVotingConfigExclusions) WithNodeNames ¶ added in v7.8.0
func (f ClusterPostVotingConfigExclusions) WithNodeNames(v string) func(*ClusterPostVotingConfigExclusionsRequest)
WithNodeNames - a list of the names of the nodes to exclude from the voting configuration. if specified, you may not also specify ?node_ids..
func (ClusterPostVotingConfigExclusions) WithOpaqueID ¶ added in v7.8.0
func (f ClusterPostVotingConfigExclusions) WithOpaqueID(s string) func(*ClusterPostVotingConfigExclusionsRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (ClusterPostVotingConfigExclusions) WithPretty ¶ added in v7.8.0
func (f ClusterPostVotingConfigExclusions) WithPretty() func(*ClusterPostVotingConfigExclusionsRequest)
WithPretty makes the response body pretty-printed.
func (ClusterPostVotingConfigExclusions) WithTimeout ¶ added in v7.8.0
func (f ClusterPostVotingConfigExclusions) WithTimeout(v time.Duration) func(*ClusterPostVotingConfigExclusionsRequest)
WithTimeout - explicit operation timeout.
type ClusterPostVotingConfigExclusionsRequest ¶ added in v7.8.0
type ClusterPostVotingConfigExclusionsRequest struct {
NodeIds string
NodeNames string
Timeout time.Duration
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
ClusterPostVotingConfigExclusionsRequest configures the Cluster Post Voting Config Exclusions API request.
type ClusterPutComponentTemplate ¶ added in v7.7.0
type ClusterPutComponentTemplate func(name string, body io.Reader, o ...func(*ClusterPutComponentTemplateRequest)) (*Response, error)
ClusterPutComponentTemplate creates or updates a component template
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-component-template.html.
func (ClusterPutComponentTemplate) WithContext ¶ added in v7.7.0
func (f ClusterPutComponentTemplate) WithContext(v context.Context) func(*ClusterPutComponentTemplateRequest)
WithContext sets the request context.
func (ClusterPutComponentTemplate) WithCreate ¶ added in v7.7.0
func (f ClusterPutComponentTemplate) WithCreate(v bool) func(*ClusterPutComponentTemplateRequest)
WithCreate - whether the index template should only be added if new or can also replace an existing one.
func (ClusterPutComponentTemplate) WithErrorTrace ¶ added in v7.7.0
func (f ClusterPutComponentTemplate) WithErrorTrace() func(*ClusterPutComponentTemplateRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (ClusterPutComponentTemplate) WithFilterPath ¶ added in v7.7.0
func (f ClusterPutComponentTemplate) WithFilterPath(v ...string) func(*ClusterPutComponentTemplateRequest)
WithFilterPath filters the properties of the response body.
func (ClusterPutComponentTemplate) WithHeader ¶ added in v7.7.0
func (f ClusterPutComponentTemplate) WithHeader(h map[string]string) func(*ClusterPutComponentTemplateRequest)
WithHeader adds the headers to the HTTP request.
func (ClusterPutComponentTemplate) WithHuman ¶ added in v7.7.0
func (f ClusterPutComponentTemplate) WithHuman() func(*ClusterPutComponentTemplateRequest)
WithHuman makes statistical values human-readable.
func (ClusterPutComponentTemplate) WithMasterTimeout ¶ added in v7.7.0
func (f ClusterPutComponentTemplate) WithMasterTimeout(v time.Duration) func(*ClusterPutComponentTemplateRequest)
WithMasterTimeout - specify timeout for connection to master.
func (ClusterPutComponentTemplate) WithOpaqueID ¶ added in v7.7.0
func (f ClusterPutComponentTemplate) WithOpaqueID(s string) func(*ClusterPutComponentTemplateRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (ClusterPutComponentTemplate) WithPretty ¶ added in v7.7.0
func (f ClusterPutComponentTemplate) WithPretty() func(*ClusterPutComponentTemplateRequest)
WithPretty makes the response body pretty-printed.
func (ClusterPutComponentTemplate) WithTimeout ¶ added in v7.7.0
func (f ClusterPutComponentTemplate) WithTimeout(v time.Duration) func(*ClusterPutComponentTemplateRequest)
WithTimeout - explicit operation timeout.
type ClusterPutComponentTemplateRequest ¶ added in v7.7.0
type ClusterPutComponentTemplateRequest struct {
Body io.Reader
Name string
Create *bool
MasterTimeout time.Duration
Timeout time.Duration
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
ClusterPutComponentTemplateRequest configures the Cluster Put Component Template API request.
type ClusterPutSettings ¶
type ClusterPutSettings func(body io.Reader, o ...func(*ClusterPutSettingsRequest)) (*Response, error)
ClusterPutSettings updates the cluster settings.
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-update-settings.html.
func (ClusterPutSettings) WithContext ¶
func (f ClusterPutSettings) WithContext(v context.Context) func(*ClusterPutSettingsRequest)
WithContext sets the request context.
func (ClusterPutSettings) WithErrorTrace ¶
func (f ClusterPutSettings) WithErrorTrace() func(*ClusterPutSettingsRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (ClusterPutSettings) WithFilterPath ¶
func (f ClusterPutSettings) WithFilterPath(v ...string) func(*ClusterPutSettingsRequest)
WithFilterPath filters the properties of the response body.
func (ClusterPutSettings) WithFlatSettings ¶
func (f ClusterPutSettings) WithFlatSettings(v bool) func(*ClusterPutSettingsRequest)
WithFlatSettings - return settings in flat format (default: false).
func (ClusterPutSettings) WithHeader ¶ added in v7.2.0
func (f ClusterPutSettings) WithHeader(h map[string]string) func(*ClusterPutSettingsRequest)
WithHeader adds the headers to the HTTP request.
func (ClusterPutSettings) WithHuman ¶
func (f ClusterPutSettings) WithHuman() func(*ClusterPutSettingsRequest)
WithHuman makes statistical values human-readable.
func (ClusterPutSettings) WithMasterTimeout ¶
func (f ClusterPutSettings) WithMasterTimeout(v time.Duration) func(*ClusterPutSettingsRequest)
WithMasterTimeout - explicit operation timeout for connection to master node.
func (ClusterPutSettings) WithOpaqueID ¶ added in v7.5.0
func (f ClusterPutSettings) WithOpaqueID(s string) func(*ClusterPutSettingsRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (ClusterPutSettings) WithPretty ¶
func (f ClusterPutSettings) WithPretty() func(*ClusterPutSettingsRequest)
WithPretty makes the response body pretty-printed.
func (ClusterPutSettings) WithTimeout ¶
func (f ClusterPutSettings) WithTimeout(v time.Duration) func(*ClusterPutSettingsRequest)
WithTimeout - explicit operation timeout.
type ClusterPutSettingsRequest ¶
type ClusterPutSettingsRequest struct {
Body io.Reader
FlatSettings *bool
MasterTimeout time.Duration
Timeout time.Duration
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
ClusterPutSettingsRequest configures the Cluster Put Settings API request.
type ClusterRemoteInfo ¶
type ClusterRemoteInfo func(o ...func(*ClusterRemoteInfoRequest)) (*Response, error)
ClusterRemoteInfo returns the information about configured remote clusters.
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-remote-info.html.
func (ClusterRemoteInfo) WithContext ¶
func (f ClusterRemoteInfo) WithContext(v context.Context) func(*ClusterRemoteInfoRequest)
WithContext sets the request context.
func (ClusterRemoteInfo) WithErrorTrace ¶
func (f ClusterRemoteInfo) WithErrorTrace() func(*ClusterRemoteInfoRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (ClusterRemoteInfo) WithFilterPath ¶
func (f ClusterRemoteInfo) WithFilterPath(v ...string) func(*ClusterRemoteInfoRequest)
WithFilterPath filters the properties of the response body.
func (ClusterRemoteInfo) WithHeader ¶ added in v7.2.0
func (f ClusterRemoteInfo) WithHeader(h map[string]string) func(*ClusterRemoteInfoRequest)
WithHeader adds the headers to the HTTP request.
func (ClusterRemoteInfo) WithHuman ¶
func (f ClusterRemoteInfo) WithHuman() func(*ClusterRemoteInfoRequest)
WithHuman makes statistical values human-readable.
func (ClusterRemoteInfo) WithOpaqueID ¶ added in v7.5.0
func (f ClusterRemoteInfo) WithOpaqueID(s string) func(*ClusterRemoteInfoRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (ClusterRemoteInfo) WithPretty ¶
func (f ClusterRemoteInfo) WithPretty() func(*ClusterRemoteInfoRequest)
WithPretty makes the response body pretty-printed.
type ClusterRemoteInfoRequest ¶
type ClusterRemoteInfoRequest struct {
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
ClusterRemoteInfoRequest configures the Cluster Remote Info API request.
type ClusterReroute ¶
type ClusterReroute func(o ...func(*ClusterRerouteRequest)) (*Response, error)
ClusterReroute allows to manually change the allocation of individual shards in the cluster.
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-reroute.html.
func (ClusterReroute) WithBody ¶
func (f ClusterReroute) WithBody(v io.Reader) func(*ClusterRerouteRequest)
WithBody - The definition of `commands` to perform (`move`, `cancel`, `allocate`).
func (ClusterReroute) WithContext ¶
func (f ClusterReroute) WithContext(v context.Context) func(*ClusterRerouteRequest)
WithContext sets the request context.
func (ClusterReroute) WithDryRun ¶
func (f ClusterReroute) WithDryRun(v bool) func(*ClusterRerouteRequest)
WithDryRun - simulate the operation only and return the resulting state.
func (ClusterReroute) WithErrorTrace ¶
func (f ClusterReroute) WithErrorTrace() func(*ClusterRerouteRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (ClusterReroute) WithExplain ¶
func (f ClusterReroute) WithExplain(v bool) func(*ClusterRerouteRequest)
WithExplain - return an explanation of why the commands can or cannot be executed.
func (ClusterReroute) WithFilterPath ¶
func (f ClusterReroute) WithFilterPath(v ...string) func(*ClusterRerouteRequest)
WithFilterPath filters the properties of the response body.
func (ClusterReroute) WithHeader ¶ added in v7.2.0
func (f ClusterReroute) WithHeader(h map[string]string) func(*ClusterRerouteRequest)
WithHeader adds the headers to the HTTP request.
func (ClusterReroute) WithHuman ¶
func (f ClusterReroute) WithHuman() func(*ClusterRerouteRequest)
WithHuman makes statistical values human-readable.
func (ClusterReroute) WithMasterTimeout ¶
func (f ClusterReroute) WithMasterTimeout(v time.Duration) func(*ClusterRerouteRequest)
WithMasterTimeout - explicit operation timeout for connection to master node.
func (ClusterReroute) WithMetric ¶
func (f ClusterReroute) WithMetric(v ...string) func(*ClusterRerouteRequest)
WithMetric - limit the information returned to the specified metrics. defaults to all but metadata.
func (ClusterReroute) WithOpaqueID ¶ added in v7.5.0
func (f ClusterReroute) WithOpaqueID(s string) func(*ClusterRerouteRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (ClusterReroute) WithPretty ¶
func (f ClusterReroute) WithPretty() func(*ClusterRerouteRequest)
WithPretty makes the response body pretty-printed.
func (ClusterReroute) WithRetryFailed ¶
func (f ClusterReroute) WithRetryFailed(v bool) func(*ClusterRerouteRequest)
WithRetryFailed - retries allocation of shards that are blocked due to too many subsequent allocation failures.
func (ClusterReroute) WithTimeout ¶
func (f ClusterReroute) WithTimeout(v time.Duration) func(*ClusterRerouteRequest)
WithTimeout - explicit operation timeout.
type ClusterRerouteRequest ¶
type ClusterRerouteRequest struct {
Body io.Reader
DryRun *bool
Explain *bool
MasterTimeout time.Duration
Metric []string
RetryFailed *bool
Timeout time.Duration
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
ClusterRerouteRequest configures the Cluster Reroute API request.
type ClusterState ¶
type ClusterState func(o ...func(*ClusterStateRequest)) (*Response, error)
ClusterState returns a comprehensive information about the state of the cluster.
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-state.html.
func (ClusterState) WithAllowNoIndices ¶
func (f ClusterState) WithAllowNoIndices(v bool) func(*ClusterStateRequest)
WithAllowNoIndices - whether to ignore if a wildcard indices expression resolves into no concrete indices. (this includes `_all` string or when no indices have been specified).
func (ClusterState) WithContext ¶
func (f ClusterState) WithContext(v context.Context) func(*ClusterStateRequest)
WithContext sets the request context.
func (ClusterState) WithErrorTrace ¶
func (f ClusterState) WithErrorTrace() func(*ClusterStateRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (ClusterState) WithExpandWildcards ¶
func (f ClusterState) WithExpandWildcards(v string) func(*ClusterStateRequest)
WithExpandWildcards - whether to expand wildcard expression to concrete indices that are open, closed or both..
func (ClusterState) WithFilterPath ¶
func (f ClusterState) WithFilterPath(v ...string) func(*ClusterStateRequest)
WithFilterPath filters the properties of the response body.
func (ClusterState) WithFlatSettings ¶
func (f ClusterState) WithFlatSettings(v bool) func(*ClusterStateRequest)
WithFlatSettings - return settings in flat format (default: false).
func (ClusterState) WithHeader ¶ added in v7.2.0
func (f ClusterState) WithHeader(h map[string]string) func(*ClusterStateRequest)
WithHeader adds the headers to the HTTP request.
func (ClusterState) WithHuman ¶
func (f ClusterState) WithHuman() func(*ClusterStateRequest)
WithHuman makes statistical values human-readable.
func (ClusterState) WithIgnoreUnavailable ¶
func (f ClusterState) WithIgnoreUnavailable(v bool) func(*ClusterStateRequest)
WithIgnoreUnavailable - whether specified concrete indices should be ignored when unavailable (missing or closed).
func (ClusterState) WithIndex ¶
func (f ClusterState) WithIndex(v ...string) func(*ClusterStateRequest)
WithIndex - a list of index names; use _all to perform the operation on all indices.
func (ClusterState) WithLocal ¶
func (f ClusterState) WithLocal(v bool) func(*ClusterStateRequest)
WithLocal - return local information, do not retrieve the state from master node (default: false).
func (ClusterState) WithMasterTimeout ¶
func (f ClusterState) WithMasterTimeout(v time.Duration) func(*ClusterStateRequest)
WithMasterTimeout - specify timeout for connection to master.
func (ClusterState) WithMetric ¶
func (f ClusterState) WithMetric(v ...string) func(*ClusterStateRequest)
WithMetric - limit the information returned to the specified metrics.
func (ClusterState) WithOpaqueID ¶ added in v7.5.0
func (f ClusterState) WithOpaqueID(s string) func(*ClusterStateRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (ClusterState) WithPretty ¶
func (f ClusterState) WithPretty() func(*ClusterStateRequest)
WithPretty makes the response body pretty-printed.
func (ClusterState) WithWaitForMetadataVersion ¶
func (f ClusterState) WithWaitForMetadataVersion(v int) func(*ClusterStateRequest)
WithWaitForMetadataVersion - wait for the metadata version to be equal or greater than the specified metadata version.
func (ClusterState) WithWaitForTimeout ¶
func (f ClusterState) WithWaitForTimeout(v time.Duration) func(*ClusterStateRequest)
WithWaitForTimeout - the maximum time to wait for wait_for_metadata_version before timing out.
type ClusterStateRequest ¶
type ClusterStateRequest struct {
Index []string
Metric []string
AllowNoIndices *bool
ExpandWildcards string
FlatSettings *bool
Local *bool
MasterTimeout time.Duration
WaitForMetadataVersion *int
WaitForTimeout time.Duration
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
ClusterStateRequest configures the Cluster State API request.
type ClusterStats ¶
type ClusterStats func(o ...func(*ClusterStatsRequest)) (*Response, error)
ClusterStats returns high-level overview of cluster statistics.
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/master/cluster-stats.html.
func (ClusterStats) WithContext ¶
func (f ClusterStats) WithContext(v context.Context) func(*ClusterStatsRequest)
WithContext sets the request context.
func (ClusterStats) WithErrorTrace ¶
func (f ClusterStats) WithErrorTrace() func(*ClusterStatsRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (ClusterStats) WithFilterPath ¶
func (f ClusterStats) WithFilterPath(v ...string) func(*ClusterStatsRequest)
WithFilterPath filters the properties of the response body.
func (ClusterStats) WithFlatSettings ¶
func (f ClusterStats) WithFlatSettings(v bool) func(*ClusterStatsRequest)
WithFlatSettings - return settings in flat format (default: false).
func (ClusterStats) WithHeader ¶ added in v7.2.0
func (f ClusterStats) WithHeader(h map[string]string) func(*ClusterStatsRequest)
WithHeader adds the headers to the HTTP request.
func (ClusterStats) WithHuman ¶
func (f ClusterStats) WithHuman() func(*ClusterStatsRequest)
WithHuman makes statistical values human-readable.
func (ClusterStats) WithNodeID ¶
func (f ClusterStats) WithNodeID(v ...string) func(*ClusterStatsRequest)
WithNodeID - a list of node ids or names to limit the returned information; use `_local` to return information from the node you're connecting to, leave empty to get information from all nodes.
func (ClusterStats) WithOpaqueID ¶ added in v7.5.0
func (f ClusterStats) WithOpaqueID(s string) func(*ClusterStatsRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (ClusterStats) WithPretty ¶
func (f ClusterStats) WithPretty() func(*ClusterStatsRequest)
WithPretty makes the response body pretty-printed.
func (ClusterStats) WithTimeout ¶
func (f ClusterStats) WithTimeout(v time.Duration) func(*ClusterStatsRequest)
WithTimeout - explicit operation timeout.
type ClusterStatsRequest ¶
type ClusterStatsRequest struct {
NodeID []string
FlatSettings *bool
Timeout time.Duration
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
ClusterStatsRequest configures the Cluster Stats API request.
type Count ¶
type Count func(o ...func(*CountRequest)) (*Response, error)
Count returns number of documents matching a query.
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/master/search-count.html.
func (Count) WithAllowNoIndices ¶
func (f Count) WithAllowNoIndices(v bool) func(*CountRequest)
WithAllowNoIndices - whether to ignore if a wildcard indices expression resolves into no concrete indices. (this includes `_all` string or when no indices have been specified).
func (Count) WithAnalyzeWildcard ¶
func (f Count) WithAnalyzeWildcard(v bool) func(*CountRequest)
WithAnalyzeWildcard - specify whether wildcard and prefix queries should be analyzed (default: false).
func (Count) WithAnalyzer ¶
func (f Count) WithAnalyzer(v string) func(*CountRequest)
WithAnalyzer - the analyzer to use for the query string.
func (Count) WithBody ¶
func (f Count) WithBody(v io.Reader) func(*CountRequest)
WithBody - A query to restrict the results specified with the Query DSL (optional).
func (Count) WithContext ¶
func (f Count) WithContext(v context.Context) func(*CountRequest)
WithContext sets the request context.
func (Count) WithDefaultOperator ¶
func (f Count) WithDefaultOperator(v string) func(*CountRequest)
WithDefaultOperator - the default operator for query string query (and or or).
func (Count) WithDf ¶
func (f Count) WithDf(v string) func(*CountRequest)
WithDf - the field to use as default where no field prefix is given in the query string.
func (Count) WithDocumentType ¶
func (f Count) WithDocumentType(v ...string) func(*CountRequest)
WithDocumentType - a list of types to restrict the results.
func (Count) WithErrorTrace ¶
func (f Count) WithErrorTrace() func(*CountRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (Count) WithExpandWildcards ¶
func (f Count) WithExpandWildcards(v string) func(*CountRequest)
WithExpandWildcards - whether to expand wildcard expression to concrete indices that are open, closed or both..
func (Count) WithFilterPath ¶
func (f Count) WithFilterPath(v ...string) func(*CountRequest)
WithFilterPath filters the properties of the response body.
func (Count) WithHeader ¶ added in v7.2.0
func (f Count) WithHeader(h map[string]string) func(*CountRequest)
WithHeader adds the headers to the HTTP request.
func (Count) WithHuman ¶
func (f Count) WithHuman() func(*CountRequest)
WithHuman makes statistical values human-readable.
func (Count) WithIgnoreThrottled ¶
func (f Count) WithIgnoreThrottled(v bool) func(*CountRequest)
WithIgnoreThrottled - whether specified concrete, expanded or aliased indices should be ignored when throttled.
func (Count) WithIgnoreUnavailable ¶
func (f Count) WithIgnoreUnavailable(v bool) func(*CountRequest)
WithIgnoreUnavailable - whether specified concrete indices should be ignored when unavailable (missing or closed).
func (Count) WithIndex ¶
func (f Count) WithIndex(v ...string) func(*CountRequest)
WithIndex - a list of indices to restrict the results.
func (Count) WithLenient ¶
func (f Count) WithLenient(v bool) func(*CountRequest)
WithLenient - specify whether format-based query failures (such as providing text to a numeric field) should be ignored.
func (Count) WithMinScore ¶
func (f Count) WithMinScore(v int) func(*CountRequest)
WithMinScore - include only documents with a specific `_score` value in the result.
func (Count) WithOpaqueID ¶ added in v7.5.0
func (f Count) WithOpaqueID(s string) func(*CountRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (Count) WithPreference ¶
func (f Count) WithPreference(v string) func(*CountRequest)
WithPreference - specify the node or shard the operation should be performed on (default: random).
func (Count) WithPretty ¶
func (f Count) WithPretty() func(*CountRequest)
WithPretty makes the response body pretty-printed.
func (Count) WithQuery ¶
func (f Count) WithQuery(v string) func(*CountRequest)
WithQuery - query in the lucene query string syntax.
func (Count) WithRouting ¶
func (f Count) WithRouting(v ...string) func(*CountRequest)
WithRouting - a list of specific routing values.
func (Count) WithTerminateAfter ¶
func (f Count) WithTerminateAfter(v int) func(*CountRequest)
WithTerminateAfter - the maximum count for each shard, upon reaching which the query execution will terminate early.
type CountRequest ¶
type CountRequest struct {
Index []string
DocumentType []string
Body io.Reader
AllowNoIndices *bool
Analyzer string
AnalyzeWildcard *bool
DefaultOperator string
Df string
ExpandWildcards string
IgnoreThrottled *bool
Lenient *bool
MinScore *int
Preference string
Query string
Routing []string
TerminateAfter *int
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
CountRequest configures the Count API request.
type Create ¶
type Create func(index string, id string, body io.Reader, o ...func(*CreateRequest)) (*Response, error)
Create creates a new document in the index.
Returns a 409 response when a document with a same ID already exists in the index.
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-index_.html.
func (Create) WithContext ¶
func (f Create) WithContext(v context.Context) func(*CreateRequest)
WithContext sets the request context.
func (Create) WithDocumentType ¶
func (f Create) WithDocumentType(v string) func(*CreateRequest)
WithDocumentType - the type of the document.
func (Create) WithErrorTrace ¶
func (f Create) WithErrorTrace() func(*CreateRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (Create) WithFilterPath ¶
func (f Create) WithFilterPath(v ...string) func(*CreateRequest)
WithFilterPath filters the properties of the response body.
func (Create) WithHeader ¶ added in v7.2.0
func (f Create) WithHeader(h map[string]string) func(*CreateRequest)
WithHeader adds the headers to the HTTP request.
func (Create) WithHuman ¶
func (f Create) WithHuman() func(*CreateRequest)
WithHuman makes statistical values human-readable.
func (Create) WithOpaqueID ¶ added in v7.5.0
func (f Create) WithOpaqueID(s string) func(*CreateRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (Create) WithPipeline ¶
func (f Create) WithPipeline(v string) func(*CreateRequest)
WithPipeline - the pipeline ID to preprocess incoming documents with.
func (Create) WithPretty ¶
func (f Create) WithPretty() func(*CreateRequest)
WithPretty makes the response body pretty-printed.
func (Create) WithRefresh ¶
func (f Create) WithRefresh(v string) func(*CreateRequest)
WithRefresh - if `true` then refresh the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` (the default) then do nothing with refreshes..
func (Create) WithRouting ¶
func (f Create) WithRouting(v string) func(*CreateRequest)
WithRouting - specific routing value.
func (Create) WithTimeout ¶
func (f Create) WithTimeout(v time.Duration) func(*CreateRequest)
WithTimeout - explicit operation timeout.
func (Create) WithVersion ¶
func (f Create) WithVersion(v int) func(*CreateRequest)
WithVersion - explicit version number for concurrency control.
func (Create) WithVersionType ¶
func (f Create) WithVersionType(v string) func(*CreateRequest)
WithVersionType - specific version type.
func (Create) WithWaitForActiveShards ¶
func (f Create) WithWaitForActiveShards(v string) func(*CreateRequest)
WithWaitForActiveShards - sets the number of shard copies that must be active before proceeding with the index operation. defaults to 1, meaning the primary shard only. set to `all` for all shard copies, otherwise set to any non-negative value less than or equal to the total number of copies for the shard (number of replicas + 1).
type CreateRequest ¶
type CreateRequest struct {
Index string
DocumentType string
DocumentID string
Body io.Reader
Pipeline string
Refresh string
Routing string
Timeout time.Duration
Version *int
VersionType string
WaitForActiveShards string
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
CreateRequest configures the Create API request.
type DanglingIndicesDeleteDanglingIndex ¶ added in v7.9.0
type DanglingIndicesDeleteDanglingIndex func(index_uuid string, o ...func(*DanglingIndicesDeleteDanglingIndexRequest)) (*Response, error)
DanglingIndicesDeleteDanglingIndex deletes the specified dangling index
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-gateway-dangling-indices.html.
func (DanglingIndicesDeleteDanglingIndex) WithAcceptDataLoss ¶ added in v7.9.0
func (f DanglingIndicesDeleteDanglingIndex) WithAcceptDataLoss(v bool) func(*DanglingIndicesDeleteDanglingIndexRequest)
WithAcceptDataLoss - must be set to true in order to delete the dangling index.
func (DanglingIndicesDeleteDanglingIndex) WithContext ¶ added in v7.9.0
func (f DanglingIndicesDeleteDanglingIndex) WithContext(v context.Context) func(*DanglingIndicesDeleteDanglingIndexRequest)
WithContext sets the request context.
func (DanglingIndicesDeleteDanglingIndex) WithErrorTrace ¶ added in v7.9.0
func (f DanglingIndicesDeleteDanglingIndex) WithErrorTrace() func(*DanglingIndicesDeleteDanglingIndexRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (DanglingIndicesDeleteDanglingIndex) WithFilterPath ¶ added in v7.9.0
func (f DanglingIndicesDeleteDanglingIndex) WithFilterPath(v ...string) func(*DanglingIndicesDeleteDanglingIndexRequest)
WithFilterPath filters the properties of the response body.
func (DanglingIndicesDeleteDanglingIndex) WithHeader ¶ added in v7.9.0
func (f DanglingIndicesDeleteDanglingIndex) WithHeader(h map[string]string) func(*DanglingIndicesDeleteDanglingIndexRequest)
WithHeader adds the headers to the HTTP request.
func (DanglingIndicesDeleteDanglingIndex) WithHuman ¶ added in v7.9.0
func (f DanglingIndicesDeleteDanglingIndex) WithHuman() func(*DanglingIndicesDeleteDanglingIndexRequest)
WithHuman makes statistical values human-readable.
func (DanglingIndicesDeleteDanglingIndex) WithMasterTimeout ¶ added in v7.9.0
func (f DanglingIndicesDeleteDanglingIndex) WithMasterTimeout(v time.Duration) func(*DanglingIndicesDeleteDanglingIndexRequest)
WithMasterTimeout - specify timeout for connection to master.
func (DanglingIndicesDeleteDanglingIndex) WithOpaqueID ¶ added in v7.9.0
func (f DanglingIndicesDeleteDanglingIndex) WithOpaqueID(s string) func(*DanglingIndicesDeleteDanglingIndexRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (DanglingIndicesDeleteDanglingIndex) WithPretty ¶ added in v7.9.0
func (f DanglingIndicesDeleteDanglingIndex) WithPretty() func(*DanglingIndicesDeleteDanglingIndexRequest)
WithPretty makes the response body pretty-printed.
func (DanglingIndicesDeleteDanglingIndex) WithTimeout ¶ added in v7.9.0
func (f DanglingIndicesDeleteDanglingIndex) WithTimeout(v time.Duration) func(*DanglingIndicesDeleteDanglingIndexRequest)
WithTimeout - explicit operation timeout.
type DanglingIndicesDeleteDanglingIndexRequest ¶ added in v7.9.0
type DanglingIndicesDeleteDanglingIndexRequest struct {
IndexUUID string
AcceptDataLoss *bool
MasterTimeout time.Duration
Timeout time.Duration
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
DanglingIndicesDeleteDanglingIndexRequest configures the Dangling Indices Delete Dangling Index API request.
type DanglingIndicesImportDanglingIndex ¶ added in v7.9.0
type DanglingIndicesImportDanglingIndex func(index_uuid string, o ...func(*DanglingIndicesImportDanglingIndexRequest)) (*Response, error)
DanglingIndicesImportDanglingIndex imports the specified dangling index
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-gateway-dangling-indices.html.
func (DanglingIndicesImportDanglingIndex) WithAcceptDataLoss ¶ added in v7.9.0
func (f DanglingIndicesImportDanglingIndex) WithAcceptDataLoss(v bool) func(*DanglingIndicesImportDanglingIndexRequest)
WithAcceptDataLoss - must be set to true in order to import the dangling index.
func (DanglingIndicesImportDanglingIndex) WithContext ¶ added in v7.9.0
func (f DanglingIndicesImportDanglingIndex) WithContext(v context.Context) func(*DanglingIndicesImportDanglingIndexRequest)
WithContext sets the request context.
func (DanglingIndicesImportDanglingIndex) WithErrorTrace ¶ added in v7.9.0
func (f DanglingIndicesImportDanglingIndex) WithErrorTrace() func(*DanglingIndicesImportDanglingIndexRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (DanglingIndicesImportDanglingIndex) WithFilterPath ¶ added in v7.9.0
func (f DanglingIndicesImportDanglingIndex) WithFilterPath(v ...string) func(*DanglingIndicesImportDanglingIndexRequest)
WithFilterPath filters the properties of the response body.
func (DanglingIndicesImportDanglingIndex) WithHeader ¶ added in v7.9.0
func (f DanglingIndicesImportDanglingIndex) WithHeader(h map[string]string) func(*DanglingIndicesImportDanglingIndexRequest)
WithHeader adds the headers to the HTTP request.
func (DanglingIndicesImportDanglingIndex) WithHuman ¶ added in v7.9.0
func (f DanglingIndicesImportDanglingIndex) WithHuman() func(*DanglingIndicesImportDanglingIndexRequest)
WithHuman makes statistical values human-readable.
func (DanglingIndicesImportDanglingIndex) WithMasterTimeout ¶ added in v7.9.0
func (f DanglingIndicesImportDanglingIndex) WithMasterTimeout(v time.Duration) func(*DanglingIndicesImportDanglingIndexRequest)
WithMasterTimeout - specify timeout for connection to master.
func (DanglingIndicesImportDanglingIndex) WithOpaqueID ¶ added in v7.9.0
func (f DanglingIndicesImportDanglingIndex) WithOpaqueID(s string) func(*DanglingIndicesImportDanglingIndexRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (DanglingIndicesImportDanglingIndex) WithPretty ¶ added in v7.9.0
func (f DanglingIndicesImportDanglingIndex) WithPretty() func(*DanglingIndicesImportDanglingIndexRequest)
WithPretty makes the response body pretty-printed.
func (DanglingIndicesImportDanglingIndex) WithTimeout ¶ added in v7.9.0
func (f DanglingIndicesImportDanglingIndex) WithTimeout(v time.Duration) func(*DanglingIndicesImportDanglingIndexRequest)
WithTimeout - explicit operation timeout.
type DanglingIndicesImportDanglingIndexRequest ¶ added in v7.9.0
type DanglingIndicesImportDanglingIndexRequest struct {
IndexUUID string
AcceptDataLoss *bool
MasterTimeout time.Duration
Timeout time.Duration
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
DanglingIndicesImportDanglingIndexRequest configures the Dangling Indices Import Dangling Index API request.
type DanglingIndicesListDanglingIndices ¶ added in v7.9.0
type DanglingIndicesListDanglingIndices func(o ...func(*DanglingIndicesListDanglingIndicesRequest)) (*Response, error)
DanglingIndicesListDanglingIndices returns all dangling indices.
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-gateway-dangling-indices.html.
func (DanglingIndicesListDanglingIndices) WithContext ¶ added in v7.9.0
func (f DanglingIndicesListDanglingIndices) WithContext(v context.Context) func(*DanglingIndicesListDanglingIndicesRequest)
WithContext sets the request context.
func (DanglingIndicesListDanglingIndices) WithErrorTrace ¶ added in v7.9.0
func (f DanglingIndicesListDanglingIndices) WithErrorTrace() func(*DanglingIndicesListDanglingIndicesRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (DanglingIndicesListDanglingIndices) WithFilterPath ¶ added in v7.9.0
func (f DanglingIndicesListDanglingIndices) WithFilterPath(v ...string) func(*DanglingIndicesListDanglingIndicesRequest)
WithFilterPath filters the properties of the response body.
func (DanglingIndicesListDanglingIndices) WithHeader ¶ added in v7.9.0
func (f DanglingIndicesListDanglingIndices) WithHeader(h map[string]string) func(*DanglingIndicesListDanglingIndicesRequest)
WithHeader adds the headers to the HTTP request.
func (DanglingIndicesListDanglingIndices) WithHuman ¶ added in v7.9.0
func (f DanglingIndicesListDanglingIndices) WithHuman() func(*DanglingIndicesListDanglingIndicesRequest)
WithHuman makes statistical values human-readable.
func (DanglingIndicesListDanglingIndices) WithOpaqueID ¶ added in v7.9.0
func (f DanglingIndicesListDanglingIndices) WithOpaqueID(s string) func(*DanglingIndicesListDanglingIndicesRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (DanglingIndicesListDanglingIndices) WithPretty ¶ added in v7.9.0
func (f DanglingIndicesListDanglingIndices) WithPretty() func(*DanglingIndicesListDanglingIndicesRequest)
WithPretty makes the response body pretty-printed.
type DanglingIndicesListDanglingIndicesRequest ¶ added in v7.9.0
type DanglingIndicesListDanglingIndicesRequest struct {
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
DanglingIndicesListDanglingIndicesRequest configures the Dangling Indices List Dangling Indices API request.
type DataFrameTransformDeprecatedDeleteTransform ¶ added in v7.5.0
type DataFrameTransformDeprecatedDeleteTransform func(transform_id string, o ...func(*DataFrameTransformDeprecatedDeleteTransformRequest)) (*Response, error)
DataFrameTransformDeprecatedDeleteTransform - Deletes an existing transform.
This API is beta.
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/current/delete-transform.html.
func (DataFrameTransformDeprecatedDeleteTransform) WithContext ¶ added in v7.5.0
func (f DataFrameTransformDeprecatedDeleteTransform) WithContext(v context.Context) func(*DataFrameTransformDeprecatedDeleteTransformRequest)
WithContext sets the request context.
func (DataFrameTransformDeprecatedDeleteTransform) WithErrorTrace ¶ added in v7.5.0
func (f DataFrameTransformDeprecatedDeleteTransform) WithErrorTrace() func(*DataFrameTransformDeprecatedDeleteTransformRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (DataFrameTransformDeprecatedDeleteTransform) WithFilterPath ¶ added in v7.5.0
func (f DataFrameTransformDeprecatedDeleteTransform) WithFilterPath(v ...string) func(*DataFrameTransformDeprecatedDeleteTransformRequest)
WithFilterPath filters the properties of the response body.
func (DataFrameTransformDeprecatedDeleteTransform) WithForce ¶ added in v7.5.0
func (f DataFrameTransformDeprecatedDeleteTransform) WithForce(v bool) func(*DataFrameTransformDeprecatedDeleteTransformRequest)
WithForce - when `true`, the transform is deleted regardless of its current state. the default value is `false`, meaning that the transform must be `stopped` before it can be deleted..
func (DataFrameTransformDeprecatedDeleteTransform) WithHeader ¶ added in v7.5.0
func (f DataFrameTransformDeprecatedDeleteTransform) WithHeader(h map[string]string) func(*DataFrameTransformDeprecatedDeleteTransformRequest)
WithHeader adds the headers to the HTTP request.
func (DataFrameTransformDeprecatedDeleteTransform) WithHuman ¶ added in v7.5.0
func (f DataFrameTransformDeprecatedDeleteTransform) WithHuman() func(*DataFrameTransformDeprecatedDeleteTransformRequest)
WithHuman makes statistical values human-readable.
func (DataFrameTransformDeprecatedDeleteTransform) WithOpaqueID ¶ added in v7.5.0
func (f DataFrameTransformDeprecatedDeleteTransform) WithOpaqueID(s string) func(*DataFrameTransformDeprecatedDeleteTransformRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (DataFrameTransformDeprecatedDeleteTransform) WithPretty ¶ added in v7.5.0
func (f DataFrameTransformDeprecatedDeleteTransform) WithPretty() func(*DataFrameTransformDeprecatedDeleteTransformRequest)
WithPretty makes the response body pretty-printed.
type DataFrameTransformDeprecatedDeleteTransformRequest ¶ added in v7.5.0
type DataFrameTransformDeprecatedDeleteTransformRequest struct {
TransformID string
Force *bool
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
DataFrameTransformDeprecatedDeleteTransformRequest configures the Data Frame Transform Deprecated Delete Transform API request.
type DataFrameTransformDeprecatedGetTransform ¶ added in v7.5.0
type DataFrameTransformDeprecatedGetTransform func(o ...func(*DataFrameTransformDeprecatedGetTransformRequest)) (*Response, error)
DataFrameTransformDeprecatedGetTransform - Retrieves configuration information for transforms.
This API is beta.
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/current/get-transform.html.
func (DataFrameTransformDeprecatedGetTransform) WithAllowNoMatch ¶ added in v7.5.0
func (f DataFrameTransformDeprecatedGetTransform) WithAllowNoMatch(v bool) func(*DataFrameTransformDeprecatedGetTransformRequest)
WithAllowNoMatch - whether to ignore if a wildcard expression matches no transforms. (this includes `_all` string or when no transforms have been specified).
func (DataFrameTransformDeprecatedGetTransform) WithContext ¶ added in v7.5.0
func (f DataFrameTransformDeprecatedGetTransform) WithContext(v context.Context) func(*DataFrameTransformDeprecatedGetTransformRequest)
WithContext sets the request context.
func (DataFrameTransformDeprecatedGetTransform) WithErrorTrace ¶ added in v7.5.0
func (f DataFrameTransformDeprecatedGetTransform) WithErrorTrace() func(*DataFrameTransformDeprecatedGetTransformRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (DataFrameTransformDeprecatedGetTransform) WithExcludeGenerated ¶ added in v7.11.0
func (f DataFrameTransformDeprecatedGetTransform) WithExcludeGenerated(v bool) func(*DataFrameTransformDeprecatedGetTransformRequest)
WithExcludeGenerated - omits generated fields. allows transform configurations to be easily copied between clusters and within the same cluster.
func (DataFrameTransformDeprecatedGetTransform) WithFilterPath ¶ added in v7.5.0
func (f DataFrameTransformDeprecatedGetTransform) WithFilterPath(v ...string) func(*DataFrameTransformDeprecatedGetTransformRequest)
WithFilterPath filters the properties of the response body.
func (DataFrameTransformDeprecatedGetTransform) WithFrom ¶ added in v7.5.0
func (f DataFrameTransformDeprecatedGetTransform) WithFrom(v int) func(*DataFrameTransformDeprecatedGetTransformRequest)
WithFrom - skips a number of transform configs, defaults to 0.
func (DataFrameTransformDeprecatedGetTransform) WithHeader ¶ added in v7.5.0
func (f DataFrameTransformDeprecatedGetTransform) WithHeader(h map[string]string) func(*DataFrameTransformDeprecatedGetTransformRequest)
WithHeader adds the headers to the HTTP request.
func (DataFrameTransformDeprecatedGetTransform) WithHuman ¶ added in v7.5.0
func (f DataFrameTransformDeprecatedGetTransform) WithHuman() func(*DataFrameTransformDeprecatedGetTransformRequest)
WithHuman makes statistical values human-readable.
func (DataFrameTransformDeprecatedGetTransform) WithOpaqueID ¶ added in v7.5.0
func (f DataFrameTransformDeprecatedGetTransform) WithOpaqueID(s string) func(*DataFrameTransformDeprecatedGetTransformRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (DataFrameTransformDeprecatedGetTransform) WithPretty ¶ added in v7.5.0
func (f DataFrameTransformDeprecatedGetTransform) WithPretty() func(*DataFrameTransformDeprecatedGetTransformRequest)
WithPretty makes the response body pretty-printed.
func (DataFrameTransformDeprecatedGetTransform) WithSize ¶ added in v7.5.0
func (f DataFrameTransformDeprecatedGetTransform) WithSize(v int) func(*DataFrameTransformDeprecatedGetTransformRequest)
WithSize - specifies a max number of transforms to get, defaults to 100.
func (DataFrameTransformDeprecatedGetTransform) WithTransformID ¶ added in v7.5.0
func (f DataFrameTransformDeprecatedGetTransform) WithTransformID(v string) func(*DataFrameTransformDeprecatedGetTransformRequest)
WithTransformID - the ID or comma delimited list of ID expressions of the transforms to get, '_all' or '*' implies get all transforms.
type DataFrameTransformDeprecatedGetTransformRequest ¶ added in v7.5.0
type DataFrameTransformDeprecatedGetTransformRequest struct {
TransformID string
AllowNoMatch *bool
ExcludeGenerated *bool
From *int
Size *int
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
DataFrameTransformDeprecatedGetTransformRequest configures the Data Frame Transform Deprecated Get Transform API request.
type DataFrameTransformDeprecatedGetTransformStats ¶ added in v7.5.0
type DataFrameTransformDeprecatedGetTransformStats func(transform_id string, o ...func(*DataFrameTransformDeprecatedGetTransformStatsRequest)) (*Response, error)
DataFrameTransformDeprecatedGetTransformStats - Retrieves usage information for transforms.
This API is beta.
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/current/get-transform-stats.html.
func (DataFrameTransformDeprecatedGetTransformStats) WithAllowNoMatch ¶ added in v7.5.0
func (f DataFrameTransformDeprecatedGetTransformStats) WithAllowNoMatch(v bool) func(*DataFrameTransformDeprecatedGetTransformStatsRequest)
WithAllowNoMatch - whether to ignore if a wildcard expression matches no transforms. (this includes `_all` string or when no transforms have been specified).
func (DataFrameTransformDeprecatedGetTransformStats) WithContext ¶ added in v7.5.0
func (f DataFrameTransformDeprecatedGetTransformStats) WithContext(v context.Context) func(*DataFrameTransformDeprecatedGetTransformStatsRequest)
WithContext sets the request context.
func (DataFrameTransformDeprecatedGetTransformStats) WithErrorTrace ¶ added in v7.5.0
func (f DataFrameTransformDeprecatedGetTransformStats) WithErrorTrace() func(*DataFrameTransformDeprecatedGetTransformStatsRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (DataFrameTransformDeprecatedGetTransformStats) WithFilterPath ¶ added in v7.5.0
func (f DataFrameTransformDeprecatedGetTransformStats) WithFilterPath(v ...string) func(*DataFrameTransformDeprecatedGetTransformStatsRequest)
WithFilterPath filters the properties of the response body.
func (DataFrameTransformDeprecatedGetTransformStats) WithFrom ¶ added in v7.5.0
func (f DataFrameTransformDeprecatedGetTransformStats) WithFrom(v int) func(*DataFrameTransformDeprecatedGetTransformStatsRequest)
WithFrom - skips a number of transform stats, defaults to 0.
func (DataFrameTransformDeprecatedGetTransformStats) WithHeader ¶ added in v7.5.0
func (f DataFrameTransformDeprecatedGetTransformStats) WithHeader(h map[string]string) func(*DataFrameTransformDeprecatedGetTransformStatsRequest)
WithHeader adds the headers to the HTTP request.
func (DataFrameTransformDeprecatedGetTransformStats) WithHuman ¶ added in v7.5.0
func (f DataFrameTransformDeprecatedGetTransformStats) WithHuman() func(*DataFrameTransformDeprecatedGetTransformStatsRequest)
WithHuman makes statistical values human-readable.
func (DataFrameTransformDeprecatedGetTransformStats) WithOpaqueID ¶ added in v7.5.0
func (f DataFrameTransformDeprecatedGetTransformStats) WithOpaqueID(s string) func(*DataFrameTransformDeprecatedGetTransformStatsRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (DataFrameTransformDeprecatedGetTransformStats) WithPretty ¶ added in v7.5.0
func (f DataFrameTransformDeprecatedGetTransformStats) WithPretty() func(*DataFrameTransformDeprecatedGetTransformStatsRequest)
WithPretty makes the response body pretty-printed.
func (DataFrameTransformDeprecatedGetTransformStats) WithSize ¶ added in v7.5.0
func (f DataFrameTransformDeprecatedGetTransformStats) WithSize(v int) func(*DataFrameTransformDeprecatedGetTransformStatsRequest)
WithSize - specifies a max number of transform stats to get, defaults to 100.
type DataFrameTransformDeprecatedGetTransformStatsRequest ¶ added in v7.5.0
type DataFrameTransformDeprecatedGetTransformStatsRequest struct {
TransformID string
AllowNoMatch *bool
From *int
Size *int
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
DataFrameTransformDeprecatedGetTransformStatsRequest configures the Data Frame Transform Deprecated Get Transform Stats API request.
type DataFrameTransformDeprecatedPreviewTransform ¶ added in v7.5.0
type DataFrameTransformDeprecatedPreviewTransform func(body io.Reader, o ...func(*DataFrameTransformDeprecatedPreviewTransformRequest)) (*Response, error)
DataFrameTransformDeprecatedPreviewTransform - Previews a transform.
This API is beta.
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/current/preview-transform.html.
func (DataFrameTransformDeprecatedPreviewTransform) WithContext ¶ added in v7.5.0
func (f DataFrameTransformDeprecatedPreviewTransform) WithContext(v context.Context) func(*DataFrameTransformDeprecatedPreviewTransformRequest)
WithContext sets the request context.
func (DataFrameTransformDeprecatedPreviewTransform) WithErrorTrace ¶ added in v7.5.0
func (f DataFrameTransformDeprecatedPreviewTransform) WithErrorTrace() func(*DataFrameTransformDeprecatedPreviewTransformRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (DataFrameTransformDeprecatedPreviewTransform) WithFilterPath ¶ added in v7.5.0
func (f DataFrameTransformDeprecatedPreviewTransform) WithFilterPath(v ...string) func(*DataFrameTransformDeprecatedPreviewTransformRequest)
WithFilterPath filters the properties of the response body.
func (DataFrameTransformDeprecatedPreviewTransform) WithHeader ¶ added in v7.5.0
func (f DataFrameTransformDeprecatedPreviewTransform) WithHeader(h map[string]string) func(*DataFrameTransformDeprecatedPreviewTransformRequest)
WithHeader adds the headers to the HTTP request.
func (DataFrameTransformDeprecatedPreviewTransform) WithHuman ¶ added in v7.5.0
func (f DataFrameTransformDeprecatedPreviewTransform) WithHuman() func(*DataFrameTransformDeprecatedPreviewTransformRequest)
WithHuman makes statistical values human-readable.
func (DataFrameTransformDeprecatedPreviewTransform) WithOpaqueID ¶ added in v7.5.0
func (f DataFrameTransformDeprecatedPreviewTransform) WithOpaqueID(s string) func(*DataFrameTransformDeprecatedPreviewTransformRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (DataFrameTransformDeprecatedPreviewTransform) WithPretty ¶ added in v7.5.0
func (f DataFrameTransformDeprecatedPreviewTransform) WithPretty() func(*DataFrameTransformDeprecatedPreviewTransformRequest)
WithPretty makes the response body pretty-printed.
type DataFrameTransformDeprecatedPreviewTransformRequest ¶ added in v7.5.0
type DataFrameTransformDeprecatedPreviewTransformRequest struct {
Body io.Reader
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
DataFrameTransformDeprecatedPreviewTransformRequest configures the Data Frame Transform Deprecated Preview Transform API request.
type DataFrameTransformDeprecatedPutTransform ¶ added in v7.5.0
type DataFrameTransformDeprecatedPutTransform func(body io.Reader, transform_id string, o ...func(*DataFrameTransformDeprecatedPutTransformRequest)) (*Response, error)
DataFrameTransformDeprecatedPutTransform - Instantiates a transform.
This API is beta.
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/current/put-transform.html.
func (DataFrameTransformDeprecatedPutTransform) WithContext ¶ added in v7.5.0
func (f DataFrameTransformDeprecatedPutTransform) WithContext(v context.Context) func(*DataFrameTransformDeprecatedPutTransformRequest)
WithContext sets the request context.
func (DataFrameTransformDeprecatedPutTransform) WithDeferValidation ¶ added in v7.5.0
func (f DataFrameTransformDeprecatedPutTransform) WithDeferValidation(v bool) func(*DataFrameTransformDeprecatedPutTransformRequest)
WithDeferValidation - if validations should be deferred until transform starts, defaults to false..
func (DataFrameTransformDeprecatedPutTransform) WithErrorTrace ¶ added in v7.5.0
func (f DataFrameTransformDeprecatedPutTransform) WithErrorTrace() func(*DataFrameTransformDeprecatedPutTransformRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (DataFrameTransformDeprecatedPutTransform) WithFilterPath ¶ added in v7.5.0
func (f DataFrameTransformDeprecatedPutTransform) WithFilterPath(v ...string) func(*DataFrameTransformDeprecatedPutTransformRequest)
WithFilterPath filters the properties of the response body.
func (DataFrameTransformDeprecatedPutTransform) WithHeader ¶ added in v7.5.0
func (f DataFrameTransformDeprecatedPutTransform) WithHeader(h map[string]string) func(*DataFrameTransformDeprecatedPutTransformRequest)
WithHeader adds the headers to the HTTP request.
func (DataFrameTransformDeprecatedPutTransform) WithHuman ¶ added in v7.5.0
func (f DataFrameTransformDeprecatedPutTransform) WithHuman() func(*DataFrameTransformDeprecatedPutTransformRequest)
WithHuman makes statistical values human-readable.
func (DataFrameTransformDeprecatedPutTransform) WithOpaqueID ¶ added in v7.5.0
func (f DataFrameTransformDeprecatedPutTransform) WithOpaqueID(s string) func(*DataFrameTransformDeprecatedPutTransformRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (DataFrameTransformDeprecatedPutTransform) WithPretty ¶ added in v7.5.0
func (f DataFrameTransformDeprecatedPutTransform) WithPretty() func(*DataFrameTransformDeprecatedPutTransformRequest)
WithPretty makes the response body pretty-printed.
type DataFrameTransformDeprecatedPutTransformRequest ¶ added in v7.5.0
type DataFrameTransformDeprecatedPutTransformRequest struct {
Body io.Reader
TransformID string
DeferValidation *bool
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
DataFrameTransformDeprecatedPutTransformRequest configures the Data Frame Transform Deprecated Put Transform API request.
type DataFrameTransformDeprecatedStartTransform ¶ added in v7.5.0
type DataFrameTransformDeprecatedStartTransform func(transform_id string, o ...func(*DataFrameTransformDeprecatedStartTransformRequest)) (*Response, error)
DataFrameTransformDeprecatedStartTransform - Starts one or more transforms.
This API is beta.
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/current/start-transform.html.
func (DataFrameTransformDeprecatedStartTransform) WithContext ¶ added in v7.5.0
func (f DataFrameTransformDeprecatedStartTransform) WithContext(v context.Context) func(*DataFrameTransformDeprecatedStartTransformRequest)
WithContext sets the request context.
func (DataFrameTransformDeprecatedStartTransform) WithErrorTrace ¶ added in v7.5.0
func (f DataFrameTransformDeprecatedStartTransform) WithErrorTrace() func(*DataFrameTransformDeprecatedStartTransformRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (DataFrameTransformDeprecatedStartTransform) WithFilterPath ¶ added in v7.5.0
func (f DataFrameTransformDeprecatedStartTransform) WithFilterPath(v ...string) func(*DataFrameTransformDeprecatedStartTransformRequest)
WithFilterPath filters the properties of the response body.
func (DataFrameTransformDeprecatedStartTransform) WithHeader ¶ added in v7.5.0
func (f DataFrameTransformDeprecatedStartTransform) WithHeader(h map[string]string) func(*DataFrameTransformDeprecatedStartTransformRequest)
WithHeader adds the headers to the HTTP request.
func (DataFrameTransformDeprecatedStartTransform) WithHuman ¶ added in v7.5.0
func (f DataFrameTransformDeprecatedStartTransform) WithHuman() func(*DataFrameTransformDeprecatedStartTransformRequest)
WithHuman makes statistical values human-readable.
func (DataFrameTransformDeprecatedStartTransform) WithOpaqueID ¶ added in v7.5.0
func (f DataFrameTransformDeprecatedStartTransform) WithOpaqueID(s string) func(*DataFrameTransformDeprecatedStartTransformRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (DataFrameTransformDeprecatedStartTransform) WithPretty ¶ added in v7.5.0
func (f DataFrameTransformDeprecatedStartTransform) WithPretty() func(*DataFrameTransformDeprecatedStartTransformRequest)
WithPretty makes the response body pretty-printed.
func (DataFrameTransformDeprecatedStartTransform) WithTimeout ¶ added in v7.5.0
func (f DataFrameTransformDeprecatedStartTransform) WithTimeout(v time.Duration) func(*DataFrameTransformDeprecatedStartTransformRequest)
WithTimeout - controls the time to wait for the transform to start.
type DataFrameTransformDeprecatedStartTransformRequest ¶ added in v7.5.0
type DataFrameTransformDeprecatedStartTransformRequest struct {
TransformID string
Timeout time.Duration
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
DataFrameTransformDeprecatedStartTransformRequest configures the Data Frame Transform Deprecated Start Transform API request.
type DataFrameTransformDeprecatedStopTransform ¶ added in v7.5.0
type DataFrameTransformDeprecatedStopTransform func(transform_id string, o ...func(*DataFrameTransformDeprecatedStopTransformRequest)) (*Response, error)
DataFrameTransformDeprecatedStopTransform - Stops one or more transforms.
This API is beta.
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/current/stop-transform.html.
func (DataFrameTransformDeprecatedStopTransform) WithAllowNoMatch ¶ added in v7.5.0
func (f DataFrameTransformDeprecatedStopTransform) WithAllowNoMatch(v bool) func(*DataFrameTransformDeprecatedStopTransformRequest)
WithAllowNoMatch - whether to ignore if a wildcard expression matches no transforms. (this includes `_all` string or when no transforms have been specified).
func (DataFrameTransformDeprecatedStopTransform) WithContext ¶ added in v7.5.0
func (f DataFrameTransformDeprecatedStopTransform) WithContext(v context.Context) func(*DataFrameTransformDeprecatedStopTransformRequest)
WithContext sets the request context.
func (DataFrameTransformDeprecatedStopTransform) WithErrorTrace ¶ added in v7.5.0
func (f DataFrameTransformDeprecatedStopTransform) WithErrorTrace() func(*DataFrameTransformDeprecatedStopTransformRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (DataFrameTransformDeprecatedStopTransform) WithFilterPath ¶ added in v7.5.0
func (f DataFrameTransformDeprecatedStopTransform) WithFilterPath(v ...string) func(*DataFrameTransformDeprecatedStopTransformRequest)
WithFilterPath filters the properties of the response body.
func (DataFrameTransformDeprecatedStopTransform) WithHeader ¶ added in v7.5.0
func (f DataFrameTransformDeprecatedStopTransform) WithHeader(h map[string]string) func(*DataFrameTransformDeprecatedStopTransformRequest)
WithHeader adds the headers to the HTTP request.
func (DataFrameTransformDeprecatedStopTransform) WithHuman ¶ added in v7.5.0
func (f DataFrameTransformDeprecatedStopTransform) WithHuman() func(*DataFrameTransformDeprecatedStopTransformRequest)
WithHuman makes statistical values human-readable.
func (DataFrameTransformDeprecatedStopTransform) WithOpaqueID ¶ added in v7.5.0
func (f DataFrameTransformDeprecatedStopTransform) WithOpaqueID(s string) func(*DataFrameTransformDeprecatedStopTransformRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (DataFrameTransformDeprecatedStopTransform) WithPretty ¶ added in v7.5.0
func (f DataFrameTransformDeprecatedStopTransform) WithPretty() func(*DataFrameTransformDeprecatedStopTransformRequest)
WithPretty makes the response body pretty-printed.
func (DataFrameTransformDeprecatedStopTransform) WithTimeout ¶ added in v7.5.0
func (f DataFrameTransformDeprecatedStopTransform) WithTimeout(v time.Duration) func(*DataFrameTransformDeprecatedStopTransformRequest)
WithTimeout - controls the time to wait until the transform has stopped. default to 30 seconds.
func (DataFrameTransformDeprecatedStopTransform) WithWaitForCompletion ¶ added in v7.5.0
func (f DataFrameTransformDeprecatedStopTransform) WithWaitForCompletion(v bool) func(*DataFrameTransformDeprecatedStopTransformRequest)
WithWaitForCompletion - whether to wait for the transform to fully stop before returning or not. default to false.
type DataFrameTransformDeprecatedStopTransformRequest ¶ added in v7.5.0
type DataFrameTransformDeprecatedStopTransformRequest struct {
TransformID string
AllowNoMatch *bool
Timeout time.Duration
WaitForCompletion *bool
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
DataFrameTransformDeprecatedStopTransformRequest configures the Data Frame Transform Deprecated Stop Transform API request.
type DataFrameTransformDeprecatedUpdateTransform ¶ added in v7.5.0
type DataFrameTransformDeprecatedUpdateTransform func(body io.Reader, transform_id string, o ...func(*DataFrameTransformDeprecatedUpdateTransformRequest)) (*Response, error)
DataFrameTransformDeprecatedUpdateTransform - Updates certain properties of a transform.
This API is beta.
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/current/update-transform.html.
func (DataFrameTransformDeprecatedUpdateTransform) WithContext ¶ added in v7.5.0
func (f DataFrameTransformDeprecatedUpdateTransform) WithContext(v context.Context) func(*DataFrameTransformDeprecatedUpdateTransformRequest)
WithContext sets the request context.
func (DataFrameTransformDeprecatedUpdateTransform) WithDeferValidation ¶ added in v7.5.0
func (f DataFrameTransformDeprecatedUpdateTransform) WithDeferValidation(v bool) func(*DataFrameTransformDeprecatedUpdateTransformRequest)
WithDeferValidation - if validations should be deferred until transform starts, defaults to false..
func (DataFrameTransformDeprecatedUpdateTransform) WithErrorTrace ¶ added in v7.5.0
func (f DataFrameTransformDeprecatedUpdateTransform) WithErrorTrace() func(*DataFrameTransformDeprecatedUpdateTransformRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (DataFrameTransformDeprecatedUpdateTransform) WithFilterPath ¶ added in v7.5.0
func (f DataFrameTransformDeprecatedUpdateTransform) WithFilterPath(v ...string) func(*DataFrameTransformDeprecatedUpdateTransformRequest)
WithFilterPath filters the properties of the response body.
func (DataFrameTransformDeprecatedUpdateTransform) WithHeader ¶ added in v7.5.0
func (f DataFrameTransformDeprecatedUpdateTransform) WithHeader(h map[string]string) func(*DataFrameTransformDeprecatedUpdateTransformRequest)
WithHeader adds the headers to the HTTP request.
func (DataFrameTransformDeprecatedUpdateTransform) WithHuman ¶ added in v7.5.0
func (f DataFrameTransformDeprecatedUpdateTransform) WithHuman() func(*DataFrameTransformDeprecatedUpdateTransformRequest)
WithHuman makes statistical values human-readable.
func (DataFrameTransformDeprecatedUpdateTransform) WithOpaqueID ¶ added in v7.5.0
func (f DataFrameTransformDeprecatedUpdateTransform) WithOpaqueID(s string) func(*DataFrameTransformDeprecatedUpdateTransformRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (DataFrameTransformDeprecatedUpdateTransform) WithPretty ¶ added in v7.5.0
func (f DataFrameTransformDeprecatedUpdateTransform) WithPretty() func(*DataFrameTransformDeprecatedUpdateTransformRequest)
WithPretty makes the response body pretty-printed.
type DataFrameTransformDeprecatedUpdateTransformRequest ¶ added in v7.5.0
type DataFrameTransformDeprecatedUpdateTransformRequest struct {
Body io.Reader
TransformID string
DeferValidation *bool
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
DataFrameTransformDeprecatedUpdateTransformRequest configures the Data Frame Transform Deprecated Update Transform API request.
type Delete ¶
type Delete func(index string, id string, o ...func(*DeleteRequest)) (*Response, error)
Delete removes a document from the index.
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-delete.html.
func (Delete) WithContext ¶
func (f Delete) WithContext(v context.Context) func(*DeleteRequest)
WithContext sets the request context.
func (Delete) WithDocumentType ¶
func (f Delete) WithDocumentType(v string) func(*DeleteRequest)
WithDocumentType - the type of the document.
func (Delete) WithErrorTrace ¶
func (f Delete) WithErrorTrace() func(*DeleteRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (Delete) WithFilterPath ¶
func (f Delete) WithFilterPath(v ...string) func(*DeleteRequest)
WithFilterPath filters the properties of the response body.
func (Delete) WithHeader ¶ added in v7.2.0
func (f Delete) WithHeader(h map[string]string) func(*DeleteRequest)
WithHeader adds the headers to the HTTP request.
func (Delete) WithHuman ¶
func (f Delete) WithHuman() func(*DeleteRequest)
WithHuman makes statistical values human-readable.
func (Delete) WithIfPrimaryTerm ¶
func (f Delete) WithIfPrimaryTerm(v int) func(*DeleteRequest)
WithIfPrimaryTerm - only perform the delete operation if the last operation that has changed the document has the specified primary term.
func (Delete) WithIfSeqNo ¶
func (f Delete) WithIfSeqNo(v int) func(*DeleteRequest)
WithIfSeqNo - only perform the delete operation if the last operation that has changed the document has the specified sequence number.
func (Delete) WithOpaqueID ¶ added in v7.5.0
func (f Delete) WithOpaqueID(s string) func(*DeleteRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (Delete) WithPretty ¶
func (f Delete) WithPretty() func(*DeleteRequest)
WithPretty makes the response body pretty-printed.
func (Delete) WithRefresh ¶
func (f Delete) WithRefresh(v string) func(*DeleteRequest)
WithRefresh - if `true` then refresh the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` (the default) then do nothing with refreshes..
func (Delete) WithRouting ¶
func (f Delete) WithRouting(v string) func(*DeleteRequest)
WithRouting - specific routing value.
func (Delete) WithTimeout ¶
func (f Delete) WithTimeout(v time.Duration) func(*DeleteRequest)
WithTimeout - explicit operation timeout.
func (Delete) WithVersion ¶
func (f Delete) WithVersion(v int) func(*DeleteRequest)
WithVersion - explicit version number for concurrency control.
func (Delete) WithVersionType ¶
func (f Delete) WithVersionType(v string) func(*DeleteRequest)
WithVersionType - specific version type.
func (Delete) WithWaitForActiveShards ¶
func (f Delete) WithWaitForActiveShards(v string) func(*DeleteRequest)
WithWaitForActiveShards - sets the number of shard copies that must be active before proceeding with the delete operation. defaults to 1, meaning the primary shard only. set to `all` for all shard copies, otherwise set to any non-negative value less than or equal to the total number of copies for the shard (number of replicas + 1).
type DeleteByQuery ¶
type DeleteByQuery func(index []string, body io.Reader, o ...func(*DeleteByQueryRequest)) (*Response, error)
DeleteByQuery deletes documents matching the provided query.
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-delete-by-query.html.
func (DeleteByQuery) WithAllowNoIndices ¶
func (f DeleteByQuery) WithAllowNoIndices(v bool) func(*DeleteByQueryRequest)
WithAllowNoIndices - whether to ignore if a wildcard indices expression resolves into no concrete indices. (this includes `_all` string or when no indices have been specified).
func (DeleteByQuery) WithAnalyzeWildcard ¶
func (f DeleteByQuery) WithAnalyzeWildcard(v bool) func(*DeleteByQueryRequest)
WithAnalyzeWildcard - specify whether wildcard and prefix queries should be analyzed (default: false).
func (DeleteByQuery) WithAnalyzer ¶
func (f DeleteByQuery) WithAnalyzer(v string) func(*DeleteByQueryRequest)
WithAnalyzer - the analyzer to use for the query string.
func (DeleteByQuery) WithConflicts ¶
func (f DeleteByQuery) WithConflicts(v string) func(*DeleteByQueryRequest)
WithConflicts - what to do when the delete by query hits version conflicts?.
func (DeleteByQuery) WithContext ¶
func (f DeleteByQuery) WithContext(v context.Context) func(*DeleteByQueryRequest)
WithContext sets the request context.
func (DeleteByQuery) WithDefaultOperator ¶
func (f DeleteByQuery) WithDefaultOperator(v string) func(*DeleteByQueryRequest)
WithDefaultOperator - the default operator for query string query (and or or).
func (DeleteByQuery) WithDf ¶
func (f DeleteByQuery) WithDf(v string) func(*DeleteByQueryRequest)
WithDf - the field to use as default where no field prefix is given in the query string.
func (DeleteByQuery) WithDocumentType ¶
func (f DeleteByQuery) WithDocumentType(v ...string) func(*DeleteByQueryRequest)
WithDocumentType - a list of document types to search; leave empty to perform the operation on all types.
func (DeleteByQuery) WithErrorTrace ¶
func (f DeleteByQuery) WithErrorTrace() func(*DeleteByQueryRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (DeleteByQuery) WithExpandWildcards ¶
func (f DeleteByQuery) WithExpandWildcards(v string) func(*DeleteByQueryRequest)
WithExpandWildcards - whether to expand wildcard expression to concrete indices that are open, closed or both..
func (DeleteByQuery) WithFilterPath ¶
func (f DeleteByQuery) WithFilterPath(v ...string) func(*DeleteByQueryRequest)
WithFilterPath filters the properties of the response body.
func (DeleteByQuery) WithFrom ¶
func (f DeleteByQuery) WithFrom(v int) func(*DeleteByQueryRequest)
WithFrom - starting offset (default: 0).
func (DeleteByQuery) WithHeader ¶ added in v7.2.0
func (f DeleteByQuery) WithHeader(h map[string]string) func(*DeleteByQueryRequest)
WithHeader adds the headers to the HTTP request.
func (DeleteByQuery) WithHuman ¶
func (f DeleteByQuery) WithHuman() func(*DeleteByQueryRequest)
WithHuman makes statistical values human-readable.
func (DeleteByQuery) WithIgnoreUnavailable ¶
func (f DeleteByQuery) WithIgnoreUnavailable(v bool) func(*DeleteByQueryRequest)
WithIgnoreUnavailable - whether specified concrete indices should be ignored when unavailable (missing or closed).
func (DeleteByQuery) WithLenient ¶
func (f DeleteByQuery) WithLenient(v bool) func(*DeleteByQueryRequest)
WithLenient - specify whether format-based query failures (such as providing text to a numeric field) should be ignored.
func (DeleteByQuery) WithMaxDocs ¶ added in v7.2.0
func (f DeleteByQuery) WithMaxDocs(v int) func(*DeleteByQueryRequest)
WithMaxDocs - maximum number of documents to process (default: all documents).
func (DeleteByQuery) WithOpaqueID ¶ added in v7.5.0
func (f DeleteByQuery) WithOpaqueID(s string) func(*DeleteByQueryRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (DeleteByQuery) WithPreference ¶
func (f DeleteByQuery) WithPreference(v string) func(*DeleteByQueryRequest)
WithPreference - specify the node or shard the operation should be performed on (default: random).
func (DeleteByQuery) WithPretty ¶
func (f DeleteByQuery) WithPretty() func(*DeleteByQueryRequest)
WithPretty makes the response body pretty-printed.
func (DeleteByQuery) WithQuery ¶
func (f DeleteByQuery) WithQuery(v string) func(*DeleteByQueryRequest)
WithQuery - query in the lucene query string syntax.
func (DeleteByQuery) WithRefresh ¶
func (f DeleteByQuery) WithRefresh(v bool) func(*DeleteByQueryRequest)
WithRefresh - should the effected indexes be refreshed?.
func (DeleteByQuery) WithRequestCache ¶
func (f DeleteByQuery) WithRequestCache(v bool) func(*DeleteByQueryRequest)
WithRequestCache - specify if request cache should be used for this request or not, defaults to index level setting.
func (DeleteByQuery) WithRequestsPerSecond ¶
func (f DeleteByQuery) WithRequestsPerSecond(v int) func(*DeleteByQueryRequest)
WithRequestsPerSecond - the throttle for this request in sub-requests per second. -1 means no throttle..
func (DeleteByQuery) WithRouting ¶
func (f DeleteByQuery) WithRouting(v ...string) func(*DeleteByQueryRequest)
WithRouting - a list of specific routing values.
func (DeleteByQuery) WithScroll ¶
func (f DeleteByQuery) WithScroll(v time.Duration) func(*DeleteByQueryRequest)
WithScroll - specify how long a consistent view of the index should be maintained for scrolled search.
func (DeleteByQuery) WithScrollSize ¶
func (f DeleteByQuery) WithScrollSize(v int) func(*DeleteByQueryRequest)
WithScrollSize - size on the scroll request powering the delete by query.
func (DeleteByQuery) WithSearchTimeout ¶
func (f DeleteByQuery) WithSearchTimeout(v time.Duration) func(*DeleteByQueryRequest)
WithSearchTimeout - explicit timeout for each search request. defaults to no timeout..
func (DeleteByQuery) WithSearchType ¶
func (f DeleteByQuery) WithSearchType(v string) func(*DeleteByQueryRequest)
WithSearchType - search operation type.
func (DeleteByQuery) WithSize ¶
func (f DeleteByQuery) WithSize(v int) func(*DeleteByQueryRequest)
WithSize - deprecated, please use `max_docs` instead.
func (DeleteByQuery) WithSlices ¶
func (f DeleteByQuery) WithSlices(v interface{}) func(*DeleteByQueryRequest)
WithSlices - the number of slices this task should be divided into. defaults to 1, meaning the task isn't sliced into subtasks. can be set to `auto`..
func (DeleteByQuery) WithSort ¶
func (f DeleteByQuery) WithSort(v ...string) func(*DeleteByQueryRequest)
WithSort - a list of <field>:<direction> pairs.
func (DeleteByQuery) WithStats ¶
func (f DeleteByQuery) WithStats(v ...string) func(*DeleteByQueryRequest)
WithStats - specific 'tag' of the request for logging and statistical purposes.
func (DeleteByQuery) WithTerminateAfter ¶
func (f DeleteByQuery) WithTerminateAfter(v int) func(*DeleteByQueryRequest)
WithTerminateAfter - the maximum number of documents to collect for each shard, upon reaching which the query execution will terminate early..
func (DeleteByQuery) WithTimeout ¶
func (f DeleteByQuery) WithTimeout(v time.Duration) func(*DeleteByQueryRequest)
WithTimeout - time each individual bulk request should wait for shards that are unavailable..
func (DeleteByQuery) WithVersion ¶
func (f DeleteByQuery) WithVersion(v bool) func(*DeleteByQueryRequest)
WithVersion - specify whether to return document version as part of a hit.
func (DeleteByQuery) WithWaitForActiveShards ¶
func (f DeleteByQuery) WithWaitForActiveShards(v string) func(*DeleteByQueryRequest)
WithWaitForActiveShards - sets the number of shard copies that must be active before proceeding with the delete by query operation. defaults to 1, meaning the primary shard only. set to `all` for all shard copies, otherwise set to any non-negative value less than or equal to the total number of copies for the shard (number of replicas + 1).
func (DeleteByQuery) WithWaitForCompletion ¶
func (f DeleteByQuery) WithWaitForCompletion(v bool) func(*DeleteByQueryRequest)
WithWaitForCompletion - should the request should block until the delete by query is complete..
type DeleteByQueryRequest ¶
type DeleteByQueryRequest struct {
Index []string
DocumentType []string
Body io.Reader
AllowNoIndices *bool
Analyzer string
AnalyzeWildcard *bool
Conflicts string
DefaultOperator string
Df string
ExpandWildcards string
From *int
Lenient *bool
MaxDocs *int
Preference string
Query string
Refresh *bool
RequestCache *bool
RequestsPerSecond *int
Routing []string
Scroll time.Duration
ScrollSize *int
SearchTimeout time.Duration
SearchType string
Size *int
Slices interface{}
Sort []string
Stats []string
TerminateAfter *int
Timeout time.Duration
Version *bool
WaitForActiveShards string
WaitForCompletion *bool
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
DeleteByQueryRequest configures the Delete By Query API request.
type DeleteByQueryRethrottle ¶
type DeleteByQueryRethrottle func(task_id string, requests_per_second *int, o ...func(*DeleteByQueryRethrottleRequest)) (*Response, error)
DeleteByQueryRethrottle changes the number of requests per second for a particular Delete By Query operation.
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/current/docs-delete-by-query.html.
func (DeleteByQueryRethrottle) WithContext ¶
func (f DeleteByQueryRethrottle) WithContext(v context.Context) func(*DeleteByQueryRethrottleRequest)
WithContext sets the request context.
func (DeleteByQueryRethrottle) WithErrorTrace ¶
func (f DeleteByQueryRethrottle) WithErrorTrace() func(*DeleteByQueryRethrottleRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (DeleteByQueryRethrottle) WithFilterPath ¶
func (f DeleteByQueryRethrottle) WithFilterPath(v ...string) func(*DeleteByQueryRethrottleRequest)
WithFilterPath filters the properties of the response body.
func (DeleteByQueryRethrottle) WithHeader ¶ added in v7.2.0
func (f DeleteByQueryRethrottle) WithHeader(h map[string]string) func(*DeleteByQueryRethrottleRequest)
WithHeader adds the headers to the HTTP request.
func (DeleteByQueryRethrottle) WithHuman ¶
func (f DeleteByQueryRethrottle) WithHuman() func(*DeleteByQueryRethrottleRequest)
WithHuman makes statistical values human-readable.
func (DeleteByQueryRethrottle) WithOpaqueID ¶ added in v7.5.0
func (f DeleteByQueryRethrottle) WithOpaqueID(s string) func(*DeleteByQueryRethrottleRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (DeleteByQueryRethrottle) WithPretty ¶
func (f DeleteByQueryRethrottle) WithPretty() func(*DeleteByQueryRethrottleRequest)
WithPretty makes the response body pretty-printed.
func (DeleteByQueryRethrottle) WithRequestsPerSecond ¶
func (f DeleteByQueryRethrottle) WithRequestsPerSecond(v int) func(*DeleteByQueryRethrottleRequest)
WithRequestsPerSecond - the throttle to set on this request in floating sub-requests per second. -1 means set no throttle..
type DeleteByQueryRethrottleRequest ¶
type DeleteByQueryRethrottleRequest struct {
TaskID string
RequestsPerSecond *int
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
DeleteByQueryRethrottleRequest configures the Delete By Query Rethrottle API request.
type DeleteRequest ¶
type DeleteRequest struct {
Index string
DocumentType string
DocumentID string
IfPrimaryTerm *int
IfSeqNo *int
Refresh string
Routing string
Timeout time.Duration
Version *int
VersionType string
WaitForActiveShards string
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
DeleteRequest configures the Delete API request.
type DeleteScript ¶
type DeleteScript func(id string, o ...func(*DeleteScriptRequest)) (*Response, error)
DeleteScript deletes a script.
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting.html.
func (DeleteScript) WithContext ¶
func (f DeleteScript) WithContext(v context.Context) func(*DeleteScriptRequest)
WithContext sets the request context.
func (DeleteScript) WithErrorTrace ¶
func (f DeleteScript) WithErrorTrace() func(*DeleteScriptRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (DeleteScript) WithFilterPath ¶
func (f DeleteScript) WithFilterPath(v ...string) func(*DeleteScriptRequest)
WithFilterPath filters the properties of the response body.
func (DeleteScript) WithHeader ¶ added in v7.2.0
func (f DeleteScript) WithHeader(h map[string]string) func(*DeleteScriptRequest)
WithHeader adds the headers to the HTTP request.
func (DeleteScript) WithHuman ¶
func (f DeleteScript) WithHuman() func(*DeleteScriptRequest)
WithHuman makes statistical values human-readable.
func (DeleteScript) WithMasterTimeout ¶
func (f DeleteScript) WithMasterTimeout(v time.Duration) func(*DeleteScriptRequest)
WithMasterTimeout - specify timeout for connection to master.
func (DeleteScript) WithOpaqueID ¶ added in v7.5.0
func (f DeleteScript) WithOpaqueID(s string) func(*DeleteScriptRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (DeleteScript) WithPretty ¶
func (f DeleteScript) WithPretty() func(*DeleteScriptRequest)
WithPretty makes the response body pretty-printed.
func (DeleteScript) WithTimeout ¶
func (f DeleteScript) WithTimeout(v time.Duration) func(*DeleteScriptRequest)
WithTimeout - explicit operation timeout.
type DeleteScriptRequest ¶
type DeleteScriptRequest struct {
ScriptID string
MasterTimeout time.Duration
Timeout time.Duration
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
DeleteScriptRequest configures the Delete Script API request.
type EnrichDeletePolicy ¶ added in v7.5.0
type EnrichDeletePolicy func(name string, o ...func(*EnrichDeletePolicyRequest)) (*Response, error)
EnrichDeletePolicy - Deletes an existing enrich policy and its enrich index.
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/current/delete-enrich-policy-api.html.
func (EnrichDeletePolicy) WithContext ¶ added in v7.5.0
func (f EnrichDeletePolicy) WithContext(v context.Context) func(*EnrichDeletePolicyRequest)
WithContext sets the request context.
func (EnrichDeletePolicy) WithErrorTrace ¶ added in v7.5.0
func (f EnrichDeletePolicy) WithErrorTrace() func(*EnrichDeletePolicyRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (EnrichDeletePolicy) WithFilterPath ¶ added in v7.5.0
func (f EnrichDeletePolicy) WithFilterPath(v ...string) func(*EnrichDeletePolicyRequest)
WithFilterPath filters the properties of the response body.
func (EnrichDeletePolicy) WithHeader ¶ added in v7.5.0
func (f EnrichDeletePolicy) WithHeader(h map[string]string) func(*EnrichDeletePolicyRequest)
WithHeader adds the headers to the HTTP request.
func (EnrichDeletePolicy) WithHuman ¶ added in v7.5.0
func (f EnrichDeletePolicy) WithHuman() func(*EnrichDeletePolicyRequest)
WithHuman makes statistical values human-readable.
func (EnrichDeletePolicy) WithOpaqueID ¶ added in v7.5.0
func (f EnrichDeletePolicy) WithOpaqueID(s string) func(*EnrichDeletePolicyRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (EnrichDeletePolicy) WithPretty ¶ added in v7.5.0
func (f EnrichDeletePolicy) WithPretty() func(*EnrichDeletePolicyRequest)
WithPretty makes the response body pretty-printed.
type EnrichDeletePolicyRequest ¶ added in v7.5.0
type EnrichDeletePolicyRequest struct {
Name string
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
EnrichDeletePolicyRequest configures the Enrich Delete Policy API request.
type EnrichExecutePolicy ¶ added in v7.5.0
type EnrichExecutePolicy func(name string, o ...func(*EnrichExecutePolicyRequest)) (*Response, error)
EnrichExecutePolicy - Creates the enrich index for an existing enrich policy.
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/current/execute-enrich-policy-api.html.
func (EnrichExecutePolicy) WithContext ¶ added in v7.5.0
func (f EnrichExecutePolicy) WithContext(v context.Context) func(*EnrichExecutePolicyRequest)
WithContext sets the request context.
func (EnrichExecutePolicy) WithErrorTrace ¶ added in v7.5.0
func (f EnrichExecutePolicy) WithErrorTrace() func(*EnrichExecutePolicyRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (EnrichExecutePolicy) WithFilterPath ¶ added in v7.5.0
func (f EnrichExecutePolicy) WithFilterPath(v ...string) func(*EnrichExecutePolicyRequest)
WithFilterPath filters the properties of the response body.
func (EnrichExecutePolicy) WithHeader ¶ added in v7.5.0
func (f EnrichExecutePolicy) WithHeader(h map[string]string) func(*EnrichExecutePolicyRequest)
WithHeader adds the headers to the HTTP request.
func (EnrichExecutePolicy) WithHuman ¶ added in v7.5.0
func (f EnrichExecutePolicy) WithHuman() func(*EnrichExecutePolicyRequest)
WithHuman makes statistical values human-readable.
func (EnrichExecutePolicy) WithOpaqueID ¶ added in v7.5.0
func (f EnrichExecutePolicy) WithOpaqueID(s string) func(*EnrichExecutePolicyRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (EnrichExecutePolicy) WithPretty ¶ added in v7.5.0
func (f EnrichExecutePolicy) WithPretty() func(*EnrichExecutePolicyRequest)
WithPretty makes the response body pretty-printed.
func (EnrichExecutePolicy) WithWaitForCompletion ¶ added in v7.5.0
func (f EnrichExecutePolicy) WithWaitForCompletion(v bool) func(*EnrichExecutePolicyRequest)
WithWaitForCompletion - should the request should block until the execution is complete..
type EnrichExecutePolicyRequest ¶ added in v7.5.0
type EnrichExecutePolicyRequest struct {
Name string
WaitForCompletion *bool
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
EnrichExecutePolicyRequest configures the Enrich Execute Policy API request.
type EnrichGetPolicy ¶ added in v7.5.0
type EnrichGetPolicy func(o ...func(*EnrichGetPolicyRequest)) (*Response, error)
EnrichGetPolicy - Gets information about an enrich policy.
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/current/get-enrich-policy-api.html.
func (EnrichGetPolicy) WithContext ¶ added in v7.5.0
func (f EnrichGetPolicy) WithContext(v context.Context) func(*EnrichGetPolicyRequest)
WithContext sets the request context.
func (EnrichGetPolicy) WithErrorTrace ¶ added in v7.5.0
func (f EnrichGetPolicy) WithErrorTrace() func(*EnrichGetPolicyRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (EnrichGetPolicy) WithFilterPath ¶ added in v7.5.0
func (f EnrichGetPolicy) WithFilterPath(v ...string) func(*EnrichGetPolicyRequest)
WithFilterPath filters the properties of the response body.
func (EnrichGetPolicy) WithHeader ¶ added in v7.5.0
func (f EnrichGetPolicy) WithHeader(h map[string]string) func(*EnrichGetPolicyRequest)
WithHeader adds the headers to the HTTP request.
func (EnrichGetPolicy) WithHuman ¶ added in v7.5.0
func (f EnrichGetPolicy) WithHuman() func(*EnrichGetPolicyRequest)
WithHuman makes statistical values human-readable.
func (EnrichGetPolicy) WithName ¶ added in v7.5.0
func (f EnrichGetPolicy) WithName(v ...string) func(*EnrichGetPolicyRequest)
WithName - a list of enrich policy names.
func (EnrichGetPolicy) WithOpaqueID ¶ added in v7.5.0
func (f EnrichGetPolicy) WithOpaqueID(s string) func(*EnrichGetPolicyRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (EnrichGetPolicy) WithPretty ¶ added in v7.5.0
func (f EnrichGetPolicy) WithPretty() func(*EnrichGetPolicyRequest)
WithPretty makes the response body pretty-printed.
type EnrichGetPolicyRequest ¶ added in v7.5.0
type EnrichGetPolicyRequest struct {
Name []string
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
EnrichGetPolicyRequest configures the Enrich Get Policy API request.
type EnrichPutPolicy ¶ added in v7.5.0
type EnrichPutPolicy func(name string, body io.Reader, o ...func(*EnrichPutPolicyRequest)) (*Response, error)
EnrichPutPolicy - Creates a new enrich policy.
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/current/put-enrich-policy-api.html.
func (EnrichPutPolicy) WithContext ¶ added in v7.5.0
func (f EnrichPutPolicy) WithContext(v context.Context) func(*EnrichPutPolicyRequest)
WithContext sets the request context.
func (EnrichPutPolicy) WithErrorTrace ¶ added in v7.5.0
func (f EnrichPutPolicy) WithErrorTrace() func(*EnrichPutPolicyRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (EnrichPutPolicy) WithFilterPath ¶ added in v7.5.0
func (f EnrichPutPolicy) WithFilterPath(v ...string) func(*EnrichPutPolicyRequest)
WithFilterPath filters the properties of the response body.
func (EnrichPutPolicy) WithHeader ¶ added in v7.5.0
func (f EnrichPutPolicy) WithHeader(h map[string]string) func(*EnrichPutPolicyRequest)
WithHeader adds the headers to the HTTP request.
func (EnrichPutPolicy) WithHuman ¶ added in v7.5.0
func (f EnrichPutPolicy) WithHuman() func(*EnrichPutPolicyRequest)
WithHuman makes statistical values human-readable.
func (EnrichPutPolicy) WithOpaqueID ¶ added in v7.5.0
func (f EnrichPutPolicy) WithOpaqueID(s string) func(*EnrichPutPolicyRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (EnrichPutPolicy) WithPretty ¶ added in v7.5.0
func (f EnrichPutPolicy) WithPretty() func(*EnrichPutPolicyRequest)
WithPretty makes the response body pretty-printed.
type EnrichPutPolicyRequest ¶ added in v7.5.0
type EnrichPutPolicyRequest struct {
Body io.Reader
Name string
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
EnrichPutPolicyRequest configures the Enrich Put Policy API request.
type EnrichStats ¶ added in v7.5.0
type EnrichStats func(o ...func(*EnrichStatsRequest)) (*Response, error)
EnrichStats - Gets enrich coordinator statistics and information about enrich policies that are currently executing.
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/current/enrich-stats-api.html.
func (EnrichStats) WithContext ¶ added in v7.5.0
func (f EnrichStats) WithContext(v context.Context) func(*EnrichStatsRequest)
WithContext sets the request context.
func (EnrichStats) WithErrorTrace ¶ added in v7.5.0
func (f EnrichStats) WithErrorTrace() func(*EnrichStatsRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (EnrichStats) WithFilterPath ¶ added in v7.5.0
func (f EnrichStats) WithFilterPath(v ...string) func(*EnrichStatsRequest)
WithFilterPath filters the properties of the response body.
func (EnrichStats) WithHeader ¶ added in v7.5.0
func (f EnrichStats) WithHeader(h map[string]string) func(*EnrichStatsRequest)
WithHeader adds the headers to the HTTP request.
func (EnrichStats) WithHuman ¶ added in v7.5.0
func (f EnrichStats) WithHuman() func(*EnrichStatsRequest)
WithHuman makes statistical values human-readable.
func (EnrichStats) WithOpaqueID ¶ added in v7.5.0
func (f EnrichStats) WithOpaqueID(s string) func(*EnrichStatsRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (EnrichStats) WithPretty ¶ added in v7.5.0
func (f EnrichStats) WithPretty() func(*EnrichStatsRequest)
WithPretty makes the response body pretty-printed.
type EnrichStatsRequest ¶ added in v7.5.0
type EnrichStatsRequest struct {
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
EnrichStatsRequest configures the Enrich Stats API request.
type EqlDelete ¶ added in v7.9.0
type EqlDelete func(id string, o ...func(*EqlDeleteRequest)) (*Response, error)
EqlDelete - Deletes an async EQL search by ID. If the search is still running, the search request will be cancelled. Otherwise, the saved search results are deleted.
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/current/eql-search-api.html.
func (EqlDelete) WithContext ¶ added in v7.9.0
func (f EqlDelete) WithContext(v context.Context) func(*EqlDeleteRequest)
WithContext sets the request context.
func (EqlDelete) WithErrorTrace ¶ added in v7.9.0
func (f EqlDelete) WithErrorTrace() func(*EqlDeleteRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (EqlDelete) WithFilterPath ¶ added in v7.9.0
func (f EqlDelete) WithFilterPath(v ...string) func(*EqlDeleteRequest)
WithFilterPath filters the properties of the response body.
func (EqlDelete) WithHeader ¶ added in v7.9.0
func (f EqlDelete) WithHeader(h map[string]string) func(*EqlDeleteRequest)
WithHeader adds the headers to the HTTP request.
func (EqlDelete) WithHuman ¶ added in v7.9.0
func (f EqlDelete) WithHuman() func(*EqlDeleteRequest)
WithHuman makes statistical values human-readable.
func (EqlDelete) WithOpaqueID ¶ added in v7.9.0
func (f EqlDelete) WithOpaqueID(s string) func(*EqlDeleteRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (EqlDelete) WithPretty ¶ added in v7.9.0
func (f EqlDelete) WithPretty() func(*EqlDeleteRequest)
WithPretty makes the response body pretty-printed.
type EqlDeleteRequest ¶ added in v7.9.0
type EqlDeleteRequest struct {
DocumentID string
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
EqlDeleteRequest configures the Eql Delete API request.
type EqlGet ¶ added in v7.9.0
type EqlGet func(id string, o ...func(*EqlGetRequest)) (*Response, error)
EqlGet - Returns async results from previously executed Event Query Language (EQL) search
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/current/eql-search-api.html.
func (EqlGet) WithContext ¶ added in v7.9.0
func (f EqlGet) WithContext(v context.Context) func(*EqlGetRequest)
WithContext sets the request context.
func (EqlGet) WithErrorTrace ¶ added in v7.9.0
func (f EqlGet) WithErrorTrace() func(*EqlGetRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (EqlGet) WithFilterPath ¶ added in v7.9.0
func (f EqlGet) WithFilterPath(v ...string) func(*EqlGetRequest)
WithFilterPath filters the properties of the response body.
func (EqlGet) WithHeader ¶ added in v7.9.0
func (f EqlGet) WithHeader(h map[string]string) func(*EqlGetRequest)
WithHeader adds the headers to the HTTP request.
func (EqlGet) WithHuman ¶ added in v7.9.0
func (f EqlGet) WithHuman() func(*EqlGetRequest)
WithHuman makes statistical values human-readable.
func (EqlGet) WithKeepAlive ¶ added in v7.9.0
func (f EqlGet) WithKeepAlive(v time.Duration) func(*EqlGetRequest)
WithKeepAlive - update the time interval in which the results (partial or final) for this search will be available.
func (EqlGet) WithOpaqueID ¶ added in v7.9.0
func (f EqlGet) WithOpaqueID(s string) func(*EqlGetRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (EqlGet) WithPretty ¶ added in v7.9.0
func (f EqlGet) WithPretty() func(*EqlGetRequest)
WithPretty makes the response body pretty-printed.
func (EqlGet) WithWaitForCompletionTimeout ¶ added in v7.9.0
func (f EqlGet) WithWaitForCompletionTimeout(v time.Duration) func(*EqlGetRequest)
WithWaitForCompletionTimeout - specify the time that the request should block waiting for the final response.
type EqlGetRequest ¶ added in v7.9.0
type EqlGetRequest struct {
DocumentID string
KeepAlive time.Duration
WaitForCompletionTimeout time.Duration
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
EqlGetRequest configures the Eql Get API request.
type EqlGetStatus ¶ added in v7.12.0
type EqlGetStatus func(id string, o ...func(*EqlGetStatusRequest)) (*Response, error)
EqlGetStatus - Returns the status of a previously submitted async or stored Event Query Language (EQL) search
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/current/eql-search-api.html.
func (EqlGetStatus) WithContext ¶ added in v7.12.0
func (f EqlGetStatus) WithContext(v context.Context) func(*EqlGetStatusRequest)
WithContext sets the request context.
func (EqlGetStatus) WithErrorTrace ¶ added in v7.12.0
func (f EqlGetStatus) WithErrorTrace() func(*EqlGetStatusRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (EqlGetStatus) WithFilterPath ¶ added in v7.12.0
func (f EqlGetStatus) WithFilterPath(v ...string) func(*EqlGetStatusRequest)
WithFilterPath filters the properties of the response body.
func (EqlGetStatus) WithHeader ¶ added in v7.12.0
func (f EqlGetStatus) WithHeader(h map[string]string) func(*EqlGetStatusRequest)
WithHeader adds the headers to the HTTP request.
func (EqlGetStatus) WithHuman ¶ added in v7.12.0
func (f EqlGetStatus) WithHuman() func(*EqlGetStatusRequest)
WithHuman makes statistical values human-readable.
func (EqlGetStatus) WithOpaqueID ¶ added in v7.12.0
func (f EqlGetStatus) WithOpaqueID(s string) func(*EqlGetStatusRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (EqlGetStatus) WithPretty ¶ added in v7.12.0
func (f EqlGetStatus) WithPretty() func(*EqlGetStatusRequest)
WithPretty makes the response body pretty-printed.
type EqlGetStatusRequest ¶ added in v7.12.0
type EqlGetStatusRequest struct {
DocumentID string
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
EqlGetStatusRequest configures the Eql Get Status API request.
type EqlSearch ¶ added in v7.7.0
EqlSearch - Returns results matching a query expressed in Event Query Language (EQL)
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/current/eql-search-api.html.
func (EqlSearch) WithContext ¶ added in v7.7.0
func (f EqlSearch) WithContext(v context.Context) func(*EqlSearchRequest)
WithContext sets the request context.
func (EqlSearch) WithErrorTrace ¶ added in v7.7.0
func (f EqlSearch) WithErrorTrace() func(*EqlSearchRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (EqlSearch) WithFilterPath ¶ added in v7.7.0
func (f EqlSearch) WithFilterPath(v ...string) func(*EqlSearchRequest)
WithFilterPath filters the properties of the response body.
func (EqlSearch) WithHeader ¶ added in v7.7.0
func (f EqlSearch) WithHeader(h map[string]string) func(*EqlSearchRequest)
WithHeader adds the headers to the HTTP request.
func (EqlSearch) WithHuman ¶ added in v7.7.0
func (f EqlSearch) WithHuman() func(*EqlSearchRequest)
WithHuman makes statistical values human-readable.
func (EqlSearch) WithKeepAlive ¶ added in v7.9.0
func (f EqlSearch) WithKeepAlive(v time.Duration) func(*EqlSearchRequest)
WithKeepAlive - update the time interval in which the results (partial or final) for this search will be available.
func (EqlSearch) WithKeepOnCompletion ¶ added in v7.9.0
func (f EqlSearch) WithKeepOnCompletion(v bool) func(*EqlSearchRequest)
WithKeepOnCompletion - control whether the response should be stored in the cluster if it completed within the provided [wait_for_completion] time (default: false).
func (EqlSearch) WithOpaqueID ¶ added in v7.7.0
func (f EqlSearch) WithOpaqueID(s string) func(*EqlSearchRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (EqlSearch) WithPretty ¶ added in v7.7.0
func (f EqlSearch) WithPretty() func(*EqlSearchRequest)
WithPretty makes the response body pretty-printed.
func (EqlSearch) WithWaitForCompletionTimeout ¶ added in v7.9.0
func (f EqlSearch) WithWaitForCompletionTimeout(v time.Duration) func(*EqlSearchRequest)
WithWaitForCompletionTimeout - specify the time that the request should block waiting for the final response.
type EqlSearchRequest ¶ added in v7.7.0
type EqlSearchRequest struct {
Index string
Body io.Reader
KeepAlive time.Duration
KeepOnCompletion *bool
WaitForCompletionTimeout time.Duration
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
EqlSearchRequest configures the Eql Search API request.
type Exists ¶
type Exists func(index string, id string, o ...func(*ExistsRequest)) (*Response, error)
Exists returns information about whether a document exists in an index.
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-get.html.
func (Exists) WithContext ¶
func (f Exists) WithContext(v context.Context) func(*ExistsRequest)
WithContext sets the request context.
func (Exists) WithDocumentType ¶
func (f Exists) WithDocumentType(v string) func(*ExistsRequest)
WithDocumentType - the type of the document (use `_all` to fetch the first document matching the ID across all types).
func (Exists) WithErrorTrace ¶
func (f Exists) WithErrorTrace() func(*ExistsRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (Exists) WithFilterPath ¶
func (f Exists) WithFilterPath(v ...string) func(*ExistsRequest)
WithFilterPath filters the properties of the response body.
func (Exists) WithHeader ¶ added in v7.2.0
func (f Exists) WithHeader(h map[string]string) func(*ExistsRequest)
WithHeader adds the headers to the HTTP request.
func (Exists) WithHuman ¶
func (f Exists) WithHuman() func(*ExistsRequest)
WithHuman makes statistical values human-readable.
func (Exists) WithOpaqueID ¶ added in v7.5.0
func (f Exists) WithOpaqueID(s string) func(*ExistsRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (Exists) WithPreference ¶
func (f Exists) WithPreference(v string) func(*ExistsRequest)
WithPreference - specify the node or shard the operation should be performed on (default: random).
func (Exists) WithPretty ¶
func (f Exists) WithPretty() func(*ExistsRequest)
WithPretty makes the response body pretty-printed.
func (Exists) WithRealtime ¶
func (f Exists) WithRealtime(v bool) func(*ExistsRequest)
WithRealtime - specify whether to perform the operation in realtime or search mode.
func (Exists) WithRefresh ¶
func (f Exists) WithRefresh(v bool) func(*ExistsRequest)
WithRefresh - refresh the shard containing the document before performing the operation.
func (Exists) WithRouting ¶
func (f Exists) WithRouting(v string) func(*ExistsRequest)
WithRouting - specific routing value.
func (Exists) WithSource ¶
func (f Exists) WithSource(v ...string) func(*ExistsRequest)
WithSource - true or false to return the _source field or not, or a list of fields to return.
func (Exists) WithSourceExcludes ¶
func (f Exists) WithSourceExcludes(v ...string) func(*ExistsRequest)
WithSourceExcludes - a list of fields to exclude from the returned _source field.
func (Exists) WithSourceIncludes ¶
func (f Exists) WithSourceIncludes(v ...string) func(*ExistsRequest)
WithSourceIncludes - a list of fields to extract and return from the _source field.
func (Exists) WithStoredFields ¶
func (f Exists) WithStoredFields(v ...string) func(*ExistsRequest)
WithStoredFields - a list of stored fields to return in the response.
func (Exists) WithVersion ¶
func (f Exists) WithVersion(v int) func(*ExistsRequest)
WithVersion - explicit version number for concurrency control.
func (Exists) WithVersionType ¶
func (f Exists) WithVersionType(v string) func(*ExistsRequest)
WithVersionType - specific version type.
type ExistsRequest ¶
type ExistsRequest struct {
Index string
DocumentType string
DocumentID string
Preference string
Realtime *bool
Refresh *bool
Routing string
Source []string
SourceExcludes []string
SourceIncludes []string
StoredFields []string
Version *int
VersionType string
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
ExistsRequest configures the Exists API request.
type ExistsSource ¶
type ExistsSource func(index string, id string, o ...func(*ExistsSourceRequest)) (*Response, error)
ExistsSource returns information about whether a document source exists in an index.
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-get.html.
func (ExistsSource) WithContext ¶
func (f ExistsSource) WithContext(v context.Context) func(*ExistsSourceRequest)
WithContext sets the request context.
func (ExistsSource) WithDocumentType ¶
func (f ExistsSource) WithDocumentType(v string) func(*ExistsSourceRequest)
WithDocumentType - the type of the document; deprecated and optional starting with 7.0.
func (ExistsSource) WithErrorTrace ¶
func (f ExistsSource) WithErrorTrace() func(*ExistsSourceRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (ExistsSource) WithFilterPath ¶
func (f ExistsSource) WithFilterPath(v ...string) func(*ExistsSourceRequest)
WithFilterPath filters the properties of the response body.
func (ExistsSource) WithHeader ¶ added in v7.2.0
func (f ExistsSource) WithHeader(h map[string]string) func(*ExistsSourceRequest)
WithHeader adds the headers to the HTTP request.
func (ExistsSource) WithHuman ¶
func (f ExistsSource) WithHuman() func(*ExistsSourceRequest)
WithHuman makes statistical values human-readable.
func (ExistsSource) WithOpaqueID ¶ added in v7.5.0
func (f ExistsSource) WithOpaqueID(s string) func(*ExistsSourceRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (ExistsSource) WithPreference ¶
func (f ExistsSource) WithPreference(v string) func(*ExistsSourceRequest)
WithPreference - specify the node or shard the operation should be performed on (default: random).
func (ExistsSource) WithPretty ¶
func (f ExistsSource) WithPretty() func(*ExistsSourceRequest)
WithPretty makes the response body pretty-printed.
func (ExistsSource) WithRealtime ¶
func (f ExistsSource) WithRealtime(v bool) func(*ExistsSourceRequest)
WithRealtime - specify whether to perform the operation in realtime or search mode.
func (ExistsSource) WithRefresh ¶
func (f ExistsSource) WithRefresh(v bool) func(*ExistsSourceRequest)
WithRefresh - refresh the shard containing the document before performing the operation.
func (ExistsSource) WithRouting ¶
func (f ExistsSource) WithRouting(v string) func(*ExistsSourceRequest)
WithRouting - specific routing value.
func (ExistsSource) WithSource ¶
func (f ExistsSource) WithSource(v ...string) func(*ExistsSourceRequest)
WithSource - true or false to return the _source field or not, or a list of fields to return.
func (ExistsSource) WithSourceExcludes ¶
func (f ExistsSource) WithSourceExcludes(v ...string) func(*ExistsSourceRequest)
WithSourceExcludes - a list of fields to exclude from the returned _source field.
func (ExistsSource) WithSourceIncludes ¶
func (f ExistsSource) WithSourceIncludes(v ...string) func(*ExistsSourceRequest)
WithSourceIncludes - a list of fields to extract and return from the _source field.
func (ExistsSource) WithVersion ¶
func (f ExistsSource) WithVersion(v int) func(*ExistsSourceRequest)
WithVersion - explicit version number for concurrency control.
func (ExistsSource) WithVersionType ¶
func (f ExistsSource) WithVersionType(v string) func(*ExistsSourceRequest)
WithVersionType - specific version type.
type ExistsSourceRequest ¶
type ExistsSourceRequest struct {
Index string
DocumentType string
DocumentID string
Preference string
Realtime *bool
Refresh *bool
Routing string
Source []string
SourceExcludes []string
SourceIncludes []string
Version *int
VersionType string
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
ExistsSourceRequest configures the Exists Source API request.
type Explain ¶
type Explain func(index string, id string, o ...func(*ExplainRequest)) (*Response, error)
Explain returns information about why a specific matches (or doesn't match) a query.
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/master/search-explain.html.
func (Explain) WithAnalyzeWildcard ¶
func (f Explain) WithAnalyzeWildcard(v bool) func(*ExplainRequest)
WithAnalyzeWildcard - specify whether wildcards and prefix queries in the query string query should be analyzed (default: false).
func (Explain) WithAnalyzer ¶
func (f Explain) WithAnalyzer(v string) func(*ExplainRequest)
WithAnalyzer - the analyzer for the query string query.
func (Explain) WithBody ¶
func (f Explain) WithBody(v io.Reader) func(*ExplainRequest)
WithBody - The query definition using the Query DSL.
func (Explain) WithContext ¶
func (f Explain) WithContext(v context.Context) func(*ExplainRequest)
WithContext sets the request context.
func (Explain) WithDefaultOperator ¶
func (f Explain) WithDefaultOperator(v string) func(*ExplainRequest)
WithDefaultOperator - the default operator for query string query (and or or).
func (Explain) WithDf ¶
func (f Explain) WithDf(v string) func(*ExplainRequest)
WithDf - the default field for query string query (default: _all).
func (Explain) WithDocumentType ¶
func (f Explain) WithDocumentType(v string) func(*ExplainRequest)
WithDocumentType - the type of the document.
func (Explain) WithErrorTrace ¶
func (f Explain) WithErrorTrace() func(*ExplainRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (Explain) WithFilterPath ¶
func (f Explain) WithFilterPath(v ...string) func(*ExplainRequest)
WithFilterPath filters the properties of the response body.
func (Explain) WithHeader ¶ added in v7.2.0
func (f Explain) WithHeader(h map[string]string) func(*ExplainRequest)
WithHeader adds the headers to the HTTP request.
func (Explain) WithHuman ¶
func (f Explain) WithHuman() func(*ExplainRequest)
WithHuman makes statistical values human-readable.
func (Explain) WithLenient ¶
func (f Explain) WithLenient(v bool) func(*ExplainRequest)
WithLenient - specify whether format-based query failures (such as providing text to a numeric field) should be ignored.
func (Explain) WithOpaqueID ¶ added in v7.5.0
func (f Explain) WithOpaqueID(s string) func(*ExplainRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (Explain) WithPreference ¶
func (f Explain) WithPreference(v string) func(*ExplainRequest)
WithPreference - specify the node or shard the operation should be performed on (default: random).
func (Explain) WithPretty ¶
func (f Explain) WithPretty() func(*ExplainRequest)
WithPretty makes the response body pretty-printed.
func (Explain) WithQuery ¶
func (f Explain) WithQuery(v string) func(*ExplainRequest)
WithQuery - query in the lucene query string syntax.
func (Explain) WithRouting ¶
func (f Explain) WithRouting(v string) func(*ExplainRequest)
WithRouting - specific routing value.
func (Explain) WithSource ¶
func (f Explain) WithSource(v ...string) func(*ExplainRequest)
WithSource - true or false to return the _source field or not, or a list of fields to return.
func (Explain) WithSourceExcludes ¶
func (f Explain) WithSourceExcludes(v ...string) func(*ExplainRequest)
WithSourceExcludes - a list of fields to exclude from the returned _source field.
func (Explain) WithSourceIncludes ¶
func (f Explain) WithSourceIncludes(v ...string) func(*ExplainRequest)
WithSourceIncludes - a list of fields to extract and return from the _source field.
func (Explain) WithStoredFields ¶
func (f Explain) WithStoredFields(v ...string) func(*ExplainRequest)
WithStoredFields - a list of stored fields to return in the response.
type ExplainRequest ¶
type ExplainRequest struct {
Index string
DocumentType string
DocumentID string
Body io.Reader
Analyzer string
AnalyzeWildcard *bool
DefaultOperator string
Df string
Lenient *bool
Preference string
Query string
Routing string
Source []string
SourceExcludes []string
SourceIncludes []string
StoredFields []string
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
ExplainRequest configures the Explain API request.
type FeaturesGetFeatures ¶ added in v7.12.0
type FeaturesGetFeatures func(o ...func(*FeaturesGetFeaturesRequest)) (*Response, error)
FeaturesGetFeatures gets a list of features which can be included in snapshots using the feature_states field when creating a snapshot
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/master/get-features-api.html.
func (FeaturesGetFeatures) WithContext ¶ added in v7.12.0
func (f FeaturesGetFeatures) WithContext(v context.Context) func(*FeaturesGetFeaturesRequest)
WithContext sets the request context.
func (FeaturesGetFeatures) WithErrorTrace ¶ added in v7.12.0
func (f FeaturesGetFeatures) WithErrorTrace() func(*FeaturesGetFeaturesRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (FeaturesGetFeatures) WithFilterPath ¶ added in v7.12.0
func (f FeaturesGetFeatures) WithFilterPath(v ...string) func(*FeaturesGetFeaturesRequest)
WithFilterPath filters the properties of the response body.
func (FeaturesGetFeatures) WithHeader ¶ added in v7.12.0
func (f FeaturesGetFeatures) WithHeader(h map[string]string) func(*FeaturesGetFeaturesRequest)
WithHeader adds the headers to the HTTP request.
func (FeaturesGetFeatures) WithHuman ¶ added in v7.12.0
func (f FeaturesGetFeatures) WithHuman() func(*FeaturesGetFeaturesRequest)
WithHuman makes statistical values human-readable.
func (FeaturesGetFeatures) WithMasterTimeout ¶ added in v7.12.0
func (f FeaturesGetFeatures) WithMasterTimeout(v time.Duration) func(*FeaturesGetFeaturesRequest)
WithMasterTimeout - explicit operation timeout for connection to master node.
func (FeaturesGetFeatures) WithOpaqueID ¶ added in v7.12.0
func (f FeaturesGetFeatures) WithOpaqueID(s string) func(*FeaturesGetFeaturesRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (FeaturesGetFeatures) WithPretty ¶ added in v7.12.0
func (f FeaturesGetFeatures) WithPretty() func(*FeaturesGetFeaturesRequest)
WithPretty makes the response body pretty-printed.
type FeaturesGetFeaturesRequest ¶ added in v7.12.0
type FeaturesGetFeaturesRequest struct {
MasterTimeout time.Duration
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
FeaturesGetFeaturesRequest configures the Features Get Features API request.
type FeaturesResetFeatures ¶ added in v7.13.0
type FeaturesResetFeatures func(o ...func(*FeaturesResetFeaturesRequest)) (*Response, error)
FeaturesResetFeatures resets the internal state of features, usually by deleting system indices
This API is experimental.
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-snapshots.html.
func (FeaturesResetFeatures) WithContext ¶ added in v7.13.0
func (f FeaturesResetFeatures) WithContext(v context.Context) func(*FeaturesResetFeaturesRequest)
WithContext sets the request context.
func (FeaturesResetFeatures) WithErrorTrace ¶ added in v7.13.0
func (f FeaturesResetFeatures) WithErrorTrace() func(*FeaturesResetFeaturesRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (FeaturesResetFeatures) WithFilterPath ¶ added in v7.13.0
func (f FeaturesResetFeatures) WithFilterPath(v ...string) func(*FeaturesResetFeaturesRequest)
WithFilterPath filters the properties of the response body.
func (FeaturesResetFeatures) WithHeader ¶ added in v7.13.0
func (f FeaturesResetFeatures) WithHeader(h map[string]string) func(*FeaturesResetFeaturesRequest)
WithHeader adds the headers to the HTTP request.
func (FeaturesResetFeatures) WithHuman ¶ added in v7.13.0
func (f FeaturesResetFeatures) WithHuman() func(*FeaturesResetFeaturesRequest)
WithHuman makes statistical values human-readable.
func (FeaturesResetFeatures) WithOpaqueID ¶ added in v7.13.0
func (f FeaturesResetFeatures) WithOpaqueID(s string) func(*FeaturesResetFeaturesRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (FeaturesResetFeatures) WithPretty ¶ added in v7.13.0
func (f FeaturesResetFeatures) WithPretty() func(*FeaturesResetFeaturesRequest)
WithPretty makes the response body pretty-printed.
type FeaturesResetFeaturesRequest ¶ added in v7.13.0
type FeaturesResetFeaturesRequest struct {
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
FeaturesResetFeaturesRequest configures the Features Reset Features API request.
type FieldCaps ¶
type FieldCaps func(o ...func(*FieldCapsRequest)) (*Response, error)
FieldCaps returns the information about the capabilities of fields among multiple indices.
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/master/search-field-caps.html.
func (FieldCaps) WithAllowNoIndices ¶
func (f FieldCaps) WithAllowNoIndices(v bool) func(*FieldCapsRequest)
WithAllowNoIndices - whether to ignore if a wildcard indices expression resolves into no concrete indices. (this includes `_all` string or when no indices have been specified).
func (FieldCaps) WithBody ¶ added in v7.9.0
func (f FieldCaps) WithBody(v io.Reader) func(*FieldCapsRequest)
WithBody - An index filter specified with the Query DSL.
func (FieldCaps) WithContext ¶
func (f FieldCaps) WithContext(v context.Context) func(*FieldCapsRequest)
WithContext sets the request context.
func (FieldCaps) WithErrorTrace ¶
func (f FieldCaps) WithErrorTrace() func(*FieldCapsRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (FieldCaps) WithExpandWildcards ¶
func (f FieldCaps) WithExpandWildcards(v string) func(*FieldCapsRequest)
WithExpandWildcards - whether to expand wildcard expression to concrete indices that are open, closed or both..
func (FieldCaps) WithFields ¶
func (f FieldCaps) WithFields(v ...string) func(*FieldCapsRequest)
WithFields - a list of field names.
func (FieldCaps) WithFilterPath ¶
func (f FieldCaps) WithFilterPath(v ...string) func(*FieldCapsRequest)
WithFilterPath filters the properties of the response body.
func (FieldCaps) WithHeader ¶ added in v7.2.0
func (f FieldCaps) WithHeader(h map[string]string) func(*FieldCapsRequest)
WithHeader adds the headers to the HTTP request.
func (FieldCaps) WithHuman ¶
func (f FieldCaps) WithHuman() func(*FieldCapsRequest)
WithHuman makes statistical values human-readable.
func (FieldCaps) WithIgnoreUnavailable ¶
func (f FieldCaps) WithIgnoreUnavailable(v bool) func(*FieldCapsRequest)
WithIgnoreUnavailable - whether specified concrete indices should be ignored when unavailable (missing or closed).
func (FieldCaps) WithIncludeUnmapped ¶ added in v7.2.0
func (f FieldCaps) WithIncludeUnmapped(v bool) func(*FieldCapsRequest)
WithIncludeUnmapped - indicates whether unmapped fields should be included in the response..
func (FieldCaps) WithIndex ¶
func (f FieldCaps) WithIndex(v ...string) func(*FieldCapsRequest)
WithIndex - a list of index names; use _all to perform the operation on all indices.
func (FieldCaps) WithOpaqueID ¶ added in v7.5.0
func (f FieldCaps) WithOpaqueID(s string) func(*FieldCapsRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (FieldCaps) WithPretty ¶
func (f FieldCaps) WithPretty() func(*FieldCapsRequest)
WithPretty makes the response body pretty-printed.
type FieldCapsRequest ¶
type FieldCapsRequest struct {
Index []string
Body io.Reader
AllowNoIndices *bool
ExpandWildcards string
Fields []string
IncludeUnmapped *bool
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
FieldCapsRequest configures the Field Caps API request.
type FleetGlobalCheckpoints ¶ added in v7.13.0
type FleetGlobalCheckpoints func(index string, o ...func(*FleetGlobalCheckpointsRequest)) (*Response, error)
FleetGlobalCheckpoints returns the current global checkpoints for an index. This API is design for internal use by the fleet server project.
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/current/get-global-checkpoints.html.
func (FleetGlobalCheckpoints) WithCheckpoints ¶ added in v7.13.0
func (f FleetGlobalCheckpoints) WithCheckpoints(v ...string) func(*FleetGlobalCheckpointsRequest)
WithCheckpoints - comma separated list of checkpoints.
func (FleetGlobalCheckpoints) WithContext ¶ added in v7.13.0
func (f FleetGlobalCheckpoints) WithContext(v context.Context) func(*FleetGlobalCheckpointsRequest)
WithContext sets the request context.
func (FleetGlobalCheckpoints) WithErrorTrace ¶ added in v7.13.0
func (f FleetGlobalCheckpoints) WithErrorTrace() func(*FleetGlobalCheckpointsRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (FleetGlobalCheckpoints) WithFilterPath ¶ added in v7.13.0
func (f FleetGlobalCheckpoints) WithFilterPath(v ...string) func(*FleetGlobalCheckpointsRequest)
WithFilterPath filters the properties of the response body.
func (FleetGlobalCheckpoints) WithHeader ¶ added in v7.13.0
func (f FleetGlobalCheckpoints) WithHeader(h map[string]string) func(*FleetGlobalCheckpointsRequest)
WithHeader adds the headers to the HTTP request.
func (FleetGlobalCheckpoints) WithHuman ¶ added in v7.13.0
func (f FleetGlobalCheckpoints) WithHuman() func(*FleetGlobalCheckpointsRequest)
WithHuman makes statistical values human-readable.
func (FleetGlobalCheckpoints) WithOpaqueID ¶ added in v7.13.0
func (f FleetGlobalCheckpoints) WithOpaqueID(s string) func(*FleetGlobalCheckpointsRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (FleetGlobalCheckpoints) WithPretty ¶ added in v7.13.0
func (f FleetGlobalCheckpoints) WithPretty() func(*FleetGlobalCheckpointsRequest)
WithPretty makes the response body pretty-printed.
func (FleetGlobalCheckpoints) WithTimeout ¶ added in v7.13.0
func (f FleetGlobalCheckpoints) WithTimeout(v time.Duration) func(*FleetGlobalCheckpointsRequest)
WithTimeout - timeout to wait for global checkpoint to advance.
func (FleetGlobalCheckpoints) WithWaitForAdvance ¶ added in v7.13.0
func (f FleetGlobalCheckpoints) WithWaitForAdvance(v bool) func(*FleetGlobalCheckpointsRequest)
WithWaitForAdvance - whether to wait for the global checkpoint to advance past the specified current checkpoints.
func (FleetGlobalCheckpoints) WithWaitForIndex ¶ added in v7.13.0
func (f FleetGlobalCheckpoints) WithWaitForIndex(v bool) func(*FleetGlobalCheckpointsRequest)
WithWaitForIndex - whether to wait for the target index to exist and all primary shards be active.
type FleetGlobalCheckpointsRequest ¶ added in v7.13.0
type FleetGlobalCheckpointsRequest struct {
Index string
Checkpoints []string
Timeout time.Duration
WaitForAdvance *bool
WaitForIndex *bool
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
FleetGlobalCheckpointsRequest configures the Fleet Global Checkpoints API request.
type FleetMsearch ¶ added in v7.16.0
type FleetMsearch func(body io.Reader, o ...func(*FleetMsearchRequest)) (*Response, error)
FleetMsearch multi Search API where the search will only be executed after specified checkpoints are available due to a refresh. This API is designed for internal use by the fleet server project.
This API is experimental.
func (FleetMsearch) WithContext ¶ added in v7.16.0
func (f FleetMsearch) WithContext(v context.Context) func(*FleetMsearchRequest)
WithContext sets the request context.
func (FleetMsearch) WithErrorTrace ¶ added in v7.16.0
func (f FleetMsearch) WithErrorTrace() func(*FleetMsearchRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (FleetMsearch) WithFilterPath ¶ added in v7.16.0
func (f FleetMsearch) WithFilterPath(v ...string) func(*FleetMsearchRequest)
WithFilterPath filters the properties of the response body.
func (FleetMsearch) WithHeader ¶ added in v7.16.0
func (f FleetMsearch) WithHeader(h map[string]string) func(*FleetMsearchRequest)
WithHeader adds the headers to the HTTP request.
func (FleetMsearch) WithHuman ¶ added in v7.16.0
func (f FleetMsearch) WithHuman() func(*FleetMsearchRequest)
WithHuman makes statistical values human-readable.
func (FleetMsearch) WithIndex ¶ added in v7.16.0
func (f FleetMsearch) WithIndex(v string) func(*FleetMsearchRequest)
WithIndex - the index name to use as the default.
func (FleetMsearch) WithOpaqueID ¶ added in v7.16.0
func (f FleetMsearch) WithOpaqueID(s string) func(*FleetMsearchRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (FleetMsearch) WithPretty ¶ added in v7.16.0
func (f FleetMsearch) WithPretty() func(*FleetMsearchRequest)
WithPretty makes the response body pretty-printed.
type FleetMsearchRequest ¶ added in v7.16.0
type FleetMsearchRequest struct {
Index string
Body io.Reader
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
FleetMsearchRequest configures the Fleet Msearch API request.
type FleetSearch ¶ added in v7.16.0
type FleetSearch func(index string, o ...func(*FleetSearchRequest)) (*Response, error)
FleetSearch search API where the search will only be executed after specified checkpoints are available due to a refresh. This API is designed for internal use by the fleet server project.
This API is experimental.
func (FleetSearch) WithAllowPartialSearchResults ¶ added in v7.16.0
func (f FleetSearch) WithAllowPartialSearchResults(v bool) func(*FleetSearchRequest)
WithAllowPartialSearchResults - indicate if an error should be returned if there is a partial search failure or timeout.
func (FleetSearch) WithBody ¶ added in v7.16.0
func (f FleetSearch) WithBody(v io.Reader) func(*FleetSearchRequest)
WithBody - The search definition using the Query DSL.
func (FleetSearch) WithContext ¶ added in v7.16.0
func (f FleetSearch) WithContext(v context.Context) func(*FleetSearchRequest)
WithContext sets the request context.
func (FleetSearch) WithErrorTrace ¶ added in v7.16.0
func (f FleetSearch) WithErrorTrace() func(*FleetSearchRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (FleetSearch) WithFilterPath ¶ added in v7.16.0
func (f FleetSearch) WithFilterPath(v ...string) func(*FleetSearchRequest)
WithFilterPath filters the properties of the response body.
func (FleetSearch) WithHeader ¶ added in v7.16.0
func (f FleetSearch) WithHeader(h map[string]string) func(*FleetSearchRequest)
WithHeader adds the headers to the HTTP request.
func (FleetSearch) WithHuman ¶ added in v7.16.0
func (f FleetSearch) WithHuman() func(*FleetSearchRequest)
WithHuman makes statistical values human-readable.
func (FleetSearch) WithOpaqueID ¶ added in v7.16.0
func (f FleetSearch) WithOpaqueID(s string) func(*FleetSearchRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (FleetSearch) WithPretty ¶ added in v7.16.0
func (f FleetSearch) WithPretty() func(*FleetSearchRequest)
WithPretty makes the response body pretty-printed.
func (FleetSearch) WithWaitForCheckpoints ¶ added in v7.16.0
func (f FleetSearch) WithWaitForCheckpoints(v ...string) func(*FleetSearchRequest)
WithWaitForCheckpoints - comma separated list of checkpoints, one per shard.
func (FleetSearch) WithWaitForCheckpointsTimeout ¶ added in v7.16.0
func (f FleetSearch) WithWaitForCheckpointsTimeout(v time.Duration) func(*FleetSearchRequest)
WithWaitForCheckpointsTimeout - explicit wait_for_checkpoints timeout.
type FleetSearchRequest ¶ added in v7.16.0
type FleetSearchRequest struct {
Index string
Body io.Reader
AllowPartialSearchResults *bool
WaitForCheckpoints []string
WaitForCheckpointsTimeout time.Duration
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
FleetSearchRequest configures the Fleet Search API request.
type Get ¶
type Get func(index string, id string, o ...func(*GetRequest)) (*Response, error)
Get returns a document.
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-get.html.
func (Get) WithContext ¶
func (f Get) WithContext(v context.Context) func(*GetRequest)
WithContext sets the request context.
func (Get) WithDocumentType ¶
func (f Get) WithDocumentType(v string) func(*GetRequest)
WithDocumentType - the type of the document (use `_all` to fetch the first document matching the ID across all types).
func (Get) WithErrorTrace ¶
func (f Get) WithErrorTrace() func(*GetRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (Get) WithFilterPath ¶
func (f Get) WithFilterPath(v ...string) func(*GetRequest)
WithFilterPath filters the properties of the response body.
func (Get) WithHeader ¶ added in v7.2.0
func (f Get) WithHeader(h map[string]string) func(*GetRequest)
WithHeader adds the headers to the HTTP request.
func (Get) WithHuman ¶
func (f Get) WithHuman() func(*GetRequest)
WithHuman makes statistical values human-readable.
func (Get) WithOpaqueID ¶ added in v7.5.0
func (f Get) WithOpaqueID(s string) func(*GetRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (Get) WithPreference ¶
func (f Get) WithPreference(v string) func(*GetRequest)
WithPreference - specify the node or shard the operation should be performed on (default: random).
func (Get) WithPretty ¶
func (f Get) WithPretty() func(*GetRequest)
WithPretty makes the response body pretty-printed.
func (Get) WithRealtime ¶
func (f Get) WithRealtime(v bool) func(*GetRequest)
WithRealtime - specify whether to perform the operation in realtime or search mode.
func (Get) WithRefresh ¶
func (f Get) WithRefresh(v bool) func(*GetRequest)
WithRefresh - refresh the shard containing the document before performing the operation.
func (Get) WithRouting ¶
func (f Get) WithRouting(v string) func(*GetRequest)
WithRouting - specific routing value.
func (Get) WithSource ¶
func (f Get) WithSource(v ...string) func(*GetRequest)
WithSource - true or false to return the _source field or not, or a list of fields to return.
func (Get) WithSourceExcludes ¶
func (f Get) WithSourceExcludes(v ...string) func(*GetRequest)
WithSourceExcludes - a list of fields to exclude from the returned _source field.
func (Get) WithSourceIncludes ¶
func (f Get) WithSourceIncludes(v ...string) func(*GetRequest)
WithSourceIncludes - a list of fields to extract and return from the _source field.
func (Get) WithStoredFields ¶
func (f Get) WithStoredFields(v ...string) func(*GetRequest)
WithStoredFields - a list of stored fields to return in the response.
func (Get) WithVersion ¶
func (f Get) WithVersion(v int) func(*GetRequest)
WithVersion - explicit version number for concurrency control.
func (Get) WithVersionType ¶
func (f Get) WithVersionType(v string) func(*GetRequest)
WithVersionType - specific version type.
type GetRequest ¶
type GetRequest struct {
Index string
DocumentType string
DocumentID string
Preference string
Realtime *bool
Refresh *bool
Routing string
Source []string
SourceExcludes []string
SourceIncludes []string
StoredFields []string
Version *int
VersionType string
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
GetRequest configures the Get API request.
type GetScript ¶
type GetScript func(id string, o ...func(*GetScriptRequest)) (*Response, error)
GetScript returns a script.
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting.html.
func (GetScript) WithContext ¶
func (f GetScript) WithContext(v context.Context) func(*GetScriptRequest)
WithContext sets the request context.
func (GetScript) WithErrorTrace ¶
func (f GetScript) WithErrorTrace() func(*GetScriptRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (GetScript) WithFilterPath ¶
func (f GetScript) WithFilterPath(v ...string) func(*GetScriptRequest)
WithFilterPath filters the properties of the response body.
func (GetScript) WithHeader ¶ added in v7.2.0
func (f GetScript) WithHeader(h map[string]string) func(*GetScriptRequest)
WithHeader adds the headers to the HTTP request.
func (GetScript) WithHuman ¶
func (f GetScript) WithHuman() func(*GetScriptRequest)
WithHuman makes statistical values human-readable.
func (GetScript) WithMasterTimeout ¶
func (f GetScript) WithMasterTimeout(v time.Duration) func(*GetScriptRequest)
WithMasterTimeout - specify timeout for connection to master.
func (GetScript) WithOpaqueID ¶ added in v7.5.0
func (f GetScript) WithOpaqueID(s string) func(*GetScriptRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (GetScript) WithPretty ¶
func (f GetScript) WithPretty() func(*GetScriptRequest)
WithPretty makes the response body pretty-printed.
type GetScriptContext ¶ added in v7.7.0
type GetScriptContext func(o ...func(*GetScriptContextRequest)) (*Response, error)
GetScriptContext returns all script contexts.
See full documentation at https://www.elastic.co/guide/en/elasticsearch/painless/master/painless-contexts.html.
func (GetScriptContext) WithContext ¶ added in v7.7.0
func (f GetScriptContext) WithContext(v context.Context) func(*GetScriptContextRequest)
WithContext sets the request context.
func (GetScriptContext) WithErrorTrace ¶ added in v7.7.0
func (f GetScriptContext) WithErrorTrace() func(*GetScriptContextRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (GetScriptContext) WithFilterPath ¶ added in v7.7.0
func (f GetScriptContext) WithFilterPath(v ...string) func(*GetScriptContextRequest)
WithFilterPath filters the properties of the response body.
func (GetScriptContext) WithHeader ¶ added in v7.7.0
func (f GetScriptContext) WithHeader(h map[string]string) func(*GetScriptContextRequest)
WithHeader adds the headers to the HTTP request.
func (GetScriptContext) WithHuman ¶ added in v7.7.0
func (f GetScriptContext) WithHuman() func(*GetScriptContextRequest)
WithHuman makes statistical values human-readable.
func (GetScriptContext) WithOpaqueID ¶ added in v7.7.0
func (f GetScriptContext) WithOpaqueID(s string) func(*GetScriptContextRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (GetScriptContext) WithPretty ¶ added in v7.7.0
func (f GetScriptContext) WithPretty() func(*GetScriptContextRequest)
WithPretty makes the response body pretty-printed.
type GetScriptContextRequest ¶ added in v7.7.0
type GetScriptContextRequest struct {
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
GetScriptContextRequest configures the Get Script Context API request.
type GetScriptLanguages ¶ added in v7.7.0
type GetScriptLanguages func(o ...func(*GetScriptLanguagesRequest)) (*Response, error)
GetScriptLanguages returns available script types, languages and contexts
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/master/modules-scripting.html.
func (GetScriptLanguages) WithContext ¶ added in v7.7.0
func (f GetScriptLanguages) WithContext(v context.Context) func(*GetScriptLanguagesRequest)
WithContext sets the request context.
func (GetScriptLanguages) WithErrorTrace ¶ added in v7.7.0
func (f GetScriptLanguages) WithErrorTrace() func(*GetScriptLanguagesRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (GetScriptLanguages) WithFilterPath ¶ added in v7.7.0
func (f GetScriptLanguages) WithFilterPath(v ...string) func(*GetScriptLanguagesRequest)
WithFilterPath filters the properties of the response body.
func (GetScriptLanguages) WithHeader ¶ added in v7.7.0
func (f GetScriptLanguages) WithHeader(h map[string]string) func(*GetScriptLanguagesRequest)
WithHeader adds the headers to the HTTP request.
func (GetScriptLanguages) WithHuman ¶ added in v7.7.0
func (f GetScriptLanguages) WithHuman() func(*GetScriptLanguagesRequest)
WithHuman makes statistical values human-readable.
func (GetScriptLanguages) WithOpaqueID ¶ added in v7.7.0
func (f GetScriptLanguages) WithOpaqueID(s string) func(*GetScriptLanguagesRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (GetScriptLanguages) WithPretty ¶ added in v7.7.0
func (f GetScriptLanguages) WithPretty() func(*GetScriptLanguagesRequest)
WithPretty makes the response body pretty-printed.
type GetScriptLanguagesRequest ¶ added in v7.7.0
type GetScriptLanguagesRequest struct {
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
GetScriptLanguagesRequest configures the Get Script Languages API request.
type GetScriptRequest ¶
type GetScriptRequest struct {
ScriptID string
MasterTimeout time.Duration
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
GetScriptRequest configures the Get Script API request.
type GetSource ¶
type GetSource func(index string, id string, o ...func(*GetSourceRequest)) (*Response, error)
GetSource returns the source of a document.
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-get.html.
func (GetSource) WithContext ¶
func (f GetSource) WithContext(v context.Context) func(*GetSourceRequest)
WithContext sets the request context.
func (GetSource) WithDocumentType ¶
func (f GetSource) WithDocumentType(v string) func(*GetSourceRequest)
WithDocumentType - the type of the document; deprecated and optional starting with 7.0.
func (GetSource) WithErrorTrace ¶
func (f GetSource) WithErrorTrace() func(*GetSourceRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (GetSource) WithFilterPath ¶
func (f GetSource) WithFilterPath(v ...string) func(*GetSourceRequest)
WithFilterPath filters the properties of the response body.
func (GetSource) WithHeader ¶ added in v7.2.0
func (f GetSource) WithHeader(h map[string]string) func(*GetSourceRequest)
WithHeader adds the headers to the HTTP request.
func (GetSource) WithHuman ¶
func (f GetSource) WithHuman() func(*GetSourceRequest)
WithHuman makes statistical values human-readable.
func (GetSource) WithOpaqueID ¶ added in v7.5.0
func (f GetSource) WithOpaqueID(s string) func(*GetSourceRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (GetSource) WithPreference ¶
func (f GetSource) WithPreference(v string) func(*GetSourceRequest)
WithPreference - specify the node or shard the operation should be performed on (default: random).
func (GetSource) WithPretty ¶
func (f GetSource) WithPretty() func(*GetSourceRequest)
WithPretty makes the response body pretty-printed.
func (GetSource) WithRealtime ¶
func (f GetSource) WithRealtime(v bool) func(*GetSourceRequest)
WithRealtime - specify whether to perform the operation in realtime or search mode.
func (GetSource) WithRefresh ¶
func (f GetSource) WithRefresh(v bool) func(*GetSourceRequest)
WithRefresh - refresh the shard containing the document before performing the operation.
func (GetSource) WithRouting ¶
func (f GetSource) WithRouting(v string) func(*GetSourceRequest)
WithRouting - specific routing value.
func (GetSource) WithSource ¶
func (f GetSource) WithSource(v ...string) func(*GetSourceRequest)
WithSource - true or false to return the _source field or not, or a list of fields to return.
func (GetSource) WithSourceExcludes ¶
func (f GetSource) WithSourceExcludes(v ...string) func(*GetSourceRequest)
WithSourceExcludes - a list of fields to exclude from the returned _source field.
func (GetSource) WithSourceIncludes ¶
func (f GetSource) WithSourceIncludes(v ...string) func(*GetSourceRequest)
WithSourceIncludes - a list of fields to extract and return from the _source field.
func (GetSource) WithVersion ¶
func (f GetSource) WithVersion(v int) func(*GetSourceRequest)
WithVersion - explicit version number for concurrency control.
func (GetSource) WithVersionType ¶
func (f GetSource) WithVersionType(v string) func(*GetSourceRequest)
WithVersionType - specific version type.
type GetSourceRequest ¶
type GetSourceRequest struct {
Index string
DocumentType string
DocumentID string
Preference string
Realtime *bool
Refresh *bool
Routing string
Source []string
SourceExcludes []string
SourceIncludes []string
Version *int
VersionType string
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
GetSourceRequest configures the Get Source API request.
type GraphExplore ¶ added in v7.2.0
type GraphExplore func(index []string, o ...func(*GraphExploreRequest)) (*Response, error)
GraphExplore - Explore extracted and summarized information about the documents and terms in an index.
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/current/graph-explore-api.html.
func (GraphExplore) WithBody ¶ added in v7.2.0
func (f GraphExplore) WithBody(v io.Reader) func(*GraphExploreRequest)
WithBody - Graph Query DSL.
func (GraphExplore) WithContext ¶ added in v7.2.0
func (f GraphExplore) WithContext(v context.Context) func(*GraphExploreRequest)
WithContext sets the request context.
func (GraphExplore) WithDocumentType ¶ added in v7.2.0
func (f GraphExplore) WithDocumentType(v ...string) func(*GraphExploreRequest)
WithDocumentType - a list of document types to search; leave empty to perform the operation on all types.
func (GraphExplore) WithErrorTrace ¶ added in v7.2.0
func (f GraphExplore) WithErrorTrace() func(*GraphExploreRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (GraphExplore) WithFilterPath ¶ added in v7.2.0
func (f GraphExplore) WithFilterPath(v ...string) func(*GraphExploreRequest)
WithFilterPath filters the properties of the response body.
func (GraphExplore) WithHeader ¶ added in v7.2.0
func (f GraphExplore) WithHeader(h map[string]string) func(*GraphExploreRequest)
WithHeader adds the headers to the HTTP request.
func (GraphExplore) WithHuman ¶ added in v7.2.0
func (f GraphExplore) WithHuman() func(*GraphExploreRequest)
WithHuman makes statistical values human-readable.
func (GraphExplore) WithOpaqueID ¶ added in v7.5.0
func (f GraphExplore) WithOpaqueID(s string) func(*GraphExploreRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (GraphExplore) WithPretty ¶ added in v7.2.0
func (f GraphExplore) WithPretty() func(*GraphExploreRequest)
WithPretty makes the response body pretty-printed.
func (GraphExplore) WithRouting ¶ added in v7.2.0
func (f GraphExplore) WithRouting(v string) func(*GraphExploreRequest)
WithRouting - specific routing value.
func (GraphExplore) WithTimeout ¶ added in v7.2.0
func (f GraphExplore) WithTimeout(v time.Duration) func(*GraphExploreRequest)
WithTimeout - explicit operation timeout.
type GraphExploreRequest ¶ added in v7.2.0
type GraphExploreRequest struct {
Index []string
DocumentType []string
Body io.Reader
Routing string
Timeout time.Duration
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
GraphExploreRequest configures the Graph Explore API request.
type ILM ¶ added in v7.2.0
type ILM struct {
DeleteLifecycle ILMDeleteLifecycle
ExplainLifecycle ILMExplainLifecycle
GetLifecycle ILMGetLifecycle
GetStatus ILMGetStatus
MigrateToDataTiers ILMMigrateToDataTiers
MoveToStep ILMMoveToStep
PutLifecycle ILMPutLifecycle
RemovePolicy ILMRemovePolicy
Retry ILMRetry
Start ILMStart
Stop ILMStop
}
ILM contains the ILM APIs
type ILMDeleteLifecycle ¶ added in v7.2.0
type ILMDeleteLifecycle func(policy string, o ...func(*ILMDeleteLifecycleRequest)) (*Response, error)
ILMDeleteLifecycle - Deletes the specified lifecycle policy definition. A currently used policy cannot be deleted.
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/current/ilm-delete-lifecycle.html.
func (ILMDeleteLifecycle) WithContext ¶ added in v7.2.0
func (f ILMDeleteLifecycle) WithContext(v context.Context) func(*ILMDeleteLifecycleRequest)
WithContext sets the request context.
func (ILMDeleteLifecycle) WithErrorTrace ¶ added in v7.2.0
func (f ILMDeleteLifecycle) WithErrorTrace() func(*ILMDeleteLifecycleRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (ILMDeleteLifecycle) WithFilterPath ¶ added in v7.2.0
func (f ILMDeleteLifecycle) WithFilterPath(v ...string) func(*ILMDeleteLifecycleRequest)
WithFilterPath filters the properties of the response body.
func (ILMDeleteLifecycle) WithHeader ¶ added in v7.2.0
func (f ILMDeleteLifecycle) WithHeader(h map[string]string) func(*ILMDeleteLifecycleRequest)
WithHeader adds the headers to the HTTP request.
func (ILMDeleteLifecycle) WithHuman ¶ added in v7.2.0
func (f ILMDeleteLifecycle) WithHuman() func(*ILMDeleteLifecycleRequest)
WithHuman makes statistical values human-readable.
func (ILMDeleteLifecycle) WithOpaqueID ¶ added in v7.5.0
func (f ILMDeleteLifecycle) WithOpaqueID(s string) func(*ILMDeleteLifecycleRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (ILMDeleteLifecycle) WithPretty ¶ added in v7.2.0
func (f ILMDeleteLifecycle) WithPretty() func(*ILMDeleteLifecycleRequest)
WithPretty makes the response body pretty-printed.
type ILMDeleteLifecycleRequest ¶ added in v7.2.0
type ILMDeleteLifecycleRequest struct {
Policy string
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
ILMDeleteLifecycleRequest configures the ILM Delete Lifecycle API request.
type ILMExplainLifecycle ¶ added in v7.2.0
type ILMExplainLifecycle func(index string, o ...func(*ILMExplainLifecycleRequest)) (*Response, error)
ILMExplainLifecycle - Retrieves information about the index's current lifecycle state, such as the currently executing phase, action, and step.
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/current/ilm-explain-lifecycle.html.
func (ILMExplainLifecycle) WithContext ¶ added in v7.2.0
func (f ILMExplainLifecycle) WithContext(v context.Context) func(*ILMExplainLifecycleRequest)
WithContext sets the request context.
func (ILMExplainLifecycle) WithErrorTrace ¶ added in v7.2.0
func (f ILMExplainLifecycle) WithErrorTrace() func(*ILMExplainLifecycleRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (ILMExplainLifecycle) WithFilterPath ¶ added in v7.2.0
func (f ILMExplainLifecycle) WithFilterPath(v ...string) func(*ILMExplainLifecycleRequest)
WithFilterPath filters the properties of the response body.
func (ILMExplainLifecycle) WithHeader ¶ added in v7.2.0
func (f ILMExplainLifecycle) WithHeader(h map[string]string) func(*ILMExplainLifecycleRequest)
WithHeader adds the headers to the HTTP request.
func (ILMExplainLifecycle) WithHuman ¶ added in v7.2.0
func (f ILMExplainLifecycle) WithHuman() func(*ILMExplainLifecycleRequest)
WithHuman makes statistical values human-readable.
func (ILMExplainLifecycle) WithOnlyErrors ¶ added in v7.4.0
func (f ILMExplainLifecycle) WithOnlyErrors(v bool) func(*ILMExplainLifecycleRequest)
WithOnlyErrors - filters the indices included in the response to ones in an ilm error state, implies only_managed.
func (ILMExplainLifecycle) WithOnlyManaged ¶ added in v7.4.0
func (f ILMExplainLifecycle) WithOnlyManaged(v bool) func(*ILMExplainLifecycleRequest)
WithOnlyManaged - filters the indices included in the response to ones managed by ilm.
func (ILMExplainLifecycle) WithOpaqueID ¶ added in v7.5.0
func (f ILMExplainLifecycle) WithOpaqueID(s string) func(*ILMExplainLifecycleRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (ILMExplainLifecycle) WithPretty ¶ added in v7.2.0
func (f ILMExplainLifecycle) WithPretty() func(*ILMExplainLifecycleRequest)
WithPretty makes the response body pretty-printed.
type ILMExplainLifecycleRequest ¶ added in v7.2.0
type ILMExplainLifecycleRequest struct {
Index string
OnlyErrors *bool
OnlyManaged *bool
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
ILMExplainLifecycleRequest configures the ILM Explain Lifecycle API request.
type ILMGetLifecycle ¶ added in v7.2.0
type ILMGetLifecycle func(o ...func(*ILMGetLifecycleRequest)) (*Response, error)
ILMGetLifecycle - Returns the specified policy definition. Includes the policy version and last modified date.
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/current/ilm-get-lifecycle.html.
func (ILMGetLifecycle) WithContext ¶ added in v7.2.0
func (f ILMGetLifecycle) WithContext(v context.Context) func(*ILMGetLifecycleRequest)
WithContext sets the request context.
func (ILMGetLifecycle) WithErrorTrace ¶ added in v7.2.0
func (f ILMGetLifecycle) WithErrorTrace() func(*ILMGetLifecycleRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (ILMGetLifecycle) WithFilterPath ¶ added in v7.2.0
func (f ILMGetLifecycle) WithFilterPath(v ...string) func(*ILMGetLifecycleRequest)
WithFilterPath filters the properties of the response body.
func (ILMGetLifecycle) WithHeader ¶ added in v7.2.0
func (f ILMGetLifecycle) WithHeader(h map[string]string) func(*ILMGetLifecycleRequest)
WithHeader adds the headers to the HTTP request.
func (ILMGetLifecycle) WithHuman ¶ added in v7.2.0
func (f ILMGetLifecycle) WithHuman() func(*ILMGetLifecycleRequest)
WithHuman makes statistical values human-readable.
func (ILMGetLifecycle) WithOpaqueID ¶ added in v7.5.0
func (f ILMGetLifecycle) WithOpaqueID(s string) func(*ILMGetLifecycleRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (ILMGetLifecycle) WithPolicy ¶ added in v7.2.0
func (f ILMGetLifecycle) WithPolicy(v string) func(*ILMGetLifecycleRequest)
WithPolicy - the name of the index lifecycle policy.
func (ILMGetLifecycle) WithPretty ¶ added in v7.2.0
func (f ILMGetLifecycle) WithPretty() func(*ILMGetLifecycleRequest)
WithPretty makes the response body pretty-printed.
type ILMGetLifecycleRequest ¶ added in v7.2.0
type ILMGetLifecycleRequest struct {
Policy string
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
ILMGetLifecycleRequest configures the ILM Get Lifecycle API request.
type ILMGetStatus ¶ added in v7.2.0
type ILMGetStatus func(o ...func(*ILMGetStatusRequest)) (*Response, error)
ILMGetStatus - Retrieves the current index lifecycle management (ILM) status.
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/current/ilm-get-status.html.
func (ILMGetStatus) WithContext ¶ added in v7.2.0
func (f ILMGetStatus) WithContext(v context.Context) func(*ILMGetStatusRequest)
WithContext sets the request context.
func (ILMGetStatus) WithErrorTrace ¶ added in v7.2.0
func (f ILMGetStatus) WithErrorTrace() func(*ILMGetStatusRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (ILMGetStatus) WithFilterPath ¶ added in v7.2.0
func (f ILMGetStatus) WithFilterPath(v ...string) func(*ILMGetStatusRequest)
WithFilterPath filters the properties of the response body.
func (ILMGetStatus) WithHeader ¶ added in v7.2.0
func (f ILMGetStatus) WithHeader(h map[string]string) func(*ILMGetStatusRequest)
WithHeader adds the headers to the HTTP request.
func (ILMGetStatus) WithHuman ¶ added in v7.2.0
func (f ILMGetStatus) WithHuman() func(*ILMGetStatusRequest)
WithHuman makes statistical values human-readable.
func (ILMGetStatus) WithOpaqueID ¶ added in v7.5.0
func (f ILMGetStatus) WithOpaqueID(s string) func(*ILMGetStatusRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (ILMGetStatus) WithPretty ¶ added in v7.2.0
func (f ILMGetStatus) WithPretty() func(*ILMGetStatusRequest)
WithPretty makes the response body pretty-printed.
type ILMGetStatusRequest ¶ added in v7.2.0
type ILMGetStatusRequest struct {
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
ILMGetStatusRequest configures the ILM Get Status API request.
type ILMMigrateToDataTiers ¶ added in v7.14.0
type ILMMigrateToDataTiers func(o ...func(*ILMMigrateToDataTiersRequest)) (*Response, error)
ILMMigrateToDataTiers - Migrates the indices and ILM policies away from custom node attribute allocation routing to data tiers routing
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/current/ilm-migrate-to-data-tiers.html.
func (ILMMigrateToDataTiers) WithBody ¶ added in v7.14.0
func (f ILMMigrateToDataTiers) WithBody(v io.Reader) func(*ILMMigrateToDataTiersRequest)
WithBody - Optionally specify a legacy index template name to delete and optionally specify a node attribute name used for index shard routing (defaults to "data").
func (ILMMigrateToDataTiers) WithContext ¶ added in v7.14.0
func (f ILMMigrateToDataTiers) WithContext(v context.Context) func(*ILMMigrateToDataTiersRequest)
WithContext sets the request context.
func (ILMMigrateToDataTiers) WithDryRun ¶ added in v7.14.0
func (f ILMMigrateToDataTiers) WithDryRun(v bool) func(*ILMMigrateToDataTiersRequest)
WithDryRun - if set to true it will simulate the migration, providing a way to retrieve the ilm policies and indices that need to be migrated. the default is false.
func (ILMMigrateToDataTiers) WithErrorTrace ¶ added in v7.14.0
func (f ILMMigrateToDataTiers) WithErrorTrace() func(*ILMMigrateToDataTiersRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (ILMMigrateToDataTiers) WithFilterPath ¶ added in v7.14.0
func (f ILMMigrateToDataTiers) WithFilterPath(v ...string) func(*ILMMigrateToDataTiersRequest)
WithFilterPath filters the properties of the response body.
func (ILMMigrateToDataTiers) WithHeader ¶ added in v7.14.0
func (f ILMMigrateToDataTiers) WithHeader(h map[string]string) func(*ILMMigrateToDataTiersRequest)
WithHeader adds the headers to the HTTP request.
func (ILMMigrateToDataTiers) WithHuman ¶ added in v7.14.0
func (f ILMMigrateToDataTiers) WithHuman() func(*ILMMigrateToDataTiersRequest)
WithHuman makes statistical values human-readable.
func (ILMMigrateToDataTiers) WithOpaqueID ¶ added in v7.14.0
func (f ILMMigrateToDataTiers) WithOpaqueID(s string) func(*ILMMigrateToDataTiersRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (ILMMigrateToDataTiers) WithPretty ¶ added in v7.14.0
func (f ILMMigrateToDataTiers) WithPretty() func(*ILMMigrateToDataTiersRequest)
WithPretty makes the response body pretty-printed.
type ILMMigrateToDataTiersRequest ¶ added in v7.14.0
type ILMMigrateToDataTiersRequest struct {
Body io.Reader
DryRun *bool
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
ILMMigrateToDataTiersRequest configures the ILM Migrate To Data Tiers API request.
type ILMMoveToStep ¶ added in v7.2.0
type ILMMoveToStep func(index string, o ...func(*ILMMoveToStepRequest)) (*Response, error)
ILMMoveToStep - Manually moves an index into the specified step and executes that step.
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/current/ilm-move-to-step.html.
func (ILMMoveToStep) WithBody ¶ added in v7.2.0
func (f ILMMoveToStep) WithBody(v io.Reader) func(*ILMMoveToStepRequest)
WithBody - The new lifecycle step to move to.
func (ILMMoveToStep) WithContext ¶ added in v7.2.0
func (f ILMMoveToStep) WithContext(v context.Context) func(*ILMMoveToStepRequest)
WithContext sets the request context.
func (ILMMoveToStep) WithErrorTrace ¶ added in v7.2.0
func (f ILMMoveToStep) WithErrorTrace() func(*ILMMoveToStepRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (ILMMoveToStep) WithFilterPath ¶ added in v7.2.0
func (f ILMMoveToStep) WithFilterPath(v ...string) func(*ILMMoveToStepRequest)
WithFilterPath filters the properties of the response body.
func (ILMMoveToStep) WithHeader ¶ added in v7.2.0
func (f ILMMoveToStep) WithHeader(h map[string]string) func(*ILMMoveToStepRequest)
WithHeader adds the headers to the HTTP request.
func (ILMMoveToStep) WithHuman ¶ added in v7.2.0
func (f ILMMoveToStep) WithHuman() func(*ILMMoveToStepRequest)
WithHuman makes statistical values human-readable.
func (ILMMoveToStep) WithOpaqueID ¶ added in v7.5.0
func (f ILMMoveToStep) WithOpaqueID(s string) func(*ILMMoveToStepRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (ILMMoveToStep) WithPretty ¶ added in v7.2.0
func (f ILMMoveToStep) WithPretty() func(*ILMMoveToStepRequest)
WithPretty makes the response body pretty-printed.
type ILMMoveToStepRequest ¶ added in v7.2.0
type ILMMoveToStepRequest struct {
Index string
Body io.Reader
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
ILMMoveToStepRequest configures the ILM Move To Step API request.
type ILMPutLifecycle ¶ added in v7.2.0
type ILMPutLifecycle func(policy string, o ...func(*ILMPutLifecycleRequest)) (*Response, error)
ILMPutLifecycle - Creates a lifecycle policy
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/current/ilm-put-lifecycle.html.
func (ILMPutLifecycle) WithBody ¶ added in v7.2.0
func (f ILMPutLifecycle) WithBody(v io.Reader) func(*ILMPutLifecycleRequest)
WithBody - The lifecycle policy definition to register.
func (ILMPutLifecycle) WithContext ¶ added in v7.2.0
func (f ILMPutLifecycle) WithContext(v context.Context) func(*ILMPutLifecycleRequest)
WithContext sets the request context.
func (ILMPutLifecycle) WithErrorTrace ¶ added in v7.2.0
func (f ILMPutLifecycle) WithErrorTrace() func(*ILMPutLifecycleRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (ILMPutLifecycle) WithFilterPath ¶ added in v7.2.0
func (f ILMPutLifecycle) WithFilterPath(v ...string) func(*ILMPutLifecycleRequest)
WithFilterPath filters the properties of the response body.
func (ILMPutLifecycle) WithHeader ¶ added in v7.2.0
func (f ILMPutLifecycle) WithHeader(h map[string]string) func(*ILMPutLifecycleRequest)
WithHeader adds the headers to the HTTP request.
func (ILMPutLifecycle) WithHuman ¶ added in v7.2.0
func (f ILMPutLifecycle) WithHuman() func(*ILMPutLifecycleRequest)
WithHuman makes statistical values human-readable.
func (ILMPutLifecycle) WithOpaqueID ¶ added in v7.5.0
func (f ILMPutLifecycle) WithOpaqueID(s string) func(*ILMPutLifecycleRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (ILMPutLifecycle) WithPretty ¶ added in v7.2.0
func (f ILMPutLifecycle) WithPretty() func(*ILMPutLifecycleRequest)
WithPretty makes the response body pretty-printed.
type ILMPutLifecycleRequest ¶ added in v7.2.0
type ILMPutLifecycleRequest struct {
Body io.Reader
Policy string
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
ILMPutLifecycleRequest configures the ILM Put Lifecycle API request.
type ILMRemovePolicy ¶ added in v7.2.0
type ILMRemovePolicy func(index string, o ...func(*ILMRemovePolicyRequest)) (*Response, error)
ILMRemovePolicy - Removes the assigned lifecycle policy and stops managing the specified index
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/current/ilm-remove-policy.html.
func (ILMRemovePolicy) WithContext ¶ added in v7.2.0
func (f ILMRemovePolicy) WithContext(v context.Context) func(*ILMRemovePolicyRequest)
WithContext sets the request context.
func (ILMRemovePolicy) WithErrorTrace ¶ added in v7.2.0
func (f ILMRemovePolicy) WithErrorTrace() func(*ILMRemovePolicyRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (ILMRemovePolicy) WithFilterPath ¶ added in v7.2.0
func (f ILMRemovePolicy) WithFilterPath(v ...string) func(*ILMRemovePolicyRequest)
WithFilterPath filters the properties of the response body.
func (ILMRemovePolicy) WithHeader ¶ added in v7.2.0
func (f ILMRemovePolicy) WithHeader(h map[string]string) func(*ILMRemovePolicyRequest)
WithHeader adds the headers to the HTTP request.
func (ILMRemovePolicy) WithHuman ¶ added in v7.2.0
func (f ILMRemovePolicy) WithHuman() func(*ILMRemovePolicyRequest)
WithHuman makes statistical values human-readable.
func (ILMRemovePolicy) WithOpaqueID ¶ added in v7.5.0
func (f ILMRemovePolicy) WithOpaqueID(s string) func(*ILMRemovePolicyRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (ILMRemovePolicy) WithPretty ¶ added in v7.2.0
func (f ILMRemovePolicy) WithPretty() func(*ILMRemovePolicyRequest)
WithPretty makes the response body pretty-printed.
type ILMRemovePolicyRequest ¶ added in v7.2.0
type ILMRemovePolicyRequest struct {
Index string
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
ILMRemovePolicyRequest configures the ILM Remove Policy API request.
type ILMRetry ¶ added in v7.2.0
type ILMRetry func(index string, o ...func(*ILMRetryRequest)) (*Response, error)
ILMRetry - Retries executing the policy for an index that is in the ERROR step.
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/current/ilm-retry-policy.html.
func (ILMRetry) WithContext ¶ added in v7.2.0
func (f ILMRetry) WithContext(v context.Context) func(*ILMRetryRequest)
WithContext sets the request context.
func (ILMRetry) WithErrorTrace ¶ added in v7.2.0
func (f ILMRetry) WithErrorTrace() func(*ILMRetryRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (ILMRetry) WithFilterPath ¶ added in v7.2.0
func (f ILMRetry) WithFilterPath(v ...string) func(*ILMRetryRequest)
WithFilterPath filters the properties of the response body.
func (ILMRetry) WithHeader ¶ added in v7.2.0
func (f ILMRetry) WithHeader(h map[string]string) func(*ILMRetryRequest)
WithHeader adds the headers to the HTTP request.
func (ILMRetry) WithHuman ¶ added in v7.2.0
func (f ILMRetry) WithHuman() func(*ILMRetryRequest)
WithHuman makes statistical values human-readable.
func (ILMRetry) WithOpaqueID ¶ added in v7.5.0
func (f ILMRetry) WithOpaqueID(s string) func(*ILMRetryRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (ILMRetry) WithPretty ¶ added in v7.2.0
func (f ILMRetry) WithPretty() func(*ILMRetryRequest)
WithPretty makes the response body pretty-printed.
type ILMRetryRequest ¶ added in v7.2.0
type ILMRetryRequest struct {
Index string
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
ILMRetryRequest configures the ILM Retry API request.
type ILMStart ¶ added in v7.2.0
type ILMStart func(o ...func(*ILMStartRequest)) (*Response, error)
ILMStart - Start the index lifecycle management (ILM) plugin.
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/current/ilm-start.html.
func (ILMStart) WithContext ¶ added in v7.2.0
func (f ILMStart) WithContext(v context.Context) func(*ILMStartRequest)
WithContext sets the request context.
func (ILMStart) WithErrorTrace ¶ added in v7.2.0
func (f ILMStart) WithErrorTrace() func(*ILMStartRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (ILMStart) WithFilterPath ¶ added in v7.2.0
func (f ILMStart) WithFilterPath(v ...string) func(*ILMStartRequest)
WithFilterPath filters the properties of the response body.
func (ILMStart) WithHeader ¶ added in v7.2.0
func (f ILMStart) WithHeader(h map[string]string) func(*ILMStartRequest)
WithHeader adds the headers to the HTTP request.
func (ILMStart) WithHuman ¶ added in v7.2.0
func (f ILMStart) WithHuman() func(*ILMStartRequest)
WithHuman makes statistical values human-readable.
func (ILMStart) WithOpaqueID ¶ added in v7.5.0
func (f ILMStart) WithOpaqueID(s string) func(*ILMStartRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (ILMStart) WithPretty ¶ added in v7.2.0
func (f ILMStart) WithPretty() func(*ILMStartRequest)
WithPretty makes the response body pretty-printed.
type ILMStartRequest ¶ added in v7.2.0
type ILMStartRequest struct {
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
ILMStartRequest configures the ILM Start API request.
type ILMStop ¶ added in v7.2.0
type ILMStop func(o ...func(*ILMStopRequest)) (*Response, error)
ILMStop - Halts all lifecycle management operations and stops the index lifecycle management (ILM) plugin
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/current/ilm-stop.html.
func (ILMStop) WithContext ¶ added in v7.2.0
func (f ILMStop) WithContext(v context.Context) func(*ILMStopRequest)
WithContext sets the request context.
func (ILMStop) WithErrorTrace ¶ added in v7.2.0
func (f ILMStop) WithErrorTrace() func(*ILMStopRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (ILMStop) WithFilterPath ¶ added in v7.2.0
func (f ILMStop) WithFilterPath(v ...string) func(*ILMStopRequest)
WithFilterPath filters the properties of the response body.
func (ILMStop) WithHeader ¶ added in v7.2.0
func (f ILMStop) WithHeader(h map[string]string) func(*ILMStopRequest)
WithHeader adds the headers to the HTTP request.
func (ILMStop) WithHuman ¶ added in v7.2.0
func (f ILMStop) WithHuman() func(*ILMStopRequest)
WithHuman makes statistical values human-readable.
func (ILMStop) WithOpaqueID ¶ added in v7.5.0
func (f ILMStop) WithOpaqueID(s string) func(*ILMStopRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (ILMStop) WithPretty ¶ added in v7.2.0
func (f ILMStop) WithPretty() func(*ILMStopRequest)
WithPretty makes the response body pretty-printed.
type ILMStopRequest ¶ added in v7.2.0
type ILMStopRequest struct {
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
ILMStopRequest configures the ILM Stop API request.
type Index ¶
Index creates or updates a document in an index.
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/master/docs-index_.html.
func (Index) WithContext ¶
func (f Index) WithContext(v context.Context) func(*IndexRequest)
WithContext sets the request context.
func (Index) WithDocumentID ¶
func (f Index) WithDocumentID(v string) func(*IndexRequest)
WithDocumentID - document ID.
func (Index) WithDocumentType ¶
func (f Index) WithDocumentType(v string) func(*IndexRequest)
WithDocumentType - the type of the document.
func (Index) WithErrorTrace ¶
func (f Index) WithErrorTrace() func(*IndexRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (Index) WithFilterPath ¶
func (f Index) WithFilterPath(v ...string) func(*IndexRequest)
WithFilterPath filters the properties of the response body.
func (Index) WithHeader ¶ added in v7.2.0
func (f Index) WithHeader(h map[string]string) func(*IndexRequest)
WithHeader adds the headers to the HTTP request.
func (Index) WithHuman ¶
func (f Index) WithHuman() func(*IndexRequest)
WithHuman makes statistical values human-readable.
func (Index) WithIfPrimaryTerm ¶
func (f Index) WithIfPrimaryTerm(v int) func(*IndexRequest)
WithIfPrimaryTerm - only perform the index operation if the last operation that has changed the document has the specified primary term.
func (Index) WithIfSeqNo ¶
func (f Index) WithIfSeqNo(v int) func(*IndexRequest)
WithIfSeqNo - only perform the index operation if the last operation that has changed the document has the specified sequence number.
func (Index) WithOpType ¶
func (f Index) WithOpType(v string) func(*IndexRequest)
WithOpType - explicit operation type. defaults to `index` for requests with an explicit document ID, and to `create`for requests without an explicit document ID.
func (Index) WithOpaqueID ¶ added in v7.5.0
func (f Index) WithOpaqueID(s string) func(*IndexRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (Index) WithPipeline ¶
func (f Index) WithPipeline(v string) func(*IndexRequest)
WithPipeline - the pipeline ID to preprocess incoming documents with.
func (Index) WithPretty ¶
func (f Index) WithPretty() func(*IndexRequest)
WithPretty makes the response body pretty-printed.
func (Index) WithRefresh ¶
func (f Index) WithRefresh(v string) func(*IndexRequest)
WithRefresh - if `true` then refresh the affected shards to make this operation visible to search, if `wait_for` then wait for a refresh to make this operation visible to search, if `false` (the default) then do nothing with refreshes..
func (Index) WithRequireAlias ¶ added in v7.10.0
func (f Index) WithRequireAlias(v bool) func(*IndexRequest)
WithRequireAlias - when true, requires destination to be an alias. default is false.
func (Index) WithRouting ¶
func (f Index) WithRouting(v string) func(*IndexRequest)
WithRouting - specific routing value.
func (Index) WithTimeout ¶
func (f Index) WithTimeout(v time.Duration) func(*IndexRequest)
WithTimeout - explicit operation timeout.
func (Index) WithVersion ¶
func (f Index) WithVersion(v int) func(*IndexRequest)
WithVersion - explicit version number for concurrency control.
func (Index) WithVersionType ¶
func (f Index) WithVersionType(v string) func(*IndexRequest)
WithVersionType - specific version type.
func (Index) WithWaitForActiveShards ¶
func (f Index) WithWaitForActiveShards(v string) func(*IndexRequest)
WithWaitForActiveShards - sets the number of shard copies that must be active before proceeding with the index operation. defaults to 1, meaning the primary shard only. set to `all` for all shard copies, otherwise set to any non-negative value less than or equal to the total number of copies for the shard (number of replicas + 1).
type IndexRequest ¶
type IndexRequest struct {
Index string
DocumentType string
DocumentID string
Body io.Reader
IfPrimaryTerm *int
IfSeqNo *int
OpType string
Pipeline string
Refresh string
RequireAlias *bool
Routing string
Timeout time.Duration
Version *int
VersionType string
WaitForActiveShards string
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
IndexRequest configures the Index API request.
type Indices ¶
type Indices struct {
AddBlock IndicesAddBlock
Analyze IndicesAnalyze
ClearCache IndicesClearCache
Clone IndicesClone
Close IndicesClose
CreateDataStream IndicesCreateDataStream
Create IndicesCreate
DataStreamsStats IndicesDataStreamsStats
DeleteAlias IndicesDeleteAlias
DeleteDataStream IndicesDeleteDataStream
DeleteIndexTemplate IndicesDeleteIndexTemplate
Delete IndicesDelete
DeleteTemplate IndicesDeleteTemplate
DiskUsage IndicesDiskUsage
ExistsAlias IndicesExistsAlias
ExistsDocumentType IndicesExistsDocumentType
ExistsIndexTemplate IndicesExistsIndexTemplate
Exists IndicesExists
ExistsTemplate IndicesExistsTemplate
FieldUsageStats IndicesFieldUsageStats
Flush IndicesFlush
FlushSynced IndicesFlushSynced
Forcemerge IndicesForcemerge
Freeze IndicesFreeze
GetAlias IndicesGetAlias
GetDataStream IndicesGetDataStream
GetFieldMapping IndicesGetFieldMapping
GetIndexTemplate IndicesGetIndexTemplate
GetMapping IndicesGetMapping
Get IndicesGet
GetSettings IndicesGetSettings
GetTemplate IndicesGetTemplate
GetUpgrade IndicesGetUpgrade
MigrateToDataStream IndicesMigrateToDataStream
ModifyDataStream IndicesModifyDataStream
Open IndicesOpen
PromoteDataStream IndicesPromoteDataStream
PutAlias IndicesPutAlias
PutIndexTemplate IndicesPutIndexTemplate
PutMapping IndicesPutMapping
PutSettings IndicesPutSettings
PutTemplate IndicesPutTemplate
Recovery IndicesRecovery
Refresh IndicesRefresh
ReloadSearchAnalyzers IndicesReloadSearchAnalyzers
ResolveIndex IndicesResolveIndex
Rollover IndicesRollover
Segments IndicesSegments
ShardStores IndicesShardStores
Shrink IndicesShrink
SimulateIndexTemplate IndicesSimulateIndexTemplate
SimulateTemplate IndicesSimulateTemplate
Split IndicesSplit
Stats IndicesStats
Unfreeze IndicesUnfreeze
UpdateAliases IndicesUpdateAliases
Upgrade IndicesUpgrade
ValidateQuery IndicesValidateQuery
}
Indices contains the Indices APIs
type IndicesAddBlock ¶ added in v7.9.0
type IndicesAddBlock func(index []string, block string, o ...func(*IndicesAddBlockRequest)) (*Response, error)
IndicesAddBlock adds a block to an index.
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/master/index-modules-blocks.html.
func (IndicesAddBlock) WithAllowNoIndices ¶ added in v7.9.0
func (f IndicesAddBlock) WithAllowNoIndices(v bool) func(*IndicesAddBlockRequest)
WithAllowNoIndices - whether to ignore if a wildcard indices expression resolves into no concrete indices. (this includes `_all` string or when no indices have been specified).
func (IndicesAddBlock) WithContext ¶ added in v7.9.0
func (f IndicesAddBlock) WithContext(v context.Context) func(*IndicesAddBlockRequest)
WithContext sets the request context.
func (IndicesAddBlock) WithErrorTrace ¶ added in v7.9.0
func (f IndicesAddBlock) WithErrorTrace() func(*IndicesAddBlockRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (IndicesAddBlock) WithExpandWildcards ¶ added in v7.9.0
func (f IndicesAddBlock) WithExpandWildcards(v string) func(*IndicesAddBlockRequest)
WithExpandWildcards - whether to expand wildcard expression to concrete indices that are open, closed or both..
func (IndicesAddBlock) WithFilterPath ¶ added in v7.9.0
func (f IndicesAddBlock) WithFilterPath(v ...string) func(*IndicesAddBlockRequest)
WithFilterPath filters the properties of the response body.
func (IndicesAddBlock) WithHeader ¶ added in v7.9.0
func (f IndicesAddBlock) WithHeader(h map[string]string) func(*IndicesAddBlockRequest)
WithHeader adds the headers to the HTTP request.
func (IndicesAddBlock) WithHuman ¶ added in v7.9.0
func (f IndicesAddBlock) WithHuman() func(*IndicesAddBlockRequest)
WithHuman makes statistical values human-readable.
func (IndicesAddBlock) WithIgnoreUnavailable ¶ added in v7.9.0
func (f IndicesAddBlock) WithIgnoreUnavailable(v bool) func(*IndicesAddBlockRequest)
WithIgnoreUnavailable - whether specified concrete indices should be ignored when unavailable (missing or closed).
func (IndicesAddBlock) WithMasterTimeout ¶ added in v7.9.0
func (f IndicesAddBlock) WithMasterTimeout(v time.Duration) func(*IndicesAddBlockRequest)
WithMasterTimeout - specify timeout for connection to master.
func (IndicesAddBlock) WithOpaqueID ¶ added in v7.9.0
func (f IndicesAddBlock) WithOpaqueID(s string) func(*IndicesAddBlockRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (IndicesAddBlock) WithPretty ¶ added in v7.9.0
func (f IndicesAddBlock) WithPretty() func(*IndicesAddBlockRequest)
WithPretty makes the response body pretty-printed.
func (IndicesAddBlock) WithTimeout ¶ added in v7.9.0
func (f IndicesAddBlock) WithTimeout(v time.Duration) func(*IndicesAddBlockRequest)
WithTimeout - explicit operation timeout.
type IndicesAddBlockRequest ¶ added in v7.9.0
type IndicesAddBlockRequest struct {
Index []string
Block string
AllowNoIndices *bool
ExpandWildcards string
MasterTimeout time.Duration
Timeout time.Duration
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
IndicesAddBlockRequest configures the Indices Add Block API request.
type IndicesAnalyze ¶
type IndicesAnalyze func(o ...func(*IndicesAnalyzeRequest)) (*Response, error)
IndicesAnalyze performs the analysis process on a text and return the tokens breakdown of the text.
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-analyze.html.
func (IndicesAnalyze) WithBody ¶
func (f IndicesAnalyze) WithBody(v io.Reader) func(*IndicesAnalyzeRequest)
WithBody - Define analyzer/tokenizer parameters and the text on which the analysis should be performed.
func (IndicesAnalyze) WithContext ¶
func (f IndicesAnalyze) WithContext(v context.Context) func(*IndicesAnalyzeRequest)
WithContext sets the request context.
func (IndicesAnalyze) WithErrorTrace ¶
func (f IndicesAnalyze) WithErrorTrace() func(*IndicesAnalyzeRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (IndicesAnalyze) WithFilterPath ¶
func (f IndicesAnalyze) WithFilterPath(v ...string) func(*IndicesAnalyzeRequest)
WithFilterPath filters the properties of the response body.
func (IndicesAnalyze) WithHeader ¶ added in v7.2.0
func (f IndicesAnalyze) WithHeader(h map[string]string) func(*IndicesAnalyzeRequest)
WithHeader adds the headers to the HTTP request.
func (IndicesAnalyze) WithHuman ¶
func (f IndicesAnalyze) WithHuman() func(*IndicesAnalyzeRequest)
WithHuman makes statistical values human-readable.
func (IndicesAnalyze) WithIndex ¶
func (f IndicesAnalyze) WithIndex(v string) func(*IndicesAnalyzeRequest)
WithIndex - the name of the index to scope the operation.
func (IndicesAnalyze) WithOpaqueID ¶ added in v7.5.0
func (f IndicesAnalyze) WithOpaqueID(s string) func(*IndicesAnalyzeRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (IndicesAnalyze) WithPretty ¶
func (f IndicesAnalyze) WithPretty() func(*IndicesAnalyzeRequest)
WithPretty makes the response body pretty-printed.
type IndicesAnalyzeRequest ¶
type IndicesAnalyzeRequest struct {
Index string
Body io.Reader
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
IndicesAnalyzeRequest configures the Indices Analyze API request.
type IndicesClearCache ¶
type IndicesClearCache func(o ...func(*IndicesClearCacheRequest)) (*Response, error)
IndicesClearCache clears all or specific caches for one or more indices.
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-clearcache.html.
func (IndicesClearCache) WithAllowNoIndices ¶
func (f IndicesClearCache) WithAllowNoIndices(v bool) func(*IndicesClearCacheRequest)
WithAllowNoIndices - whether to ignore if a wildcard indices expression resolves into no concrete indices. (this includes `_all` string or when no indices have been specified).
func (IndicesClearCache) WithContext ¶
func (f IndicesClearCache) WithContext(v context.Context) func(*IndicesClearCacheRequest)
WithContext sets the request context.
func (IndicesClearCache) WithErrorTrace ¶
func (f IndicesClearCache) WithErrorTrace() func(*IndicesClearCacheRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (IndicesClearCache) WithExpandWildcards ¶
func (f IndicesClearCache) WithExpandWildcards(v string) func(*IndicesClearCacheRequest)
WithExpandWildcards - whether to expand wildcard expression to concrete indices that are open, closed or both..
func (IndicesClearCache) WithFielddata ¶
func (f IndicesClearCache) WithFielddata(v bool) func(*IndicesClearCacheRequest)
WithFielddata - clear field data.
func (IndicesClearCache) WithFields ¶
func (f IndicesClearCache) WithFields(v ...string) func(*IndicesClearCacheRequest)
WithFields - a list of fields to clear when using the `fielddata` parameter (default: all).
func (IndicesClearCache) WithFilterPath ¶
func (f IndicesClearCache) WithFilterPath(v ...string) func(*IndicesClearCacheRequest)
WithFilterPath filters the properties of the response body.
func (IndicesClearCache) WithHeader ¶ added in v7.2.0
func (f IndicesClearCache) WithHeader(h map[string]string) func(*IndicesClearCacheRequest)
WithHeader adds the headers to the HTTP request.
func (IndicesClearCache) WithHuman ¶
func (f IndicesClearCache) WithHuman() func(*IndicesClearCacheRequest)
WithHuman makes statistical values human-readable.
func (IndicesClearCache) WithIgnoreUnavailable ¶
func (f IndicesClearCache) WithIgnoreUnavailable(v bool) func(*IndicesClearCacheRequest)
WithIgnoreUnavailable - whether specified concrete indices should be ignored when unavailable (missing or closed).
func (IndicesClearCache) WithIndex ¶
func (f IndicesClearCache) WithIndex(v ...string) func(*IndicesClearCacheRequest)
WithIndex - a list of index name to limit the operation.
func (IndicesClearCache) WithOpaqueID ¶ added in v7.5.0
func (f IndicesClearCache) WithOpaqueID(s string) func(*IndicesClearCacheRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (IndicesClearCache) WithPretty ¶
func (f IndicesClearCache) WithPretty() func(*IndicesClearCacheRequest)
WithPretty makes the response body pretty-printed.
func (IndicesClearCache) WithQuery ¶
func (f IndicesClearCache) WithQuery(v bool) func(*IndicesClearCacheRequest)
WithQuery - clear query caches.
func (IndicesClearCache) WithRequest ¶
func (f IndicesClearCache) WithRequest(v bool) func(*IndicesClearCacheRequest)
WithRequest - clear request cache.
type IndicesClearCacheRequest ¶
type IndicesClearCacheRequest struct {
Index []string
AllowNoIndices *bool
ExpandWildcards string
Fielddata *bool
Fields []string
Query *bool
Request *bool
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
IndicesClearCacheRequest configures the Indices Clear Cache API request.
type IndicesClone ¶ added in v7.4.0
type IndicesClone func(index string, target string, o ...func(*IndicesCloneRequest)) (*Response, error)
IndicesClone clones an index
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-clone-index.html.
func (IndicesClone) WithBody ¶ added in v7.4.0
func (f IndicesClone) WithBody(v io.Reader) func(*IndicesCloneRequest)
WithBody - The configuration for the target index (`settings` and `aliases`).
func (IndicesClone) WithContext ¶ added in v7.4.0
func (f IndicesClone) WithContext(v context.Context) func(*IndicesCloneRequest)
WithContext sets the request context.
func (IndicesClone) WithErrorTrace ¶ added in v7.4.0
func (f IndicesClone) WithErrorTrace() func(*IndicesCloneRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (IndicesClone) WithFilterPath ¶ added in v7.4.0
func (f IndicesClone) WithFilterPath(v ...string) func(*IndicesCloneRequest)
WithFilterPath filters the properties of the response body.
func (IndicesClone) WithHeader ¶ added in v7.4.0
func (f IndicesClone) WithHeader(h map[string]string) func(*IndicesCloneRequest)
WithHeader adds the headers to the HTTP request.
func (IndicesClone) WithHuman ¶ added in v7.4.0
func (f IndicesClone) WithHuman() func(*IndicesCloneRequest)
WithHuman makes statistical values human-readable.
func (IndicesClone) WithMasterTimeout ¶ added in v7.4.0
func (f IndicesClone) WithMasterTimeout(v time.Duration) func(*IndicesCloneRequest)
WithMasterTimeout - specify timeout for connection to master.
func (IndicesClone) WithOpaqueID ¶ added in v7.5.0
func (f IndicesClone) WithOpaqueID(s string) func(*IndicesCloneRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (IndicesClone) WithPretty ¶ added in v7.4.0
func (f IndicesClone) WithPretty() func(*IndicesCloneRequest)
WithPretty makes the response body pretty-printed.
func (IndicesClone) WithTimeout ¶ added in v7.4.0
func (f IndicesClone) WithTimeout(v time.Duration) func(*IndicesCloneRequest)
WithTimeout - explicit operation timeout.
func (IndicesClone) WithWaitForActiveShards ¶ added in v7.4.0
func (f IndicesClone) WithWaitForActiveShards(v string) func(*IndicesCloneRequest)
WithWaitForActiveShards - set the number of active shards to wait for on the cloned index before the operation returns..
type IndicesCloneRequest ¶ added in v7.4.0
type IndicesCloneRequest struct {
Index string
Body io.Reader
Target string
MasterTimeout time.Duration
Timeout time.Duration
WaitForActiveShards string
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
IndicesCloneRequest configures the Indices Clone API request.
type IndicesClose ¶
type IndicesClose func(index []string, o ...func(*IndicesCloseRequest)) (*Response, error)
IndicesClose closes an index.
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-open-close.html.
func (IndicesClose) WithAllowNoIndices ¶
func (f IndicesClose) WithAllowNoIndices(v bool) func(*IndicesCloseRequest)
WithAllowNoIndices - whether to ignore if a wildcard indices expression resolves into no concrete indices. (this includes `_all` string or when no indices have been specified).
func (IndicesClose) WithContext ¶
func (f IndicesClose) WithContext(v context.Context) func(*IndicesCloseRequest)
WithContext sets the request context.
func (IndicesClose) WithErrorTrace ¶
func (f IndicesClose) WithErrorTrace() func(*IndicesCloseRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (IndicesClose) WithExpandWildcards ¶
func (f IndicesClose) WithExpandWildcards(v string) func(*IndicesCloseRequest)
WithExpandWildcards - whether to expand wildcard expression to concrete indices that are open, closed or both..
func (IndicesClose) WithFilterPath ¶
func (f IndicesClose) WithFilterPath(v ...string) func(*IndicesCloseRequest)
WithFilterPath filters the properties of the response body.
func (IndicesClose) WithHeader ¶ added in v7.2.0
func (f IndicesClose) WithHeader(h map[string]string) func(*IndicesCloseRequest)
WithHeader adds the headers to the HTTP request.
func (IndicesClose) WithHuman ¶
func (f IndicesClose) WithHuman() func(*IndicesCloseRequest)
WithHuman makes statistical values human-readable.
func (IndicesClose) WithIgnoreUnavailable ¶
func (f IndicesClose) WithIgnoreUnavailable(v bool) func(*IndicesCloseRequest)
WithIgnoreUnavailable - whether specified concrete indices should be ignored when unavailable (missing or closed).
func (IndicesClose) WithMasterTimeout ¶
func (f IndicesClose) WithMasterTimeout(v time.Duration) func(*IndicesCloseRequest)
WithMasterTimeout - specify timeout for connection to master.
func (IndicesClose) WithOpaqueID ¶ added in v7.5.0
func (f IndicesClose) WithOpaqueID(s string) func(*IndicesCloseRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (IndicesClose) WithPretty ¶
func (f IndicesClose) WithPretty() func(*IndicesCloseRequest)
WithPretty makes the response body pretty-printed.
func (IndicesClose) WithTimeout ¶
func (f IndicesClose) WithTimeout(v time.Duration) func(*IndicesCloseRequest)
WithTimeout - explicit operation timeout.
func (IndicesClose) WithWaitForActiveShards ¶ added in v7.2.0
func (f IndicesClose) WithWaitForActiveShards(v string) func(*IndicesCloseRequest)
WithWaitForActiveShards - sets the number of active shards to wait for before the operation returns. set to `index-setting` to wait according to the index setting `index.write.wait_for_active_shards`, or `all` to wait for all shards, or an integer. defaults to `0`..
type IndicesCloseRequest ¶
type IndicesCloseRequest struct {
Index []string
AllowNoIndices *bool
ExpandWildcards string
MasterTimeout time.Duration
Timeout time.Duration
WaitForActiveShards string
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
IndicesCloseRequest configures the Indices Close API request.
type IndicesCreate ¶
type IndicesCreate func(index string, o ...func(*IndicesCreateRequest)) (*Response, error)
IndicesCreate creates an index with optional settings and mappings.
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-create-index.html.
func (IndicesCreate) WithBody ¶
func (f IndicesCreate) WithBody(v io.Reader) func(*IndicesCreateRequest)
WithBody - The configuration for the index (`settings` and `mappings`).
func (IndicesCreate) WithContext ¶
func (f IndicesCreate) WithContext(v context.Context) func(*IndicesCreateRequest)
WithContext sets the request context.
func (IndicesCreate) WithErrorTrace ¶
func (f IndicesCreate) WithErrorTrace() func(*IndicesCreateRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (IndicesCreate) WithFilterPath ¶
func (f IndicesCreate) WithFilterPath(v ...string) func(*IndicesCreateRequest)
WithFilterPath filters the properties of the response body.
func (IndicesCreate) WithHeader ¶ added in v7.2.0
func (f IndicesCreate) WithHeader(h map[string]string) func(*IndicesCreateRequest)
WithHeader adds the headers to the HTTP request.
func (IndicesCreate) WithHuman ¶
func (f IndicesCreate) WithHuman() func(*IndicesCreateRequest)
WithHuman makes statistical values human-readable.
func (IndicesCreate) WithIncludeTypeName ¶
func (f IndicesCreate) WithIncludeTypeName(v bool) func(*IndicesCreateRequest)
WithIncludeTypeName - whether a type should be expected in the body of the mappings..
func (IndicesCreate) WithMasterTimeout ¶
func (f IndicesCreate) WithMasterTimeout(v time.Duration) func(*IndicesCreateRequest)
WithMasterTimeout - specify timeout for connection to master.
func (IndicesCreate) WithOpaqueID ¶ added in v7.5.0
func (f IndicesCreate) WithOpaqueID(s string) func(*IndicesCreateRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (IndicesCreate) WithPretty ¶
func (f IndicesCreate) WithPretty() func(*IndicesCreateRequest)
WithPretty makes the response body pretty-printed.
func (IndicesCreate) WithTimeout ¶
func (f IndicesCreate) WithTimeout(v time.Duration) func(*IndicesCreateRequest)
WithTimeout - explicit operation timeout.
func (IndicesCreate) WithWaitForActiveShards ¶
func (f IndicesCreate) WithWaitForActiveShards(v string) func(*IndicesCreateRequest)
WithWaitForActiveShards - set the number of active shards to wait for before the operation returns..
type IndicesCreateDataStream ¶ added in v7.7.0
type IndicesCreateDataStream func(name string, o ...func(*IndicesCreateDataStreamRequest)) (*Response, error)
IndicesCreateDataStream - Creates a data stream
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/master/data-streams.html.
func (IndicesCreateDataStream) WithContext ¶ added in v7.7.0
func (f IndicesCreateDataStream) WithContext(v context.Context) func(*IndicesCreateDataStreamRequest)
WithContext sets the request context.
func (IndicesCreateDataStream) WithErrorTrace ¶ added in v7.7.0
func (f IndicesCreateDataStream) WithErrorTrace() func(*IndicesCreateDataStreamRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (IndicesCreateDataStream) WithFilterPath ¶ added in v7.7.0
func (f IndicesCreateDataStream) WithFilterPath(v ...string) func(*IndicesCreateDataStreamRequest)
WithFilterPath filters the properties of the response body.
func (IndicesCreateDataStream) WithHeader ¶ added in v7.7.0
func (f IndicesCreateDataStream) WithHeader(h map[string]string) func(*IndicesCreateDataStreamRequest)
WithHeader adds the headers to the HTTP request.
func (IndicesCreateDataStream) WithHuman ¶ added in v7.7.0
func (f IndicesCreateDataStream) WithHuman() func(*IndicesCreateDataStreamRequest)
WithHuman makes statistical values human-readable.
func (IndicesCreateDataStream) WithOpaqueID ¶ added in v7.7.0
func (f IndicesCreateDataStream) WithOpaqueID(s string) func(*IndicesCreateDataStreamRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (IndicesCreateDataStream) WithPretty ¶ added in v7.7.0
func (f IndicesCreateDataStream) WithPretty() func(*IndicesCreateDataStreamRequest)
WithPretty makes the response body pretty-printed.
type IndicesCreateDataStreamRequest ¶ added in v7.7.0
type IndicesCreateDataStreamRequest struct {
Name string
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
IndicesCreateDataStreamRequest configures the Indices Create Data Stream API request.
type IndicesCreateRequest ¶
type IndicesCreateRequest struct {
Index string
Body io.Reader
IncludeTypeName *bool
MasterTimeout time.Duration
Timeout time.Duration
WaitForActiveShards string
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
IndicesCreateRequest configures the Indices Create API request.
type IndicesDataStreamsStats ¶ added in v7.9.0
type IndicesDataStreamsStats func(o ...func(*IndicesDataStreamsStatsRequest)) (*Response, error)
IndicesDataStreamsStats - Provides statistics on operations happening in a data stream.
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/master/data-streams.html.
func (IndicesDataStreamsStats) WithContext ¶ added in v7.9.0
func (f IndicesDataStreamsStats) WithContext(v context.Context) func(*IndicesDataStreamsStatsRequest)
WithContext sets the request context.
func (IndicesDataStreamsStats) WithErrorTrace ¶ added in v7.9.0
func (f IndicesDataStreamsStats) WithErrorTrace() func(*IndicesDataStreamsStatsRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (IndicesDataStreamsStats) WithFilterPath ¶ added in v7.9.0
func (f IndicesDataStreamsStats) WithFilterPath(v ...string) func(*IndicesDataStreamsStatsRequest)
WithFilterPath filters the properties of the response body.
func (IndicesDataStreamsStats) WithHeader ¶ added in v7.9.0
func (f IndicesDataStreamsStats) WithHeader(h map[string]string) func(*IndicesDataStreamsStatsRequest)
WithHeader adds the headers to the HTTP request.
func (IndicesDataStreamsStats) WithHuman ¶ added in v7.9.0
func (f IndicesDataStreamsStats) WithHuman() func(*IndicesDataStreamsStatsRequest)
WithHuman makes statistical values human-readable.
func (IndicesDataStreamsStats) WithName ¶ added in v7.9.0
func (f IndicesDataStreamsStats) WithName(v ...string) func(*IndicesDataStreamsStatsRequest)
WithName - a list of data stream names; use _all to perform the operation on all data streams.
func (IndicesDataStreamsStats) WithOpaqueID ¶ added in v7.9.0
func (f IndicesDataStreamsStats) WithOpaqueID(s string) func(*IndicesDataStreamsStatsRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (IndicesDataStreamsStats) WithPretty ¶ added in v7.9.0
func (f IndicesDataStreamsStats) WithPretty() func(*IndicesDataStreamsStatsRequest)
WithPretty makes the response body pretty-printed.
type IndicesDataStreamsStatsRequest ¶ added in v7.9.0
type IndicesDataStreamsStatsRequest struct {
Name []string
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
IndicesDataStreamsStatsRequest configures the Indices Data Streams Stats API request.
type IndicesDelete ¶
type IndicesDelete func(index []string, o ...func(*IndicesDeleteRequest)) (*Response, error)
IndicesDelete deletes an index.
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-delete-index.html.
func (IndicesDelete) WithAllowNoIndices ¶
func (f IndicesDelete) WithAllowNoIndices(v bool) func(*IndicesDeleteRequest)
WithAllowNoIndices - ignore if a wildcard expression resolves to no concrete indices (default: false).
func (IndicesDelete) WithContext ¶
func (f IndicesDelete) WithContext(v context.Context) func(*IndicesDeleteRequest)
WithContext sets the request context.
func (IndicesDelete) WithErrorTrace ¶
func (f IndicesDelete) WithErrorTrace() func(*IndicesDeleteRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (IndicesDelete) WithExpandWildcards ¶
func (f IndicesDelete) WithExpandWildcards(v string) func(*IndicesDeleteRequest)
WithExpandWildcards - whether wildcard expressions should get expanded to open, closed, or hidden indices.
func (IndicesDelete) WithFilterPath ¶
func (f IndicesDelete) WithFilterPath(v ...string) func(*IndicesDeleteRequest)
WithFilterPath filters the properties of the response body.
func (IndicesDelete) WithHeader ¶ added in v7.2.0
func (f IndicesDelete) WithHeader(h map[string]string) func(*IndicesDeleteRequest)
WithHeader adds the headers to the HTTP request.
func (IndicesDelete) WithHuman ¶
func (f IndicesDelete) WithHuman() func(*IndicesDeleteRequest)
WithHuman makes statistical values human-readable.
func (IndicesDelete) WithIgnoreUnavailable ¶
func (f IndicesDelete) WithIgnoreUnavailable(v bool) func(*IndicesDeleteRequest)
WithIgnoreUnavailable - ignore unavailable indexes (default: false).
func (IndicesDelete) WithMasterTimeout ¶
func (f IndicesDelete) WithMasterTimeout(v time.Duration) func(*IndicesDeleteRequest)
WithMasterTimeout - specify timeout for connection to master.
func (IndicesDelete) WithOpaqueID ¶ added in v7.5.0
func (f IndicesDelete) WithOpaqueID(s string) func(*IndicesDeleteRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (IndicesDelete) WithPretty ¶
func (f IndicesDelete) WithPretty() func(*IndicesDeleteRequest)
WithPretty makes the response body pretty-printed.
func (IndicesDelete) WithTimeout ¶
func (f IndicesDelete) WithTimeout(v time.Duration) func(*IndicesDeleteRequest)
WithTimeout - explicit operation timeout.
type IndicesDeleteAlias ¶
type IndicesDeleteAlias func(index []string, name []string, o ...func(*IndicesDeleteAliasRequest)) (*Response, error)
IndicesDeleteAlias deletes an alias.
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html.
func (IndicesDeleteAlias) WithContext ¶
func (f IndicesDeleteAlias) WithContext(v context.Context) func(*IndicesDeleteAliasRequest)
WithContext sets the request context.
func (IndicesDeleteAlias) WithErrorTrace ¶
func (f IndicesDeleteAlias) WithErrorTrace() func(*IndicesDeleteAliasRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (IndicesDeleteAlias) WithFilterPath ¶
func (f IndicesDeleteAlias) WithFilterPath(v ...string) func(*IndicesDeleteAliasRequest)
WithFilterPath filters the properties of the response body.
func (IndicesDeleteAlias) WithHeader ¶ added in v7.2.0
func (f IndicesDeleteAlias) WithHeader(h map[string]string) func(*IndicesDeleteAliasRequest)
WithHeader adds the headers to the HTTP request.
func (IndicesDeleteAlias) WithHuman ¶
func (f IndicesDeleteAlias) WithHuman() func(*IndicesDeleteAliasRequest)
WithHuman makes statistical values human-readable.
func (IndicesDeleteAlias) WithMasterTimeout ¶
func (f IndicesDeleteAlias) WithMasterTimeout(v time.Duration) func(*IndicesDeleteAliasRequest)
WithMasterTimeout - specify timeout for connection to master.
func (IndicesDeleteAlias) WithOpaqueID ¶ added in v7.5.0
func (f IndicesDeleteAlias) WithOpaqueID(s string) func(*IndicesDeleteAliasRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (IndicesDeleteAlias) WithPretty ¶
func (f IndicesDeleteAlias) WithPretty() func(*IndicesDeleteAliasRequest)
WithPretty makes the response body pretty-printed.
func (IndicesDeleteAlias) WithTimeout ¶
func (f IndicesDeleteAlias) WithTimeout(v time.Duration) func(*IndicesDeleteAliasRequest)
WithTimeout - explicit timestamp for the document.
type IndicesDeleteAliasRequest ¶
type IndicesDeleteAliasRequest struct {
Index []string
Name []string
MasterTimeout time.Duration
Timeout time.Duration
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
IndicesDeleteAliasRequest configures the Indices Delete Alias API request.
type IndicesDeleteDataStream ¶ added in v7.7.0
type IndicesDeleteDataStream func(name []string, o ...func(*IndicesDeleteDataStreamRequest)) (*Response, error)
IndicesDeleteDataStream - Deletes a data stream.
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/master/data-streams.html.
func (IndicesDeleteDataStream) WithContext ¶ added in v7.7.0
func (f IndicesDeleteDataStream) WithContext(v context.Context) func(*IndicesDeleteDataStreamRequest)
WithContext sets the request context.
func (IndicesDeleteDataStream) WithErrorTrace ¶ added in v7.7.0
func (f IndicesDeleteDataStream) WithErrorTrace() func(*IndicesDeleteDataStreamRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (IndicesDeleteDataStream) WithExpandWildcards ¶ added in v7.11.0
func (f IndicesDeleteDataStream) WithExpandWildcards(v string) func(*IndicesDeleteDataStreamRequest)
WithExpandWildcards - whether wildcard expressions should get expanded to open or closed indices (default: open).
func (IndicesDeleteDataStream) WithFilterPath ¶ added in v7.7.0
func (f IndicesDeleteDataStream) WithFilterPath(v ...string) func(*IndicesDeleteDataStreamRequest)
WithFilterPath filters the properties of the response body.
func (IndicesDeleteDataStream) WithHeader ¶ added in v7.7.0
func (f IndicesDeleteDataStream) WithHeader(h map[string]string) func(*IndicesDeleteDataStreamRequest)
WithHeader adds the headers to the HTTP request.
func (IndicesDeleteDataStream) WithHuman ¶ added in v7.7.0
func (f IndicesDeleteDataStream) WithHuman() func(*IndicesDeleteDataStreamRequest)
WithHuman makes statistical values human-readable.
func (IndicesDeleteDataStream) WithOpaqueID ¶ added in v7.7.0
func (f IndicesDeleteDataStream) WithOpaqueID(s string) func(*IndicesDeleteDataStreamRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (IndicesDeleteDataStream) WithPretty ¶ added in v7.7.0
func (f IndicesDeleteDataStream) WithPretty() func(*IndicesDeleteDataStreamRequest)
WithPretty makes the response body pretty-printed.
type IndicesDeleteDataStreamRequest ¶ added in v7.7.0
type IndicesDeleteDataStreamRequest struct {
Name []string
ExpandWildcards string
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
IndicesDeleteDataStreamRequest configures the Indices Delete Data Stream API request.
type IndicesDeleteIndexTemplate ¶ added in v7.7.0
type IndicesDeleteIndexTemplate func(name string, o ...func(*IndicesDeleteIndexTemplateRequest)) (*Response, error)
IndicesDeleteIndexTemplate deletes an index template.
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html.
func (IndicesDeleteIndexTemplate) WithContext ¶ added in v7.7.0
func (f IndicesDeleteIndexTemplate) WithContext(v context.Context) func(*IndicesDeleteIndexTemplateRequest)
WithContext sets the request context.
func (IndicesDeleteIndexTemplate) WithErrorTrace ¶ added in v7.7.0
func (f IndicesDeleteIndexTemplate) WithErrorTrace() func(*IndicesDeleteIndexTemplateRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (IndicesDeleteIndexTemplate) WithFilterPath ¶ added in v7.7.0
func (f IndicesDeleteIndexTemplate) WithFilterPath(v ...string) func(*IndicesDeleteIndexTemplateRequest)
WithFilterPath filters the properties of the response body.
func (IndicesDeleteIndexTemplate) WithHeader ¶ added in v7.7.0
func (f IndicesDeleteIndexTemplate) WithHeader(h map[string]string) func(*IndicesDeleteIndexTemplateRequest)
WithHeader adds the headers to the HTTP request.
func (IndicesDeleteIndexTemplate) WithHuman ¶ added in v7.7.0
func (f IndicesDeleteIndexTemplate) WithHuman() func(*IndicesDeleteIndexTemplateRequest)
WithHuman makes statistical values human-readable.
func (IndicesDeleteIndexTemplate) WithMasterTimeout ¶ added in v7.7.0
func (f IndicesDeleteIndexTemplate) WithMasterTimeout(v time.Duration) func(*IndicesDeleteIndexTemplateRequest)
WithMasterTimeout - specify timeout for connection to master.
func (IndicesDeleteIndexTemplate) WithOpaqueID ¶ added in v7.7.0
func (f IndicesDeleteIndexTemplate) WithOpaqueID(s string) func(*IndicesDeleteIndexTemplateRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (IndicesDeleteIndexTemplate) WithPretty ¶ added in v7.7.0
func (f IndicesDeleteIndexTemplate) WithPretty() func(*IndicesDeleteIndexTemplateRequest)
WithPretty makes the response body pretty-printed.
func (IndicesDeleteIndexTemplate) WithTimeout ¶ added in v7.7.0
func (f IndicesDeleteIndexTemplate) WithTimeout(v time.Duration) func(*IndicesDeleteIndexTemplateRequest)
WithTimeout - explicit operation timeout.
type IndicesDeleteIndexTemplateRequest ¶ added in v7.7.0
type IndicesDeleteIndexTemplateRequest struct {
Name string
MasterTimeout time.Duration
Timeout time.Duration
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
IndicesDeleteIndexTemplateRequest configures the Indices Delete Index Template API request.
type IndicesDeleteRequest ¶
type IndicesDeleteRequest struct {
Index []string
AllowNoIndices *bool
ExpandWildcards string
MasterTimeout time.Duration
Timeout time.Duration
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
IndicesDeleteRequest configures the Indices Delete API request.
type IndicesDeleteTemplate ¶
type IndicesDeleteTemplate func(name string, o ...func(*IndicesDeleteTemplateRequest)) (*Response, error)
IndicesDeleteTemplate deletes an index template.
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html.
func (IndicesDeleteTemplate) WithContext ¶
func (f IndicesDeleteTemplate) WithContext(v context.Context) func(*IndicesDeleteTemplateRequest)
WithContext sets the request context.
func (IndicesDeleteTemplate) WithErrorTrace ¶
func (f IndicesDeleteTemplate) WithErrorTrace() func(*IndicesDeleteTemplateRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (IndicesDeleteTemplate) WithFilterPath ¶
func (f IndicesDeleteTemplate) WithFilterPath(v ...string) func(*IndicesDeleteTemplateRequest)
WithFilterPath filters the properties of the response body.
func (IndicesDeleteTemplate) WithHeader ¶ added in v7.2.0
func (f IndicesDeleteTemplate) WithHeader(h map[string]string) func(*IndicesDeleteTemplateRequest)
WithHeader adds the headers to the HTTP request.
func (IndicesDeleteTemplate) WithHuman ¶
func (f IndicesDeleteTemplate) WithHuman() func(*IndicesDeleteTemplateRequest)
WithHuman makes statistical values human-readable.
func (IndicesDeleteTemplate) WithMasterTimeout ¶
func (f IndicesDeleteTemplate) WithMasterTimeout(v time.Duration) func(*IndicesDeleteTemplateRequest)
WithMasterTimeout - specify timeout for connection to master.
func (IndicesDeleteTemplate) WithOpaqueID ¶ added in v7.5.0
func (f IndicesDeleteTemplate) WithOpaqueID(s string) func(*IndicesDeleteTemplateRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (IndicesDeleteTemplate) WithPretty ¶
func (f IndicesDeleteTemplate) WithPretty() func(*IndicesDeleteTemplateRequest)
WithPretty makes the response body pretty-printed.
func (IndicesDeleteTemplate) WithTimeout ¶
func (f IndicesDeleteTemplate) WithTimeout(v time.Duration) func(*IndicesDeleteTemplateRequest)
WithTimeout - explicit operation timeout.
type IndicesDeleteTemplateRequest ¶
type IndicesDeleteTemplateRequest struct {
Name string
MasterTimeout time.Duration
Timeout time.Duration
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
IndicesDeleteTemplateRequest configures the Indices Delete Template API request.
type IndicesDiskUsage ¶ added in v7.15.0
type IndicesDiskUsage func(index string, o ...func(*IndicesDiskUsageRequest)) (*Response, error)
IndicesDiskUsage analyzes the disk usage of each field of an index or data stream
This API is experimental.
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-disk-usage.html.
func (IndicesDiskUsage) WithAllowNoIndices ¶ added in v7.15.0
func (f IndicesDiskUsage) WithAllowNoIndices(v bool) func(*IndicesDiskUsageRequest)
WithAllowNoIndices - whether to ignore if a wildcard indices expression resolves into no concrete indices. (this includes `_all` string or when no indices have been specified).
func (IndicesDiskUsage) WithContext ¶ added in v7.15.0
func (f IndicesDiskUsage) WithContext(v context.Context) func(*IndicesDiskUsageRequest)
WithContext sets the request context.
func (IndicesDiskUsage) WithErrorTrace ¶ added in v7.15.0
func (f IndicesDiskUsage) WithErrorTrace() func(*IndicesDiskUsageRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (IndicesDiskUsage) WithExpandWildcards ¶ added in v7.15.0
func (f IndicesDiskUsage) WithExpandWildcards(v string) func(*IndicesDiskUsageRequest)
WithExpandWildcards - whether to expand wildcard expression to concrete indices that are open, closed or both..
func (IndicesDiskUsage) WithFilterPath ¶ added in v7.15.0
func (f IndicesDiskUsage) WithFilterPath(v ...string) func(*IndicesDiskUsageRequest)
WithFilterPath filters the properties of the response body.
func (IndicesDiskUsage) WithFlush ¶ added in v7.15.0
func (f IndicesDiskUsage) WithFlush(v bool) func(*IndicesDiskUsageRequest)
WithFlush - whether flush or not before analyzing the index disk usage. defaults to true.
func (IndicesDiskUsage) WithHeader ¶ added in v7.15.0
func (f IndicesDiskUsage) WithHeader(h map[string]string) func(*IndicesDiskUsageRequest)
WithHeader adds the headers to the HTTP request.
func (IndicesDiskUsage) WithHuman ¶ added in v7.15.0
func (f IndicesDiskUsage) WithHuman() func(*IndicesDiskUsageRequest)
WithHuman makes statistical values human-readable.
func (IndicesDiskUsage) WithIgnoreUnavailable ¶ added in v7.15.0
func (f IndicesDiskUsage) WithIgnoreUnavailable(v bool) func(*IndicesDiskUsageRequest)
WithIgnoreUnavailable - whether specified concrete indices should be ignored when unavailable (missing or closed).
func (IndicesDiskUsage) WithOpaqueID ¶ added in v7.15.0
func (f IndicesDiskUsage) WithOpaqueID(s string) func(*IndicesDiskUsageRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (IndicesDiskUsage) WithPretty ¶ added in v7.15.0
func (f IndicesDiskUsage) WithPretty() func(*IndicesDiskUsageRequest)
WithPretty makes the response body pretty-printed.
func (IndicesDiskUsage) WithRunExpensiveTasks ¶ added in v7.15.0
func (f IndicesDiskUsage) WithRunExpensiveTasks(v bool) func(*IndicesDiskUsageRequest)
WithRunExpensiveTasks - must be set to [true] in order for the task to be performed. defaults to false..
type IndicesDiskUsageRequest ¶ added in v7.15.0
type IndicesDiskUsageRequest struct {
Index string
AllowNoIndices *bool
ExpandWildcards string
Flush *bool
RunExpensiveTasks *bool
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
IndicesDiskUsageRequest configures the Indices Disk Usage API request.
type IndicesExists ¶
type IndicesExists func(index []string, o ...func(*IndicesExistsRequest)) (*Response, error)
IndicesExists returns information about whether a particular index exists.
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-exists.html.
func (IndicesExists) WithAllowNoIndices ¶
func (f IndicesExists) WithAllowNoIndices(v bool) func(*IndicesExistsRequest)
WithAllowNoIndices - ignore if a wildcard expression resolves to no concrete indices (default: false).
func (IndicesExists) WithContext ¶
func (f IndicesExists) WithContext(v context.Context) func(*IndicesExistsRequest)
WithContext sets the request context.
func (IndicesExists) WithErrorTrace ¶
func (f IndicesExists) WithErrorTrace() func(*IndicesExistsRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (IndicesExists) WithExpandWildcards ¶
func (f IndicesExists) WithExpandWildcards(v string) func(*IndicesExistsRequest)
WithExpandWildcards - whether wildcard expressions should get expanded to open or closed indices (default: open).
func (IndicesExists) WithFilterPath ¶
func (f IndicesExists) WithFilterPath(v ...string) func(*IndicesExistsRequest)
WithFilterPath filters the properties of the response body.
func (IndicesExists) WithFlatSettings ¶
func (f IndicesExists) WithFlatSettings(v bool) func(*IndicesExistsRequest)
WithFlatSettings - return settings in flat format (default: false).
func (IndicesExists) WithHeader ¶ added in v7.2.0
func (f IndicesExists) WithHeader(h map[string]string) func(*IndicesExistsRequest)
WithHeader adds the headers to the HTTP request.
func (IndicesExists) WithHuman ¶
func (f IndicesExists) WithHuman() func(*IndicesExistsRequest)
WithHuman makes statistical values human-readable.
func (IndicesExists) WithIgnoreUnavailable ¶
func (f IndicesExists) WithIgnoreUnavailable(v bool) func(*IndicesExistsRequest)
WithIgnoreUnavailable - ignore unavailable indexes (default: false).
func (IndicesExists) WithIncludeDefaults ¶
func (f IndicesExists) WithIncludeDefaults(v bool) func(*IndicesExistsRequest)
WithIncludeDefaults - whether to return all default setting for each of the indices..
func (IndicesExists) WithLocal ¶
func (f IndicesExists) WithLocal(v bool) func(*IndicesExistsRequest)
WithLocal - return local information, do not retrieve the state from master node (default: false).
func (IndicesExists) WithOpaqueID ¶ added in v7.5.0
func (f IndicesExists) WithOpaqueID(s string) func(*IndicesExistsRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (IndicesExists) WithPretty ¶
func (f IndicesExists) WithPretty() func(*IndicesExistsRequest)
WithPretty makes the response body pretty-printed.
type IndicesExistsAlias ¶
type IndicesExistsAlias func(name []string, o ...func(*IndicesExistsAliasRequest)) (*Response, error)
IndicesExistsAlias returns information about whether a particular alias exists.
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html.
func (IndicesExistsAlias) WithAllowNoIndices ¶
func (f IndicesExistsAlias) WithAllowNoIndices(v bool) func(*IndicesExistsAliasRequest)
WithAllowNoIndices - whether to ignore if a wildcard indices expression resolves into no concrete indices. (this includes `_all` string or when no indices have been specified).
func (IndicesExistsAlias) WithContext ¶
func (f IndicesExistsAlias) WithContext(v context.Context) func(*IndicesExistsAliasRequest)
WithContext sets the request context.
func (IndicesExistsAlias) WithErrorTrace ¶
func (f IndicesExistsAlias) WithErrorTrace() func(*IndicesExistsAliasRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (IndicesExistsAlias) WithExpandWildcards ¶
func (f IndicesExistsAlias) WithExpandWildcards(v string) func(*IndicesExistsAliasRequest)
WithExpandWildcards - whether to expand wildcard expression to concrete indices that are open, closed or both..
func (IndicesExistsAlias) WithFilterPath ¶
func (f IndicesExistsAlias) WithFilterPath(v ...string) func(*IndicesExistsAliasRequest)
WithFilterPath filters the properties of the response body.
func (IndicesExistsAlias) WithHeader ¶ added in v7.2.0
func (f IndicesExistsAlias) WithHeader(h map[string]string) func(*IndicesExistsAliasRequest)
WithHeader adds the headers to the HTTP request.
func (IndicesExistsAlias) WithHuman ¶
func (f IndicesExistsAlias) WithHuman() func(*IndicesExistsAliasRequest)
WithHuman makes statistical values human-readable.
func (IndicesExistsAlias) WithIgnoreUnavailable ¶
func (f IndicesExistsAlias) WithIgnoreUnavailable(v bool) func(*IndicesExistsAliasRequest)
WithIgnoreUnavailable - whether specified concrete indices should be ignored when unavailable (missing or closed).
func (IndicesExistsAlias) WithIndex ¶
func (f IndicesExistsAlias) WithIndex(v ...string) func(*IndicesExistsAliasRequest)
WithIndex - a list of index names to filter aliases.
func (IndicesExistsAlias) WithLocal ¶
func (f IndicesExistsAlias) WithLocal(v bool) func(*IndicesExistsAliasRequest)
WithLocal - return local information, do not retrieve the state from master node (default: false).
func (IndicesExistsAlias) WithOpaqueID ¶ added in v7.5.0
func (f IndicesExistsAlias) WithOpaqueID(s string) func(*IndicesExistsAliasRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (IndicesExistsAlias) WithPretty ¶
func (f IndicesExistsAlias) WithPretty() func(*IndicesExistsAliasRequest)
WithPretty makes the response body pretty-printed.
type IndicesExistsAliasRequest ¶
type IndicesExistsAliasRequest struct {
Index []string
Name []string
AllowNoIndices *bool
ExpandWildcards string
Local *bool
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
IndicesExistsAliasRequest configures the Indices Exists Alias API request.
type IndicesExistsDocumentType ¶ added in v7.2.0
type IndicesExistsDocumentType func(index []string, o ...func(*IndicesExistsDocumentTypeRequest)) (*Response, error)
IndicesExistsDocumentType returns information about whether a particular document type exists. (DEPRECATED)
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-types-exists.html.
func (IndicesExistsDocumentType) WithAllowNoIndices ¶ added in v7.2.0
func (f IndicesExistsDocumentType) WithAllowNoIndices(v bool) func(*IndicesExistsDocumentTypeRequest)
WithAllowNoIndices - whether to ignore if a wildcard indices expression resolves into no concrete indices. (this includes `_all` string or when no indices have been specified).
func (IndicesExistsDocumentType) WithContext ¶ added in v7.2.0
func (f IndicesExistsDocumentType) WithContext(v context.Context) func(*IndicesExistsDocumentTypeRequest)
WithContext sets the request context.
func (IndicesExistsDocumentType) WithDocumentType ¶ added in v7.2.0
func (f IndicesExistsDocumentType) WithDocumentType(v ...string) func(*IndicesExistsDocumentTypeRequest)
WithDocumentType - a list of document types to check.
func (IndicesExistsDocumentType) WithErrorTrace ¶ added in v7.2.0
func (f IndicesExistsDocumentType) WithErrorTrace() func(*IndicesExistsDocumentTypeRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (IndicesExistsDocumentType) WithExpandWildcards ¶ added in v7.2.0
func (f IndicesExistsDocumentType) WithExpandWildcards(v string) func(*IndicesExistsDocumentTypeRequest)
WithExpandWildcards - whether to expand wildcard expression to concrete indices that are open, closed or both..
func (IndicesExistsDocumentType) WithFilterPath ¶ added in v7.2.0
func (f IndicesExistsDocumentType) WithFilterPath(v ...string) func(*IndicesExistsDocumentTypeRequest)
WithFilterPath filters the properties of the response body.
func (IndicesExistsDocumentType) WithHeader ¶ added in v7.2.0
func (f IndicesExistsDocumentType) WithHeader(h map[string]string) func(*IndicesExistsDocumentTypeRequest)
WithHeader adds the headers to the HTTP request.
func (IndicesExistsDocumentType) WithHuman ¶ added in v7.2.0
func (f IndicesExistsDocumentType) WithHuman() func(*IndicesExistsDocumentTypeRequest)
WithHuman makes statistical values human-readable.
func (IndicesExistsDocumentType) WithIgnoreUnavailable ¶ added in v7.2.0
func (f IndicesExistsDocumentType) WithIgnoreUnavailable(v bool) func(*IndicesExistsDocumentTypeRequest)
WithIgnoreUnavailable - whether specified concrete indices should be ignored when unavailable (missing or closed).
func (IndicesExistsDocumentType) WithLocal ¶ added in v7.2.0
func (f IndicesExistsDocumentType) WithLocal(v bool) func(*IndicesExistsDocumentTypeRequest)
WithLocal - return local information, do not retrieve the state from master node (default: false).
func (IndicesExistsDocumentType) WithOpaqueID ¶ added in v7.5.0
func (f IndicesExistsDocumentType) WithOpaqueID(s string) func(*IndicesExistsDocumentTypeRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (IndicesExistsDocumentType) WithPretty ¶ added in v7.2.0
func (f IndicesExistsDocumentType) WithPretty() func(*IndicesExistsDocumentTypeRequest)
WithPretty makes the response body pretty-printed.
type IndicesExistsDocumentTypeRequest ¶ added in v7.2.0
type IndicesExistsDocumentTypeRequest struct {
Index []string
DocumentType []string
AllowNoIndices *bool
ExpandWildcards string
Local *bool
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
IndicesExistsDocumentTypeRequest configures the Indices Exists Document Type API request.
type IndicesExistsIndexTemplate ¶ added in v7.7.0
type IndicesExistsIndexTemplate func(name string, o ...func(*IndicesExistsIndexTemplateRequest)) (*Response, error)
IndicesExistsIndexTemplate returns information about whether a particular index template exists.
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html.
func (IndicesExistsIndexTemplate) WithContext ¶ added in v7.7.0
func (f IndicesExistsIndexTemplate) WithContext(v context.Context) func(*IndicesExistsIndexTemplateRequest)
WithContext sets the request context.
func (IndicesExistsIndexTemplate) WithErrorTrace ¶ added in v7.7.0
func (f IndicesExistsIndexTemplate) WithErrorTrace() func(*IndicesExistsIndexTemplateRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (IndicesExistsIndexTemplate) WithFilterPath ¶ added in v7.7.0
func (f IndicesExistsIndexTemplate) WithFilterPath(v ...string) func(*IndicesExistsIndexTemplateRequest)
WithFilterPath filters the properties of the response body.
func (IndicesExistsIndexTemplate) WithFlatSettings ¶ added in v7.7.0
func (f IndicesExistsIndexTemplate) WithFlatSettings(v bool) func(*IndicesExistsIndexTemplateRequest)
WithFlatSettings - return settings in flat format (default: false).
func (IndicesExistsIndexTemplate) WithHeader ¶ added in v7.7.0
func (f IndicesExistsIndexTemplate) WithHeader(h map[string]string) func(*IndicesExistsIndexTemplateRequest)
WithHeader adds the headers to the HTTP request.
func (IndicesExistsIndexTemplate) WithHuman ¶ added in v7.7.0
func (f IndicesExistsIndexTemplate) WithHuman() func(*IndicesExistsIndexTemplateRequest)
WithHuman makes statistical values human-readable.
func (IndicesExistsIndexTemplate) WithLocal ¶ added in v7.7.0
func (f IndicesExistsIndexTemplate) WithLocal(v bool) func(*IndicesExistsIndexTemplateRequest)
WithLocal - return local information, do not retrieve the state from master node (default: false).
func (IndicesExistsIndexTemplate) WithMasterTimeout ¶ added in v7.7.0
func (f IndicesExistsIndexTemplate) WithMasterTimeout(v time.Duration) func(*IndicesExistsIndexTemplateRequest)
WithMasterTimeout - explicit operation timeout for connection to master node.
func (IndicesExistsIndexTemplate) WithOpaqueID ¶ added in v7.7.0
func (f IndicesExistsIndexTemplate) WithOpaqueID(s string) func(*IndicesExistsIndexTemplateRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (IndicesExistsIndexTemplate) WithPretty ¶ added in v7.7.0
func (f IndicesExistsIndexTemplate) WithPretty() func(*IndicesExistsIndexTemplateRequest)
WithPretty makes the response body pretty-printed.
type IndicesExistsIndexTemplateRequest ¶ added in v7.7.0
type IndicesExistsIndexTemplateRequest struct {
Name string
FlatSettings *bool
Local *bool
MasterTimeout time.Duration
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
IndicesExistsIndexTemplateRequest configures the Indices Exists Index Template API request.
type IndicesExistsRequest ¶
type IndicesExistsRequest struct {
Index []string
AllowNoIndices *bool
ExpandWildcards string
FlatSettings *bool
IncludeDefaults *bool
Local *bool
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
IndicesExistsRequest configures the Indices Exists API request.
type IndicesExistsTemplate ¶
type IndicesExistsTemplate func(name []string, o ...func(*IndicesExistsTemplateRequest)) (*Response, error)
IndicesExistsTemplate returns information about whether a particular index template exists.
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html.
func (IndicesExistsTemplate) WithContext ¶
func (f IndicesExistsTemplate) WithContext(v context.Context) func(*IndicesExistsTemplateRequest)
WithContext sets the request context.
func (IndicesExistsTemplate) WithErrorTrace ¶
func (f IndicesExistsTemplate) WithErrorTrace() func(*IndicesExistsTemplateRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (IndicesExistsTemplate) WithFilterPath ¶
func (f IndicesExistsTemplate) WithFilterPath(v ...string) func(*IndicesExistsTemplateRequest)
WithFilterPath filters the properties of the response body.
func (IndicesExistsTemplate) WithFlatSettings ¶
func (f IndicesExistsTemplate) WithFlatSettings(v bool) func(*IndicesExistsTemplateRequest)
WithFlatSettings - return settings in flat format (default: false).
func (IndicesExistsTemplate) WithHeader ¶ added in v7.2.0
func (f IndicesExistsTemplate) WithHeader(h map[string]string) func(*IndicesExistsTemplateRequest)
WithHeader adds the headers to the HTTP request.
func (IndicesExistsTemplate) WithHuman ¶
func (f IndicesExistsTemplate) WithHuman() func(*IndicesExistsTemplateRequest)
WithHuman makes statistical values human-readable.
func (IndicesExistsTemplate) WithLocal ¶
func (f IndicesExistsTemplate) WithLocal(v bool) func(*IndicesExistsTemplateRequest)
WithLocal - return local information, do not retrieve the state from master node (default: false).
func (IndicesExistsTemplate) WithMasterTimeout ¶
func (f IndicesExistsTemplate) WithMasterTimeout(v time.Duration) func(*IndicesExistsTemplateRequest)
WithMasterTimeout - explicit operation timeout for connection to master node.
func (IndicesExistsTemplate) WithOpaqueID ¶ added in v7.5.0
func (f IndicesExistsTemplate) WithOpaqueID(s string) func(*IndicesExistsTemplateRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (IndicesExistsTemplate) WithPretty ¶
func (f IndicesExistsTemplate) WithPretty() func(*IndicesExistsTemplateRequest)
WithPretty makes the response body pretty-printed.
type IndicesExistsTemplateRequest ¶
type IndicesExistsTemplateRequest struct {
Name []string
FlatSettings *bool
Local *bool
MasterTimeout time.Duration
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
IndicesExistsTemplateRequest configures the Indices Exists Template API request.
type IndicesFieldUsageStats ¶ added in v7.15.0
type IndicesFieldUsageStats func(index string, o ...func(*IndicesFieldUsageStatsRequest)) (*Response, error)
IndicesFieldUsageStats returns the field usage stats for each field of an index
This API is experimental.
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/master/field-usage-stats.html.
func (IndicesFieldUsageStats) WithAllowNoIndices ¶ added in v7.15.0
func (f IndicesFieldUsageStats) WithAllowNoIndices(v bool) func(*IndicesFieldUsageStatsRequest)
WithAllowNoIndices - whether to ignore if a wildcard indices expression resolves into no concrete indices. (this includes `_all` string or when no indices have been specified).
func (IndicesFieldUsageStats) WithContext ¶ added in v7.15.0
func (f IndicesFieldUsageStats) WithContext(v context.Context) func(*IndicesFieldUsageStatsRequest)
WithContext sets the request context.
func (IndicesFieldUsageStats) WithErrorTrace ¶ added in v7.15.0
func (f IndicesFieldUsageStats) WithErrorTrace() func(*IndicesFieldUsageStatsRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (IndicesFieldUsageStats) WithExpandWildcards ¶ added in v7.15.0
func (f IndicesFieldUsageStats) WithExpandWildcards(v string) func(*IndicesFieldUsageStatsRequest)
WithExpandWildcards - whether to expand wildcard expression to concrete indices that are open, closed or both..
func (IndicesFieldUsageStats) WithFields ¶ added in v7.15.0
func (f IndicesFieldUsageStats) WithFields(v ...string) func(*IndicesFieldUsageStatsRequest)
WithFields - a list of fields to include in the stats if only a subset of fields should be returned (supports wildcards).
func (IndicesFieldUsageStats) WithFilterPath ¶ added in v7.15.0
func (f IndicesFieldUsageStats) WithFilterPath(v ...string) func(*IndicesFieldUsageStatsRequest)
WithFilterPath filters the properties of the response body.
func (IndicesFieldUsageStats) WithHeader ¶ added in v7.15.0
func (f IndicesFieldUsageStats) WithHeader(h map[string]string) func(*IndicesFieldUsageStatsRequest)
WithHeader adds the headers to the HTTP request.
func (IndicesFieldUsageStats) WithHuman ¶ added in v7.15.0
func (f IndicesFieldUsageStats) WithHuman() func(*IndicesFieldUsageStatsRequest)
WithHuman makes statistical values human-readable.
func (IndicesFieldUsageStats) WithIgnoreUnavailable ¶ added in v7.15.0
func (f IndicesFieldUsageStats) WithIgnoreUnavailable(v bool) func(*IndicesFieldUsageStatsRequest)
WithIgnoreUnavailable - whether specified concrete indices should be ignored when unavailable (missing or closed).
func (IndicesFieldUsageStats) WithOpaqueID ¶ added in v7.15.0
func (f IndicesFieldUsageStats) WithOpaqueID(s string) func(*IndicesFieldUsageStatsRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (IndicesFieldUsageStats) WithPretty ¶ added in v7.15.0
func (f IndicesFieldUsageStats) WithPretty() func(*IndicesFieldUsageStatsRequest)
WithPretty makes the response body pretty-printed.
type IndicesFieldUsageStatsRequest ¶ added in v7.15.0
type IndicesFieldUsageStatsRequest struct {
Index string
AllowNoIndices *bool
ExpandWildcards string
Fields []string
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
IndicesFieldUsageStatsRequest configures the Indices Field Usage Stats API request.
type IndicesFlush ¶
type IndicesFlush func(o ...func(*IndicesFlushRequest)) (*Response, error)
IndicesFlush performs the flush operation on one or more indices.
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-flush.html.
func (IndicesFlush) WithAllowNoIndices ¶
func (f IndicesFlush) WithAllowNoIndices(v bool) func(*IndicesFlushRequest)
WithAllowNoIndices - whether to ignore if a wildcard indices expression resolves into no concrete indices. (this includes `_all` string or when no indices have been specified).
func (IndicesFlush) WithContext ¶
func (f IndicesFlush) WithContext(v context.Context) func(*IndicesFlushRequest)
WithContext sets the request context.
func (IndicesFlush) WithErrorTrace ¶
func (f IndicesFlush) WithErrorTrace() func(*IndicesFlushRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (IndicesFlush) WithExpandWildcards ¶
func (f IndicesFlush) WithExpandWildcards(v string) func(*IndicesFlushRequest)
WithExpandWildcards - whether to expand wildcard expression to concrete indices that are open, closed or both..
func (IndicesFlush) WithFilterPath ¶
func (f IndicesFlush) WithFilterPath(v ...string) func(*IndicesFlushRequest)
WithFilterPath filters the properties of the response body.
func (IndicesFlush) WithForce ¶
func (f IndicesFlush) WithForce(v bool) func(*IndicesFlushRequest)
WithForce - whether a flush should be forced even if it is not necessarily needed ie. if no changes will be committed to the index. this is useful if transaction log ids should be incremented even if no uncommitted changes are present. (this setting can be considered as internal).
func (IndicesFlush) WithHeader ¶ added in v7.2.0
func (f IndicesFlush) WithHeader(h map[string]string) func(*IndicesFlushRequest)
WithHeader adds the headers to the HTTP request.
func (IndicesFlush) WithHuman ¶
func (f IndicesFlush) WithHuman() func(*IndicesFlushRequest)
WithHuman makes statistical values human-readable.
func (IndicesFlush) WithIgnoreUnavailable ¶
func (f IndicesFlush) WithIgnoreUnavailable(v bool) func(*IndicesFlushRequest)
WithIgnoreUnavailable - whether specified concrete indices should be ignored when unavailable (missing or closed).
func (IndicesFlush) WithIndex ¶
func (f IndicesFlush) WithIndex(v ...string) func(*IndicesFlushRequest)
WithIndex - a list of index names; use _all for all indices.
func (IndicesFlush) WithOpaqueID ¶ added in v7.5.0
func (f IndicesFlush) WithOpaqueID(s string) func(*IndicesFlushRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (IndicesFlush) WithPretty ¶
func (f IndicesFlush) WithPretty() func(*IndicesFlushRequest)
WithPretty makes the response body pretty-printed.
func (IndicesFlush) WithWaitIfOngoing ¶
func (f IndicesFlush) WithWaitIfOngoing(v bool) func(*IndicesFlushRequest)
WithWaitIfOngoing - if set to true the flush operation will block until the flush can be executed if another flush operation is already executing. the default is true. if set to false the flush will be skipped iff if another flush operation is already running..
type IndicesFlushRequest ¶
type IndicesFlushRequest struct {
Index []string
AllowNoIndices *bool
ExpandWildcards string
Force *bool
WaitIfOngoing *bool
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
IndicesFlushRequest configures the Indices Flush API request.
type IndicesFlushSynced ¶
type IndicesFlushSynced func(o ...func(*IndicesFlushSyncedRequest)) (*Response, error)
IndicesFlushSynced performs a synced flush operation on one or more indices. Synced flush is deprecated and will be removed in 8.0. Use flush instead
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-synced-flush-api.html.
func (IndicesFlushSynced) WithAllowNoIndices ¶
func (f IndicesFlushSynced) WithAllowNoIndices(v bool) func(*IndicesFlushSyncedRequest)
WithAllowNoIndices - whether to ignore if a wildcard indices expression resolves into no concrete indices. (this includes `_all` string or when no indices have been specified).
func (IndicesFlushSynced) WithContext ¶
func (f IndicesFlushSynced) WithContext(v context.Context) func(*IndicesFlushSyncedRequest)
WithContext sets the request context.
func (IndicesFlushSynced) WithErrorTrace ¶
func (f IndicesFlushSynced) WithErrorTrace() func(*IndicesFlushSyncedRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (IndicesFlushSynced) WithExpandWildcards ¶
func (f IndicesFlushSynced) WithExpandWildcards(v string) func(*IndicesFlushSyncedRequest)
WithExpandWildcards - whether to expand wildcard expression to concrete indices that are open, closed or both..
func (IndicesFlushSynced) WithFilterPath ¶
func (f IndicesFlushSynced) WithFilterPath(v ...string) func(*IndicesFlushSyncedRequest)
WithFilterPath filters the properties of the response body.
func (IndicesFlushSynced) WithHeader ¶ added in v7.2.0
func (f IndicesFlushSynced) WithHeader(h map[string]string) func(*IndicesFlushSyncedRequest)
WithHeader adds the headers to the HTTP request.
func (IndicesFlushSynced) WithHuman ¶
func (f IndicesFlushSynced) WithHuman() func(*IndicesFlushSyncedRequest)
WithHuman makes statistical values human-readable.
func (IndicesFlushSynced) WithIgnoreUnavailable ¶
func (f IndicesFlushSynced) WithIgnoreUnavailable(v bool) func(*IndicesFlushSyncedRequest)
WithIgnoreUnavailable - whether specified concrete indices should be ignored when unavailable (missing or closed).
func (IndicesFlushSynced) WithIndex ¶
func (f IndicesFlushSynced) WithIndex(v ...string) func(*IndicesFlushSyncedRequest)
WithIndex - a list of index names; use _all for all indices.
func (IndicesFlushSynced) WithOpaqueID ¶ added in v7.5.0
func (f IndicesFlushSynced) WithOpaqueID(s string) func(*IndicesFlushSyncedRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (IndicesFlushSynced) WithPretty ¶
func (f IndicesFlushSynced) WithPretty() func(*IndicesFlushSyncedRequest)
WithPretty makes the response body pretty-printed.
type IndicesFlushSyncedRequest ¶
type IndicesFlushSyncedRequest struct {
Index []string
AllowNoIndices *bool
ExpandWildcards string
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
IndicesFlushSyncedRequest configures the Indices Flush Synced API request.
type IndicesForcemerge ¶
type IndicesForcemerge func(o ...func(*IndicesForcemergeRequest)) (*Response, error)
IndicesForcemerge performs the force merge operation on one or more indices.
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-forcemerge.html.
func (IndicesForcemerge) WithAllowNoIndices ¶
func (f IndicesForcemerge) WithAllowNoIndices(v bool) func(*IndicesForcemergeRequest)
WithAllowNoIndices - whether to ignore if a wildcard indices expression resolves into no concrete indices. (this includes `_all` string or when no indices have been specified).
func (IndicesForcemerge) WithContext ¶
func (f IndicesForcemerge) WithContext(v context.Context) func(*IndicesForcemergeRequest)
WithContext sets the request context.
func (IndicesForcemerge) WithErrorTrace ¶
func (f IndicesForcemerge) WithErrorTrace() func(*IndicesForcemergeRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (IndicesForcemerge) WithExpandWildcards ¶
func (f IndicesForcemerge) WithExpandWildcards(v string) func(*IndicesForcemergeRequest)
WithExpandWildcards - whether to expand wildcard expression to concrete indices that are open, closed or both..
func (IndicesForcemerge) WithFilterPath ¶
func (f IndicesForcemerge) WithFilterPath(v ...string) func(*IndicesForcemergeRequest)
WithFilterPath filters the properties of the response body.
func (IndicesForcemerge) WithFlush ¶
func (f IndicesForcemerge) WithFlush(v bool) func(*IndicesForcemergeRequest)
WithFlush - specify whether the index should be flushed after performing the operation (default: true).
func (IndicesForcemerge) WithHeader ¶ added in v7.2.0
func (f IndicesForcemerge) WithHeader(h map[string]string) func(*IndicesForcemergeRequest)
WithHeader adds the headers to the HTTP request.
func (IndicesForcemerge) WithHuman ¶
func (f IndicesForcemerge) WithHuman() func(*IndicesForcemergeRequest)
WithHuman makes statistical values human-readable.
func (IndicesForcemerge) WithIgnoreUnavailable ¶
func (f IndicesForcemerge) WithIgnoreUnavailable(v bool) func(*IndicesForcemergeRequest)
WithIgnoreUnavailable - whether specified concrete indices should be ignored when unavailable (missing or closed).
func (IndicesForcemerge) WithIndex ¶
func (f IndicesForcemerge) WithIndex(v ...string) func(*IndicesForcemergeRequest)
WithIndex - a list of index names; use _all to perform the operation on all indices.
func (IndicesForcemerge) WithMaxNumSegments ¶
func (f IndicesForcemerge) WithMaxNumSegments(v int) func(*IndicesForcemergeRequest)
WithMaxNumSegments - the number of segments the index should be merged into (default: dynamic).
func (IndicesForcemerge) WithOnlyExpungeDeletes ¶
func (f IndicesForcemerge) WithOnlyExpungeDeletes(v bool) func(*IndicesForcemergeRequest)
WithOnlyExpungeDeletes - specify whether the operation should only expunge deleted documents.
func (IndicesForcemerge) WithOpaqueID ¶ added in v7.5.0
func (f IndicesForcemerge) WithOpaqueID(s string) func(*IndicesForcemergeRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (IndicesForcemerge) WithPretty ¶
func (f IndicesForcemerge) WithPretty() func(*IndicesForcemergeRequest)
WithPretty makes the response body pretty-printed.
type IndicesForcemergeRequest ¶
type IndicesForcemergeRequest struct {
Index []string
AllowNoIndices *bool
ExpandWildcards string
Flush *bool
MaxNumSegments *int
OnlyExpungeDeletes *bool
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
IndicesForcemergeRequest configures the Indices Forcemerge API request.
type IndicesFreeze ¶ added in v7.2.0
type IndicesFreeze func(index string, o ...func(*IndicesFreezeRequest)) (*Response, error)
IndicesFreeze - Freezes an index. A frozen index has almost no overhead on the cluster (except for maintaining its metadata in memory) and is read-only.
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/current/freeze-index-api.html.
func (IndicesFreeze) WithAllowNoIndices ¶ added in v7.2.0
func (f IndicesFreeze) WithAllowNoIndices(v bool) func(*IndicesFreezeRequest)
WithAllowNoIndices - whether to ignore if a wildcard indices expression resolves into no concrete indices. (this includes `_all` string or when no indices have been specified).
func (IndicesFreeze) WithContext ¶ added in v7.2.0
func (f IndicesFreeze) WithContext(v context.Context) func(*IndicesFreezeRequest)
WithContext sets the request context.
func (IndicesFreeze) WithErrorTrace ¶ added in v7.2.0
func (f IndicesFreeze) WithErrorTrace() func(*IndicesFreezeRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (IndicesFreeze) WithExpandWildcards ¶ added in v7.2.0
func (f IndicesFreeze) WithExpandWildcards(v string) func(*IndicesFreezeRequest)
WithExpandWildcards - whether to expand wildcard expression to concrete indices that are open, closed or both..
func (IndicesFreeze) WithFilterPath ¶ added in v7.2.0
func (f IndicesFreeze) WithFilterPath(v ...string) func(*IndicesFreezeRequest)
WithFilterPath filters the properties of the response body.
func (IndicesFreeze) WithHeader ¶ added in v7.2.0
func (f IndicesFreeze) WithHeader(h map[string]string) func(*IndicesFreezeRequest)
WithHeader adds the headers to the HTTP request.
func (IndicesFreeze) WithHuman ¶ added in v7.2.0
func (f IndicesFreeze) WithHuman() func(*IndicesFreezeRequest)
WithHuman makes statistical values human-readable.
func (IndicesFreeze) WithIgnoreUnavailable ¶ added in v7.2.0
func (f IndicesFreeze) WithIgnoreUnavailable(v bool) func(*IndicesFreezeRequest)
WithIgnoreUnavailable - whether specified concrete indices should be ignored when unavailable (missing or closed).
func (IndicesFreeze) WithMasterTimeout ¶ added in v7.2.0
func (f IndicesFreeze) WithMasterTimeout(v time.Duration) func(*IndicesFreezeRequest)
WithMasterTimeout - specify timeout for connection to master.
func (IndicesFreeze) WithOpaqueID ¶ added in v7.5.0
func (f IndicesFreeze) WithOpaqueID(s string) func(*IndicesFreezeRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (IndicesFreeze) WithPretty ¶ added in v7.2.0
func (f IndicesFreeze) WithPretty() func(*IndicesFreezeRequest)
WithPretty makes the response body pretty-printed.
func (IndicesFreeze) WithTimeout ¶ added in v7.2.0
func (f IndicesFreeze) WithTimeout(v time.Duration) func(*IndicesFreezeRequest)
WithTimeout - explicit operation timeout.
func (IndicesFreeze) WithWaitForActiveShards ¶ added in v7.2.0
func (f IndicesFreeze) WithWaitForActiveShards(v string) func(*IndicesFreezeRequest)
WithWaitForActiveShards - sets the number of active shards to wait for before the operation returns..
type IndicesFreezeRequest ¶ added in v7.2.0
type IndicesFreezeRequest struct {
Index string
AllowNoIndices *bool
ExpandWildcards string
MasterTimeout time.Duration
Timeout time.Duration
WaitForActiveShards string
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
IndicesFreezeRequest configures the Indices Freeze API request.
type IndicesGet ¶
type IndicesGet func(index []string, o ...func(*IndicesGetRequest)) (*Response, error)
IndicesGet returns information about one or more indices.
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-index.html.
func (IndicesGet) WithAllowNoIndices ¶
func (f IndicesGet) WithAllowNoIndices(v bool) func(*IndicesGetRequest)
WithAllowNoIndices - ignore if a wildcard expression resolves to no concrete indices (default: false).
func (IndicesGet) WithContext ¶
func (f IndicesGet) WithContext(v context.Context) func(*IndicesGetRequest)
WithContext sets the request context.
func (IndicesGet) WithErrorTrace ¶
func (f IndicesGet) WithErrorTrace() func(*IndicesGetRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (IndicesGet) WithExpandWildcards ¶
func (f IndicesGet) WithExpandWildcards(v string) func(*IndicesGetRequest)
WithExpandWildcards - whether wildcard expressions should get expanded to open or closed indices (default: open).
func (IndicesGet) WithFilterPath ¶
func (f IndicesGet) WithFilterPath(v ...string) func(*IndicesGetRequest)
WithFilterPath filters the properties of the response body.
func (IndicesGet) WithFlatSettings ¶
func (f IndicesGet) WithFlatSettings(v bool) func(*IndicesGetRequest)
WithFlatSettings - return settings in flat format (default: false).
func (IndicesGet) WithHeader ¶ added in v7.2.0
func (f IndicesGet) WithHeader(h map[string]string) func(*IndicesGetRequest)
WithHeader adds the headers to the HTTP request.
func (IndicesGet) WithHuman ¶
func (f IndicesGet) WithHuman() func(*IndicesGetRequest)
WithHuman makes statistical values human-readable.
func (IndicesGet) WithIgnoreUnavailable ¶
func (f IndicesGet) WithIgnoreUnavailable(v bool) func(*IndicesGetRequest)
WithIgnoreUnavailable - ignore unavailable indexes (default: false).
func (IndicesGet) WithIncludeDefaults ¶
func (f IndicesGet) WithIncludeDefaults(v bool) func(*IndicesGetRequest)
WithIncludeDefaults - whether to return all default setting for each of the indices..
func (IndicesGet) WithIncludeTypeName ¶
func (f IndicesGet) WithIncludeTypeName(v bool) func(*IndicesGetRequest)
WithIncludeTypeName - whether to add the type name to the response (default: false).
func (IndicesGet) WithLocal ¶
func (f IndicesGet) WithLocal(v bool) func(*IndicesGetRequest)
WithLocal - return local information, do not retrieve the state from master node (default: false).
func (IndicesGet) WithMasterTimeout ¶
func (f IndicesGet) WithMasterTimeout(v time.Duration) func(*IndicesGetRequest)
WithMasterTimeout - specify timeout for connection to master.
func (IndicesGet) WithOpaqueID ¶ added in v7.5.0
func (f IndicesGet) WithOpaqueID(s string) func(*IndicesGetRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (IndicesGet) WithPretty ¶
func (f IndicesGet) WithPretty() func(*IndicesGetRequest)
WithPretty makes the response body pretty-printed.
type IndicesGetAlias ¶
type IndicesGetAlias func(o ...func(*IndicesGetAliasRequest)) (*Response, error)
IndicesGetAlias returns an alias.
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html.
func (IndicesGetAlias) WithAllowNoIndices ¶
func (f IndicesGetAlias) WithAllowNoIndices(v bool) func(*IndicesGetAliasRequest)
WithAllowNoIndices - whether to ignore if a wildcard indices expression resolves into no concrete indices. (this includes `_all` string or when no indices have been specified).
func (IndicesGetAlias) WithContext ¶
func (f IndicesGetAlias) WithContext(v context.Context) func(*IndicesGetAliasRequest)
WithContext sets the request context.
func (IndicesGetAlias) WithErrorTrace ¶
func (f IndicesGetAlias) WithErrorTrace() func(*IndicesGetAliasRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (IndicesGetAlias) WithExpandWildcards ¶
func (f IndicesGetAlias) WithExpandWildcards(v string) func(*IndicesGetAliasRequest)
WithExpandWildcards - whether to expand wildcard expression to concrete indices that are open, closed or both..
func (IndicesGetAlias) WithFilterPath ¶
func (f IndicesGetAlias) WithFilterPath(v ...string) func(*IndicesGetAliasRequest)
WithFilterPath filters the properties of the response body.
func (IndicesGetAlias) WithHeader ¶ added in v7.2.0
func (f IndicesGetAlias) WithHeader(h map[string]string) func(*IndicesGetAliasRequest)
WithHeader adds the headers to the HTTP request.
func (IndicesGetAlias) WithHuman ¶
func (f IndicesGetAlias) WithHuman() func(*IndicesGetAliasRequest)
WithHuman makes statistical values human-readable.
func (IndicesGetAlias) WithIgnoreUnavailable ¶
func (f IndicesGetAlias) WithIgnoreUnavailable(v bool) func(*IndicesGetAliasRequest)
WithIgnoreUnavailable - whether specified concrete indices should be ignored when unavailable (missing or closed).
func (IndicesGetAlias) WithIndex ¶
func (f IndicesGetAlias) WithIndex(v ...string) func(*IndicesGetAliasRequest)
WithIndex - a list of index names to filter aliases.
func (IndicesGetAlias) WithLocal ¶
func (f IndicesGetAlias) WithLocal(v bool) func(*IndicesGetAliasRequest)
WithLocal - return local information, do not retrieve the state from master node (default: false).
func (IndicesGetAlias) WithName ¶
func (f IndicesGetAlias) WithName(v ...string) func(*IndicesGetAliasRequest)
WithName - a list of alias names to return.
func (IndicesGetAlias) WithOpaqueID ¶ added in v7.5.0
func (f IndicesGetAlias) WithOpaqueID(s string) func(*IndicesGetAliasRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (IndicesGetAlias) WithPretty ¶
func (f IndicesGetAlias) WithPretty() func(*IndicesGetAliasRequest)
WithPretty makes the response body pretty-printed.
type IndicesGetAliasRequest ¶
type IndicesGetAliasRequest struct {
Index []string
Name []string
AllowNoIndices *bool
ExpandWildcards string
Local *bool
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
IndicesGetAliasRequest configures the Indices Get Alias API request.
type IndicesGetDataStream ¶ added in v7.9.0
type IndicesGetDataStream func(o ...func(*IndicesGetDataStreamRequest)) (*Response, error)
IndicesGetDataStream - Returns data streams.
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/master/data-streams.html.
func (IndicesGetDataStream) WithContext ¶ added in v7.9.0
func (f IndicesGetDataStream) WithContext(v context.Context) func(*IndicesGetDataStreamRequest)
WithContext sets the request context.
func (IndicesGetDataStream) WithErrorTrace ¶ added in v7.9.0
func (f IndicesGetDataStream) WithErrorTrace() func(*IndicesGetDataStreamRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (IndicesGetDataStream) WithExpandWildcards ¶ added in v7.11.0
func (f IndicesGetDataStream) WithExpandWildcards(v string) func(*IndicesGetDataStreamRequest)
WithExpandWildcards - whether wildcard expressions should get expanded to open or closed indices (default: open).
func (IndicesGetDataStream) WithFilterPath ¶ added in v7.9.0
func (f IndicesGetDataStream) WithFilterPath(v ...string) func(*IndicesGetDataStreamRequest)
WithFilterPath filters the properties of the response body.
func (IndicesGetDataStream) WithHeader ¶ added in v7.9.0
func (f IndicesGetDataStream) WithHeader(h map[string]string) func(*IndicesGetDataStreamRequest)
WithHeader adds the headers to the HTTP request.
func (IndicesGetDataStream) WithHuman ¶ added in v7.9.0
func (f IndicesGetDataStream) WithHuman() func(*IndicesGetDataStreamRequest)
WithHuman makes statistical values human-readable.
func (IndicesGetDataStream) WithName ¶ added in v7.9.0
func (f IndicesGetDataStream) WithName(v ...string) func(*IndicesGetDataStreamRequest)
WithName - a list of data streams to get; use `*` to get all data streams.
func (IndicesGetDataStream) WithOpaqueID ¶ added in v7.9.0
func (f IndicesGetDataStream) WithOpaqueID(s string) func(*IndicesGetDataStreamRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (IndicesGetDataStream) WithPretty ¶ added in v7.9.0
func (f IndicesGetDataStream) WithPretty() func(*IndicesGetDataStreamRequest)
WithPretty makes the response body pretty-printed.
type IndicesGetDataStreamRequest ¶ added in v7.9.0
type IndicesGetDataStreamRequest struct {
Name []string
ExpandWildcards string
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
IndicesGetDataStreamRequest configures the Indices Get Data Stream API request.
type IndicesGetFieldMapping ¶
type IndicesGetFieldMapping func(fields []string, o ...func(*IndicesGetFieldMappingRequest)) (*Response, error)
IndicesGetFieldMapping returns mapping for one or more fields.
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-field-mapping.html.
func (IndicesGetFieldMapping) WithAllowNoIndices ¶
func (f IndicesGetFieldMapping) WithAllowNoIndices(v bool) func(*IndicesGetFieldMappingRequest)
WithAllowNoIndices - whether to ignore if a wildcard indices expression resolves into no concrete indices. (this includes `_all` string or when no indices have been specified).
func (IndicesGetFieldMapping) WithContext ¶
func (f IndicesGetFieldMapping) WithContext(v context.Context) func(*IndicesGetFieldMappingRequest)
WithContext sets the request context.
func (IndicesGetFieldMapping) WithDocumentType ¶
func (f IndicesGetFieldMapping) WithDocumentType(v ...string) func(*IndicesGetFieldMappingRequest)
WithDocumentType - a list of document types.
func (IndicesGetFieldMapping) WithErrorTrace ¶
func (f IndicesGetFieldMapping) WithErrorTrace() func(*IndicesGetFieldMappingRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (IndicesGetFieldMapping) WithExpandWildcards ¶
func (f IndicesGetFieldMapping) WithExpandWildcards(v string) func(*IndicesGetFieldMappingRequest)
WithExpandWildcards - whether to expand wildcard expression to concrete indices that are open, closed or both..
func (IndicesGetFieldMapping) WithFilterPath ¶
func (f IndicesGetFieldMapping) WithFilterPath(v ...string) func(*IndicesGetFieldMappingRequest)
WithFilterPath filters the properties of the response body.
func (IndicesGetFieldMapping) WithHeader ¶ added in v7.2.0
func (f IndicesGetFieldMapping) WithHeader(h map[string]string) func(*IndicesGetFieldMappingRequest)
WithHeader adds the headers to the HTTP request.
func (IndicesGetFieldMapping) WithHuman ¶
func (f IndicesGetFieldMapping) WithHuman() func(*IndicesGetFieldMappingRequest)
WithHuman makes statistical values human-readable.
func (IndicesGetFieldMapping) WithIgnoreUnavailable ¶
func (f IndicesGetFieldMapping) WithIgnoreUnavailable(v bool) func(*IndicesGetFieldMappingRequest)
WithIgnoreUnavailable - whether specified concrete indices should be ignored when unavailable (missing or closed).
func (IndicesGetFieldMapping) WithIncludeDefaults ¶
func (f IndicesGetFieldMapping) WithIncludeDefaults(v bool) func(*IndicesGetFieldMappingRequest)
WithIncludeDefaults - whether the default mapping values should be returned as well.
func (IndicesGetFieldMapping) WithIncludeTypeName ¶
func (f IndicesGetFieldMapping) WithIncludeTypeName(v bool) func(*IndicesGetFieldMappingRequest)
WithIncludeTypeName - whether a type should be returned in the body of the mappings..
func (IndicesGetFieldMapping) WithIndex ¶
func (f IndicesGetFieldMapping) WithIndex(v ...string) func(*IndicesGetFieldMappingRequest)
WithIndex - a list of index names.
func (IndicesGetFieldMapping) WithLocal ¶
func (f IndicesGetFieldMapping) WithLocal(v bool) func(*IndicesGetFieldMappingRequest)
WithLocal - return local information, do not retrieve the state from master node (default: false).
func (IndicesGetFieldMapping) WithOpaqueID ¶ added in v7.5.0
func (f IndicesGetFieldMapping) WithOpaqueID(s string) func(*IndicesGetFieldMappingRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (IndicesGetFieldMapping) WithPretty ¶
func (f IndicesGetFieldMapping) WithPretty() func(*IndicesGetFieldMappingRequest)
WithPretty makes the response body pretty-printed.
type IndicesGetFieldMappingRequest ¶
type IndicesGetFieldMappingRequest struct {
Index []string
DocumentType []string
Fields []string
AllowNoIndices *bool
ExpandWildcards string
IncludeDefaults *bool
IncludeTypeName *bool
Local *bool
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
IndicesGetFieldMappingRequest configures the Indices Get Field Mapping API request.
type IndicesGetIndexTemplate ¶ added in v7.7.0
type IndicesGetIndexTemplate func(o ...func(*IndicesGetIndexTemplateRequest)) (*Response, error)
IndicesGetIndexTemplate returns an index template.
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html.
func (IndicesGetIndexTemplate) WithContext ¶ added in v7.7.0
func (f IndicesGetIndexTemplate) WithContext(v context.Context) func(*IndicesGetIndexTemplateRequest)
WithContext sets the request context.
func (IndicesGetIndexTemplate) WithErrorTrace ¶ added in v7.7.0
func (f IndicesGetIndexTemplate) WithErrorTrace() func(*IndicesGetIndexTemplateRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (IndicesGetIndexTemplate) WithFilterPath ¶ added in v7.7.0
func (f IndicesGetIndexTemplate) WithFilterPath(v ...string) func(*IndicesGetIndexTemplateRequest)
WithFilterPath filters the properties of the response body.
func (IndicesGetIndexTemplate) WithFlatSettings ¶ added in v7.7.0
func (f IndicesGetIndexTemplate) WithFlatSettings(v bool) func(*IndicesGetIndexTemplateRequest)
WithFlatSettings - return settings in flat format (default: false).
func (IndicesGetIndexTemplate) WithHeader ¶ added in v7.7.0
func (f IndicesGetIndexTemplate) WithHeader(h map[string]string) func(*IndicesGetIndexTemplateRequest)
WithHeader adds the headers to the HTTP request.
func (IndicesGetIndexTemplate) WithHuman ¶ added in v7.7.0
func (f IndicesGetIndexTemplate) WithHuman() func(*IndicesGetIndexTemplateRequest)
WithHuman makes statistical values human-readable.
func (IndicesGetIndexTemplate) WithLocal ¶ added in v7.7.0
func (f IndicesGetIndexTemplate) WithLocal(v bool) func(*IndicesGetIndexTemplateRequest)
WithLocal - return local information, do not retrieve the state from master node (default: false).
func (IndicesGetIndexTemplate) WithMasterTimeout ¶ added in v7.7.0
func (f IndicesGetIndexTemplate) WithMasterTimeout(v time.Duration) func(*IndicesGetIndexTemplateRequest)
WithMasterTimeout - explicit operation timeout for connection to master node.
func (IndicesGetIndexTemplate) WithName ¶ added in v7.7.0
func (f IndicesGetIndexTemplate) WithName(v string) func(*IndicesGetIndexTemplateRequest)
WithName - a pattern that returned template names must match.
func (IndicesGetIndexTemplate) WithOpaqueID ¶ added in v7.7.0
func (f IndicesGetIndexTemplate) WithOpaqueID(s string) func(*IndicesGetIndexTemplateRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (IndicesGetIndexTemplate) WithPretty ¶ added in v7.7.0
func (f IndicesGetIndexTemplate) WithPretty() func(*IndicesGetIndexTemplateRequest)
WithPretty makes the response body pretty-printed.
type IndicesGetIndexTemplateRequest ¶ added in v7.7.0
type IndicesGetIndexTemplateRequest struct {
Name string
FlatSettings *bool
Local *bool
MasterTimeout time.Duration
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
IndicesGetIndexTemplateRequest configures the Indices Get Index Template API request.
type IndicesGetMapping ¶
type IndicesGetMapping func(o ...func(*IndicesGetMappingRequest)) (*Response, error)
IndicesGetMapping returns mappings for one or more indices.
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-mapping.html.
func (IndicesGetMapping) WithAllowNoIndices ¶
func (f IndicesGetMapping) WithAllowNoIndices(v bool) func(*IndicesGetMappingRequest)
WithAllowNoIndices - whether to ignore if a wildcard indices expression resolves into no concrete indices. (this includes `_all` string or when no indices have been specified).
func (IndicesGetMapping) WithContext ¶
func (f IndicesGetMapping) WithContext(v context.Context) func(*IndicesGetMappingRequest)
WithContext sets the request context.
func (IndicesGetMapping) WithDocumentType ¶
func (f IndicesGetMapping) WithDocumentType(v ...string) func(*IndicesGetMappingRequest)
WithDocumentType - a list of document types.
func (IndicesGetMapping) WithErrorTrace ¶
func (f IndicesGetMapping) WithErrorTrace() func(*IndicesGetMappingRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (IndicesGetMapping) WithExpandWildcards ¶
func (f IndicesGetMapping) WithExpandWildcards(v string) func(*IndicesGetMappingRequest)
WithExpandWildcards - whether to expand wildcard expression to concrete indices that are open, closed or both..
func (IndicesGetMapping) WithFilterPath ¶
func (f IndicesGetMapping) WithFilterPath(v ...string) func(*IndicesGetMappingRequest)
WithFilterPath filters the properties of the response body.
func (IndicesGetMapping) WithHeader ¶ added in v7.2.0
func (f IndicesGetMapping) WithHeader(h map[string]string) func(*IndicesGetMappingRequest)
WithHeader adds the headers to the HTTP request.
func (IndicesGetMapping) WithHuman ¶
func (f IndicesGetMapping) WithHuman() func(*IndicesGetMappingRequest)
WithHuman makes statistical values human-readable.
func (IndicesGetMapping) WithIgnoreUnavailable ¶
func (f IndicesGetMapping) WithIgnoreUnavailable(v bool) func(*IndicesGetMappingRequest)
WithIgnoreUnavailable - whether specified concrete indices should be ignored when unavailable (missing or closed).
func (IndicesGetMapping) WithIncludeTypeName ¶
func (f IndicesGetMapping) WithIncludeTypeName(v bool) func(*IndicesGetMappingRequest)
WithIncludeTypeName - whether to add the type name to the response (default: false).
func (IndicesGetMapping) WithIndex ¶
func (f IndicesGetMapping) WithIndex(v ...string) func(*IndicesGetMappingRequest)
WithIndex - a list of index names.
func (IndicesGetMapping) WithLocal ¶
func (f IndicesGetMapping) WithLocal(v bool) func(*IndicesGetMappingRequest)
WithLocal - return local information, do not retrieve the state from master node (default: false).
func (IndicesGetMapping) WithMasterTimeout ¶
func (f IndicesGetMapping) WithMasterTimeout(v time.Duration) func(*IndicesGetMappingRequest)
WithMasterTimeout - specify timeout for connection to master.
func (IndicesGetMapping) WithOpaqueID ¶ added in v7.5.0
func (f IndicesGetMapping) WithOpaqueID(s string) func(*IndicesGetMappingRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (IndicesGetMapping) WithPretty ¶
func (f IndicesGetMapping) WithPretty() func(*IndicesGetMappingRequest)
WithPretty makes the response body pretty-printed.
type IndicesGetMappingRequest ¶
type IndicesGetMappingRequest struct {
Index []string
DocumentType []string
AllowNoIndices *bool
ExpandWildcards string
IncludeTypeName *bool
Local *bool
MasterTimeout time.Duration
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
IndicesGetMappingRequest configures the Indices Get Mapping API request.
type IndicesGetRequest ¶
type IndicesGetRequest struct {
Index []string
AllowNoIndices *bool
ExpandWildcards string
FlatSettings *bool
IncludeDefaults *bool
IncludeTypeName *bool
Local *bool
MasterTimeout time.Duration
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
IndicesGetRequest configures the Indices Get API request.
type IndicesGetSettings ¶
type IndicesGetSettings func(o ...func(*IndicesGetSettingsRequest)) (*Response, error)
IndicesGetSettings returns settings for one or more indices.
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-get-settings.html.
func (IndicesGetSettings) WithAllowNoIndices ¶
func (f IndicesGetSettings) WithAllowNoIndices(v bool) func(*IndicesGetSettingsRequest)
WithAllowNoIndices - whether to ignore if a wildcard indices expression resolves into no concrete indices. (this includes `_all` string or when no indices have been specified).
func (IndicesGetSettings) WithContext ¶
func (f IndicesGetSettings) WithContext(v context.Context) func(*IndicesGetSettingsRequest)
WithContext sets the request context.
func (IndicesGetSettings) WithErrorTrace ¶
func (f IndicesGetSettings) WithErrorTrace() func(*IndicesGetSettingsRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (IndicesGetSettings) WithExpandWildcards ¶
func (f IndicesGetSettings) WithExpandWildcards(v string) func(*IndicesGetSettingsRequest)
WithExpandWildcards - whether to expand wildcard expression to concrete indices that are open, closed or both..
func (IndicesGetSettings) WithFilterPath ¶
func (f IndicesGetSettings) WithFilterPath(v ...string) func(*IndicesGetSettingsRequest)
WithFilterPath filters the properties of the response body.
func (IndicesGetSettings) WithFlatSettings ¶
func (f IndicesGetSettings) WithFlatSettings(v bool) func(*IndicesGetSettingsRequest)
WithFlatSettings - return settings in flat format (default: false).
func (IndicesGetSettings) WithHeader ¶ added in v7.2.0
func (f IndicesGetSettings) WithHeader(h map[string]string) func(*IndicesGetSettingsRequest)
WithHeader adds the headers to the HTTP request.
func (IndicesGetSettings) WithHuman ¶
func (f IndicesGetSettings) WithHuman() func(*IndicesGetSettingsRequest)
WithHuman makes statistical values human-readable.
func (IndicesGetSettings) WithIgnoreUnavailable ¶
func (f IndicesGetSettings) WithIgnoreUnavailable(v bool) func(*IndicesGetSettingsRequest)
WithIgnoreUnavailable - whether specified concrete indices should be ignored when unavailable (missing or closed).
func (IndicesGetSettings) WithIncludeDefaults ¶
func (f IndicesGetSettings) WithIncludeDefaults(v bool) func(*IndicesGetSettingsRequest)
WithIncludeDefaults - whether to return all default setting for each of the indices..
func (IndicesGetSettings) WithIndex ¶
func (f IndicesGetSettings) WithIndex(v ...string) func(*IndicesGetSettingsRequest)
WithIndex - a list of index names; use _all to perform the operation on all indices.
func (IndicesGetSettings) WithLocal ¶
func (f IndicesGetSettings) WithLocal(v bool) func(*IndicesGetSettingsRequest)
WithLocal - return local information, do not retrieve the state from master node (default: false).
func (IndicesGetSettings) WithMasterTimeout ¶
func (f IndicesGetSettings) WithMasterTimeout(v time.Duration) func(*IndicesGetSettingsRequest)
WithMasterTimeout - specify timeout for connection to master.
func (IndicesGetSettings) WithName ¶
func (f IndicesGetSettings) WithName(v ...string) func(*IndicesGetSettingsRequest)
WithName - the name of the settings that should be included.
func (IndicesGetSettings) WithOpaqueID ¶ added in v7.5.0
func (f IndicesGetSettings) WithOpaqueID(s string) func(*IndicesGetSettingsRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (IndicesGetSettings) WithPretty ¶
func (f IndicesGetSettings) WithPretty() func(*IndicesGetSettingsRequest)
WithPretty makes the response body pretty-printed.
type IndicesGetSettingsRequest ¶
type IndicesGetSettingsRequest struct {
Index []string
Name []string
AllowNoIndices *bool
ExpandWildcards string
FlatSettings *bool
IncludeDefaults *bool
Local *bool
MasterTimeout time.Duration
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
IndicesGetSettingsRequest configures the Indices Get Settings API request.
type IndicesGetTemplate ¶
type IndicesGetTemplate func(o ...func(*IndicesGetTemplateRequest)) (*Response, error)
IndicesGetTemplate returns an index template.
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html.
func (IndicesGetTemplate) WithContext ¶
func (f IndicesGetTemplate) WithContext(v context.Context) func(*IndicesGetTemplateRequest)
WithContext sets the request context.
func (IndicesGetTemplate) WithErrorTrace ¶
func (f IndicesGetTemplate) WithErrorTrace() func(*IndicesGetTemplateRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (IndicesGetTemplate) WithFilterPath ¶
func (f IndicesGetTemplate) WithFilterPath(v ...string) func(*IndicesGetTemplateRequest)
WithFilterPath filters the properties of the response body.
func (IndicesGetTemplate) WithFlatSettings ¶
func (f IndicesGetTemplate) WithFlatSettings(v bool) func(*IndicesGetTemplateRequest)
WithFlatSettings - return settings in flat format (default: false).
func (IndicesGetTemplate) WithHeader ¶ added in v7.2.0
func (f IndicesGetTemplate) WithHeader(h map[string]string) func(*IndicesGetTemplateRequest)
WithHeader adds the headers to the HTTP request.
func (IndicesGetTemplate) WithHuman ¶
func (f IndicesGetTemplate) WithHuman() func(*IndicesGetTemplateRequest)
WithHuman makes statistical values human-readable.
func (IndicesGetTemplate) WithIncludeTypeName ¶
func (f IndicesGetTemplate) WithIncludeTypeName(v bool) func(*IndicesGetTemplateRequest)
WithIncludeTypeName - whether a type should be returned in the body of the mappings..
func (IndicesGetTemplate) WithLocal ¶
func (f IndicesGetTemplate) WithLocal(v bool) func(*IndicesGetTemplateRequest)
WithLocal - return local information, do not retrieve the state from master node (default: false).
func (IndicesGetTemplate) WithMasterTimeout ¶
func (f IndicesGetTemplate) WithMasterTimeout(v time.Duration) func(*IndicesGetTemplateRequest)
WithMasterTimeout - explicit operation timeout for connection to master node.
func (IndicesGetTemplate) WithName ¶
func (f IndicesGetTemplate) WithName(v ...string) func(*IndicesGetTemplateRequest)
WithName - the comma separated names of the index templates.
func (IndicesGetTemplate) WithOpaqueID ¶ added in v7.5.0
func (f IndicesGetTemplate) WithOpaqueID(s string) func(*IndicesGetTemplateRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (IndicesGetTemplate) WithPretty ¶
func (f IndicesGetTemplate) WithPretty() func(*IndicesGetTemplateRequest)
WithPretty makes the response body pretty-printed.
type IndicesGetTemplateRequest ¶
type IndicesGetTemplateRequest struct {
Name []string
FlatSettings *bool
IncludeTypeName *bool
Local *bool
MasterTimeout time.Duration
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
IndicesGetTemplateRequest configures the Indices Get Template API request.
type IndicesGetUpgrade ¶
type IndicesGetUpgrade func(o ...func(*IndicesGetUpgradeRequest)) (*Response, error)
IndicesGetUpgrade deprecated Returns a progress status of current upgrade.
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-upgrade.html.
func (IndicesGetUpgrade) WithAllowNoIndices ¶
func (f IndicesGetUpgrade) WithAllowNoIndices(v bool) func(*IndicesGetUpgradeRequest)
WithAllowNoIndices - whether to ignore if a wildcard indices expression resolves into no concrete indices. (this includes `_all` string or when no indices have been specified).
func (IndicesGetUpgrade) WithContext ¶
func (f IndicesGetUpgrade) WithContext(v context.Context) func(*IndicesGetUpgradeRequest)
WithContext sets the request context.
func (IndicesGetUpgrade) WithErrorTrace ¶
func (f IndicesGetUpgrade) WithErrorTrace() func(*IndicesGetUpgradeRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (IndicesGetUpgrade) WithExpandWildcards ¶
func (f IndicesGetUpgrade) WithExpandWildcards(v string) func(*IndicesGetUpgradeRequest)
WithExpandWildcards - whether to expand wildcard expression to concrete indices that are open, closed or both..
func (IndicesGetUpgrade) WithFilterPath ¶
func (f IndicesGetUpgrade) WithFilterPath(v ...string) func(*IndicesGetUpgradeRequest)
WithFilterPath filters the properties of the response body.
func (IndicesGetUpgrade) WithHeader ¶ added in v7.2.0
func (f IndicesGetUpgrade) WithHeader(h map[string]string) func(*IndicesGetUpgradeRequest)
WithHeader adds the headers to the HTTP request.
func (IndicesGetUpgrade) WithHuman ¶
func (f IndicesGetUpgrade) WithHuman() func(*IndicesGetUpgradeRequest)
WithHuman makes statistical values human-readable.
func (IndicesGetUpgrade) WithIgnoreUnavailable ¶
func (f IndicesGetUpgrade) WithIgnoreUnavailable(v bool) func(*IndicesGetUpgradeRequest)
WithIgnoreUnavailable - whether specified concrete indices should be ignored when unavailable (missing or closed).
func (IndicesGetUpgrade) WithIndex ¶
func (f IndicesGetUpgrade) WithIndex(v ...string) func(*IndicesGetUpgradeRequest)
WithIndex - a list of index names; use _all to perform the operation on all indices.
func (IndicesGetUpgrade) WithOpaqueID ¶ added in v7.5.0
func (f IndicesGetUpgrade) WithOpaqueID(s string) func(*IndicesGetUpgradeRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (IndicesGetUpgrade) WithPretty ¶
func (f IndicesGetUpgrade) WithPretty() func(*IndicesGetUpgradeRequest)
WithPretty makes the response body pretty-printed.
type IndicesGetUpgradeRequest ¶
type IndicesGetUpgradeRequest struct {
Index []string
AllowNoIndices *bool
ExpandWildcards string
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
IndicesGetUpgradeRequest configures the Indices Get Upgrade API request.
type IndicesMigrateToDataStream ¶ added in v7.11.0
type IndicesMigrateToDataStream func(name string, o ...func(*IndicesMigrateToDataStreamRequest)) (*Response, error)
IndicesMigrateToDataStream - Migrates an alias to a data stream
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/master/data-streams.html.
func (IndicesMigrateToDataStream) WithContext ¶ added in v7.11.0
func (f IndicesMigrateToDataStream) WithContext(v context.Context) func(*IndicesMigrateToDataStreamRequest)
WithContext sets the request context.
func (IndicesMigrateToDataStream) WithErrorTrace ¶ added in v7.11.0
func (f IndicesMigrateToDataStream) WithErrorTrace() func(*IndicesMigrateToDataStreamRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (IndicesMigrateToDataStream) WithFilterPath ¶ added in v7.11.0
func (f IndicesMigrateToDataStream) WithFilterPath(v ...string) func(*IndicesMigrateToDataStreamRequest)
WithFilterPath filters the properties of the response body.
func (IndicesMigrateToDataStream) WithHeader ¶ added in v7.11.0
func (f IndicesMigrateToDataStream) WithHeader(h map[string]string) func(*IndicesMigrateToDataStreamRequest)
WithHeader adds the headers to the HTTP request.
func (IndicesMigrateToDataStream) WithHuman ¶ added in v7.11.0
func (f IndicesMigrateToDataStream) WithHuman() func(*IndicesMigrateToDataStreamRequest)
WithHuman makes statistical values human-readable.
func (IndicesMigrateToDataStream) WithOpaqueID ¶ added in v7.11.0
func (f IndicesMigrateToDataStream) WithOpaqueID(s string) func(*IndicesMigrateToDataStreamRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (IndicesMigrateToDataStream) WithPretty ¶ added in v7.11.0
func (f IndicesMigrateToDataStream) WithPretty() func(*IndicesMigrateToDataStreamRequest)
WithPretty makes the response body pretty-printed.
type IndicesMigrateToDataStreamRequest ¶ added in v7.11.0
type IndicesMigrateToDataStreamRequest struct {
Name string
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
IndicesMigrateToDataStreamRequest configures the Indices Migrate To Data Stream API request.
type IndicesModifyDataStream ¶ added in v7.16.0
type IndicesModifyDataStream func(body io.Reader, o ...func(*IndicesModifyDataStreamRequest)) (*Response, error)
IndicesModifyDataStream modifies a data stream
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/master/data-streams.html.
func (IndicesModifyDataStream) WithContext ¶ added in v7.16.0
func (f IndicesModifyDataStream) WithContext(v context.Context) func(*IndicesModifyDataStreamRequest)
WithContext sets the request context.
func (IndicesModifyDataStream) WithErrorTrace ¶ added in v7.16.0
func (f IndicesModifyDataStream) WithErrorTrace() func(*IndicesModifyDataStreamRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (IndicesModifyDataStream) WithFilterPath ¶ added in v7.16.0
func (f IndicesModifyDataStream) WithFilterPath(v ...string) func(*IndicesModifyDataStreamRequest)
WithFilterPath filters the properties of the response body.
func (IndicesModifyDataStream) WithHeader ¶ added in v7.16.0
func (f IndicesModifyDataStream) WithHeader(h map[string]string) func(*IndicesModifyDataStreamRequest)
WithHeader adds the headers to the HTTP request.
func (IndicesModifyDataStream) WithHuman ¶ added in v7.16.0
func (f IndicesModifyDataStream) WithHuman() func(*IndicesModifyDataStreamRequest)
WithHuman makes statistical values human-readable.
func (IndicesModifyDataStream) WithOpaqueID ¶ added in v7.16.0
func (f IndicesModifyDataStream) WithOpaqueID(s string) func(*IndicesModifyDataStreamRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (IndicesModifyDataStream) WithPretty ¶ added in v7.16.0
func (f IndicesModifyDataStream) WithPretty() func(*IndicesModifyDataStreamRequest)
WithPretty makes the response body pretty-printed.
type IndicesModifyDataStreamRequest ¶ added in v7.16.0
type IndicesModifyDataStreamRequest struct {
Body io.Reader
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
IndicesModifyDataStreamRequest configures the Indices Modify Data Stream API request.
type IndicesOpen ¶
type IndicesOpen func(index []string, o ...func(*IndicesOpenRequest)) (*Response, error)
IndicesOpen opens an index.
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-open-close.html.
func (IndicesOpen) WithAllowNoIndices ¶
func (f IndicesOpen) WithAllowNoIndices(v bool) func(*IndicesOpenRequest)
WithAllowNoIndices - whether to ignore if a wildcard indices expression resolves into no concrete indices. (this includes `_all` string or when no indices have been specified).
func (IndicesOpen) WithContext ¶
func (f IndicesOpen) WithContext(v context.Context) func(*IndicesOpenRequest)
WithContext sets the request context.
func (IndicesOpen) WithErrorTrace ¶
func (f IndicesOpen) WithErrorTrace() func(*IndicesOpenRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (IndicesOpen) WithExpandWildcards ¶
func (f IndicesOpen) WithExpandWildcards(v string) func(*IndicesOpenRequest)
WithExpandWildcards - whether to expand wildcard expression to concrete indices that are open, closed or both..
func (IndicesOpen) WithFilterPath ¶
func (f IndicesOpen) WithFilterPath(v ...string) func(*IndicesOpenRequest)
WithFilterPath filters the properties of the response body.
func (IndicesOpen) WithHeader ¶ added in v7.2.0
func (f IndicesOpen) WithHeader(h map[string]string) func(*IndicesOpenRequest)
WithHeader adds the headers to the HTTP request.
func (IndicesOpen) WithHuman ¶
func (f IndicesOpen) WithHuman() func(*IndicesOpenRequest)
WithHuman makes statistical values human-readable.
func (IndicesOpen) WithIgnoreUnavailable ¶
func (f IndicesOpen) WithIgnoreUnavailable(v bool) func(*IndicesOpenRequest)
WithIgnoreUnavailable - whether specified concrete indices should be ignored when unavailable (missing or closed).
func (IndicesOpen) WithMasterTimeout ¶
func (f IndicesOpen) WithMasterTimeout(v time.Duration) func(*IndicesOpenRequest)
WithMasterTimeout - specify timeout for connection to master.
func (IndicesOpen) WithOpaqueID ¶ added in v7.5.0
func (f IndicesOpen) WithOpaqueID(s string) func(*IndicesOpenRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (IndicesOpen) WithPretty ¶
func (f IndicesOpen) WithPretty() func(*IndicesOpenRequest)
WithPretty makes the response body pretty-printed.
func (IndicesOpen) WithTimeout ¶
func (f IndicesOpen) WithTimeout(v time.Duration) func(*IndicesOpenRequest)
WithTimeout - explicit operation timeout.
func (IndicesOpen) WithWaitForActiveShards ¶
func (f IndicesOpen) WithWaitForActiveShards(v string) func(*IndicesOpenRequest)
WithWaitForActiveShards - sets the number of active shards to wait for before the operation returns..
type IndicesOpenRequest ¶
type IndicesOpenRequest struct {
Index []string
AllowNoIndices *bool
ExpandWildcards string
MasterTimeout time.Duration
Timeout time.Duration
WaitForActiveShards string
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
IndicesOpenRequest configures the Indices Open API request.
type IndicesPromoteDataStream ¶ added in v7.11.0
type IndicesPromoteDataStream func(name string, o ...func(*IndicesPromoteDataStreamRequest)) (*Response, error)
IndicesPromoteDataStream - Promotes a data stream from a replicated data stream managed by CCR to a regular data stream
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/master/data-streams.html.
func (IndicesPromoteDataStream) WithContext ¶ added in v7.11.0
func (f IndicesPromoteDataStream) WithContext(v context.Context) func(*IndicesPromoteDataStreamRequest)
WithContext sets the request context.
func (IndicesPromoteDataStream) WithErrorTrace ¶ added in v7.11.0
func (f IndicesPromoteDataStream) WithErrorTrace() func(*IndicesPromoteDataStreamRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (IndicesPromoteDataStream) WithFilterPath ¶ added in v7.11.0
func (f IndicesPromoteDataStream) WithFilterPath(v ...string) func(*IndicesPromoteDataStreamRequest)
WithFilterPath filters the properties of the response body.
func (IndicesPromoteDataStream) WithHeader ¶ added in v7.11.0
func (f IndicesPromoteDataStream) WithHeader(h map[string]string) func(*IndicesPromoteDataStreamRequest)
WithHeader adds the headers to the HTTP request.
func (IndicesPromoteDataStream) WithHuman ¶ added in v7.11.0
func (f IndicesPromoteDataStream) WithHuman() func(*IndicesPromoteDataStreamRequest)
WithHuman makes statistical values human-readable.
func (IndicesPromoteDataStream) WithOpaqueID ¶ added in v7.11.0
func (f IndicesPromoteDataStream) WithOpaqueID(s string) func(*IndicesPromoteDataStreamRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (IndicesPromoteDataStream) WithPretty ¶ added in v7.11.0
func (f IndicesPromoteDataStream) WithPretty() func(*IndicesPromoteDataStreamRequest)
WithPretty makes the response body pretty-printed.
type IndicesPromoteDataStreamRequest ¶ added in v7.11.0
type IndicesPromoteDataStreamRequest struct {
Name string
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
IndicesPromoteDataStreamRequest configures the Indices Promote Data Stream API request.
type IndicesPutAlias ¶
type IndicesPutAlias func(index []string, name string, o ...func(*IndicesPutAliasRequest)) (*Response, error)
IndicesPutAlias creates or updates an alias.
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-aliases.html.
func (IndicesPutAlias) WithBody ¶
func (f IndicesPutAlias) WithBody(v io.Reader) func(*IndicesPutAliasRequest)
WithBody - The settings for the alias, such as `routing` or `filter`.
func (IndicesPutAlias) WithContext ¶
func (f IndicesPutAlias) WithContext(v context.Context) func(*IndicesPutAliasRequest)
WithContext sets the request context.
func (IndicesPutAlias) WithErrorTrace ¶
func (f IndicesPutAlias) WithErrorTrace() func(*IndicesPutAliasRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (IndicesPutAlias) WithFilterPath ¶
func (f IndicesPutAlias) WithFilterPath(v ...string) func(*IndicesPutAliasRequest)
WithFilterPath filters the properties of the response body.
func (IndicesPutAlias) WithHeader ¶ added in v7.2.0
func (f IndicesPutAlias) WithHeader(h map[string]string) func(*IndicesPutAliasRequest)
WithHeader adds the headers to the HTTP request.
func (IndicesPutAlias) WithHuman ¶
func (f IndicesPutAlias) WithHuman() func(*IndicesPutAliasRequest)
WithHuman makes statistical values human-readable.
func (IndicesPutAlias) WithMasterTimeout ¶
func (f IndicesPutAlias) WithMasterTimeout(v time.Duration) func(*IndicesPutAliasRequest)
WithMasterTimeout - specify timeout for connection to master.
func (IndicesPutAlias) WithOpaqueID ¶ added in v7.5.0
func (f IndicesPutAlias) WithOpaqueID(s string) func(*IndicesPutAliasRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (IndicesPutAlias) WithPretty ¶
func (f IndicesPutAlias) WithPretty() func(*IndicesPutAliasRequest)
WithPretty makes the response body pretty-printed.
func (IndicesPutAlias) WithTimeout ¶
func (f IndicesPutAlias) WithTimeout(v time.Duration) func(*IndicesPutAliasRequest)
WithTimeout - explicit timestamp for the document.
type IndicesPutAliasRequest ¶
type IndicesPutAliasRequest struct {
Index []string
Body io.Reader
Name string
MasterTimeout time.Duration
Timeout time.Duration
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
IndicesPutAliasRequest configures the Indices Put Alias API request.
type IndicesPutIndexTemplate ¶ added in v7.7.0
type IndicesPutIndexTemplate func(name string, body io.Reader, o ...func(*IndicesPutIndexTemplateRequest)) (*Response, error)
IndicesPutIndexTemplate creates or updates an index template.
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html.
func (IndicesPutIndexTemplate) WithCause ¶ added in v7.8.0
func (f IndicesPutIndexTemplate) WithCause(v string) func(*IndicesPutIndexTemplateRequest)
WithCause - user defined reason for creating/updating the index template.
func (IndicesPutIndexTemplate) WithContext ¶ added in v7.7.0
func (f IndicesPutIndexTemplate) WithContext(v context.Context) func(*IndicesPutIndexTemplateRequest)
WithContext sets the request context.
func (IndicesPutIndexTemplate) WithCreate ¶ added in v7.7.0
func (f IndicesPutIndexTemplate) WithCreate(v bool) func(*IndicesPutIndexTemplateRequest)
WithCreate - whether the index template should only be added if new or can also replace an existing one.
func (IndicesPutIndexTemplate) WithErrorTrace ¶ added in v7.7.0
func (f IndicesPutIndexTemplate) WithErrorTrace() func(*IndicesPutIndexTemplateRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (IndicesPutIndexTemplate) WithFilterPath ¶ added in v7.7.0
func (f IndicesPutIndexTemplate) WithFilterPath(v ...string) func(*IndicesPutIndexTemplateRequest)
WithFilterPath filters the properties of the response body.
func (IndicesPutIndexTemplate) WithHeader ¶ added in v7.7.0
func (f IndicesPutIndexTemplate) WithHeader(h map[string]string) func(*IndicesPutIndexTemplateRequest)
WithHeader adds the headers to the HTTP request.
func (IndicesPutIndexTemplate) WithHuman ¶ added in v7.7.0
func (f IndicesPutIndexTemplate) WithHuman() func(*IndicesPutIndexTemplateRequest)
WithHuman makes statistical values human-readable.
func (IndicesPutIndexTemplate) WithMasterTimeout ¶ added in v7.7.0
func (f IndicesPutIndexTemplate) WithMasterTimeout(v time.Duration) func(*IndicesPutIndexTemplateRequest)
WithMasterTimeout - specify timeout for connection to master.
func (IndicesPutIndexTemplate) WithOpaqueID ¶ added in v7.7.0
func (f IndicesPutIndexTemplate) WithOpaqueID(s string) func(*IndicesPutIndexTemplateRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (IndicesPutIndexTemplate) WithPretty ¶ added in v7.7.0
func (f IndicesPutIndexTemplate) WithPretty() func(*IndicesPutIndexTemplateRequest)
WithPretty makes the response body pretty-printed.
type IndicesPutIndexTemplateRequest ¶ added in v7.7.0
type IndicesPutIndexTemplateRequest struct {
Body io.Reader
Name string
Cause string
Create *bool
MasterTimeout time.Duration
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
IndicesPutIndexTemplateRequest configures the Indices Put Index Template API request.
type IndicesPutMapping ¶
type IndicesPutMapping func(body io.Reader, o ...func(*IndicesPutMappingRequest)) (*Response, error)
IndicesPutMapping updates the index mappings.
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-put-mapping.html.
func (IndicesPutMapping) WithAllowNoIndices ¶
func (f IndicesPutMapping) WithAllowNoIndices(v bool) func(*IndicesPutMappingRequest)
WithAllowNoIndices - whether to ignore if a wildcard indices expression resolves into no concrete indices. (this includes `_all` string or when no indices have been specified).
func (IndicesPutMapping) WithContext ¶
func (f IndicesPutMapping) WithContext(v context.Context) func(*IndicesPutMappingRequest)
WithContext sets the request context.
func (IndicesPutMapping) WithDocumentType ¶
func (f IndicesPutMapping) WithDocumentType(v string) func(*IndicesPutMappingRequest)
WithDocumentType - the name of the document type.
func (IndicesPutMapping) WithErrorTrace ¶
func (f IndicesPutMapping) WithErrorTrace() func(*IndicesPutMappingRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (IndicesPutMapping) WithExpandWildcards ¶
func (f IndicesPutMapping) WithExpandWildcards(v string) func(*IndicesPutMappingRequest)
WithExpandWildcards - whether to expand wildcard expression to concrete indices that are open, closed or both..
func (IndicesPutMapping) WithFilterPath ¶
func (f IndicesPutMapping) WithFilterPath(v ...string) func(*IndicesPutMappingRequest)
WithFilterPath filters the properties of the response body.
func (IndicesPutMapping) WithHeader ¶ added in v7.2.0
func (f IndicesPutMapping) WithHeader(h map[string]string) func(*IndicesPutMappingRequest)
WithHeader adds the headers to the HTTP request.
func (IndicesPutMapping) WithHuman ¶
func (f IndicesPutMapping) WithHuman() func(*IndicesPutMappingRequest)
WithHuman makes statistical values human-readable.
func (IndicesPutMapping) WithIgnoreUnavailable ¶
func (f IndicesPutMapping) WithIgnoreUnavailable(v bool) func(*IndicesPutMappingRequest)
WithIgnoreUnavailable - whether specified concrete indices should be ignored when unavailable (missing or closed).
func (IndicesPutMapping) WithIncludeTypeName ¶
func (f IndicesPutMapping) WithIncludeTypeName(v bool) func(*IndicesPutMappingRequest)
WithIncludeTypeName - whether a type should be expected in the body of the mappings..
func (IndicesPutMapping) WithIndex ¶
func (f IndicesPutMapping) WithIndex(v ...string) func(*IndicesPutMappingRequest)
WithIndex - a list of index names the mapping should be added to (supports wildcards); use `_all` or omit to add the mapping on all indices..
func (IndicesPutMapping) WithMasterTimeout ¶
func (f IndicesPutMapping) WithMasterTimeout(v time.Duration) func(*IndicesPutMappingRequest)
WithMasterTimeout - specify timeout for connection to master.
func (IndicesPutMapping) WithOpaqueID ¶ added in v7.5.0
func (f IndicesPutMapping) WithOpaqueID(s string) func(*IndicesPutMappingRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (IndicesPutMapping) WithPretty ¶
func (f IndicesPutMapping) WithPretty() func(*IndicesPutMappingRequest)
WithPretty makes the response body pretty-printed.
func (IndicesPutMapping) WithTimeout ¶
func (f IndicesPutMapping) WithTimeout(v time.Duration) func(*IndicesPutMappingRequest)
WithTimeout - explicit operation timeout.
func (IndicesPutMapping) WithWriteIndexOnly ¶ added in v7.9.0
func (f IndicesPutMapping) WithWriteIndexOnly(v bool) func(*IndicesPutMappingRequest)
WithWriteIndexOnly - when true, applies mappings only to the write index of an alias or data stream.
type IndicesPutMappingRequest ¶
type IndicesPutMappingRequest struct {
Index []string
DocumentType string
Body io.Reader
AllowNoIndices *bool
ExpandWildcards string
IncludeTypeName *bool
MasterTimeout time.Duration
Timeout time.Duration
WriteIndexOnly *bool
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
IndicesPutMappingRequest configures the Indices Put Mapping API request.
type IndicesPutSettings ¶
type IndicesPutSettings func(body io.Reader, o ...func(*IndicesPutSettingsRequest)) (*Response, error)
IndicesPutSettings updates the index settings.
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-update-settings.html.
func (IndicesPutSettings) WithAllowNoIndices ¶
func (f IndicesPutSettings) WithAllowNoIndices(v bool) func(*IndicesPutSettingsRequest)
WithAllowNoIndices - whether to ignore if a wildcard indices expression resolves into no concrete indices. (this includes `_all` string or when no indices have been specified).
func (IndicesPutSettings) WithContext ¶
func (f IndicesPutSettings) WithContext(v context.Context) func(*IndicesPutSettingsRequest)
WithContext sets the request context.
func (IndicesPutSettings) WithErrorTrace ¶
func (f IndicesPutSettings) WithErrorTrace() func(*IndicesPutSettingsRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (IndicesPutSettings) WithExpandWildcards ¶
func (f IndicesPutSettings) WithExpandWildcards(v string) func(*IndicesPutSettingsRequest)
WithExpandWildcards - whether to expand wildcard expression to concrete indices that are open, closed or both..
func (IndicesPutSettings) WithFilterPath ¶
func (f IndicesPutSettings) WithFilterPath(v ...string) func(*IndicesPutSettingsRequest)
WithFilterPath filters the properties of the response body.
func (IndicesPutSettings) WithFlatSettings ¶
func (f IndicesPutSettings) WithFlatSettings(v bool) func(*IndicesPutSettingsRequest)
WithFlatSettings - return settings in flat format (default: false).
func (IndicesPutSettings) WithHeader ¶ added in v7.2.0
func (f IndicesPutSettings) WithHeader(h map[string]string) func(*IndicesPutSettingsRequest)
WithHeader adds the headers to the HTTP request.
func (IndicesPutSettings) WithHuman ¶
func (f IndicesPutSettings) WithHuman() func(*IndicesPutSettingsRequest)
WithHuman makes statistical values human-readable.
func (IndicesPutSettings) WithIgnoreUnavailable ¶
func (f IndicesPutSettings) WithIgnoreUnavailable(v bool) func(*IndicesPutSettingsRequest)
WithIgnoreUnavailable - whether specified concrete indices should be ignored when unavailable (missing or closed).
func (IndicesPutSettings) WithIndex ¶
func (f IndicesPutSettings) WithIndex(v ...string) func(*IndicesPutSettingsRequest)
WithIndex - a list of index names; use _all to perform the operation on all indices.
func (IndicesPutSettings) WithMasterTimeout ¶
func (f IndicesPutSettings) WithMasterTimeout(v time.Duration) func(*IndicesPutSettingsRequest)
WithMasterTimeout - specify timeout for connection to master.
func (IndicesPutSettings) WithOpaqueID ¶ added in v7.5.0
func (f IndicesPutSettings) WithOpaqueID(s string) func(*IndicesPutSettingsRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (IndicesPutSettings) WithPreserveExisting ¶
func (f IndicesPutSettings) WithPreserveExisting(v bool) func(*IndicesPutSettingsRequest)
WithPreserveExisting - whether to update existing settings. if set to `true` existing settings on an index remain unchanged, the default is `false`.
func (IndicesPutSettings) WithPretty ¶
func (f IndicesPutSettings) WithPretty() func(*IndicesPutSettingsRequest)
WithPretty makes the response body pretty-printed.
func (IndicesPutSettings) WithTimeout ¶
func (f IndicesPutSettings) WithTimeout(v time.Duration) func(*IndicesPutSettingsRequest)
WithTimeout - explicit operation timeout.
type IndicesPutSettingsRequest ¶
type IndicesPutSettingsRequest struct {
Index []string
Body io.Reader
AllowNoIndices *bool
ExpandWildcards string
FlatSettings *bool
MasterTimeout time.Duration
PreserveExisting *bool
Timeout time.Duration
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
IndicesPutSettingsRequest configures the Indices Put Settings API request.
type IndicesPutTemplate ¶
type IndicesPutTemplate func(name string, body io.Reader, o ...func(*IndicesPutTemplateRequest)) (*Response, error)
IndicesPutTemplate creates or updates an index template.
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html.
func (IndicesPutTemplate) WithContext ¶
func (f IndicesPutTemplate) WithContext(v context.Context) func(*IndicesPutTemplateRequest)
WithContext sets the request context.
func (IndicesPutTemplate) WithCreate ¶
func (f IndicesPutTemplate) WithCreate(v bool) func(*IndicesPutTemplateRequest)
WithCreate - whether the index template should only be added if new or can also replace an existing one.
func (IndicesPutTemplate) WithErrorTrace ¶
func (f IndicesPutTemplate) WithErrorTrace() func(*IndicesPutTemplateRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (IndicesPutTemplate) WithFilterPath ¶
func (f IndicesPutTemplate) WithFilterPath(v ...string) func(*IndicesPutTemplateRequest)
WithFilterPath filters the properties of the response body.
func (IndicesPutTemplate) WithHeader ¶ added in v7.2.0
func (f IndicesPutTemplate) WithHeader(h map[string]string) func(*IndicesPutTemplateRequest)
WithHeader adds the headers to the HTTP request.
func (IndicesPutTemplate) WithHuman ¶
func (f IndicesPutTemplate) WithHuman() func(*IndicesPutTemplateRequest)
WithHuman makes statistical values human-readable.
func (IndicesPutTemplate) WithIncludeTypeName ¶
func (f IndicesPutTemplate) WithIncludeTypeName(v bool) func(*IndicesPutTemplateRequest)
WithIncludeTypeName - whether a type should be returned in the body of the mappings..
func (IndicesPutTemplate) WithMasterTimeout ¶
func (f IndicesPutTemplate) WithMasterTimeout(v time.Duration) func(*IndicesPutTemplateRequest)
WithMasterTimeout - specify timeout for connection to master.
func (IndicesPutTemplate) WithOpaqueID ¶ added in v7.5.0
func (f IndicesPutTemplate) WithOpaqueID(s string) func(*IndicesPutTemplateRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (IndicesPutTemplate) WithOrder ¶
func (f IndicesPutTemplate) WithOrder(v int) func(*IndicesPutTemplateRequest)
WithOrder - the order for this template when merging multiple matching ones (higher numbers are merged later, overriding the lower numbers).
func (IndicesPutTemplate) WithPretty ¶
func (f IndicesPutTemplate) WithPretty() func(*IndicesPutTemplateRequest)
WithPretty makes the response body pretty-printed.
type IndicesPutTemplateRequest ¶
type IndicesPutTemplateRequest struct {
Body io.Reader
Name string
Create *bool
IncludeTypeName *bool
MasterTimeout time.Duration
Order *int
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
IndicesPutTemplateRequest configures the Indices Put Template API request.
type IndicesRecovery ¶
type IndicesRecovery func(o ...func(*IndicesRecoveryRequest)) (*Response, error)
IndicesRecovery returns information about ongoing index shard recoveries.
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-recovery.html.
func (IndicesRecovery) WithActiveOnly ¶
func (f IndicesRecovery) WithActiveOnly(v bool) func(*IndicesRecoveryRequest)
WithActiveOnly - display only those recoveries that are currently on-going.
func (IndicesRecovery) WithContext ¶
func (f IndicesRecovery) WithContext(v context.Context) func(*IndicesRecoveryRequest)
WithContext sets the request context.
func (IndicesRecovery) WithDetailed ¶
func (f IndicesRecovery) WithDetailed(v bool) func(*IndicesRecoveryRequest)
WithDetailed - whether to display detailed information about shard recovery.
func (IndicesRecovery) WithErrorTrace ¶
func (f IndicesRecovery) WithErrorTrace() func(*IndicesRecoveryRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (IndicesRecovery) WithFilterPath ¶
func (f IndicesRecovery) WithFilterPath(v ...string) func(*IndicesRecoveryRequest)
WithFilterPath filters the properties of the response body.
func (IndicesRecovery) WithHeader ¶ added in v7.2.0
func (f IndicesRecovery) WithHeader(h map[string]string) func(*IndicesRecoveryRequest)
WithHeader adds the headers to the HTTP request.
func (IndicesRecovery) WithHuman ¶
func (f IndicesRecovery) WithHuman() func(*IndicesRecoveryRequest)
WithHuman makes statistical values human-readable.
func (IndicesRecovery) WithIndex ¶
func (f IndicesRecovery) WithIndex(v ...string) func(*IndicesRecoveryRequest)
WithIndex - a list of index names; use _all to perform the operation on all indices.
func (IndicesRecovery) WithOpaqueID ¶ added in v7.5.0
func (f IndicesRecovery) WithOpaqueID(s string) func(*IndicesRecoveryRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (IndicesRecovery) WithPretty ¶
func (f IndicesRecovery) WithPretty() func(*IndicesRecoveryRequest)
WithPretty makes the response body pretty-printed.
type IndicesRecoveryRequest ¶
type IndicesRecoveryRequest struct {
Index []string
ActiveOnly *bool
Detailed *bool
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
IndicesRecoveryRequest configures the Indices Recovery API request.
type IndicesRefresh ¶
type IndicesRefresh func(o ...func(*IndicesRefreshRequest)) (*Response, error)
IndicesRefresh performs the refresh operation in one or more indices.
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-refresh.html.
func (IndicesRefresh) WithAllowNoIndices ¶
func (f IndicesRefresh) WithAllowNoIndices(v bool) func(*IndicesRefreshRequest)
WithAllowNoIndices - whether to ignore if a wildcard indices expression resolves into no concrete indices. (this includes `_all` string or when no indices have been specified).
func (IndicesRefresh) WithContext ¶
func (f IndicesRefresh) WithContext(v context.Context) func(*IndicesRefreshRequest)
WithContext sets the request context.
func (IndicesRefresh) WithErrorTrace ¶
func (f IndicesRefresh) WithErrorTrace() func(*IndicesRefreshRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (IndicesRefresh) WithExpandWildcards ¶
func (f IndicesRefresh) WithExpandWildcards(v string) func(*IndicesRefreshRequest)
WithExpandWildcards - whether to expand wildcard expression to concrete indices that are open, closed or both..
func (IndicesRefresh) WithFilterPath ¶
func (f IndicesRefresh) WithFilterPath(v ...string) func(*IndicesRefreshRequest)
WithFilterPath filters the properties of the response body.
func (IndicesRefresh) WithHeader ¶ added in v7.2.0
func (f IndicesRefresh) WithHeader(h map[string]string) func(*IndicesRefreshRequest)
WithHeader adds the headers to the HTTP request.
func (IndicesRefresh) WithHuman ¶
func (f IndicesRefresh) WithHuman() func(*IndicesRefreshRequest)
WithHuman makes statistical values human-readable.
func (IndicesRefresh) WithIgnoreUnavailable ¶
func (f IndicesRefresh) WithIgnoreUnavailable(v bool) func(*IndicesRefreshRequest)
WithIgnoreUnavailable - whether specified concrete indices should be ignored when unavailable (missing or closed).
func (IndicesRefresh) WithIndex ¶
func (f IndicesRefresh) WithIndex(v ...string) func(*IndicesRefreshRequest)
WithIndex - a list of index names; use _all to perform the operation on all indices.
func (IndicesRefresh) WithOpaqueID ¶ added in v7.5.0
func (f IndicesRefresh) WithOpaqueID(s string) func(*IndicesRefreshRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (IndicesRefresh) WithPretty ¶
func (f IndicesRefresh) WithPretty() func(*IndicesRefreshRequest)
WithPretty makes the response body pretty-printed.
type IndicesRefreshRequest ¶
type IndicesRefreshRequest struct {
Index []string
AllowNoIndices *bool
ExpandWildcards string
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
IndicesRefreshRequest configures the Indices Refresh API request.
type IndicesReloadSearchAnalyzers ¶ added in v7.2.0
type IndicesReloadSearchAnalyzers func(index []string, o ...func(*IndicesReloadSearchAnalyzersRequest)) (*Response, error)
IndicesReloadSearchAnalyzers - Reloads an index's search analyzers and their resources.
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-reload-analyzers.html.
func (IndicesReloadSearchAnalyzers) WithAllowNoIndices ¶ added in v7.2.0
func (f IndicesReloadSearchAnalyzers) WithAllowNoIndices(v bool) func(*IndicesReloadSearchAnalyzersRequest)
WithAllowNoIndices - whether to ignore if a wildcard indices expression resolves into no concrete indices. (this includes `_all` string or when no indices have been specified).
func (IndicesReloadSearchAnalyzers) WithContext ¶ added in v7.2.0
func (f IndicesReloadSearchAnalyzers) WithContext(v context.Context) func(*IndicesReloadSearchAnalyzersRequest)
WithContext sets the request context.
func (IndicesReloadSearchAnalyzers) WithErrorTrace ¶ added in v7.2.0
func (f IndicesReloadSearchAnalyzers) WithErrorTrace() func(*IndicesReloadSearchAnalyzersRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (IndicesReloadSearchAnalyzers) WithExpandWildcards ¶ added in v7.2.0
func (f IndicesReloadSearchAnalyzers) WithExpandWildcards(v string) func(*IndicesReloadSearchAnalyzersRequest)
WithExpandWildcards - whether to expand wildcard expression to concrete indices that are open, closed or both..
func (IndicesReloadSearchAnalyzers) WithFilterPath ¶ added in v7.2.0
func (f IndicesReloadSearchAnalyzers) WithFilterPath(v ...string) func(*IndicesReloadSearchAnalyzersRequest)
WithFilterPath filters the properties of the response body.
func (IndicesReloadSearchAnalyzers) WithHeader ¶ added in v7.2.0
func (f IndicesReloadSearchAnalyzers) WithHeader(h map[string]string) func(*IndicesReloadSearchAnalyzersRequest)
WithHeader adds the headers to the HTTP request.
func (IndicesReloadSearchAnalyzers) WithHuman ¶ added in v7.2.0
func (f IndicesReloadSearchAnalyzers) WithHuman() func(*IndicesReloadSearchAnalyzersRequest)
WithHuman makes statistical values human-readable.
func (IndicesReloadSearchAnalyzers) WithIgnoreUnavailable ¶ added in v7.2.0
func (f IndicesReloadSearchAnalyzers) WithIgnoreUnavailable(v bool) func(*IndicesReloadSearchAnalyzersRequest)
WithIgnoreUnavailable - whether specified concrete indices should be ignored when unavailable (missing or closed).
func (IndicesReloadSearchAnalyzers) WithOpaqueID ¶ added in v7.5.0
func (f IndicesReloadSearchAnalyzers) WithOpaqueID(s string) func(*IndicesReloadSearchAnalyzersRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (IndicesReloadSearchAnalyzers) WithPretty ¶ added in v7.2.0
func (f IndicesReloadSearchAnalyzers) WithPretty() func(*IndicesReloadSearchAnalyzersRequest)
WithPretty makes the response body pretty-printed.
type IndicesReloadSearchAnalyzersRequest ¶ added in v7.2.0
type IndicesReloadSearchAnalyzersRequest struct {
Index []string
AllowNoIndices *bool
ExpandWildcards string
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
IndicesReloadSearchAnalyzersRequest configures the Indices Reload Search Analyzers API request.
type IndicesResolveIndex ¶ added in v7.9.0
type IndicesResolveIndex func(name []string, o ...func(*IndicesResolveIndexRequest)) (*Response, error)
IndicesResolveIndex returns information about any matching indices, aliases, and data streams
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-resolve-index-api.html.
func (IndicesResolveIndex) WithContext ¶ added in v7.9.0
func (f IndicesResolveIndex) WithContext(v context.Context) func(*IndicesResolveIndexRequest)
WithContext sets the request context.
func (IndicesResolveIndex) WithErrorTrace ¶ added in v7.9.0
func (f IndicesResolveIndex) WithErrorTrace() func(*IndicesResolveIndexRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (IndicesResolveIndex) WithExpandWildcards ¶ added in v7.9.0
func (f IndicesResolveIndex) WithExpandWildcards(v string) func(*IndicesResolveIndexRequest)
WithExpandWildcards - whether wildcard expressions should get expanded to open or closed indices (default: open).
func (IndicesResolveIndex) WithFilterPath ¶ added in v7.9.0
func (f IndicesResolveIndex) WithFilterPath(v ...string) func(*IndicesResolveIndexRequest)
WithFilterPath filters the properties of the response body.
func (IndicesResolveIndex) WithHeader ¶ added in v7.9.0
func (f IndicesResolveIndex) WithHeader(h map[string]string) func(*IndicesResolveIndexRequest)
WithHeader adds the headers to the HTTP request.
func (IndicesResolveIndex) WithHuman ¶ added in v7.9.0
func (f IndicesResolveIndex) WithHuman() func(*IndicesResolveIndexRequest)
WithHuman makes statistical values human-readable.
func (IndicesResolveIndex) WithOpaqueID ¶ added in v7.9.0
func (f IndicesResolveIndex) WithOpaqueID(s string) func(*IndicesResolveIndexRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (IndicesResolveIndex) WithPretty ¶ added in v7.9.0
func (f IndicesResolveIndex) WithPretty() func(*IndicesResolveIndexRequest)
WithPretty makes the response body pretty-printed.
type IndicesResolveIndexRequest ¶ added in v7.9.0
type IndicesResolveIndexRequest struct {
Name []string
ExpandWildcards string
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
IndicesResolveIndexRequest configures the Indices Resolve Index API request.
type IndicesRollover ¶
type IndicesRollover func(alias string, o ...func(*IndicesRolloverRequest)) (*Response, error)
IndicesRollover updates an alias to point to a new index when the existing index is considered to be too large or too old.
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-rollover-index.html.
func (IndicesRollover) WithBody ¶
func (f IndicesRollover) WithBody(v io.Reader) func(*IndicesRolloverRequest)
WithBody - The conditions that needs to be met for executing rollover.
func (IndicesRollover) WithContext ¶
func (f IndicesRollover) WithContext(v context.Context) func(*IndicesRolloverRequest)
WithContext sets the request context.
func (IndicesRollover) WithDryRun ¶
func (f IndicesRollover) WithDryRun(v bool) func(*IndicesRolloverRequest)
WithDryRun - if set to true the rollover action will only be validated but not actually performed even if a condition matches. the default is false.
func (IndicesRollover) WithErrorTrace ¶
func (f IndicesRollover) WithErrorTrace() func(*IndicesRolloverRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (IndicesRollover) WithFilterPath ¶
func (f IndicesRollover) WithFilterPath(v ...string) func(*IndicesRolloverRequest)
WithFilterPath filters the properties of the response body.
func (IndicesRollover) WithHeader ¶ added in v7.2.0
func (f IndicesRollover) WithHeader(h map[string]string) func(*IndicesRolloverRequest)
WithHeader adds the headers to the HTTP request.
func (IndicesRollover) WithHuman ¶
func (f IndicesRollover) WithHuman() func(*IndicesRolloverRequest)
WithHuman makes statistical values human-readable.
func (IndicesRollover) WithIncludeTypeName ¶
func (f IndicesRollover) WithIncludeTypeName(v bool) func(*IndicesRolloverRequest)
WithIncludeTypeName - whether a type should be included in the body of the mappings..
func (IndicesRollover) WithMasterTimeout ¶
func (f IndicesRollover) WithMasterTimeout(v time.Duration) func(*IndicesRolloverRequest)
WithMasterTimeout - specify timeout for connection to master.
func (IndicesRollover) WithNewIndex ¶
func (f IndicesRollover) WithNewIndex(v string) func(*IndicesRolloverRequest)
WithNewIndex - the name of the rollover index.
func (IndicesRollover) WithOpaqueID ¶ added in v7.5.0
func (f IndicesRollover) WithOpaqueID(s string) func(*IndicesRolloverRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (IndicesRollover) WithPretty ¶
func (f IndicesRollover) WithPretty() func(*IndicesRolloverRequest)
WithPretty makes the response body pretty-printed.
func (IndicesRollover) WithTimeout ¶
func (f IndicesRollover) WithTimeout(v time.Duration) func(*IndicesRolloverRequest)
WithTimeout - explicit operation timeout.
func (IndicesRollover) WithWaitForActiveShards ¶
func (f IndicesRollover) WithWaitForActiveShards(v string) func(*IndicesRolloverRequest)
WithWaitForActiveShards - set the number of active shards to wait for on the newly created rollover index before the operation returns..
type IndicesRolloverRequest ¶
type IndicesRolloverRequest struct {
Body io.Reader
Alias string
NewIndex string
DryRun *bool
IncludeTypeName *bool
MasterTimeout time.Duration
Timeout time.Duration
WaitForActiveShards string
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
IndicesRolloverRequest configures the Indices Rollover API request.
type IndicesSegments ¶
type IndicesSegments func(o ...func(*IndicesSegmentsRequest)) (*Response, error)
IndicesSegments provides low-level information about segments in a Lucene index.
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-segments.html.
func (IndicesSegments) WithAllowNoIndices ¶
func (f IndicesSegments) WithAllowNoIndices(v bool) func(*IndicesSegmentsRequest)
WithAllowNoIndices - whether to ignore if a wildcard indices expression resolves into no concrete indices. (this includes `_all` string or when no indices have been specified).
func (IndicesSegments) WithContext ¶
func (f IndicesSegments) WithContext(v context.Context) func(*IndicesSegmentsRequest)
WithContext sets the request context.
func (IndicesSegments) WithErrorTrace ¶
func (f IndicesSegments) WithErrorTrace() func(*IndicesSegmentsRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (IndicesSegments) WithExpandWildcards ¶
func (f IndicesSegments) WithExpandWildcards(v string) func(*IndicesSegmentsRequest)
WithExpandWildcards - whether to expand wildcard expression to concrete indices that are open, closed or both..
func (IndicesSegments) WithFilterPath ¶
func (f IndicesSegments) WithFilterPath(v ...string) func(*IndicesSegmentsRequest)
WithFilterPath filters the properties of the response body.
func (IndicesSegments) WithHeader ¶ added in v7.2.0
func (f IndicesSegments) WithHeader(h map[string]string) func(*IndicesSegmentsRequest)
WithHeader adds the headers to the HTTP request.
func (IndicesSegments) WithHuman ¶
func (f IndicesSegments) WithHuman() func(*IndicesSegmentsRequest)
WithHuman makes statistical values human-readable.
func (IndicesSegments) WithIgnoreUnavailable ¶
func (f IndicesSegments) WithIgnoreUnavailable(v bool) func(*IndicesSegmentsRequest)
WithIgnoreUnavailable - whether specified concrete indices should be ignored when unavailable (missing or closed).
func (IndicesSegments) WithIndex ¶
func (f IndicesSegments) WithIndex(v ...string) func(*IndicesSegmentsRequest)
WithIndex - a list of index names; use _all to perform the operation on all indices.
func (IndicesSegments) WithOpaqueID ¶ added in v7.5.0
func (f IndicesSegments) WithOpaqueID(s string) func(*IndicesSegmentsRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (IndicesSegments) WithPretty ¶
func (f IndicesSegments) WithPretty() func(*IndicesSegmentsRequest)
WithPretty makes the response body pretty-printed.
func (IndicesSegments) WithVerbose ¶
func (f IndicesSegments) WithVerbose(v bool) func(*IndicesSegmentsRequest)
WithVerbose - includes detailed memory usage by lucene..
type IndicesSegmentsRequest ¶
type IndicesSegmentsRequest struct {
Index []string
AllowNoIndices *bool
ExpandWildcards string
Verbose *bool
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
IndicesSegmentsRequest configures the Indices Segments API request.
type IndicesShardStores ¶
type IndicesShardStores func(o ...func(*IndicesShardStoresRequest)) (*Response, error)
IndicesShardStores provides store information for shard copies of indices.
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-shards-stores.html.
func (IndicesShardStores) WithAllowNoIndices ¶
func (f IndicesShardStores) WithAllowNoIndices(v bool) func(*IndicesShardStoresRequest)
WithAllowNoIndices - whether to ignore if a wildcard indices expression resolves into no concrete indices. (this includes `_all` string or when no indices have been specified).
func (IndicesShardStores) WithContext ¶
func (f IndicesShardStores) WithContext(v context.Context) func(*IndicesShardStoresRequest)
WithContext sets the request context.
func (IndicesShardStores) WithErrorTrace ¶
func (f IndicesShardStores) WithErrorTrace() func(*IndicesShardStoresRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (IndicesShardStores) WithExpandWildcards ¶
func (f IndicesShardStores) WithExpandWildcards(v string) func(*IndicesShardStoresRequest)
WithExpandWildcards - whether to expand wildcard expression to concrete indices that are open, closed or both..
func (IndicesShardStores) WithFilterPath ¶
func (f IndicesShardStores) WithFilterPath(v ...string) func(*IndicesShardStoresRequest)
WithFilterPath filters the properties of the response body.
func (IndicesShardStores) WithHeader ¶ added in v7.2.0
func (f IndicesShardStores) WithHeader(h map[string]string) func(*IndicesShardStoresRequest)
WithHeader adds the headers to the HTTP request.
func (IndicesShardStores) WithHuman ¶
func (f IndicesShardStores) WithHuman() func(*IndicesShardStoresRequest)
WithHuman makes statistical values human-readable.
func (IndicesShardStores) WithIgnoreUnavailable ¶
func (f IndicesShardStores) WithIgnoreUnavailable(v bool) func(*IndicesShardStoresRequest)
WithIgnoreUnavailable - whether specified concrete indices should be ignored when unavailable (missing or closed).
func (IndicesShardStores) WithIndex ¶
func (f IndicesShardStores) WithIndex(v ...string) func(*IndicesShardStoresRequest)
WithIndex - a list of index names; use _all to perform the operation on all indices.
func (IndicesShardStores) WithOpaqueID ¶ added in v7.5.0
func (f IndicesShardStores) WithOpaqueID(s string) func(*IndicesShardStoresRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (IndicesShardStores) WithPretty ¶
func (f IndicesShardStores) WithPretty() func(*IndicesShardStoresRequest)
WithPretty makes the response body pretty-printed.
func (IndicesShardStores) WithStatus ¶
func (f IndicesShardStores) WithStatus(v ...string) func(*IndicesShardStoresRequest)
WithStatus - a list of statuses used to filter on shards to get store information for.
type IndicesShardStoresRequest ¶
type IndicesShardStoresRequest struct {
Index []string
AllowNoIndices *bool
ExpandWildcards string
Status []string
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
IndicesShardStoresRequest configures the Indices Shard Stores API request.
type IndicesShrink ¶
type IndicesShrink func(index string, target string, o ...func(*IndicesShrinkRequest)) (*Response, error)
IndicesShrink allow to shrink an existing index into a new index with fewer primary shards.
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-shrink-index.html.
func (IndicesShrink) WithBody ¶
func (f IndicesShrink) WithBody(v io.Reader) func(*IndicesShrinkRequest)
WithBody - The configuration for the target index (`settings` and `aliases`).
func (IndicesShrink) WithContext ¶
func (f IndicesShrink) WithContext(v context.Context) func(*IndicesShrinkRequest)
WithContext sets the request context.
func (IndicesShrink) WithCopySettings ¶
func (f IndicesShrink) WithCopySettings(v bool) func(*IndicesShrinkRequest)
WithCopySettings - whether or not to copy settings from the source index (defaults to false).
func (IndicesShrink) WithErrorTrace ¶
func (f IndicesShrink) WithErrorTrace() func(*IndicesShrinkRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (IndicesShrink) WithFilterPath ¶
func (f IndicesShrink) WithFilterPath(v ...string) func(*IndicesShrinkRequest)
WithFilterPath filters the properties of the response body.
func (IndicesShrink) WithHeader ¶ added in v7.2.0
func (f IndicesShrink) WithHeader(h map[string]string) func(*IndicesShrinkRequest)
WithHeader adds the headers to the HTTP request.
func (IndicesShrink) WithHuman ¶
func (f IndicesShrink) WithHuman() func(*IndicesShrinkRequest)
WithHuman makes statistical values human-readable.
func (IndicesShrink) WithMasterTimeout ¶
func (f IndicesShrink) WithMasterTimeout(v time.Duration) func(*IndicesShrinkRequest)
WithMasterTimeout - specify timeout for connection to master.
func (IndicesShrink) WithOpaqueID ¶ added in v7.5.0
func (f IndicesShrink) WithOpaqueID(s string) func(*IndicesShrinkRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (IndicesShrink) WithPretty ¶
func (f IndicesShrink) WithPretty() func(*IndicesShrinkRequest)
WithPretty makes the response body pretty-printed.
func (IndicesShrink) WithTimeout ¶
func (f IndicesShrink) WithTimeout(v time.Duration) func(*IndicesShrinkRequest)
WithTimeout - explicit operation timeout.
func (IndicesShrink) WithWaitForActiveShards ¶
func (f IndicesShrink) WithWaitForActiveShards(v string) func(*IndicesShrinkRequest)
WithWaitForActiveShards - set the number of active shards to wait for on the shrunken index before the operation returns..
type IndicesShrinkRequest ¶
type IndicesShrinkRequest struct {
Index string
Body io.Reader
Target string
CopySettings *bool
MasterTimeout time.Duration
Timeout time.Duration
WaitForActiveShards string
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
IndicesShrinkRequest configures the Indices Shrink API request.
type IndicesSimulateIndexTemplate ¶ added in v7.8.0
type IndicesSimulateIndexTemplate func(name string, o ...func(*IndicesSimulateIndexTemplateRequest)) (*Response, error)
IndicesSimulateIndexTemplate simulate matching the given index name against the index templates in the system
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html.
func (IndicesSimulateIndexTemplate) WithBody ¶ added in v7.8.0
func (f IndicesSimulateIndexTemplate) WithBody(v io.Reader) func(*IndicesSimulateIndexTemplateRequest)
WithBody - New index template definition, which will be included in the simulation, as if it already exists in the system.
func (IndicesSimulateIndexTemplate) WithCause ¶ added in v7.8.0
func (f IndicesSimulateIndexTemplate) WithCause(v string) func(*IndicesSimulateIndexTemplateRequest)
WithCause - user defined reason for dry-run creating the new template for simulation purposes.
func (IndicesSimulateIndexTemplate) WithContext ¶ added in v7.8.0
func (f IndicesSimulateIndexTemplate) WithContext(v context.Context) func(*IndicesSimulateIndexTemplateRequest)
WithContext sets the request context.
func (IndicesSimulateIndexTemplate) WithCreate ¶ added in v7.8.0
func (f IndicesSimulateIndexTemplate) WithCreate(v bool) func(*IndicesSimulateIndexTemplateRequest)
WithCreate - whether the index template we optionally defined in the body should only be dry-run added if new or can also replace an existing one.
func (IndicesSimulateIndexTemplate) WithErrorTrace ¶ added in v7.8.0
func (f IndicesSimulateIndexTemplate) WithErrorTrace() func(*IndicesSimulateIndexTemplateRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (IndicesSimulateIndexTemplate) WithFilterPath ¶ added in v7.8.0
func (f IndicesSimulateIndexTemplate) WithFilterPath(v ...string) func(*IndicesSimulateIndexTemplateRequest)
WithFilterPath filters the properties of the response body.
func (IndicesSimulateIndexTemplate) WithHeader ¶ added in v7.8.0
func (f IndicesSimulateIndexTemplate) WithHeader(h map[string]string) func(*IndicesSimulateIndexTemplateRequest)
WithHeader adds the headers to the HTTP request.
func (IndicesSimulateIndexTemplate) WithHuman ¶ added in v7.8.0
func (f IndicesSimulateIndexTemplate) WithHuman() func(*IndicesSimulateIndexTemplateRequest)
WithHuman makes statistical values human-readable.
func (IndicesSimulateIndexTemplate) WithMasterTimeout ¶ added in v7.8.0
func (f IndicesSimulateIndexTemplate) WithMasterTimeout(v time.Duration) func(*IndicesSimulateIndexTemplateRequest)
WithMasterTimeout - specify timeout for connection to master.
func (IndicesSimulateIndexTemplate) WithOpaqueID ¶ added in v7.8.0
func (f IndicesSimulateIndexTemplate) WithOpaqueID(s string) func(*IndicesSimulateIndexTemplateRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (IndicesSimulateIndexTemplate) WithPretty ¶ added in v7.8.0
func (f IndicesSimulateIndexTemplate) WithPretty() func(*IndicesSimulateIndexTemplateRequest)
WithPretty makes the response body pretty-printed.
type IndicesSimulateIndexTemplateRequest ¶ added in v7.8.0
type IndicesSimulateIndexTemplateRequest struct {
Body io.Reader
Name string
Cause string
Create *bool
MasterTimeout time.Duration
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
IndicesSimulateIndexTemplateRequest configures the Indices Simulate Index Template API request.
type IndicesSimulateTemplate ¶ added in v7.9.0
type IndicesSimulateTemplate func(o ...func(*IndicesSimulateTemplateRequest)) (*Response, error)
IndicesSimulateTemplate simulate resolving the given template name or body
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-templates.html.
func (IndicesSimulateTemplate) WithBody ¶ added in v7.9.0
func (f IndicesSimulateTemplate) WithBody(v io.Reader) func(*IndicesSimulateTemplateRequest)
WithBody - New index template definition to be simulated, if no index template name is specified.
func (IndicesSimulateTemplate) WithCause ¶ added in v7.9.0
func (f IndicesSimulateTemplate) WithCause(v string) func(*IndicesSimulateTemplateRequest)
WithCause - user defined reason for dry-run creating the new template for simulation purposes.
func (IndicesSimulateTemplate) WithContext ¶ added in v7.9.0
func (f IndicesSimulateTemplate) WithContext(v context.Context) func(*IndicesSimulateTemplateRequest)
WithContext sets the request context.
func (IndicesSimulateTemplate) WithCreate ¶ added in v7.9.0
func (f IndicesSimulateTemplate) WithCreate(v bool) func(*IndicesSimulateTemplateRequest)
WithCreate - whether the index template we optionally defined in the body should only be dry-run added if new or can also replace an existing one.
func (IndicesSimulateTemplate) WithErrorTrace ¶ added in v7.9.0
func (f IndicesSimulateTemplate) WithErrorTrace() func(*IndicesSimulateTemplateRequest)
WithErrorTrace includes the stack trace for errors in the response body.
func (IndicesSimulateTemplate) WithFilterPath ¶ added in v7.9.0
func (f IndicesSimulateTemplate) WithFilterPath(v ...string) func(*IndicesSimulateTemplateRequest)
WithFilterPath filters the properties of the response body.
func (IndicesSimulateTemplate) WithHeader ¶ added in v7.9.0
func (f IndicesSimulateTemplate) WithHeader(h map[string]string) func(*IndicesSimulateTemplateRequest)
WithHeader adds the headers to the HTTP request.
func (IndicesSimulateTemplate) WithHuman ¶ added in v7.9.0
func (f IndicesSimulateTemplate) WithHuman() func(*IndicesSimulateTemplateRequest)
WithHuman makes statistical values human-readable.
func (IndicesSimulateTemplate) WithMasterTimeout ¶ added in v7.9.0
func (f IndicesSimulateTemplate) WithMasterTimeout(v time.Duration) func(*IndicesSimulateTemplateRequest)
WithMasterTimeout - specify timeout for connection to master.
func (IndicesSimulateTemplate) WithName ¶ added in v7.9.0
func (f IndicesSimulateTemplate) WithName(v string) func(*IndicesSimulateTemplateRequest)
WithName - the name of the index template.
func (IndicesSimulateTemplate) WithOpaqueID ¶ added in v7.9.0
func (f IndicesSimulateTemplate) WithOpaqueID(s string) func(*IndicesSimulateTemplateRequest)
WithOpaqueID adds the X-Opaque-Id header to the HTTP request.
func (IndicesSimulateTemplate) WithPretty ¶ added in v7.9.0
func (f IndicesSimulateTemplate) WithPretty() func(*IndicesSimulateTemplateRequest)
WithPretty makes the response body pretty-printed.
type IndicesSimulateTemplateRequest ¶ added in v7.9.0
type IndicesSimulateTemplateRequest struct {
Body io.Reader
Name string
Cause string
Create *bool
MasterTimeout time.Duration
Pretty bool
Human bool
ErrorTrace bool
FilterPath []string
Header http.Header
// contains filtered or unexported fields
}
IndicesSimulateTemplateRequest configures the Indices Simulate Template API request.
type IndicesSplit ¶
type IndicesSplit func(index string, target string, o ...func(*IndicesSplitRequest)) (*Response, error)
IndicesSplit allows you to split an existing index into a new index with more primary shards.
See full documentation at https://www.elastic.co/guide/en/elasticsearch/reference/master/indices-split-index.html.