-
Notifications
You must be signed in to change notification settings - Fork 627
/
Copy pathapi._.go
executable file
·989 lines (964 loc) · 46.9 KB
/
api._.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
// Licensed to Elasticsearch B.V. under one or more contributor
// license agreements. See the NOTICE file distributed with
// this work for additional information regarding copyright
// ownership. Elasticsearch B.V. licenses this file to you under
// the Apache License, Version 2.0 (the "License"); you may
// not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing,
// software distributed under the License is distributed on an
// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
// KIND, either express or implied. See the License for the
// specific language governing permissions and limitations
// under the License.
//
// Code generated from specification version 7.16.0 (4a1e55d): DO NOT EDIT
package esapi
// API contains the Elasticsearch APIs
//
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
}
// Cat contains the Cat APIs
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
}
// Cluster contains the Cluster APIs
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
}
// Indices contains the Indices APIs
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
}
// Ingest contains the Ingest APIs
type Ingest struct {
DeletePipeline IngestDeletePipeline
GeoIPStats IngestGeoIPStats
GetPipeline IngestGetPipeline
ProcessorGrok IngestProcessorGrok
PutPipeline IngestPutPipeline
Simulate IngestSimulate
}
// Nodes contains the Nodes APIs
type Nodes struct {
ClearMeteringArchive NodesClearMeteringArchive
ClearRepositoriesMeteringArchive NodesClearRepositoriesMeteringArchive
GetMeteringInfo NodesGetMeteringInfo
GetRepositoriesMeteringInfo NodesGetRepositoriesMeteringInfo
HotThreads NodesHotThreads
Info NodesInfo
ReloadSecureSettings NodesReloadSecureSettings
Stats NodesStats
Usage NodesUsage
}
// Remote contains the Remote APIs
type Remote struct {
}
// Snapshot contains the Snapshot APIs
type Snapshot struct {
CleanupRepository SnapshotCleanupRepository
Clone SnapshotClone
CreateRepository SnapshotCreateRepository
Create SnapshotCreate
DeleteRepository SnapshotDeleteRepository
Delete SnapshotDelete
GetRepository SnapshotGetRepository
Get SnapshotGet
RepositoryAnalyze SnapshotRepositoryAnalyze
Restore SnapshotRestore
Status SnapshotStatus
VerifyRepository SnapshotVerifyRepository
}
// Tasks contains the Tasks APIs
type Tasks struct {
Cancel TasksCancel
Get TasksGet
List TasksList
}
// AsyncSearch contains the AsyncSearch APIs
type AsyncSearch struct {
Delete AsyncSearchDelete
Get AsyncSearchGet
Status AsyncSearchStatus
Submit AsyncSearchSubmit
}
// CCR contains the CCR APIs
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
}
// ILM contains the ILM APIs
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
}
// License contains the License APIs
type License struct {
Delete LicenseDelete
GetBasicStatus LicenseGetBasicStatus
Get LicenseGet
GetTrialStatus LicenseGetTrialStatus
Post LicensePost
PostStartBasic LicensePostStartBasic
PostStartTrial LicensePostStartTrial
}
// Migration contains the Migration APIs
type Migration struct {
Deprecations MigrationDeprecations
GetFeatureUpgradeStatus MigrationGetFeatureUpgradeStatus
PostFeatureUpgrade MigrationPostFeatureUpgrade
}
// ML contains the ML APIs
type ML struct {
CloseJob MLCloseJob
DeleteCalendarEvent MLDeleteCalendarEvent
DeleteCalendarJob MLDeleteCalendarJob
DeleteCalendar MLDeleteCalendar
DeleteDataFrameAnalytics MLDeleteDataFrameAnalytics
DeleteDatafeed MLDeleteDatafeed
DeleteExpiredData MLDeleteExpiredData
DeleteFilter MLDeleteFilter
DeleteForecast MLDeleteForecast
DeleteJob MLDeleteJob
DeleteModelSnapshot MLDeleteModelSnapshot
DeleteTrainedModelAlias MLDeleteTrainedModelAlias
DeleteTrainedModel MLDeleteTrainedModel
EstimateModelMemory MLEstimateModelMemory
EvaluateDataFrame MLEvaluateDataFrame
ExplainDataFrameAnalytics MLExplainDataFrameAnalytics
FindFileStructure MLFindFileStructure
FlushJob MLFlushJob
Forecast MLForecast
GetBuckets MLGetBuckets
GetCalendarEvents MLGetCalendarEvents
GetCalendars MLGetCalendars
GetCategories MLGetCategories
GetDataFrameAnalytics MLGetDataFrameAnalytics
GetDataFrameAnalyticsStats MLGetDataFrameAnalyticsStats
GetDatafeedStats MLGetDatafeedStats
GetDatafeeds MLGetDatafeeds
GetFilters MLGetFilters
GetInfluencers MLGetInfluencers
GetJobStats MLGetJobStats
GetJobs MLGetJobs
GetModelSnapshots MLGetModelSnapshots
GetOverallBuckets MLGetOverallBuckets
GetRecords MLGetRecords
GetTrainedModels MLGetTrainedModels
GetTrainedModelsStats MLGetTrainedModelsStats
Info MLInfo
OpenJob MLOpenJob
PostCalendarEvents MLPostCalendarEvents
PostData MLPostData
PreviewDataFrameAnalytics MLPreviewDataFrameAnalytics
PreviewDatafeed MLPreviewDatafeed
PutCalendarJob MLPutCalendarJob
PutCalendar MLPutCalendar
PutDataFrameAnalytics MLPutDataFrameAnalytics
PutDatafeed MLPutDatafeed
PutFilter MLPutFilter
PutJob MLPutJob
PutTrainedModelAlias MLPutTrainedModelAlias
PutTrainedModel MLPutTrainedModel
ResetJob MLResetJob
RevertModelSnapshot MLRevertModelSnapshot
SetUpgradeMode MLSetUpgradeMode
StartDataFrameAnalytics MLStartDataFrameAnalytics
StartDatafeed MLStartDatafeed
StopDataFrameAnalytics MLStopDataFrameAnalytics
StopDatafeed MLStopDatafeed
UpdateDataFrameAnalytics MLUpdateDataFrameAnalytics
UpdateDatafeed MLUpdateDatafeed
UpdateFilter MLUpdateFilter
UpdateJob MLUpdateJob
UpdateModelSnapshot MLUpdateModelSnapshot
UpgradeJobSnapshot MLUpgradeJobSnapshot
ValidateDetector MLValidateDetector
Validate MLValidate
}
// Monitoring contains the Monitoring APIs
type Monitoring struct {
Bulk MonitoringBulk
}
// Rollup contains the Rollup APIs
type Rollup struct {
DeleteJob RollupDeleteJob
GetJobs RollupGetJobs
GetCaps RollupGetRollupCaps
GetIndexCaps RollupGetRollupIndexCaps
PutJob RollupPutJob
Rollup RollupRollup
Search RollupRollupSearch
StartJob RollupStartJob
StopJob RollupStopJob
}
// Security contains the Security APIs
type Security struct {
Authenticate SecurityAuthenticate
ChangePassword SecurityChangePassword
ClearAPIKeyCache SecurityClearAPIKeyCache
ClearCachedPrivileges SecurityClearCachedPrivileges
ClearCachedRealms SecurityClearCachedRealms
ClearCachedRoles SecurityClearCachedRoles
ClearCachedServiceTokens SecurityClearCachedServiceTokens
CreateAPIKey SecurityCreateAPIKey
CreateServiceToken SecurityCreateServiceToken
DeletePrivileges SecurityDeletePrivileges
DeleteRoleMapping SecurityDeleteRoleMapping
DeleteRole SecurityDeleteRole
DeleteServiceToken SecurityDeleteServiceToken
DeleteUser SecurityDeleteUser
DisableUser SecurityDisableUser
EnableUser SecurityEnableUser
GetAPIKey SecurityGetAPIKey
GetBuiltinPrivileges SecurityGetBuiltinPrivileges
GetPrivileges SecurityGetPrivileges
GetRoleMapping SecurityGetRoleMapping
GetRole SecurityGetRole
GetServiceAccounts SecurityGetServiceAccounts
GetServiceCredentials SecurityGetServiceCredentials
GetToken SecurityGetToken
GetUserPrivileges SecurityGetUserPrivileges
GetUser SecurityGetUser
GrantAPIKey SecurityGrantAPIKey
HasPrivileges SecurityHasPrivileges
InvalidateAPIKey SecurityInvalidateAPIKey
InvalidateToken SecurityInvalidateToken
PutPrivileges SecurityPutPrivileges
PutRoleMapping SecurityPutRoleMapping
PutRole SecurityPutRole
PutUser SecurityPutUser
QueryAPIKeys SecurityQueryAPIKeys
SamlAuthenticate SecuritySamlAuthenticate
SamlCompleteLogout SecuritySamlCompleteLogout
SamlInvalidate SecuritySamlInvalidate
SamlLogout SecuritySamlLogout
SamlPrepareAuthentication SecuritySamlPrepareAuthentication
SamlServiceProviderMetadata SecuritySamlServiceProviderMetadata
}
// SQL contains the SQL APIs
type SQL struct {
ClearCursor SQLClearCursor
DeleteAsync SQLDeleteAsync
GetAsync SQLGetAsync
GetAsyncStatus SQLGetAsyncStatus
Query SQLQuery
Translate SQLTranslate
}
// SSL contains the SSL APIs
type SSL struct {
Certificates SSLCertificates
}
// Watcher contains the Watcher APIs
type Watcher struct {
AckWatch WatcherAckWatch
ActivateWatch WatcherActivateWatch
DeactivateWatch WatcherDeactivateWatch
DeleteWatch WatcherDeleteWatch
ExecuteWatch WatcherExecuteWatch
GetWatch WatcherGetWatch
PutWatch WatcherPutWatch
QueryWatches WatcherQueryWatches
Start WatcherStart
Stats WatcherStats
Stop WatcherStop
}
// XPack contains the XPack APIs
type XPack struct {
Info XPackInfo
Usage XPackUsage
}
// New creates new API
//
func New(t Transport) *API {
return &API{
AutoscalingDeleteAutoscalingPolicy: newAutoscalingDeleteAutoscalingPolicyFunc(t),
AutoscalingGetAutoscalingCapacity: newAutoscalingGetAutoscalingCapacityFunc(t),
AutoscalingGetAutoscalingDecision: newAutoscalingGetAutoscalingDecisionFunc(t),
AutoscalingGetAutoscalingPolicy: newAutoscalingGetAutoscalingPolicyFunc(t),
AutoscalingPutAutoscalingPolicy: newAutoscalingPutAutoscalingPolicyFunc(t),
Bulk: newBulkFunc(t),
ClearScroll: newClearScrollFunc(t),
ClosePointInTime: newClosePointInTimeFunc(t),
Count: newCountFunc(t),
Create: newCreateFunc(t),
DanglingIndicesDeleteDanglingIndex: newDanglingIndicesDeleteDanglingIndexFunc(t),
DanglingIndicesImportDanglingIndex: newDanglingIndicesImportDanglingIndexFunc(t),
DanglingIndicesListDanglingIndices: newDanglingIndicesListDanglingIndicesFunc(t),
DataFrameTransformDeprecatedDeleteTransform: newDataFrameTransformDeprecatedDeleteTransformFunc(t),
DataFrameTransformDeprecatedGetTransform: newDataFrameTransformDeprecatedGetTransformFunc(t),
DataFrameTransformDeprecatedGetTransformStats: newDataFrameTransformDeprecatedGetTransformStatsFunc(t),
DataFrameTransformDeprecatedPreviewTransform: newDataFrameTransformDeprecatedPreviewTransformFunc(t),
DataFrameTransformDeprecatedPutTransform: newDataFrameTransformDeprecatedPutTransformFunc(t),
DataFrameTransformDeprecatedStartTransform: newDataFrameTransformDeprecatedStartTransformFunc(t),
DataFrameTransformDeprecatedStopTransform: newDataFrameTransformDeprecatedStopTransformFunc(t),
DataFrameTransformDeprecatedUpdateTransform: newDataFrameTransformDeprecatedUpdateTransformFunc(t),
DeleteByQuery: newDeleteByQueryFunc(t),
DeleteByQueryRethrottle: newDeleteByQueryRethrottleFunc(t),
Delete: newDeleteFunc(t),
DeleteScript: newDeleteScriptFunc(t),
EnrichDeletePolicy: newEnrichDeletePolicyFunc(t),
EnrichExecutePolicy: newEnrichExecutePolicyFunc(t),
EnrichGetPolicy: newEnrichGetPolicyFunc(t),
EnrichPutPolicy: newEnrichPutPolicyFunc(t),
EnrichStats: newEnrichStatsFunc(t),
EqlDelete: newEqlDeleteFunc(t),
EqlGet: newEqlGetFunc(t),
EqlGetStatus: newEqlGetStatusFunc(t),
EqlSearch: newEqlSearchFunc(t),
Exists: newExistsFunc(t),
ExistsSource: newExistsSourceFunc(t),
Explain: newExplainFunc(t),
FeaturesGetFeatures: newFeaturesGetFeaturesFunc(t),
FeaturesResetFeatures: newFeaturesResetFeaturesFunc(t),
FieldCaps: newFieldCapsFunc(t),
FleetGlobalCheckpoints: newFleetGlobalCheckpointsFunc(t),
FleetMsearch: newFleetMsearchFunc(t),
FleetSearch: newFleetSearchFunc(t),
Get: newGetFunc(t),
GetScriptContext: newGetScriptContextFunc(t),
GetScriptLanguages: newGetScriptLanguagesFunc(t),
GetScript: newGetScriptFunc(t),
GetSource: newGetSourceFunc(t),
GraphExplore: newGraphExploreFunc(t),
Index: newIndexFunc(t),
Info: newInfoFunc(t),
LogstashDeletePipeline: newLogstashDeletePipelineFunc(t),
LogstashGetPipeline: newLogstashGetPipelineFunc(t),
LogstashPutPipeline: newLogstashPutPipelineFunc(t),
Mget: newMgetFunc(t),
Msearch: newMsearchFunc(t),
MsearchTemplate: newMsearchTemplateFunc(t),
Mtermvectors: newMtermvectorsFunc(t),
OpenPointInTime: newOpenPointInTimeFunc(t),
Ping: newPingFunc(t),
PutScript: newPutScriptFunc(t),
RankEval: newRankEvalFunc(t),
Reindex: newReindexFunc(t),
ReindexRethrottle: newReindexRethrottleFunc(t),
RenderSearchTemplate: newRenderSearchTemplateFunc(t),
ScriptsPainlessExecute: newScriptsPainlessExecuteFunc(t),
Scroll: newScrollFunc(t),
SearchMvt: newSearchMvtFunc(t),
Search: newSearchFunc(t),
SearchShards: newSearchShardsFunc(t),
SearchTemplate: newSearchTemplateFunc(t),
SearchableSnapshotsCacheStats: newSearchableSnapshotsCacheStatsFunc(t),
SearchableSnapshotsClearCache: newSearchableSnapshotsClearCacheFunc(t),
SearchableSnapshotsMount: newSearchableSnapshotsMountFunc(t),
SearchableSnapshotsRepositoryStats: newSearchableSnapshotsRepositoryStatsFunc(t),
SearchableSnapshotsStats: newSearchableSnapshotsStatsFunc(t),
ShutdownDeleteNode: newShutdownDeleteNodeFunc(t),
ShutdownGetNode: newShutdownGetNodeFunc(t),
ShutdownPutNode: newShutdownPutNodeFunc(t),
SlmDeleteLifecycle: newSlmDeleteLifecycleFunc(t),
SlmExecuteLifecycle: newSlmExecuteLifecycleFunc(t),
SlmExecuteRetention: newSlmExecuteRetentionFunc(t),
SlmGetLifecycle: newSlmGetLifecycleFunc(t),
SlmGetStats: newSlmGetStatsFunc(t),
SlmGetStatus: newSlmGetStatusFunc(t),
SlmPutLifecycle: newSlmPutLifecycleFunc(t),
SlmStart: newSlmStartFunc(t),
SlmStop: newSlmStopFunc(t),
TermsEnum: newTermsEnumFunc(t),
Termvectors: newTermvectorsFunc(t),
TextStructureFindStructure: newTextStructureFindStructureFunc(t),
TransformDeleteTransform: newTransformDeleteTransformFunc(t),
TransformGetTransform: newTransformGetTransformFunc(t),
TransformGetTransformStats: newTransformGetTransformStatsFunc(t),
TransformPreviewTransform: newTransformPreviewTransformFunc(t),
TransformPutTransform: newTransformPutTransformFunc(t),
TransformStartTransform: newTransformStartTransformFunc(t),
TransformStopTransform: newTransformStopTransformFunc(t),
TransformUpdateTransform: newTransformUpdateTransformFunc(t),
TransformUpgradeTransforms: newTransformUpgradeTransformsFunc(t),
UpdateByQuery: newUpdateByQueryFunc(t),
UpdateByQueryRethrottle: newUpdateByQueryRethrottleFunc(t),
Update: newUpdateFunc(t),
Cat: &Cat{
Aliases: newCatAliasesFunc(t),
Allocation: newCatAllocationFunc(t),
Count: newCatCountFunc(t),
Fielddata: newCatFielddataFunc(t),
Health: newCatHealthFunc(t),
Help: newCatHelpFunc(t),
Indices: newCatIndicesFunc(t),
MLDataFrameAnalytics: newCatMLDataFrameAnalyticsFunc(t),
MLDatafeeds: newCatMLDatafeedsFunc(t),
MLJobs: newCatMLJobsFunc(t),
MLTrainedModels: newCatMLTrainedModelsFunc(t),
Master: newCatMasterFunc(t),
Nodeattrs: newCatNodeattrsFunc(t),
Nodes: newCatNodesFunc(t),
PendingTasks: newCatPendingTasksFunc(t),
Plugins: newCatPluginsFunc(t),
Recovery: newCatRecoveryFunc(t),
Repositories: newCatRepositoriesFunc(t),
Segments: newCatSegmentsFunc(t),
Shards: newCatShardsFunc(t),
Snapshots: newCatSnapshotsFunc(t),
Tasks: newCatTasksFunc(t),
Templates: newCatTemplatesFunc(t),
ThreadPool: newCatThreadPoolFunc(t),
Transforms: newCatTransformsFunc(t),
},
Cluster: &Cluster{
AllocationExplain: newClusterAllocationExplainFunc(t),
DeleteComponentTemplate: newClusterDeleteComponentTemplateFunc(t),
DeleteVotingConfigExclusions: newClusterDeleteVotingConfigExclusionsFunc(t),
ExistsComponentTemplate: newClusterExistsComponentTemplateFunc(t),
GetComponentTemplate: newClusterGetComponentTemplateFunc(t),
GetSettings: newClusterGetSettingsFunc(t),
Health: newClusterHealthFunc(t),
PendingTasks: newClusterPendingTasksFunc(t),
PostVotingConfigExclusions: newClusterPostVotingConfigExclusionsFunc(t),
PutComponentTemplate: newClusterPutComponentTemplateFunc(t),
PutSettings: newClusterPutSettingsFunc(t),
RemoteInfo: newClusterRemoteInfoFunc(t),
Reroute: newClusterRerouteFunc(t),
State: newClusterStateFunc(t),
Stats: newClusterStatsFunc(t),
},
Indices: &Indices{
AddBlock: newIndicesAddBlockFunc(t),
Analyze: newIndicesAnalyzeFunc(t),
ClearCache: newIndicesClearCacheFunc(t),
Clone: newIndicesCloneFunc(t),
Close: newIndicesCloseFunc(t),
CreateDataStream: newIndicesCreateDataStreamFunc(t),
Create: newIndicesCreateFunc(t),
DataStreamsStats: newIndicesDataStreamsStatsFunc(t),
DeleteAlias: newIndicesDeleteAliasFunc(t),
DeleteDataStream: newIndicesDeleteDataStreamFunc(t),
DeleteIndexTemplate: newIndicesDeleteIndexTemplateFunc(t),
Delete: newIndicesDeleteFunc(t),
DeleteTemplate: newIndicesDeleteTemplateFunc(t),
DiskUsage: newIndicesDiskUsageFunc(t),
ExistsAlias: newIndicesExistsAliasFunc(t),
ExistsDocumentType: newIndicesExistsDocumentTypeFunc(t),
ExistsIndexTemplate: newIndicesExistsIndexTemplateFunc(t),
Exists: newIndicesExistsFunc(t),
ExistsTemplate: newIndicesExistsTemplateFunc(t),
FieldUsageStats: newIndicesFieldUsageStatsFunc(t),
Flush: newIndicesFlushFunc(t),
FlushSynced: newIndicesFlushSyncedFunc(t),
Forcemerge: newIndicesForcemergeFunc(t),
Freeze: newIndicesFreezeFunc(t),
GetAlias: newIndicesGetAliasFunc(t),
GetDataStream: newIndicesGetDataStreamFunc(t),
GetFieldMapping: newIndicesGetFieldMappingFunc(t),
GetIndexTemplate: newIndicesGetIndexTemplateFunc(t),
GetMapping: newIndicesGetMappingFunc(t),
Get: newIndicesGetFunc(t),
GetSettings: newIndicesGetSettingsFunc(t),
GetTemplate: newIndicesGetTemplateFunc(t),
GetUpgrade: newIndicesGetUpgradeFunc(t),
MigrateToDataStream: newIndicesMigrateToDataStreamFunc(t),
ModifyDataStream: newIndicesModifyDataStreamFunc(t),
Open: newIndicesOpenFunc(t),
PromoteDataStream: newIndicesPromoteDataStreamFunc(t),
PutAlias: newIndicesPutAliasFunc(t),
PutIndexTemplate: newIndicesPutIndexTemplateFunc(t),
PutMapping: newIndicesPutMappingFunc(t),
PutSettings: newIndicesPutSettingsFunc(t),
PutTemplate: newIndicesPutTemplateFunc(t),
Recovery: newIndicesRecoveryFunc(t),
Refresh: newIndicesRefreshFunc(t),
ReloadSearchAnalyzers: newIndicesReloadSearchAnalyzersFunc(t),
ResolveIndex: newIndicesResolveIndexFunc(t),
Rollover: newIndicesRolloverFunc(t),
Segments: newIndicesSegmentsFunc(t),
ShardStores: newIndicesShardStoresFunc(t),
Shrink: newIndicesShrinkFunc(t),
SimulateIndexTemplate: newIndicesSimulateIndexTemplateFunc(t),
SimulateTemplate: newIndicesSimulateTemplateFunc(t),
Split: newIndicesSplitFunc(t),
Stats: newIndicesStatsFunc(t),
Unfreeze: newIndicesUnfreezeFunc(t),
UpdateAliases: newIndicesUpdateAliasesFunc(t),
Upgrade: newIndicesUpgradeFunc(t),
ValidateQuery: newIndicesValidateQueryFunc(t),
},
Ingest: &Ingest{
DeletePipeline: newIngestDeletePipelineFunc(t),
GeoIPStats: newIngestGeoIPStatsFunc(t),
GetPipeline: newIngestGetPipelineFunc(t),
ProcessorGrok: newIngestProcessorGrokFunc(t),
PutPipeline: newIngestPutPipelineFunc(t),
Simulate: newIngestSimulateFunc(t),
},
Nodes: &Nodes{
ClearMeteringArchive: newNodesClearMeteringArchiveFunc(t),
ClearRepositoriesMeteringArchive: newNodesClearRepositoriesMeteringArchiveFunc(t),
GetMeteringInfo: newNodesGetMeteringInfoFunc(t),
GetRepositoriesMeteringInfo: newNodesGetRepositoriesMeteringInfoFunc(t),
HotThreads: newNodesHotThreadsFunc(t),
Info: newNodesInfoFunc(t),
ReloadSecureSettings: newNodesReloadSecureSettingsFunc(t),
Stats: newNodesStatsFunc(t),
Usage: newNodesUsageFunc(t),
},
Remote: &Remote{},
Snapshot: &Snapshot{
CleanupRepository: newSnapshotCleanupRepositoryFunc(t),
Clone: newSnapshotCloneFunc(t),
CreateRepository: newSnapshotCreateRepositoryFunc(t),
Create: newSnapshotCreateFunc(t),
DeleteRepository: newSnapshotDeleteRepositoryFunc(t),
Delete: newSnapshotDeleteFunc(t),
GetRepository: newSnapshotGetRepositoryFunc(t),
Get: newSnapshotGetFunc(t),
RepositoryAnalyze: newSnapshotRepositoryAnalyzeFunc(t),
Restore: newSnapshotRestoreFunc(t),
Status: newSnapshotStatusFunc(t),
VerifyRepository: newSnapshotVerifyRepositoryFunc(t),
},
Tasks: &Tasks{
Cancel: newTasksCancelFunc(t),
Get: newTasksGetFunc(t),
List: newTasksListFunc(t),
},
AsyncSearch: &AsyncSearch{
Delete: newAsyncSearchDeleteFunc(t),
Get: newAsyncSearchGetFunc(t),
Status: newAsyncSearchStatusFunc(t),
Submit: newAsyncSearchSubmitFunc(t),
},
CCR: &CCR{
DeleteAutoFollowPattern: newCCRDeleteAutoFollowPatternFunc(t),
FollowInfo: newCCRFollowInfoFunc(t),
Follow: newCCRFollowFunc(t),
FollowStats: newCCRFollowStatsFunc(t),
ForgetFollower: newCCRForgetFollowerFunc(t),
GetAutoFollowPattern: newCCRGetAutoFollowPatternFunc(t),
PauseAutoFollowPattern: newCCRPauseAutoFollowPatternFunc(t),
PauseFollow: newCCRPauseFollowFunc(t),
PutAutoFollowPattern: newCCRPutAutoFollowPatternFunc(t),
ResumeAutoFollowPattern: newCCRResumeAutoFollowPatternFunc(t),
ResumeFollow: newCCRResumeFollowFunc(t),
Stats: newCCRStatsFunc(t),
Unfollow: newCCRUnfollowFunc(t),
},
ILM: &ILM{
DeleteLifecycle: newILMDeleteLifecycleFunc(t),
ExplainLifecycle: newILMExplainLifecycleFunc(t),
GetLifecycle: newILMGetLifecycleFunc(t),
GetStatus: newILMGetStatusFunc(t),
MigrateToDataTiers: newILMMigrateToDataTiersFunc(t),
MoveToStep: newILMMoveToStepFunc(t),
PutLifecycle: newILMPutLifecycleFunc(t),
RemovePolicy: newILMRemovePolicyFunc(t),
Retry: newILMRetryFunc(t),
Start: newILMStartFunc(t),
Stop: newILMStopFunc(t),
},
License: &License{
Delete: newLicenseDeleteFunc(t),
GetBasicStatus: newLicenseGetBasicStatusFunc(t),
Get: newLicenseGetFunc(t),
GetTrialStatus: newLicenseGetTrialStatusFunc(t),
Post: newLicensePostFunc(t),
PostStartBasic: newLicensePostStartBasicFunc(t),
PostStartTrial: newLicensePostStartTrialFunc(t),
},
Migration: &Migration{
Deprecations: newMigrationDeprecationsFunc(t),
GetFeatureUpgradeStatus: newMigrationGetFeatureUpgradeStatusFunc(t),
PostFeatureUpgrade: newMigrationPostFeatureUpgradeFunc(t),
},
ML: &ML{
CloseJob: newMLCloseJobFunc(t),
DeleteCalendarEvent: newMLDeleteCalendarEventFunc(t),
DeleteCalendarJob: newMLDeleteCalendarJobFunc(t),
DeleteCalendar: newMLDeleteCalendarFunc(t),
DeleteDataFrameAnalytics: newMLDeleteDataFrameAnalyticsFunc(t),
DeleteDatafeed: newMLDeleteDatafeedFunc(t),
DeleteExpiredData: newMLDeleteExpiredDataFunc(t),
DeleteFilter: newMLDeleteFilterFunc(t),
DeleteForecast: newMLDeleteForecastFunc(t),
DeleteJob: newMLDeleteJobFunc(t),
DeleteModelSnapshot: newMLDeleteModelSnapshotFunc(t),
DeleteTrainedModelAlias: newMLDeleteTrainedModelAliasFunc(t),
DeleteTrainedModel: newMLDeleteTrainedModelFunc(t),
EstimateModelMemory: newMLEstimateModelMemoryFunc(t),
EvaluateDataFrame: newMLEvaluateDataFrameFunc(t),
ExplainDataFrameAnalytics: newMLExplainDataFrameAnalyticsFunc(t),
FindFileStructure: newMLFindFileStructureFunc(t),
FlushJob: newMLFlushJobFunc(t),
Forecast: newMLForecastFunc(t),
GetBuckets: newMLGetBucketsFunc(t),
GetCalendarEvents: newMLGetCalendarEventsFunc(t),
GetCalendars: newMLGetCalendarsFunc(t),
GetCategories: newMLGetCategoriesFunc(t),
GetDataFrameAnalytics: newMLGetDataFrameAnalyticsFunc(t),
GetDataFrameAnalyticsStats: newMLGetDataFrameAnalyticsStatsFunc(t),
GetDatafeedStats: newMLGetDatafeedStatsFunc(t),
GetDatafeeds: newMLGetDatafeedsFunc(t),
GetFilters: newMLGetFiltersFunc(t),
GetInfluencers: newMLGetInfluencersFunc(t),
GetJobStats: newMLGetJobStatsFunc(t),
GetJobs: newMLGetJobsFunc(t),
GetModelSnapshots: newMLGetModelSnapshotsFunc(t),
GetOverallBuckets: newMLGetOverallBucketsFunc(t),
GetRecords: newMLGetRecordsFunc(t),
GetTrainedModels: newMLGetTrainedModelsFunc(t),
GetTrainedModelsStats: newMLGetTrainedModelsStatsFunc(t),
Info: newMLInfoFunc(t),
OpenJob: newMLOpenJobFunc(t),
PostCalendarEvents: newMLPostCalendarEventsFunc(t),
PostData: newMLPostDataFunc(t),
PreviewDataFrameAnalytics: newMLPreviewDataFrameAnalyticsFunc(t),
PreviewDatafeed: newMLPreviewDatafeedFunc(t),
PutCalendarJob: newMLPutCalendarJobFunc(t),
PutCalendar: newMLPutCalendarFunc(t),
PutDataFrameAnalytics: newMLPutDataFrameAnalyticsFunc(t),
PutDatafeed: newMLPutDatafeedFunc(t),
PutFilter: newMLPutFilterFunc(t),
PutJob: newMLPutJobFunc(t),
PutTrainedModelAlias: newMLPutTrainedModelAliasFunc(t),
PutTrainedModel: newMLPutTrainedModelFunc(t),
ResetJob: newMLResetJobFunc(t),
RevertModelSnapshot: newMLRevertModelSnapshotFunc(t),
SetUpgradeMode: newMLSetUpgradeModeFunc(t),
StartDataFrameAnalytics: newMLStartDataFrameAnalyticsFunc(t),
StartDatafeed: newMLStartDatafeedFunc(t),
StopDataFrameAnalytics: newMLStopDataFrameAnalyticsFunc(t),
StopDatafeed: newMLStopDatafeedFunc(t),
UpdateDataFrameAnalytics: newMLUpdateDataFrameAnalyticsFunc(t),
UpdateDatafeed: newMLUpdateDatafeedFunc(t),
UpdateFilter: newMLUpdateFilterFunc(t),
UpdateJob: newMLUpdateJobFunc(t),
UpdateModelSnapshot: newMLUpdateModelSnapshotFunc(t),
UpgradeJobSnapshot: newMLUpgradeJobSnapshotFunc(t),
ValidateDetector: newMLValidateDetectorFunc(t),
Validate: newMLValidateFunc(t),
},
Monitoring: &Monitoring{
Bulk: newMonitoringBulkFunc(t),
},
Rollup: &Rollup{
DeleteJob: newRollupDeleteJobFunc(t),
GetJobs: newRollupGetJobsFunc(t),
GetCaps: newRollupGetRollupCapsFunc(t),
GetIndexCaps: newRollupGetRollupIndexCapsFunc(t),
PutJob: newRollupPutJobFunc(t),
Rollup: newRollupRollupFunc(t),
Search: newRollupRollupSearchFunc(t),
StartJob: newRollupStartJobFunc(t),
StopJob: newRollupStopJobFunc(t),
},
Security: &Security{
Authenticate: newSecurityAuthenticateFunc(t),
ChangePassword: newSecurityChangePasswordFunc(t),
ClearAPIKeyCache: newSecurityClearAPIKeyCacheFunc(t),
ClearCachedPrivileges: newSecurityClearCachedPrivilegesFunc(t),
ClearCachedRealms: newSecurityClearCachedRealmsFunc(t),
ClearCachedRoles: newSecurityClearCachedRolesFunc(t),
ClearCachedServiceTokens: newSecurityClearCachedServiceTokensFunc(t),
CreateAPIKey: newSecurityCreateAPIKeyFunc(t),
CreateServiceToken: newSecurityCreateServiceTokenFunc(t),
DeletePrivileges: newSecurityDeletePrivilegesFunc(t),
DeleteRoleMapping: newSecurityDeleteRoleMappingFunc(t),
DeleteRole: newSecurityDeleteRoleFunc(t),
DeleteServiceToken: newSecurityDeleteServiceTokenFunc(t),
DeleteUser: newSecurityDeleteUserFunc(t),
DisableUser: newSecurityDisableUserFunc(t),
EnableUser: newSecurityEnableUserFunc(t),
GetAPIKey: newSecurityGetAPIKeyFunc(t),
GetBuiltinPrivileges: newSecurityGetBuiltinPrivilegesFunc(t),
GetPrivileges: newSecurityGetPrivilegesFunc(t),
GetRoleMapping: newSecurityGetRoleMappingFunc(t),
GetRole: newSecurityGetRoleFunc(t),
GetServiceAccounts: newSecurityGetServiceAccountsFunc(t),
GetServiceCredentials: newSecurityGetServiceCredentialsFunc(t),
GetToken: newSecurityGetTokenFunc(t),
GetUserPrivileges: newSecurityGetUserPrivilegesFunc(t),
GetUser: newSecurityGetUserFunc(t),
GrantAPIKey: newSecurityGrantAPIKeyFunc(t),
HasPrivileges: newSecurityHasPrivilegesFunc(t),
InvalidateAPIKey: newSecurityInvalidateAPIKeyFunc(t),
InvalidateToken: newSecurityInvalidateTokenFunc(t),
PutPrivileges: newSecurityPutPrivilegesFunc(t),
PutRoleMapping: newSecurityPutRoleMappingFunc(t),
PutRole: newSecurityPutRoleFunc(t),
PutUser: newSecurityPutUserFunc(t),
QueryAPIKeys: newSecurityQueryAPIKeysFunc(t),
SamlAuthenticate: newSecuritySamlAuthenticateFunc(t),
SamlCompleteLogout: newSecuritySamlCompleteLogoutFunc(t),
SamlInvalidate: newSecuritySamlInvalidateFunc(t),
SamlLogout: newSecuritySamlLogoutFunc(t),
SamlPrepareAuthentication: newSecuritySamlPrepareAuthenticationFunc(t),
SamlServiceProviderMetadata: newSecuritySamlServiceProviderMetadataFunc(t),
},
SQL: &SQL{
ClearCursor: newSQLClearCursorFunc(t),
DeleteAsync: newSQLDeleteAsyncFunc(t),
GetAsync: newSQLGetAsyncFunc(t),
GetAsyncStatus: newSQLGetAsyncStatusFunc(t),
Query: newSQLQueryFunc(t),
Translate: newSQLTranslateFunc(t),
},
SSL: &SSL{
Certificates: newSSLCertificatesFunc(t),
},
Watcher: &Watcher{
AckWatch: newWatcherAckWatchFunc(t),
ActivateWatch: newWatcherActivateWatchFunc(t),
DeactivateWatch: newWatcherDeactivateWatchFunc(t),
DeleteWatch: newWatcherDeleteWatchFunc(t),
ExecuteWatch: newWatcherExecuteWatchFunc(t),
GetWatch: newWatcherGetWatchFunc(t),
PutWatch: newWatcherPutWatchFunc(t),
QueryWatches: newWatcherQueryWatchesFunc(t),
Start: newWatcherStartFunc(t),
Stats: newWatcherStatsFunc(t),
Stop: newWatcherStopFunc(t),
},
XPack: &XPack{
Info: newXPackInfoFunc(t),
Usage: newXPackUsageFunc(t),
},
}
}